Installing the non-free nvidia-driver on Linux Mint Debian Edition

fnkbss
  13 years ago
  22

For the nvidia cards listed in

http://us.download.nvidia.com/XFree86/Linux-x86/195.36.24/README/supportedchips.html

install following packages:

nvidia-kernel-dkms nvidia-glx build-essential nvidia-settings nvidia-xconfig

When done, execute

nvidia-xconfig

in the shell. after a reboot, the driver is installed.


For older cards listed in

http://us.download.nvidia.com/XFree86/Linux-x86/173.14.25/README/appendix-a.html

install following packages:

nvidia-kernel-legacy-173xx-dkms nvidia-glx-legacy-173xx build-essential 
nvidia-settings nvidia-xconfig

When done, execute

nvidia-xconfig

in the shell. after a reboot, the driver is installed.

Comments
Rufus 9 years ago

I think this tutorial needs to get updated for LMDE 2 Betsy. I tried to follow the original tutorial and failed.
Here is what I then did to install nVidia driver in LMDE 2:
1. download latest driver from nvidia web site. In my case the file was called "NVIDIA-Linux-x86_64-352.21.run"
2. open terminal, write "sudo /etc/init.d/mdm stop" to stop the GUI
3. type "cd /home/YourUserName/Downloads" into CLI
4. execute "sudo sh NVIDIA-Linux-x86_64-352.21.run" (if the file name of your download is different you need to adapt to that)
5. answer "Yes" to any question the installer will ask now
6. when finished reboot machine with "sudo reboot"
That's all.


kayo 10 years ago

I just wanted to post an update about installing nvidia drivers.
If your graphic card is new, just install modules posted from the first part of tutorial.
If your graphic card might be old, before installing any packages use the nvidia-detect tool to check which driver to use - if it's an old (legacy) driver you just need to change the "173xx" to that version shown in the output. At the moment, there are two versions of legacy driver 173xx and 304xx.
After the installation is finished you'll get a message about the need to add the new driver to you xorg.conf file whitout help on how to do it.
DO NOT USE THE nvidia-xconfig tool!! If you use it, after a reboot you'll stuck without a working X server.

What you have to do is:
open terminal and type:
sudo nano -w /etc/X11/xorg.conf
or if you don't like the terminal, press alt+f2 and type:
gksu gedit /etc/X11/xorg.conf
an empty file will open
2. paste the following lines
Section "Device"
Identifier "Device0"
Driver "nvidia"
EndSection

3. save the file and reboot

This will enable your nvidia driver without destroying anything else.



rogerthat1945 10 years ago

Is there an up to date version of this?

e.g.
This is a dynabook i7 with Nvidia GTS350 graphics (low end) and LinuxMint 17 has Xorg drivers intalled via the auto-select at the install a few days ago; but there is an Nvidia 331 driver on Driver Manager which indicates "recommended", but why would LinuxMint 17 not install the Recommended driver during the install?

Noob me, being logical cannot figure that out.


aitatanit 12 years ago

Sorry but this approach did not work for me under the latest 201204RC. I have Alienware M11x with GT540M GPU. I also installed the driver manually but in either case I get a blank screen after booting up (both in standard and recovery mode). Any suggestion on what could cause the problem and maybe how to fix it? Should I roll back to 201109 and update the system that way? Could it be a 64-bit vs a 32-bit issue with the base OS?

Thanks for your time!!


shaleen13 12 years ago

1. Even if you forget to execute $sudo nvidia-xconfig here is how to go about
Boot into recovery mode, enter su password
enter command sudo nvidia-xconfig
2. Remove nouveau driver $sudo apt-get purge xserver-xorg-video-nouveau libdrm-nouveau1a
3. Reboot and there you are with new nvidia driver loaded


brunozck 12 years ago

What about the 96.43.xx driver for GeForce4 420 Go 32M?


nkv1 13 years ago

found perfect soultion here
http://community.linuxmint.com/tutorial/subscribe/717


nkv1 13 years ago

wish me luck found this site
http://dushan888.wordpress.com/2008/10/06/installing-the-nvidia-display-driver-in-linux-mint/


nkv1 13 years ago

Hello all,I am a noob at mint.I have tryed to install nvidia card but there is some problem with mint 11 getting which card it is lshw command says:
*-display
description: VGA compatible controller
product: G73 [GeForce Go 7600]
vendor: nVidia Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
configuration: driver=nouveau latency=0
resources: irq:16 memory:cd000000-cdffffff memory:d0000000-dfffffff memory:ce000000$
and card exists in both lists
Help me please


petejh 13 years ago

This worked perfectly for me, replacing nouveau drivers that couldn't cope with Linux kernel 3.0.0. Now I can boot up into the latest version of LMDE. Thanks very much.


diego 13 years ago

doesn´t work for me mate, my X server no longer starts...
but, i followed this instructions and works fine (actually pretty nice)
http://gingerbread-man.co.cc/node/10
sorry about my english (mi lengua natal es castellano ;) )
...hope this serves as something to someone


itomek 13 years ago

If you want to use the GUI wizard instead of mucking about in xorg.conf: AFTER you run the steps outlined above: http://us.download.nvidia.com/XFree86/Linux-x86/195.36.24/README/nvidiasettings.html

% nvidia-settings

This tremendously helped and got my Dual Monitors setup quickly.


MintyPep 13 years ago

To remove nvidia Logo at gdm startup:

I've added this to my /etc/X11/xorg.conf

Section "Device"
Identifier "NVIDIA xxxxxxxxxxxxxxxxxxxxxxx"
Driver "nvidia"
...

Add the following line below it

Option "NoLogo"


loukoumas 13 years ago

it works great!


carlosfrancoba 13 years ago

works great for me. i've got nvidia drivers working great.


fnkbss 13 years ago

Don't know how to Koninator... this nvclock thing is new to me... i have taken a look at it but I don't know much. i assume you have tried putting the command nvclock -f -F 40 in the startup-programs?


Koninator 13 years ago

Could you make fan control tutorial? I can change fan sped from 100 to 40 but when I restart PC, speed is back to 100. So I need permanent solution. And also I have to run command $ nvclock -F 40 -f few times to begin working.


fnkbss 13 years ago

Thx Elisa, didn't see it... it's corrected now


Elisa 13 years ago

Nise, just I'd suggest to press enter after 'build-essential' for the second source because the rest looks like hidden in the right page margin.