LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 04-17-2012, 11:36 PM   #1
winter_ken
LQ Newbie
 
Registered: Apr 2012
Posts: 2

Rep: Reputation: Disabled
Proprietary NVIDIA Driver Troubleshooting


Okay, so I've been on this for a couple days with no luck.

Trying to install the Nvidia drivers the debian way, http://wiki.debian.org/NvidiaGraphic...n-free_drivers , and I would like to try and keep using the debian method so it auto updates if this is at all possible.

I've unloaded and blacklisted modules, uninstalled all drivers using apt-get autoremove, and tried forcing reinstallation but it seems like there is still some conflict somewhere within the driver and the kernel, and I'm not experienced enough to figure it out.

less /var/log/Xorg.0.log | grep EE #returns this
Code:
(EE) NVIDIA: Failed to load the NVIDIA kernel module. Please check your
(EE) NVIDIA:     system's kernel log for additional error messages.
(EE) Failed to load module "nvidia" (module-specific error, 0)
(EE) No drivers available.
This is interesting because it looks like the card is not recognized by something correctly. Card is a Geforce 560GTX ti (by MSI) and Nvidia's site say's it's supported.

lspci -v #returns this
Code:
01:00.0 VGA compatible controller: nVidia Corporation Device 1201 (rev a1) (prog-if 00 [VGA controller])
	Subsystem: Micro-Star International Co., Ltd. Device 2383
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at ca000000 (32-bit, non-prefetchable) [size=32M]
	Memory at b8000000 (64-bit, prefetchable) [size=128M]
	Memory at c4000000 (64-bit, prefetchable) [size=64M]
	I/O ports at 9c00 [size=128]
	[virtual] Expansion ROM at c0000000 [disabled] [size=512K]
	Capabilities: <access denied>
this is my install output, nothing really looks wrong.

Code:
Updated infos about 1 packages
Getting source for kernel version: 2.6.32-5-amd64
Kernel headers available in /lib/modules/2.6.32-5-amd64/build
apt-get install build-essential 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
build-essential is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Done!
download 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/6,618 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 133761 files and directories currently installed.)
Preparing to replace nvidia-kernel-source 195.36.31-6 (using .../nvidia-kernel-source_195.36.31-6_amd64.deb) ...
Unpacking replacement nvidia-kernel-source ...
Setting up nvidia-kernel-source (195.36.31-6) ...

Updated infos about 1 packages
unpack 
Extracting the package tarball, /usr/src/nvidia-kernel.tar.bz2, please wait...
"/usr/share/modass/packages/nvidia-kernel-source" build KVERS=2.6.32-5-amd64 KSRC=/lib/modules/2.6.32-5-amd64/build KDREV=2.6.32-41squeeze2 kdist_image
Done with /usr/src/nvidia-kernel-2.6.32-5-amd64_195.36.31-6+2.6.32-41squeeze2_amd64.deb .
dpkg -i /usr/src/nvidia-kernel-2.6.32-5-amd64_195.36.31-6+2.6.32-41squeeze2_amd64.deb 
Selecting previously deselected package nvidia-kernel-2.6.32-5-amd64.
(Reading database ... 133761 files and directories currently installed.)
Unpacking nvidia-kernel-2.6.32-5-amd64 (from .../nvidia-kernel-2.6.32-5-amd64_195.36.31-6+2.6.32-41squeeze2_amd64.deb) ...
Setting up nvidia-kernel-2.6.32-5-amd64 (195.36.31-6+2.6.32-41squeeze2) ...
ken@Odin:~$ sudo apt-get install nvidia-glx${VERSION}
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libgl1-nvidia-alternatives libgl1-nvidia-glx libglx-nvidia-alternatives
  libvdpau1 nvidia-vdpau-driver
Suggested packages:
  nvidia-settings
