Package: xserver-xorg-video-nvidia-legacy-304xx
Version: 304.135-2
Severity: grave
Tags: patch
Justification: renders package unusable
Dear Maintainer,
* What led up to the situation?
All the components of the nvidia-legacy-304xx drivers (kernel and xorg)
were working fine in jessie. After an upgrade to stretch, the nouveau
driver was unreliable (video artifacts, lock-ups) as it had been before
in jessie. I had to manually remove packages, blacklist nouveau,
install and compile the kernel driver, etc... After all was done X
wouldn't start. These are the relevant lines in Xorg.0.log.old before the
fix below:
[28.868] (II) LoadModule: "nvidia"
[28.907] (WW) Warning, couldn't open module nvidia
[28.907] (II) UnloadModule: "nvidia"
[28.907] (II) Unloading nvidia
[28.907] (EE) Failed to load module "nvidia" (module does not exist, 0)
[28.907] (EE) No drivers available.
[28.907] (EE) Fatal server error:
[28.907] (EE) no screens found(EE)
* What exactly did you do that was effective?
It appears that the kernel driver packages and the xorg driver packages
don't agree as to the location of the nvidia_drv.so file. Creating this
symbolic link fixes the problem.
ln -s /usr/lib/nvidia/legacy-304xx/nvidia_drv.so
/usr/lib/xorg/modules/drivers/nvidia_drv.so
* What was the outcome of this action?
The X server started correctly. After that it was only a matter of
setting it up with nvidia-settings.
All the information below was collected by reportbug after the symbolic
link above was set up and the system rebooted. The Xorg.0.log.old (also
below) reflects the problem and contains the few lines included above.
-- Package-specific info:
uname -a:
Linux graviton 4.9.0-2-686-pae #1 SMP Debian 4.9.13-1 (2017-02-27) i686
GNU/Linux
/proc/version:
Linux version 4.9.0-2-686-pae (debian-ker...@lists.debian.org) (gcc version
6.3.0 20170221 (Debian 6.3.0-8) ) #1 SMP Debian 4.9.13-1 (2017-02-27)
/proc/driver/nvidia/version:
NVRM version: NVIDIA UNIX x86 Kernel Module 304.135 Tue Jan 17 14:54:17 PST
2017
GCC version: gcc version 6.3.0 20170321 (Debian 6.3.0-11)
lspci 'VGA compatible controller [0300]':
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation NV41 [GeForce
6800] [10de:00c1] (rev a2) (prog-if 00 [VGA controller])
Subsystem: NVIDIA Corporation NV41 [GeForce 6800] [10de:0245]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR-
Kernel driver in use: nvidia
Kernel modules: nouveau, nvidia_legacy_304xx
dmesg:
Device node permissions:
crw-rw+ 1 root video 226, 0 Apr 1 19:55 /dev/dri/card0
crw-rw-rw- 1 root root 195, 0 Apr 1 19:55 /dev/nvidia0
crw-rw-rw- 1 root root 195, 255 Apr 1 19:55 /dev/nvidiactl
video:x:44:afc,motion
OpenGL and NVIDIA library files installed:
-rw-r--r-- 1 afc afc 1248 Apr 1 16:50 /etc/X11/xorg.conf
lrwxrwxrwx 1 root root 22 Mar 28 22:30 /etc/alternatives/glx ->
/usr/lib/mesa-diverted
lrwxrwxrwx 1 root root 49 Mar 28 22:30
/etc/alternatives/glx--libEGL.so.1-i386-linux-gnu ->
/usr/lib/mesa-diverted/i386-linux-gnu/libEGL.so.1
lrwxrwxrwx 1 root root 48 Mar 28 22:30
/etc/alternatives/glx--libGL.so.1-i386-linux-gnu ->
/usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1
lrwxrwxrwx 1 root root 48 Mar 28 22:30
/etc/alternatives/glx--libGL.so.1-i386-linux-gnu ->
/usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1
lrwxrwxrwx 1 root root 52 Mar 28 22:30
/etc/alternatives/glx--libGLESv2.so.2-i386-linux-gnu ->
/usr/lib/mesa-diverted/i386-linux-gnu/libGLESv2.so.2
lrwxrwxrwx 1 root root 52 Mar 28 22:30
/etc/alternatives/glx--libGLESv2.so.2-i386-linux-gnu ->
/usr/lib/mesa-diverted/i386-linux-gnu/libGLESv2.so.2
lrwxrwxrwx 1 root root 28 Apr 1 15:44 /etc/alternatives/nvidia ->
/usr/lib/nvidia/legacy-304xx
lrwxrwxrwx 1 root root 54 Apr 1 15:44
/etc/alternatives/nvidia--libGL.so.1-i386-linux-gnu ->
/usr/lib/i386-linux-gnu/nvidia/legacy-304xx/libGL.so.1
lrwxrwxrwx 1 root root 54 Apr 1 15:44
/etc/alternatives/nvidia--libGL.so.1-i386-linux-gnu ->
/usr/lib/i386-linux-gnu/nvidia/legacy-304xx/libGL.so.1
lrwxrwxrwx 1 root root 62 Apr 1 15:44
/etc/alternatives/nvidia--libXvMCNVIDIA.so.1-i386-linux-gnu ->
/usr/lib/i386-linux-gnu/nvidia/legacy-304xx/libXvMCNVIDIA.so.1
lrwxrwxrwx 1 root root 70 Apr 1 15:44
/etc/alternatives/nvidia--libXvMCNVIDIA_dynamic.so.1-i386-linux-gnu ->
/usr/lib/i386-linux-gnu/nvidia/legacy-304xx/libXvMCNVIDIA_dynamic.so.1
lrwxrwxrwx 1 root root 38 Apr 1 15:44
/etc/alternatives/nvidia--libglx.so -> /usr/lib/nvidia/legacy-304xx/libglx.so
lrwxrwxrwx 1 root root 62 Apr 1 15:44
/etc/alternatives/nvidia--libnvidia-cfg.so.1-i386-linux-gnu ->
/usr/lib/i386-linux-gnu/nvidia/legacy-304xx/libnvidia-cfg.so.1
lrwxrwxrwx 1 root root 61 Apr 1 15:44
/etc/altern