Archive

Archive for November, 2009

Fixing NVIDIA driver issues on Ubuntu Karmic

November 3rd, 2009

So after yesterday’s completely improper upgrading of my Ubuntu box from Jaunty to Karmic, I did an actual reinstall today (with the alternate CD), keeping my /home partition intact. It went mostly well, but there was a slight hiccup: X would freak out and render my screen all jittery when launching GDM.

The fix here was rather easy: jockey-text, which is the text version of Jockey, the program that usually pops up about restricted drivers. Just run:

$ sudo jockey-text -l
xorg:nvidia-173 - NVIDIA accelerated graphics driver (Proprietary, Disabled, Not in use)
xorg:nvidia-185 - NVIDIA accelerated graphics driver (Proprietary, Disabled, Not in use)
xorg:nvidia-96 - NVIDIA accelerated graphics driver (Proprietary, Disabled, Not in use)

As you can see, I had three options, and none of them were “in use.” So I just ran:

$ sudo jockey-text -e xorg:nvidia-185

Now, a listing shows me this:

$ sudo jockey-text -l
xorg:nvidia-173 - NVIDIA accelerated graphics driver (Proprietary, Disabled, Not in use)
xorg:nvidia-185 - NVIDIA accelerated graphics driver (Proprietary, Enabled, In use)
xorg:nvidia-96 - NVIDIA accelerated graphics driver (Proprietary, Disabled, Not in use)

I let it do its thing, and things were back to normal! I don’t know why, by default, my install had an unusable desktop, since I figured some other drivers would have been there, but this is a quick fix from the command line for anyone who needs it, when a GUI is completely unavailable.

Perhaps someday I’ll get back to posting other Linux-y, Gentoo-y things… Damn games that only run on Windows keep me locked in there far too often. :(

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • StumbleUpon
  • Reddit
  • Technorati

Uncategorized

Upgrading Ubuntu from Jaunty to Karmic Behind a Proxy

November 2nd, 2009

Note: While this will update all of one’s packages to the latest release, as pointed out by Marcos in the comments, this method makes you miss out on all added/removed packages, among a few other things. So this is probably not the way anyone really wants to go!

This should be a quickie…

While my distro of choice is Gentoo, I use Ubuntu at work ever since I was told any compiling of packages would be on my own time. :P In any case, since version 9.10 (Karmic Koala) came out last week, I figured I’d give it a shot. Well, since I’m in a business environment behind a proxy, it wasn’t so straightforward, and the built-in “Update Manager” utility just hung forever, trying to make a connection. I was only able to figure out exactly what the problem was by strace on it, and sitting on one call. Anyway, onto the fix!

Seems simple, because it is. Just open up your /etc/apt/sources.list, and change all instances of “jaunty” to “karmic”, or use a little sed-fu:

# sed -i 's/jaunty/karmic/' /etc/apt/sources.list

Then run your usual apt-get update/upgrade.

I don’t think this is a recommended way of upgrading, but since the update program was broken and the CD didn’t work for me (froze when clicking any of the menu options) I didn’t have much choice. In any case, I’ve been using my system all day now with no issues, so this method worked out for me.

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • StumbleUpon
  • Reddit
  • Technorati

linux