Bug#804328: glx-alternative-nvidia: GDM3 exits with "Failed to initialize GLX extension (Compatible NVIDIA X driver not found)"

Alessio Gaeta alga777 at gmail.com
Sat Nov 7 12:38:20 UTC 2015


Package: glx-alternative-nvidia
Version: 0.7.0
Severity: grave
Justification: renders package unusable

Hello,

after the last system upgrade GDM3 started to crash showing the infamous white
screen.

In logs I found these relevant lines:

[...]
/usr/lib/gdm3/gdm-x-session[1730]: (II) NVIDIA GLX Module  340.93  Wed Aug 19
16:23:51 PDT 2015
[...]
/usr/lib/gdm3/gdm-x-session[1730]: (EE) Failed to initialize GLX extension
(Compatible NVIDIA X driver not found)
[...]
gnome-session[1750]: Xlib:  extension "GLX" missing on display ":0".
[...]

But I'm using Bumblebee, thus by default Intel card should be used. Looking at
the GLX alternatives I saw:

# update-alternatives --config glx
Sono disponibili 3 scelte per l'alternativa glx (che fornisce /usr/lib/glx).

  Selezione    Percorso                   Priorità  Stato
------------------------------------------------------------
* 0            /usr/lib/nvidia             100       modalità automatica
  1            /usr/lib/mesa-diverted      5         modalità manuale
  2            /usr/lib/nvidia             100       modalità manuale
  3            /usr/lib/nvidia/bumblebee   95        modalità manuale

Choosing the manual mode n. 3 (/usr/lib/nvidia/bumblebee) made my Xorg server
usable again.

I don't know if the bug is in some post-install script or if the bumblebee
priority (if bumblebee is used) should be higher than nvidia one. But for sure
something gone wrong with the alternatives.

Thanks

--
Alessio Gaeta



