DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm using Debian Lenny, and my NVidia driver was working well. Today I booted it up, and got a bunch of colourful garbage on my screen. Ctrl-Alt-F1 to a console was also filled with undecipherable garbage.
I logged in remotely, and reinstalled the NVidia drivers. Now when I run X, I get:
Quote:
(EE) Failed to load module "nvidia" (module does not exist, 0)
I took a peek inside of /usr/lib/xorg/modules/drivers, and found the file was named nvidia_drv.o All the other files end in .so. When I renamed it to .so (What the hey, why not?), X gave me:
Quote:
(EE) Failed to load /usr/lib/xorg/modules/drivers//nvidia_drv.so
(EE) Failed to load module "nvidia" (loader failed, 7)
(EE) No drivers available
One last thing: I notice there's no Module section in xorg.conf, and dpkg-reconfigure xserver-xorg doesn't have a screen for it either. (It's where you specify v4l, dri, record, dbe, etc.) Is this as it should be? Or should I try manually creating one?
Distribution: Fedora, Gentoo, Debian, Slackware, IRIX, OS X
Posts: 192
Rep:
Try getting the package off of nVidia's site to reinstall your driver. Until then use either the vesa driver or nv driver. To manually add the "nvidia" driver find the following part of /etc/X11/xorg.conf*:
and modify the driver line. If it says "nvidia" and not "nv" or "vesa", then it's trying to use the nvidia driver and failing. Also, check to see if you have the right nVidia driver. You may need the legacy driver to get it to work right again. I know that that threw me off when I upgraded the driver on my desktop.
*This section is copied straight out of my xorg.conf file, which may not match yours exactly. It may say Identifier "Generic Video Card" or "nVidia GeForce XXXX" since I have an old card. Also, your BusID may differ, especially on a newer system.
I don't know if this is much help but here's what I did to fix a similar problem after an upgrade to "lenny".
My system was borked right after a re-boot, no screens found and when I tried to re-install the drivers "the debian way" it failed with some crap about module assistant not available ( uninstallable )
So faced with either running with the "nv" driver ( and thus no 3D) or a reinstall back to "etch" I decided to try something , I un-installed all of xorg, everything related to nvidia and then set my sources to "etch-stable" I reinstalled xserver-xorg (and all related packages) and then :
apt-get install module-assistant nvidia-kernel-common
m-a prepare
m-a auto-install nvidia
apt-get install nvidia-glx
in xorg.conf. I renamed the driver from nv back to nvidia and voila my desktop was back!
and it has a simple little script there that may help you fix your problem.
There is also a way to specify where the path is meant to be for the xorg drivers rather than the xserver drivers, but i have lost the little piece of paper so i use my script method now to fix it.
Well, the nv driver has quit on me also. Not only did it give me a corrupt / garbled picture, but the computer locked up after a few seconds. I didn't even have enough time to set up the networking so I could log in remotely.
So instead of fighting with it (could've edited xorg using Knoppix), I started a re-install. Hopefully all my nvidia problems will be wiped away. If I finish and still run into problems, I'll start trying your solutions.
One last thing: is there supposed to be a Module section in xorg.conf? Or has that been obsoleted? Because mine was missing one, and dpkg-reconfigure xserver-xorg didn't have a Module page.
Just ran dpkg-reconfigure xserver-xorg - does not offer me module check boxes either.
I use the driver from Nvidia site which offers an auto revision of xorg.conf after driver install.
the only module listed is glx
I notice there is still a "files" section on xorg.conf but no font paths are listed.
I think xorg has changed a bit since I upgraded to lenny
I use Nvidia GeForce 6800 with the Nvidia 100.14.11 driver. All working well here, except I get a little tearing when moving windows quickly. From my xorg-conf:
Now install nvidia binary driver for debian and restart xserver. It works.
Yea I might go ahead and try that. I was waiting for the new driver to come down from unstable but it looks like today they updated the driver again so it will be atleast another 10 days...grr. Oh well
edit:
Ok it seemed to work. I updated to the new x-server and did
Code:
cd /usr/lib/xorg/modules/drivers
gcc -shared -o nvidia_drv.so nvidia_drv.o
Upon restarting X I got this error:
Code:
X Window System Version 1.3.0
Release Date: 19 April 2007
X Protocol Version 11, Revision 0, Release 1.3
Build Operating System: Linux Debian
Current Operating System: Linux user 2.6.18-4-k7 #1 SMP Mon Mar 26 17:57:15 UTC 2007 i686
Build Date: 01 June 2007
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Jul 3 12:52:57 2007
(==) Using config file: "/etc/X11/xorg.conf"
Parse error on line 97 of section DRI in file /etc/X11/xorg.conf
Unexpected EOF. Missing EndSection keyword?
(EE) Problem parsing the config file
(EE) Error parsing the config file
Fatal server error:
no screens found
(WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
(WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor
I don't know why. SO I disabled "load "dri"" in xorg.conf and everything seems fine. dri is even working somehow. Hmm
I'm on lenny/sid and the latest driver version from nvidia's site is working like a charm here as well (version 100.14.11). Just want to let you people know something: if you have previously installed the driver "the debian way" (installing the nvidia-glx package and stuff), you probably need to purge the nvidia-glx package because its scripts remain in the system and will automatically delete the nvidia driver upon reboot (at least this is the way it used behave on etch, don't know whether it has changed or not); here's the code:
Code:
apt-get remove --purge nvidia-glx
After that, install the official nvidia driver from nvidia's website, edit your xorg.conf (if the installation doesn't do it by itself) and change 'nv' for 'nvidia'... hopefully it will work.
Last edited by Hungry ghost; 07-08-2007 at 04:35 PM.
I tried installing this driver the debian way first (using Lenny/Sid since Etch went stable), so I tried to purge the nvidia-glx package first, like odiseo77 recommended. All I got was this error message:
Code:
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut... Fertig
Paket nvidia-glx ist nicht installiert, wird also auch nicht entfernt
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 209 nicht aktualisiert.
8 nicht vollständig installiert oder entfernt.
Es müssen 0B Archive geholt werden.
Nach dem Auspacken werden 0B Plattenplatz zusätzlich benutzt.
Richte texlive-common ein (2005.dfsg.3-1) ...
/var/lib/dpkg/info/texlive-common.postinst: line 118: /usr/share/tex-common/tetex-bin-upgrade: Datei oder Verzeichnis nicht gefunden
dpkg: Fehler beim Bearbeiten von texlive-common (--configure):
Unterprozess post-installation script gab den Fehlerwert 1 zurück
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von texlive-base-bin:
texlive-base-bin hängt ab von texlive-common (>= 2005.dfsg.2-1); aber:
Paket texlive-common ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten von texlive-base-bin (--configure):
Abhängigkeitsprobleme - lasse es unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von dvipdfmx:
dvipdfmx hängt ab von tetex-bin | texlive-base-bin; aber:
Paket tetex-bin ist nicht installiert.
Paket texlive-base-bin ist noch nicht konfiguriert.
dvipdfmx hängt ab von tetex-base | texlive-base-bin; aber:
Paket tetex-base ist nicht installiert.
Paket texlive-base-bin ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten von dvipdfmx (--configure):
Abhängigkeitsprobleme - lasse es unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von texlive-doc-base:
texlive-doc-base hängt ab von texlive-common (>= 2005.dfsg.2-1); aber:
Paket texlive-common ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten von texlive-doc-base (--configure):
Abhängigkeitsprobleme - lasse es unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von texlive-base:
texlive-base hängt ab von texlive-doc-base; aber:
Paket texlive-doc-base ist noch nicht konfiguriert.
texlive-base hängt ab von texlive-base-bin; aber:
Paket texlive-base-bin ist noch nicht konfiguriert.
texlive-base hängt ab von texlive-common (>= 2005.dfsg.2-1); aber:
Paket texlive-common ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten von texlive-base (--configure):
Abhängigkeitsprobleme - lasse es unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von texlive-pdfetex:
texlive-pdfetex hängt ab von texlive-base; aber:
Paket texlive-base ist noch nicht konfiguriert.
texlive-pdfetex hängt ab von texlive-common (>= 2005.dfsg.2-1); aber:
Paket texlive-common ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten von texlive-pdfetex (--configure):
Abhängigkeitsprobleme - lasse es unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von texlive-latex-base:
texlive-latex-base hängt ab von texlive-pdfetex; aber:
Paket texlive-pdfetex ist noch nicht konfiguriert.
texlive-latex-base hängt ab von texlive-common (>= 2005.dfsg.2-1); aber:
Paket texlive-common ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten von texlive-latex-base (--configure):
Abhängigkeitsprobleme - lasse es unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von kile:
kile hängt ab von texlive-latex-base; aber:
Paket texlive-latex-base ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten von kile (--configure):
Abhängigkeitsprobleme - lasse es unkonfiguriert
Fehler traten auf beim Bearbeiten von:
texlive-common
texlive-base-bin
dvipdfmx
texlive-doc-base
texlive-base
texlive-pdfetex
texlive-latex-base
kile
E: Sub-process /usr/bin/dpkg returned an error code (1)
I hope you guys can read this, as it is written in german. Basically apt refuses to purge the package for not being able to edit/configure the packages listed. I don't really understand what texlive-packages have to do with nvidia-glx, anyway... however, shall I purge these packages first? I don't really erquire them at the moment anyway.
Then I tried to to install the NVIDIA driver (after I shut down X using Strg+Alt+Backspace) as suggested by the README on www.nvidia.com, resulting in an error concerning the kernel module (the driver wasn't able to compile one).
Here is the end of my /var/log/nvidia-installer.log:
Code:
from the one used to build the target kernel, or if a driver such as
rivafb/nvidiafb is present and prevents the NVIDIA kernel module from
obtaining ownership of the NVIDIA graphics device(s).
Please see the log entries 'Kernel module load error' and 'Kernel
messages' at the end of the file '/var/log/nvidia-installer.log' for
more information.
-> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.ko':
-1 No such device
-> Kernel messages:
device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised:
dm-devel@redhat.com
kjournald starting. Commit interval 5 seconds
EXT3 FS on sda4, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
eth0: setting full-duplex.
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
ACPI: Power Button (FF) [PWRF]
ACPI: Power Button (CM) [PWRB]
ACPI: Sleep Button (CM) [SLPB]
lp0: using parport0 (interrupt-driven).
ppdev: user-space parallel port driver
NET: Registered protocol family 5
eth0: no IPv6 routers present
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
NFSD: starting 90-second grace period
nvidia: module license 'NVIDIA' taints kernel.
NVRM: The NVIDIA GeForce4 Ti 4200 with AGP8X GPU installed in this system is
NVRM: supported through the NVIDIA 1.0-96xx Legacy drivers. Please
NVRM: visit http://www.nvidia.com/object/unix.html for more
NVRM: information. The 1.0-9755 NVIDIA driver will ignore
NVRM: this GPU. Continuing probe...
NVRM: No NVIDIA graphics adapter found!
ERROR: Installation has failed. Please see the file
'/var/log/nvidia-installer.log' for details. You may find suggestions
on fixing installation problems in the README available on the Linux
driver download page at www.nvidia.com.
Same problems here, seems like the driver is trying to purge the packages texlive* himself, hell knows why and then fails to compile the kernel-interface...
Any suggestions for me?
Last edited by TheSmilingBandit; 07-09-2007 at 12:48 AM.
so the fact that the nvidia driver isn't working is a problem with testing and not my incompetence when it comes to installing it?
when do you think it will get fixed?
The problem is that X.org 7.2 changed something that makes the current drivers in Stable and Testing not work any more. The latest drivers in Unstable are supposed to work, so you could just wait until those trickle down to Testing if you don't want to install the Nvidia way.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.