The following NEW packages will be installed:
  libgl1-nvidia-alternatives libgl1-nvidia-glx libglx-nvidia-alternatives
  libvdpau1 nvidia-glx nvidia-vdpau-driver
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/11.6 MB of archives.
After this operation, 43.3 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Selecting previously deselected package libgl1-nvidia-alternatives.
(Reading database ... 133771 files and directories currently installed.)
Unpacking libgl1-nvidia-alternatives (from .../libgl1-nvidia-alternatives_195.36.31-6_amd64.deb) ...
Selecting previously deselected package libgl1-nvidia-glx.
Unpacking libgl1-nvidia-glx (from .../libgl1-nvidia-glx_195.36.31-6_amd64.deb) ...
Selecting previously deselected package libglx-nvidia-alternatives.
Unpacking libglx-nvidia-alternatives (from .../libglx-nvidia-alternatives_195.36.31-6_amd64.deb) ...
Selecting previously deselected package nvidia-glx.
Unpacking nvidia-glx (from .../nvidia-glx_195.36.31-6_amd64.deb) ...
Selecting previously deselected package libvdpau1.
Unpacking libvdpau1 (from .../libvdpau1_0.4.1-2_amd64.deb) ...
Selecting previously deselected package nvidia-vdpau-driver.
Unpacking nvidia-vdpau-driver (from .../nvidia-vdpau-driver_195.36.31-6_amd64.deb) ...
Setting up libgl1-nvidia-alternatives (195.36.31-6) ...
Adding 'diversion of /usr/lib/libGL.so to /usr/lib/nvidia/diversions/libGL.so by libgl1-nvidia-alternatives'
Adding 'diversion of /usr/lib/libGL.so.1 to /usr/lib/nvidia/diversions/libGL.so.1 by libgl1-nvidia-alternatives'
Adding 'diversion of /usr/lib/libGL.so.1.2 to /usr/lib/nvidia/diversions/libGL.so.1.2 by libgl1-nvidia-alternatives'
Setting up libglx-nvidia-alternatives (195.36.31-6) ...
Adding 'diversion of /usr/lib/xorg/modules/extensions/libglx.so to /usr/lib/nvidia/diversions/libglx.so by libglx-nvidia-alternatives'
Adding 'diversion of /usr/lib/debug/usr/lib/xorg/modules/extensions/libglx.so to /usr/lib/nvidia/diversions/libglx.so.dbg by libglx-nvidia-alternatives'
Setting up libvdpau1 (0.4.1-2) ...
Setting up nvidia-vdpau-driver (195.36.31-6) ...
Processing triggers for libgl1-nvidia-alternatives ...
update-alternatives: using /usr/lib/nvidia/diversions/libGL.so.1 to provide /usr/lib/libGL.so.1 (libGL.so.1) in auto mode.
Setting up libgl1-nvidia-glx (195.36.31-6) ...
update-alternatives: using /usr/lib/nvidia/libGL.so.1 to provide /usr/lib/libGL.so.1 (libGL.so.1) in auto mode.
Processing triggers for libglx-nvidia-alternatives ...
update-alternatives: using /usr/lib/nvidia/diversions/libglx.so to provide /usr/lib/xorg/modules/extensions/libglx.so (libglx.so) in auto mode.
update-alternatives: warning: skip creation of /usr/lib/debug/usr/lib/xorg/modules/extensions/libglx.so because associated file /usr/lib/nvidia/diversions/libglx.so.dbg (of link group libglx.so) doesn't exist.
Setting up nvidia-glx (195.36.31-6) ...
No diversion 'diversion of /usr/lib/xorg/modules/extensions/libGLcore.so to /usr/lib/nvidia/libGLcore.so.xlibmesa by nvidia-glx', none removed.
No diversion 'diversion of /usr/lib/xorg/modules/extensions/libGLcore.a to /usr/lib/nvidia/libGLcore.a.xlibmesa by nvidia-glx', none removed.
No diversion 'diversion of /usr/lib/xorg/modules/extensions/libglx.a to /usr/lib/nvidia/libglx.a.xlibmesa by nvidia-glx', none removed.
update-alternatives: using /usr/lib/nvidia/libglx.so to provide /usr/lib/xorg/modules/extensions/libglx.so (libglx.so) in auto mode.
Processing triggers for libgl1-nvidia-alternatives ...
ken@Odin:~$ uname -a
Linux Odin 2.6.32-5-amd64 #1 SMP Thu Mar 22 17:26:33 UTC 2012 x86_64 GNU/Linux
less /var/log/kern.log #returns this
Code:
Apr 17 20:47:57 Odin kernel: [    0.820061] ata11: nv_mode_filter: 0x1f39f&0x1f39f->0x1f39f, BIOS=0x1f000 (0xc50000) ACPI=0x1f01f (600:30:0x1c)
Apr 17 20:47:57 Odin kernel: [    5.026914] nvidia: module license 'NVIDIA' taints kernel.
Apr 17 20:47:57 Odin kernel: [    5.484491] nvidia 0000:01:00.0: PCI INT A -> Link[AXV5] -> GSI 16 (level, low) -> IRQ 16
Apr 17 20:47:57 Odin kernel: [    5.484511] nvidia 0000:01:00.0: setting latency timer to 64
Apr 17 20:47:57 Odin kernel: [    5.484562] NVRM: www.nvidia.com.
Apr 17 20:47:57 Odin kernel: [    5.484567] nvidia: probe of 0000:01:00.0 failed with error -1
another variation of the output under different conditions exists, but this might be more than enough output to look at.

