Nvidia Graphics Drivers - Install Guide

Archived topics about LMDE 1 and LMDE 2
arta

Re: Nvidia Graphics Drivers - Install Guide

Post by arta »

I've been trying to install the nvidia driver on an old HP Pavalion ZV5000 laptop running Mint Debian 201303 without much luck. I tried the excellent guide in this forum but ended up with a black screen. I ran "nvidia-detect and got the following,

art@hp-laptop ~ $ sudo nvidia-detect
[sudo] password for art:
Detected NVIDIA GPUs:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation NV17 [GeForce4 440 Go 64M] [10de:0179] (rev a3)
Uh oh. Your card is only supported up to the 96.43 legacy drivers series, which is no longer usable due to lack of support for current Xorg Xserver 1.12

Is there any hope for using the Nvidia driver or should I just be satisfied with the built in driver?

Thanks

arta
Helmsdeeper

Re: Nvidia Graphics Drivers - Install Guide

Post by Helmsdeeper »

I just switched from my old Pny Nvidia TI4600 128mb agp 4x to a Zotac Nvidia GT610 1GB pci and followed the guide Proxima_Centauri created, blacklisting the nouveau driver. Rebooted and working like a champ. Thanks!
Aalexeey

Re: Nvidia Graphics Drivers - Install Guide

Post by Aalexeey »

Can't install/run nvidia driver again, here is the X log:

Code: Select all

[    38.116] 
X.Org X Server 1.12.4
Release Date: 2012-08-27
[    38.116] X Protocol Version 11, Revision 0
[    38.116] Build Operating System: Linux 2.6.32-5-686-bigmem i686 Debian
[    38.116] Current Operating System: Linux p4i45e 3.2.0-4-686-pae #1 SMP Debian 3.2.41-2 i686
[    38.116] Kernel command line: BOOT_IMAGE=/vmlinuz-3.2.0-4-686-pae root=UUID=7c518abd-b082-4b18-a96a-e2081248dcd1 ro quiet acpi_enforce_resources=lax
[    38.116] Build Date: 17 April 2013  11:13:16AM
[    38.116] xorg-server 2:1.12.4-6 (Julien Cristau <jcristau@debian.org>) 
[    38.116] Current version of pixman: 0.26.0
[    38.116] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    38.116] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    38.117] (==) Log file: "/var/log/Xorg.0.log", Time: Sat May 25 22:45:32 2013
[    38.117] (==) Using config file: "/etc/X11/xorg.conf"
[    38.117] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    38.118] (==) ServerLayout "Default Layout"
[    38.118] (**) |-->Screen "Default Screen" (0)
[    38.118] (**) |   |-->Monitor "Monitor0"
[    38.118] (**) |   |-->Device "Device0"
[    38.118] (**) |-->Input Device "Keyboard0"
[    38.118] (**) |-->Input Device "Mouse0"
[    38.118] (==) Automatically adding devices
[    38.118] (==) Automatically enabling devices
[    38.118] (==) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/cyrillic,
	/usr/share/fonts/X11/100dpi/:unscaled,
	/usr/share/fonts/X11/75dpi/:unscaled,
	/usr/share/fonts/X11/Type1,
	/usr/share/fonts/X11/100dpi,
	/usr/share/fonts/X11/75dpi,
	/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
	built-ins