-- Package-specific info:
Diversions:
diversion of /usr/lib/arm-linux-gnueabihf/libGL.so to /usr/lib/mesa-diverted/arm-linux-gnueabihf/libGL.so by glx-diversions
diversion of /usr/lib/arm-linux-gnueabihf/libGL.so.1 to /usr/lib/mesa-diverted/arm-linux-gnueabihf/libGL.so.1 by glx-diversions
diversion of /usr/lib/arm-linux-gnueabihf/libGL.so.1.2 to /usr/lib/mesa-diverted/arm-linux-gnueabihf/libGL.so.1.2 by glx-diversions
diversion of /usr/lib/arm-linux-gnueabihf/libGL.so.1.2.0 to /usr/lib/mesa-diverted/arm-linux-gnueabihf/libGL.so.1.2.0 by glx-diversions
diversion of /usr/lib/arm-linux-gnueabihf/libGLESv1_CM.so to /usr/lib/mesa-diverted/arm-linux-gnueabihf/libGLESv1_CM.so by glx-diversions
diversion of /usr/lib/arm-linux-gnueabihf/libGLESv1_CM.so.1 to /usr/lib/mesa-diverted/arm-linux-gnueabihf/libGLESv1_CM.so.1 by glx-diversions
diversion of /usr/lib/arm-linux-gnueabihf/libGLESv1_CM.so.1.1.0 to /usr/lib/mesa-diverted/arm-linux-gnueabihf/libGLESv1_CM.so.1.1.0 by glx-diversions
diversion of /usr/lib/arm-linux-gnueabihf/libGLESv2.so to /usr/lib/mesa-diverted/arm-linux-gnueabihf/libGLESv2.so by glx-diversions
diversion of /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2 to /usr/lib/mesa-diverted/arm-linux-gnueabihf/libGLESv2.so.2 by glx-diversions
diversion of /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2.0.0 to /usr/lib/mesa-diverted/arm-linux-gnueabihf/libGLESv2.so.2.0.0 by glx-diversions
diversion of /usr/lib/i386-linux-gnu/libGL.so to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so by glx-diversions
diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1 by glx-diversions
diversion of /usr/lib/i386-linux-gnu/libGL.so.1.2 to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1.2 by glx-diversions
diversion of /usr/lib/i386-linux-gnu/libGL.so.1.2.0 to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1.2.0 by glx-diversions
diversion of /usr/lib/i386-linux-gnu/libGLESv1_CM.so to /usr/lib/mesa-diverted/i386-linux-gnu/libGLESv1_CM.so by glx-diversions
diversion of /usr/lib/i386-linux-gnu/libGLESv1_CM.so.1 to /usr/lib/mesa-diverted/i386-linux-gnu/libGLESv1_CM.so.1 by glx-diversions
diversion of /usr/lib/i386-linux-gnu/libGLESv1_CM.so.1.1.0 to /usr/lib/mesa-diverted/i386-linux-gnu/libGLESv1_CM.so.1.1.0 by glx-diversions
diversion of /usr/lib/i386-linux-gnu/libGLESv2.so to /usr/lib/mesa-diverted/i386-linux-gnu/libGLESv2.so by glx-diversions
diversion of /usr/lib/i386-linux-gnu/libGLESv2.so.2 to /usr/lib/mesa-diverted/i386-linux-gnu/libGLESv2.so.2 by glx-diversions
diversion of /usr/lib/i386-linux-gnu/libGLESv2.so.2.0.0 to /usr/lib/mesa-diverted/i386-linux-gnu/libGLESv2.so.2.0.0 by glx-diversions
diversion of /usr/lib/libGL.so to /usr/lib/mesa-diverted/libGL.so by glx-diversions
diversion of /usr/lib/libGL.so.1 to /usr/lib/mesa-diverted/libGL.so.1 by glx-diversions
diversion of /usr/lib/libGL.so.1.2 to /usr/lib/mesa-diverted/libGL.so.1.2 by glx-diversions
diversion of /usr/lib/libGL.so.1.2.0 to /usr/lib/mesa-diverted/libGL.so.1.2.0 by glx-diversions
diversion of /usr/lib/libGLESv1_CM.so to /usr/lib/mesa-diverted/libGLESv1_CM.so by glx-diversions
diversion of /usr/lib/libGLESv1_CM.so.1 to /usr/lib/mesa-diverted/libGLESv1_CM.so.1 by glx-diversions
diversion of /usr/lib/libGLESv1_CM.so.1.1.0 to /usr/lib/mesa-diverted/libGLESv1_CM.so.1.1.0 by glx-diversions
diversion of /usr/lib/libGLESv2.so to /usr/lib/mesa-diverted/libGLESv2.so by glx-diversions
diversion of /usr/lib/libGLESv2.so.2 to /usr/lib/mesa-diverted/libGLESv2.so.2 by glx-diversions
diversion of /usr/lib/libGLESv2.so.2.0.0 to /usr/lib/mesa-diverted/libGLESv2.so.2.0.0 by glx-diversions
diversion of /usr/lib/x86_64-linux-gnu/libGL.so to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so by glx-diversions
diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1 by glx-diversions
diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1.2 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.2 by glx-diversions
diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1.2.0 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.2.0 by glx-diversions
diversion of /usr/lib/x86_64-linux-gnu/libGLESv1_CM.so to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv1_CM.so by glx-diversions
diversion of /usr/lib/x86_64-linux-gnu/libGLESv1_CM.so.1 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv1_CM.so.1 by glx-diversions
diversion of /usr/lib/x86_64-linux-gnu/libGLESv1_CM.so.1.1.0 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv1_CM.so.1.1.0 by glx-diversions
diversion of /usr/lib/x86_64-linux-gnu/libGLESv2.so to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv2.so by glx-diversions
diversion of /usr/lib/x86_64-linux-gnu/libGLESv2.so.2 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv2.so.2 by glx-diversions
diversion of /usr/lib/x86_64-linux-gnu/libGLESv2.so.2.0.0 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv2.so.2.0.0 by glx-diversions

/usr/lib/mesa-diverted:
total 60
drwxr-xr-x   5 root root  4096 Sep 11  2014 .
drwxr-xr-x 248 root root 45056 Nov  7 10:26 ..
drwxr-xr-x   2 root root  4096 Jul 16  2013 arm-linux-gnueabihf
drwxr-xr-x   2 root root  4096 Nov  7 10:43 i386-linux-gnu
drwxr-xr-x   2 root root  4096 Nov  7 10:43 x86_64-linux-gnu

/usr/lib/mesa-diverted/i386-linux-gnu/:
total 684
drwxr-xr-x 2 root root   4096 Nov  7 10:43 .
drwxr-xr-x 5 root root   4096 Sep 11  2014 ..
lrwxrwxrwx 1 root root     14 Oct 26 13:09 libGL.so.1 -> libGL.so.1.2.0
-rw-r--r-- 1 root root 689788 Oct 26 13:09 libGL.so.1.2.0

