Nvidia drivers and Ubuntu

Freakboy

Expert Member
Joined
Feb 13, 2006
Messages
1,281
Reaction score
85
Location
Centurion
Hi Guys,

I started to play around with Ubuntu this weekend but I don't know how to install the Nvidia drivers for my GTX260. I downloaded the NVIDIA-Linux-x86-180.29.pkg1.run package, but can't get it to install. Anybody know how to do this?

Any help would be appreciated.
 
Your best bet is to FIRST read on the Ubuntu wiki what you need to do.

GO READ IT NOW.

CTRL+ALT+F1
Login as root
/etc/init.d/gdm stop (or killall gdm)
./NVIDIA-Linux-x86-180.29.pkg1.run

After installation:
modprobe nvidia
eselect opengl set nvidia
/etc/init.d/gdm start

Not sure if Ubuntu also uses /etc/init.d, but this how we did it before the package managers took over the task.

BUT READ THE WIKI FIRST!
:p

http://ubuntuguide.org/wiki/Ubuntu:Intrepid#Install_Latest_Nvidia.2FATI_drivers
 
I actually did it this way: downloaded that file, then moved it to the /var/cache/apt/archives folder, then went to the Hardware Drivers link and installed it from there. Worked first time round.
 
@MyWorld - Tried it your way, everything installed correctly (I think so), but when I try /etc/init.d/gdm start after the installation I get a [FAIL]. I can reboot the machine but only get the terminal login.
@froot - Copied the file over using sudo -s in terminal, but I still can't find it under the Drivers link. It only shows two version: 177(recommended) and 173.

Think I just might need to read the wiki some more :D
 
Did you read the link? You need to update your Xorg.conf as well if I'm not mistaken.

-or-

Do the following in terminal:
nvidia-xorgconfig

That should set you on the straight and narrow!
:)
 
In the setup process it asked if it should update the xconfig and I selected Yes, so I thought that it was done already. Will give it a bash when I get home. And I'm reading the link now :)
 
This always works for me...

Logout > Ctrl-Alt-F1 and login

sudo /etc/init.d/gdm stop (kdm if your Kubuntu)

cd /home/*user* (or navigate to the directory of your driver)

sudo sh NVIDIA-Linux-verion-pkg2.run (replace with your driver)
follow Nvidia instructions carefully

Ctrl-Alt-Del for PC restart
 
Last edited:
Ctrl-Alt-Del for PC restart
No need to restart, it is only a module that is being build, you can just remove the old one and insert the new one and you should be set.
:)
 
No need to restart, it is only a module that is being build, you can just remove the old one and insert the new one and you should be set.
:)

Yah I know, but I prefer a restart just to be sure everything loads.
 
This always works for me...

Logout > Ctrl-Alt-F1 and login

sudo /etc/init.d/gdm stop (kdm if your Kubuntu)

cd /home/*user* (or navigate to the directory of your driver)

sudo sh NVIDIA-Linux-verion-pkg2.run (replace with your driver)
follow Nvidia instructions carefully

Ctrl-Alt-Del for PC restart

Failsafe - even for me :)
 
Last edited:
You can also use the Hardware Drivers provided by Ubuntu...

For Gnome: System ... Administration ... Hardware Drivers

That said ymmv on nvidia driver setup ... bit of a nightmare to get running sometimes...
 
You can also use the Hardware Drivers provided by Ubuntu...

For Gnome: System ... Administration ... Hardware Drivers

That said ymmv on nvidia driver setup ... bit of a nightmare to get running sometimes...


Yes, sometimes it works, other times not. But, so far every time I've installed the drivers manually, it has worked.

B
 
@freakboy

you can also use the following way, this is what i do and it works for me.
In terminal run the following command:

Install Latest nvidia drivers in Ubuntu

sudo apt-get install nvidia-glx

sudo nvidia-xconfig --add-argb-glx-visuals --composite

Now you need to restart your X by logging out and in or by pressing ctrl+alt+backspace



aka moskva
 
sudo apt-get install envyng worked for me. it is in the repos

it set up my nvidia card properly
 
Top
Sign up to the MyBroadband newsletter
X