[    38.118] (==) ModulePath set to "/usr/lib/xorg/modules"
[    38.118] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[    38.119] (WW) Disabling Keyboard0
[    38.119] (WW) Disabling Mouse0
[    38.119] (II) Loader magic: 0xb77655a0
[    38.119] (II) Module ABI versions:
[    38.119] 	X.Org ANSI C Emulation: 0.4
[    38.119] 	X.Org Video Driver: 12.1
[    38.119] 	X.Org XInput driver : 16.0
[    38.119] 	X.Org Server Extension : 6.0
[    38.120] (--) PCI:*(0:1:0:0) 10de:0326:1acc:0192 rev 161, Mem @ 0xde000000/16777216, 0xc0000000/268435456, BIOS @ 0x????????/131072
[    38.120] (II) Open ACPI successful (/var/run/acpid.socket)
[    38.120] (II) LoadModule: "extmod"
[    38.121] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[    38.122] (II) Module extmod: vendor="X.Org Foundation"
[    38.122] 	compiled for 1.12.4, module version = 1.0.0
[    38.122] 	Module class: X.Org Server Extension
[    38.122] 	ABI class: X.Org Server Extension, version 6.0
[    38.122] (II) Loading extension SELinux
[    38.122] (II) Loading extension MIT-SCREEN-SAVER
[    38.122] (II) Loading extension XFree86-VidModeExtension
[    38.122] (II) Loading extension XFree86-DGA
[    38.122] (II) Loading extension DPMS
[    38.122] (II) Loading extension XVideo
[    38.122] (II) Loading extension XVideo-MotionCompensation
[    38.122] (II) Loading extension X-Resource
[    38.122] (II) LoadModule: "dbe"
[    38.123] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[    38.123] (II) Module dbe: vendor="X.Org Foundation"
[    38.123] 	compiled for 1.12.4, module version = 1.0.0
[    38.123] 	Module class: X.Org Server Extension
[    38.123] 	ABI class: X.Org Server Extension, version 6.0
[    38.123] (II) Loading extension DOUBLE-BUFFER
[    38.123] (II) LoadModule: "glx"
[    38.123] (II) Loading /usr/lib/xorg/modules/linux/libglx.so
[    38.159] (II) Module glx: vendor="NVIDIA Corporation"
[    38.159] 	compiled for 4.0.2, module version = 1.0.0
[    38.159] 	Module class: X.Org Server Extension
[    38.159] (II) NVIDIA GLX Module  173.14.35  Thu May 31 12:34:02 PDT 2012
[    38.159] (II) Loading extension GLX
[    38.159] (II) LoadModule: "record"
[    38.160] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[    38.160] (II) Module record: vendor="X.Org Foundation"
[    38.160] 	compiled for 1.12.4, module version = 1.13.0
[    38.160] 	Module class: X.Org Server Extension
[    38.160] 	ABI class: X.Org Server Extension, version 6.0
[    38.160] (II) Loading extension RECORD
[    38.160] (II) LoadModule: "dri"
[    38.161] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[    38.161] (II) Module dri: vendor="X.Org Foundation"
[    38.161] 	compiled for 1.12.4, module version = 1.0.0
[    38.161] 	ABI class: X.Org Server Extension, version 6.0
[    38.161] (II) Loading extension XFree86-DRI
[    38.162] (II) LoadModule: "dri2"
[    38.162] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[    38.162] (II) Module dri2: vendor="X.Org Foundation"
[    38.162] 	compiled for 1.12.4, module version = 1.2.0
[    38.162] 	ABI class: X.Org Server Extension, version 6.0
[    38.162] (II) Loading extension DRI2
[    38.162] (II) LoadModule: "nvidia"
[    38.163] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[    38.164] (II) Module nvidia: vendor="NVIDIA Corporation"
[    38.164] 	compiled for 4.0.2, module version = 1.0.0
[    38.164] 	Module class: X.Org Video Driver
[    38.164] (II) NVIDIA dlloader X Driver  173.14.35  Thu May 31 12:10:59 PDT 2012
[    38.164] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    38.164] (++) using VT number 7

[    38.167] (II) Loading sub module "fb"
[    38.167] (II) LoadModule: "fb"
[    38.167] (II) Loading /usr/lib/xorg/modules/libfb.so
[    38.168] (II) Module fb: vendor="X.Org Foundation"
[    38.168] 	compiled for 1.12.4, module version = 1.0.0
[    38.168] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    38.168] (II) Loading sub module "wfb"
[    38.168] (II) LoadModule: "wfb"
[    38.169] (II) Loading /usr/lib/xorg/modules/libwfb.so
[    38.169] (II) Module wfb: vendor="X.Org Foundation"
[    38.169] 	compiled for 1.12.4, module version = 1.0.0
[    38.169] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    38.169] (II) Loading sub module "ramdac"
[    38.169] (II) LoadModule: "ramdac"
[    38.169] (II) Module "ramdac" already built-in
[    38.170] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[    38.170] (==) NVIDIA(0): RGB weight 888
[    38.170] (==) NVIDIA(0): Default visual is TrueColor
[    38.170] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[    38.170] (**) NVIDIA(0): Enabling RENDER acceleration
[    38.170] (II) NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
[    38.170] (II) NVIDIA(0):     enabled.
[    39.135] (EE) NVIDIA(0): Failed to load the NVIDIA kernel module!
[    39.135] (EE) NVIDIA(0):  *** Aborting ***
[    39.135] (II) UnloadModule: "nvidia"
[    39.135] (II) UnloadSubModule: "wfb"
[    39.135] (II) UnloadSubModule: "fb"
[    39.135] (EE) Screen(s) found, but none have a usable configuration.
[    39.135] 
Fatal server error:
[    39.135] no screens found
[    39.135] 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[    39.135] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    39.135] 
[    39.141] Server terminated with error (1). Closing log file.
I tried the following:
1. ddm, after reboot the nouveau driver active
2. dpkg-reconfigure nvidia-kernel-legacy-173xx-dkms
3. nvidia-xconfig
4. deleted nouveau
MB ASRock P4I45E P4 2,4GHz HT, RAM 1GB, AGP NV5500 (NV34), SATA RocketRaid 1740; MATE 1.6 Desktop
I have nice Clonezilla back-up images, so can do anything

For "Russian speakers", I've get help here: http://debianforum.ru/index.php?topic=5220.0
vebuntu
Level 1
Level 1
Posts: 1
Joined: Sat Dec 01, 2012 1:50 pm

Re: Nvidia Graphics Drivers - Install Guide

Post by vebuntu »

i have Geforce GT240 and just tried this method and it works :D only 1 problem when i try to blacklist the open source driver
sudo echo blacklist nouveau > /etc/modprobe.d/blacklist-nouveau.conf


it will give me with (sudo)
bash: /etc/modprobe.d/blacklist-nouveau.conf: Permission denied
but anyway fully working now on debian edition thanks!! :D
BBX

Re: Nvidia Graphics Drivers - Install Guide

Post by BBX »

I followed proxima_centauri's instructions and installed NVIDIA drivers on a fresh LMDE 201403 RC install. All is working fine. :wink:
Jasz

Re: Nvidia Graphics Drivers - Install Guide

Post by Jasz »

So I've been trying to install nvidia drivers for two days now, using various methods, and nothing works. So I wanted to ask, are Optimus cards working for anyone on LMDE right now? According to this thread over at nvidia.com there are some problems with 3.10+ kernel (and I believe LMDE is on 13.11?) Simply installing the nvidia driver (from the repos, from testing, from nvidia site) breaks the X Server and using bumblebee gives a range of different errors including "falling of the bus."
primski

Re: Nvidia Graphics Drivers - Install Guide

Post by primski »

I got a new laptop too that has Optimus and two graphics cards.

Nvidia 740M

I tried running nvidia-detect and it says no supported hardware found or something like that.

This is a driver issue? I don't really need this laptop for gaming, bought it for work, but if it has nvidia, that'd be cool to use.
cyb3rc0de

Re: Nvidia Graphics Drivers - Install Guide

Post by cyb3rc0de »

I want to get best out of my GTS 450, every single atom of strength out of it. So, what is the best solution for me and whats IS CORRECT order to do it?

Will this method work: http://livelinux.altervista.org/Guida_L ... river.html ????

Thanks!
primski

Re: Nvidia Graphics Drivers - Install Guide

Post by primski »

sigh

back to ubuntu i guess.

does this at least work on Mint 16 ?
powerhouse
Level 6
Level 6
Posts: 1144
Joined: Thu May 03, 2012 3:54 am
Location: Israel
Contact:

Re: Nvidia Graphics Drivers - Install Guide

Post by powerhouse »

primski wrote:I got a new laptop too that has Optimus and two graphics cards.

Nvidia 740M

I tried running nvidia-detect and it says no supported hardware found or something like that.

This is a driver issue? I don't really need this laptop for gaming, bought it for work, but if it has nvidia, that'd be cool to use.
Have you tried Bumblebee? I tried it with a Dell 5110 laptop and it worked fine with the IGD and the Nvidia card. It's been a while since I did that and can't remember the steps. But perhaps it's worth checking.

P.S.: I'm not familiar with how Bumblebee or the Nvidia "Optimus" technology works. It could be that by default the Nvidia card is hidden from the kernel or user programs, and only activated via some "trigger", but that is pure speculation.
Subjects of interest: Linux, vfio passthrough virtualization, photography
See my blog on virtualization, including tutorials: https://www.heiko-sieger.info/category/ ... alization/
primski

Re: Nvidia Graphics Drivers - Install Guide

Post by primski »

powerhouse wrote:
primski wrote:I got a new laptop too that has Optimus and two graphics cards.

Nvidia 740M

I tried running nvidia-detect and it says no supported hardware found or something like that.

This is a driver issue? I don't really need this laptop for gaming, bought it for work, but if it has nvidia, that'd be cool to use.
Have you tried Bumblebee? I tried it with a Dell 5110 laptop and it worked fine with the IGD and the Nvidia card. It's been a while since I did that and can't remember the steps. But perhaps it's worth checking.

P.S.: I'm not familiar with how Bumblebee or the Nvidia "Optimus" technology works. It could be that by default the Nvidia card is hidden from the kernel or user programs, and only activated via some "trigger", but that is pure speculation.

Yea I tried bumblebee and it fails with:
Cannot access secondary GPU - error: Could not load GPU driver


Installing Nvidia proprietary driver doesnt even launch X.

I found about 2 dozen threads how this doesnt work on debian. Some people fixed it, most didnt.

Honestly, wont have too much time next few weeks so wont really deal with this too much.

Ill rather try 5 distros and keep the one that has most Stuff in working state.
LionHeart-

Re: Nvidia Graphics Drivers - Install Guide

Post by LionHeart- »

Those of you with Nvidia Optimus, have you tried installing the official drivers from Nvidia website successfully?
primski

Re: Nvidia Graphics Drivers - Install Guide

Post by primski »

LionHeart- wrote:Those of you with Nvidia Optimus, have you tried installing the official drivers from Nvidia website successfully?
successfully? no.

even nvidia-detect says no suppported gpu found.
LionHeart-

Re: Nvidia Graphics Drivers - Install Guide

Post by LionHeart- »

You're going to have to try and install the official Nvidia drivers from the website. It seems to me that you have GeForce GT 740M, Try and download that, and just rename it to NVIDIA-Linux.run for simplicity it should be a .run extension by default. Now here are the steps.

1. Go into Synaptics and type on the search "xserver-xorg-video-nouveau" and delete just that package.
2. Go into Synaptics and type on the search "nvidia" and uninstall everything that has the name nvidia on it.
3. I would restart at this point, Now you need install NVIDIA-Linux.run. The linux operating system is case sensitive so type as you see. To install, press Ctrl+Alt+F1, log in and type theses commands "sudo service mdm stop" now to find NVIDIA-Linux.run. "cd /home/YOUR-USER-NAME-HERE/Downloads and once your in the "Downloads" directory type "sudo sh NVIDIA-Lniux.run" and say "YES" to everything.

If you're having problems finding NVIDIA-Linux.run in the "Downloads" folder from the command line, just move the NVIDIA-Linux.run file to your /home folder and all you have to do is run the "sudo sh NVIDIA-Linux.run"
4. After everything is set and done, start the service again "sudo service mdm start" and to go back to your desktop press "Ctrl+Alt+F8" but for simplicity you can just restart your computer.

Let me know the description of any errors you encounter.
Minzen

Re: Nvidia Graphics Drivers - Install Guide

Post by Minzen »

Hello,

I have a question to this tutorial:
I executed nvidia-detect and got this response:

Code: Select all

...NVIDIA Corporation C61 [GeForce 6150SE nForce 430]
Your card is only supported up to the 304 legacy drivers servies. It is recommended to install the nvidia-legacy-304xx driver package.
However, GeForce 6150SE nForce 430 is listed under "older cards" and you recommend this code:

Code: Select all

apt install nvidia-kernel-legacy-173xx-dkms nvidia-glx-legacy-173xx build-essential 
nvidia-settings nvidia-xconfig
Now I've tried both and it doesn't work.
Should I remove all graphic drivers and then install one (but which one)? BTW, do I need to execute another code in the terminal to finish? It would be great if you could post the correct codes in the correct order because I love using LMDE - however, I'm still a newbie :)
scarhill
Level 1
Level 1
Posts: 1
Joined: Thu Jun 12, 2014 10:20 pm

Re: Nvidia Graphics Drivers - Install Guide

Post by scarhill »

Thanks for this useful thread! In trying to troubleshoot a problem with my old Dell D620 laptop, I noticed some minor issues with the instructions on the first page. So I thought I'd pass along what I figured out.

First, my old laptop requires legacy drivers. In my case the driver recommended by nvidia-detect was the 304xx version, which is not mentioned on the first page (perhaps the 304xx version didn't exist back then. I followed the instructions, updating the package names like this:

Code: Select all

apt install nvidia-legacy-304xx-kernel-dkms nvidia-legacy-304xx-driver build-essential nvidia-settings nvidia-xconfig
After rebooting X still would not start and the logs still had messages saying that the current driver didn't support my card. It turns out that nvidia-settings has a dependency on the current driver. I removed all the nvidia packages

Code: Select all

sudo apt remove --purge nvidia*
Then I reinstalled with the legacy settings package

Code: Select all

apt install nvidia-legacy-304xx-kernel-dkms nvidia-legacy-304xx-driver build-essential nvidia-settings-legacy-304xx nvidia-xconfig
I ran nvidia-xconfig, rebooted and my video worked again.
sgz

Re: Nvidia Graphics Drivers - Install Guide

Post by sgz »

I never noticed it, but since my lmde is running nvidia driver 319, optirun and primusrun doesn't work anymore when I run them manually, but every game I start is still accelerated. My gpu doesn't seem to be always on because when on desktop it doen't make any noise and doesn't become hot as when playing games... I really don't know what to think.. Does anyone know something about this ?
apemanx

Re: Nvidia Graphics Drivers - Install Guide

Post by apemanx »

Damn, Finally got my Nvidia Driver working! - Long post, but I got there in the end!

Thanks everyone who posted here - it helps us strugglers - just by following the wise!
Ubulindy

Re: Nvidia Graphics Drivers - Install Guide

Post by Ubulindy »

OK, so, I have an MSI GT60 dual graphics: Intel Core i7-4700MQ CPU (multi threaded 8 core )

Here is how I got my dual graphics/Optimus working.

Graphics:
Card-1: Intel 4th Gen Core Processor Integrated Graphics Controller
Card-2: NVIDIA GK106M [GeForce GTX 770M]

The default install of LMDE installs GLX Renderer Mesa DRI Intel Haswell Mobile GLX Version 3.0 Mesa 9.2.2 and nouveau

When I first booted up after the install, my power light glowed "amber" which let me know I was using the GPU and not the CPU. I didn't want this. I have optimus and want to be able to switch back and forth. I went into "Synaptic Package Manager" installed "bumblebee" and "primus". I recommend NOT installing the recommended package of "bumblebee-nvidia" You can if you wish, but then you will be using the proprietary driver for nVidia and not nouveau, which will then require further configs and blacklisting nouveau. I then went in my applets and installed "bumblebee and nVidia Display" and added it to the panel.
Rebooted.
Voila \o/ No more amber light, laptop runs cool and using the CPU. All your games, ect., can now be configured in the applet, and it DOES use the nVidia GPU. You can also achieve this using ScummVM which is also in Synaptic Package Manager. The only issue so far is both the applet and ScummVM work perefectly, BUT, it does require you to have to logout of your session and back in after using the GPU. Only because of the horrible resolution of something like 800x640 it uses for the GPU. Logging in and out of the session solves the issue every time, amber light once again glows white letting me know I'm using the CPU and not GPU. I did speak to the guy who wrote the code for the bumblebee applet a few months back. He said this behavior was unexpected. To me, really no big deal. Yes I wish I could just disconnect from the game, the GPU would disconnect and the CPU would connect. But, like I said the dual gfx work. Minor inconvenience as far as I'm concerned.

Other than that, both CPU and GPU work as expected
vankish

Re: Nvidia Graphics Drivers - Install Guide

Post by vankish »

hello!

I have a problem with Nvidia Card, I hava a laptop, Lenovo Z510, with Nvidia Geforce GT740M, I use LMDE 64 bits, but, when I do lspci -nn | grep VGA in Console, the request is:
00:02.0 VGA compatible controller [0300]: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller [8086:0416] (rev 06).

I don't see where it is the nvidia card, and I have a problem with Xserver. When I open Nvidia Xserver Setting, it gives me this message:

You do not appear to be using the NVIDIA X driver. Please edit your X configuration file (just run `nvidia-xconfig` as root), and restart the X server.You do not appear to be using the NVIDIA X driver. Please edit your X configuration file (just run `nvidia-xconfig` as root), and restart the X server.

please, I need help
Locked

Return to “LMDE Archive”