/usr/lib/mesa-diverted/x86_64-linux-gnu/:
total 812
drwxr-xr-x 2 root root   4096 Nov  7 10:43 .
drwxr-xr-x 5 root root   4096 Sep 11  2014 ..
lrwxrwxrwx 1 root root     15 Oct 26 09:35 libEGL.so.1 -> libEGL.so.1.0.0
-rw-r--r-- 1 root root 164952 Oct 26 09:35 libEGL.so.1.0.0
lrwxrwxrwx 1 root root     14 Oct 26 09:35 libGL.so.1 -> libGL.so.1.2.0
-rw-r--r-- 1 root root 619000 Oct 26 09:35 libGL.so.1.2.0
lrwxrwxrwx 1 root root     18 Oct 26 09:35 libGLESv2.so.2 -> libGLESv2.so.2.0.0
-rw-r--r-- 1 root root  30520 Oct 26 09:35 libGLESv2.so.2.0.0

Alternative 'glx':
glx - manual mode
  link best version is /usr/lib/nvidia
  link currently points to /usr/lib/nvidia/bumblebee
  link glx is /usr/lib/glx
  slave glx--libEGL.so.1-x86_64-linux-gnu is /usr/lib/x86_64-linux-gnu/libEGL.so.1
  slave glx--libGL.so.1-i386-linux-gnu is /usr/lib/i386-linux-gnu/libGL.so.1
  slave glx--libGL.so.1-x86_64-linux-gnu is /usr/lib/x86_64-linux-gnu/libGL.so.1
  slave glx--libGLESv1_CM.so.1-x86_64-linux-gnu is /usr/lib/x86_64-linux-gnu/libGLESv1_CM.so.1
  slave glx--libGLESv2.so.2-x86_64-linux-gnu is /usr/lib/x86_64-linux-gnu/libGLESv2.so.2
  slave glx--libnvidia-cfg.so.1-i386-linux-gnu is /usr/lib/i386-linux-gnu/libnvidia-cfg.so.1
  slave glx--libnvidia-cfg.so.1-x86_64-linux-gnu is /usr/lib/x86_64-linux-gnu/libnvidia-cfg.so.1
  slave glx--linux-libglx.so is /usr/lib/xorg/modules/linux/libglx.so
  slave glx--nvidia-blacklists-nouveau.conf is /etc/modprobe.d/nvidia-blacklists-nouveau.conf
  slave glx--nvidia-bug-report.sh is /usr/bin/nvidia-bug-report.sh
  slave glx--nvidia-drm-outputclass.conf is /usr/share/X11/xorg.conf.d/nvidia-drm-outputclass.conf
  slave glx--nvidia-load.conf is /etc/modules-load.d/nvidia.conf
  slave glx--nvidia-modprobe.conf is /etc/modprobe.d/nvidia.conf
  slave glx--nvidia_drv.so is /usr/lib/xorg/modules/drivers/nvidia_drv.so
/usr/lib/mesa-diverted - priority 5
  slave glx--libEGL.so.1-x86_64-linux-gnu: /usr/lib/mesa-diverted/x86_64-linux-gnu/libEGL.so.1
  slave glx--libGL.so.1-i386-linux-gnu: /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1
  slave glx--libGL.so.1-x86_64-linux-gnu: /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1
  slave glx--libGLESv2.so.2-x86_64-linux-gnu: /usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv2.so.2
/usr/lib/nvidia - priority 100
  slave glx--libEGL.so.1-x86_64-linux-gnu: /usr/lib/x86_64-linux-gnu/nvidia/libEGL.so.1
  slave glx--libGL.so.1-i386-linux-gnu: /usr/lib/i386-linux-gnu/nvidia/libGL.so.1
  slave glx--libGL.so.1-x86_64-linux-gnu: /usr/lib/x86_64-linux-gnu/nvidia/libGL.so.1
  slave glx--libGLESv1_CM.so.1-x86_64-linux-gnu: /usr/lib/x86_64-linux-gnu/nvidia/libGLESv1_CM.so.1
  slave glx--libGLESv2.so.2-x86_64-linux-gnu: /usr/lib/x86_64-linux-gnu/nvidia/libGLESv2.so.2
  slave glx--libnvidia-cfg.so.1-i386-linux-gnu: /usr/lib/i386-linux-gnu/nvidia/libnvidia-cfg.so.1
  slave glx--libnvidia-cfg.so.1-x86_64-linux-gnu: /usr/lib/x86_64-linux-gnu/nvidia/libnvidia-cfg.so.1
  slave glx--linux-libglx.so: /usr/lib/nvidia/libglx.so
  slave glx--nvidia-blacklists-nouveau.conf: /etc/nvidia/nvidia-blacklists-nouveau.conf
  slave glx--nvidia-bug-report.sh: /usr/lib/nvidia/nvidia-bug-report.sh
  slave glx--nvidia-drm-outputclass.conf: /etc/nvidia/nvidia-drm-outputclass.conf
  slave glx--nvidia-load.conf: /etc/nvidia/nvidia-load.conf
  slave glx--nvidia-modprobe.conf: /etc/nvidia/nvidia-modprobe.conf
  slave glx--nvidia_drv.so: /usr/lib/nvidia/nvidia_drv.so
