LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 11-08-2009, 07:59 PM   #1
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
Installing nvidia-glx fails on legacy cards in Squeeze


This can happen if you do a dist-upgrade these days. First GLX is working, after the dist upgrade it doesn't work anymore. That is awkward and besides who can do without wobbly windows and 6-desktops-on-a-cube?

The problem is that Squeeze has recently declared a few older nvidia cards as legacy. However, the detection that a particular card is legacy doesn't work yet. Secondly (but I am not 100% sure about that) it seems that the nvidia-glx driver is dependent on the new nvidia-kernel, and that kernel is not available in Testing, you have to get that from Unstable. But that is a known bug. (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=549869)

There is a good manual here: http://wiki.debian.org/NvidiaGraphicsDrivers#Libraries, and the bug report points to this page. However, it doesn't work because the detection algorithm does not detect that some older cards are legacy and should not use the newest driver.

First you should visit the nvidia.com web site, specify your card and find out what the latest usable driver version is. When it is 185.xxx you can simply use the newest driver from unstable. If you must use a legacy driver, there are options to solve this, assuming your version is 173xx:

1. Use this page: http://wiki.debian.org/NvidiaGraphicsDrivers#Libraries and perform steps 1, 2, 3 as specified, but you have to issue this:
Code:
export VERSION=-legacy-173xx
2. Do it according to the bug report:
Code:
apt-get install nvidia-kernel-legacy-173xx-source
apt-get install module-assistant 
module-assistant ai nvidia-kernel-legacy-173xx
Again, you might have to change to Unstable in your sources.list to get the correct versions.

jlinkels
 
Old 11-08-2009, 11:24 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
for the 173 downgrade xorg!
for a 96 ?? downgrade and there might be a update to "NVIDIA-Linux-x86-96.43.13-pkg1.run" to a "43.14 " in the near future .
 
Old 11-09-2009, 04:25 AM   #3
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Original Poster
Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
Why downgrade xorg?

jlinkels
 
Old 12-29-2009, 09:11 AM   #4
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Original Poster
Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
This might be a useful addition.

When the kernel on your system is upgraded you need to run this command again:
Code:
module-assistant ai nvidia-kernel-legacy-173xx
However during this process dpkg will complain that
/lib/modules/2.6.xx-x-xx/nvidia/nvidia.ko
will be overwritten.

This is embedded in the script, even if this file is deleted, the script will complain. The solution is to watch carefully on the screen at which moment dkpg stops. It will specify which file cannot be installed, which is something like
/usr/src/nvidia-kernel-legacy-173xx-2.6.30-2-686_173.14.20-1+2.6.30-8_i386.deb

The solution is simple, after the module-assistant is terminated, run this command:
Code:
dpkg --force-overwrite -i nvidia-kernel-legacy-173xx-2.6.30-2-686_173.14.20-1+2.6.30-8_i386.deb
Obviously do this only when dpkg terminates because if this error. On other moments this force option can be dangerous.

jlinkels
 
  


Reply



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
Skype and Legacy NVidia cards monsm LinuxQuestions.org Member Success Stories 2 04-02-2009 03:12 AM
nvidia-glx-legacy & GLX errors Codegen Ubuntu 5 03-11-2007 03:18 PM
KDE crashes, nvidia-legacy and GLX, Oh my! TomalakBORG SUSE / openSUSE 1 01-16-2007 03:40 AM
GLXGEARS problem on Ubuntu, with NVidia GLX-Legacy drivers installed Interdictor Ubuntu 3 01-09-2007 12:44 PM
nvidia legacy driver and nvidia-glx questions darkleaf Linux - Software 6 06-27-2005 02:42 PM

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

All times are GMT -5. The time now is 04:51 AM.

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