Thanks a lot to everyone who read all of this, it's really appreciated!
 
Old 04-18-2012, 04:25 AM   #2
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
GTX 560 Ti requires driver version 270.26 or higher. You are trying to get it working with driver version 195.36 (from the debian stable repos I guess).

You will have to manually install the nVidia driver, or backport the newer drivers in the tersting repos.
 
1 members found this post helpful.
Old 04-24-2012, 05:43 PM   #3
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,876

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
As stated you will need the newer versions than those in squeeze.
You will also need the updated kernel and headers from backports as well (currently 3.2.x)

Add the squeeze backports repo, instructions at backports.debian.org.

If you build the module manually as above, it won't get updated automatically, you want the DKMS method as per http://wiki.debian.org/NvidiaGraphicsDrivers#Use_DKMS
Quote:
Use DKMS

This is the easiest method and recommended unless you have some reason to not want to install a compiler.

All you need to do is install the kernel headers package for the Linux image that you're running (usually named linux-headers-<version> where <version> is whatever version of kernel you're running) and then install nvidia-kernel-dkms or the nvidia-kernel-legacy-...-dkms package for the legacy version of the drivers that you need.

DKMS will take care of the build and install process automatically.

Last edited by descendant_command; 04-24-2012 at 05:44 PM.
 
1 members found this post helpful.
Old 05-03-2012, 04:48 AM   #4
winter_ken
LQ Newbie
 
Registered: Apr 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Sorry, I've been incredibly busy with school that I haven't had time to deal with computer problems for a little bit. I thought the nvidia driver was a little old but I didn't know that my card would be completely unsupported with it.

Thanks to the both of you for your help. It's greatly appreciated!!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
nvidia proprietary driver, nvidia-settings and how to configure panning bluebox Linux - Hardware 1 03-11-2011 03:21 PM
[SOLVED] Can't install NVIDIA proprietary driver in Slackware 13.1 bonixavier Linux - Hardware 16 10-09-2010 07:45 PM
Nvidia, Arch Driver vs proprietary... Alexvader Arch 4 08-13-2010 08:39 AM
Has anyone tried the proprietary driver with an Nvidia gt310m? damgar Linux - Hardware 1 04-18-2010 03:05 AM
does the vesa console framebuffer driver conflict with the proprietary nvidia driver? mr.v. Linux - Hardware 2 01-28-2007 06:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration