Tuxicity's source

December 4, 2006

NVIDIA on Ubuntu :

Filed under: Tuxicity, Ubuntu — tuxicity @ 10:15 am

NVIDIA drivers work great on Ubuntu, as long as you know how to install them. If you have have set up your resolutions correctly its easy as pie.
First check if you need the NVIDIA-Legacy driver or not.
If you are sure about the driver and have the universe and multiverse repositories set up its time to install the NVIDIA driver.
First make a back up of your xorg.conf :

sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak

Now install the driver:

sudo apt-get install nvidia-glx

If you have an older card, install the legacy driver instead:

sudo apt-get install nvidia-glx-legacy

Now all you need to do is: on Egdy-Eft (6.10)

sudo nvidia-xconfig

On older versions of Ubuntu; Dapper Drake and before:

sudo nvidia-glx-config enable

now do

sudo /etc/init.d/gdm stop
sudo /etc/init.d/gdm start

(on Kubuntu its kdm , not gdm)
Now your nvidia is enabled, with:

glxinfo | grep direct

You should see:

direct rendering: Yes

If you run into problems:

sudo cp /etc/X11/xorg.conf.bak /etc/X11/xorg.conf

all should return to the old situation and no harm done .
The latest Nvidia driver can also be installed with Envy, read this post!

3 Comments »

  1. Do you know if this will fix the problem where the Ubuntu screensavers display really slow?

    I’m running a clean install of Edgy. Everything else about the display is fine. My refresh rate is a pleasant 85Hz. It’s just the screensavers that appear really slow.

    Thanks.

    Comment by Dean — January 12, 2007 @ 9:15 pm

  2. Some screensavers need direct rendering, and appear slow when the nv driver is used.
    The nv driver does not support direct rendering and is the default driver after a Ubuntu install, detecting a nvidia video-card.
    Nouveau “http://nouveau.freedesktop.org/wiki/ ”
    is working on it.

    Comment by tuxicity — January 13, 2007 @ 8:32 am

  3. […] explained here, https://tuxicity.wordpress.com/2006/12/04/nvidia-on-ubuntu/, you need to fix things from the commandline. The good news: whoohoo 85 HZ. The bad news, still no […]

    Pingback by blog.jillesvangurp.com » Blog Archive » another ubuntu installation test — January 28, 2007 @ 1:26 am


RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.