/usr/lib/nvidia/bumblebee - priority 95
  slave glx--libEGL.so.1-x86_64-linux-gnu: /usr/lib/mesa-diverted/x86_64-linux-gnu/libEGL.so.1
  slave glx--libGL.so.1-i386-linux-gnu: /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1
  slave glx--libGL.so.1-x86_64-linux-gnu: /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1
  slave glx--libGLESv2.so.2-x86_64-linux-gnu: /usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv2.so.2
  slave glx--nvidia-blacklists-nouveau.conf: /etc/nvidia/nvidia-blacklists-nouveau.conf
  slave glx--nvidia-bug-report.sh: /usr/lib/nvidia/nvidia-bug-report.sh
  slave glx--nvidia-modprobe.conf: /etc/nvidia/nvidia-modprobe.conf

lrwxrwxrwx 1 root root 25 Nov  7 12:41 /etc/alternatives/glx -> /usr/lib/nvidia/bumblebee
lrwxrwxrwx 1 root root 51 Nov  7 12:41 /etc/alternatives/glx--libEGL.so.1-x86_64-linux-gnu -> /usr/lib/mesa-diverted/x86_64-linux-gnu/libEGL.so.1
lrwxrwxrwx 1 root root 48 Nov  7 12:41 /etc/alternatives/glx--libGL.so.1-i386-linux-gnu -> /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1
lrwxrwxrwx 1 root root 50 Nov  7 12:41 /etc/alternatives/glx--libGL.so.1-x86_64-linux-gnu -> /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1
lrwxrwxrwx 1 root root 54 Nov  7 12:41 /etc/alternatives/glx--libGLESv2.so.2-x86_64-linux-gnu -> /usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv2.so.2
lrwxrwxrwx 1 root root 42 Nov  7 12:41 /etc/alternatives/glx--nvidia-blacklists-nouveau.conf -> /etc/nvidia/nvidia-blacklists-nouveau.conf
lrwxrwxrwx 1 root root 36 Nov  7 12:41 /etc/alternatives/glx--nvidia-bug-report.sh -> /usr/lib/nvidia/nvidia-bug-report.sh
lrwxrwxrwx 1 root root 32 Nov  7 12:41 /etc/alternatives/glx--nvidia-modprobe.conf -> /etc/nvidia/nvidia-modprobe.conf

File System:
lrwxrwxrwx 1 root root     21 Oct 24 13:37 /usr/lib/glx -> /etc/alternatives/glx
lrwxrwxrwx 1 root root     48 Nov  3 20:08 /usr/lib/i386-linux-gnu/libGL.so.1 -> /etc/alternatives/glx--libGL.so.1-i386-linux-gnu
lrwxrwxrwx 1 root root     50 Nov  3 20:08 /usr/lib/x86_64-linux-gnu/libGL.so.1 -> /etc/alternatives/glx--libGL.so.1-x86_64-linux-gnu
-rw-r--r-- 1 root root 290160 Oct 28 00:43 /usr/lib/xorg/modules/extensions/libglx.so


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.2.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages glx-alternative-nvidia depends on:
ii  glx-alternative-mesa  0.7.0
ii  glx-diversions        0.7.0

glx-alternative-nvidia recommends no packages.

Versions of packages glx-alternative-nvidia suggests:
ii  nvidia-driver  340.93-7

Versions of packages glx-diversions depends on:
ii  dpkg                      1.18.3
ii  nvidia-installer-cleanup  20151021+1

Versions of packages glx-diversions recommends:
ii  glx-alternative-mesa  0.7.0

Versions of packages glx-alternative-nvidia is related to:
pn  glx-alternative-fglrx                                      <none>
ii  glx-alternative-mesa                                       0.7.0
ii  glx-alternative-nvidia                                     0.7.0
pn  libgl1-dev                                                 <none>
ii  libgl1-mesa-glx [libgl1]                                   11.0.4-1
ii  libgl1-nvidia-glx [libgl1-nvidia-glx-any]                  340.93-7
ii  nvidia-driver [nvidia-glx-any]                             340.93-7
ii  xserver-xorg-video-nvidia [xserver-xorg-video-nvidia-any]  340.93-7

-- no debconf information



More information about the pkg-nvidia-devel mailing list