Bug#912925: glx-diversions: should divert libGL.so when other libraries are diverted to NVIDIA as pyqt5 breaks otherwise

Julian Gilbey jdg at debian.org
Mon Nov 5 00:17:19 GMT 2018


Package: glx-diversions
Version: 0.8.8
Severity: important

Hi!

I have just spent 2+ days trying to track down the source of this bug,
without much success.

When running the following PyQt5 code, it bombs:

#!/usr/bin/python3

import sys
# from OpenGL import GL

from PyQt5.QtCore import QUrl
from PyQt5.QtWidgets import QApplication
from PyQt5.QtWebEngineWidgets import QWebEngineView

app = QApplication(sys.argv)
wv = QWebEngineView()

wv.load(QUrl('about:blank'))
wv.show()

app.exec_()

Here is the terminal output:

erdos:/tmp $ ./testqt.py 
[1105/000408.477830:WARNING:stack_trace_posix.cc(699)] Failed to open file: /tmp/.glj5nVFA (deleted)
  Error: No such file or directory
[8683:8706:1105/000408.616185:ERROR:gl_surface_glx_qt.cpp(186)] glXCreatePbuffer failed.
Received signal 11 SEGV_MAPERR 000000000000
#0 0x7fb738ce7b9e <unknown>
#1 0x7fb738ce7cb0 <unknown>
#2 0x7fb738ce82e7 <unknown>
#3 0x7fb74622c8e0 <unknown>
#4 0x7fb73775e07d <unknown>
#5 0x7fb737746ec0 <unknown>
#6 0x7fb7396336ed <unknown>
#7 0x7fb737ac3cfb <unknown>
#8 0x7fb737ac5497 <unknown>
#9 0x7fb7398f36e5 <unknown>
#10 0x7fb73b094341 <unknown>
#11 0x7fb738d4ccc5 <unknown>
#12 0x7fb738d48631 <unknown>
#13 0x7fb746221f2a start_thread
#14 0x7fb745d59edf clone
  r8: 0000000000000002  r9: 0000000000000000 r10: 0000000000000000 r11: 0000000000000000
 r12: 00007fb6e37fd610 r13: 00007fb6e37fd8d0 r14: 00007fb6e37fd820 r15: 00007fb73775dfd0
  di: 0000000000000000  si: 0000000000d8e150  bp: 00007fb6e37fd5f0  bx: 00007fb6c80030b0
  dx: 00000000000000f5  ax: 00007fb73d334680  cx: 00007fb6e37fd410  sp: 00007fb6e37fd410
  ip: 00007fb73775e07d efl: 0000000000010206 cgf: 002b000000000033 erf: 0000000000000004
 trp: 000000000000000e msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
Calling _exit(1). Core file will not be generated.
erdos:/tmp $ 

There is some discussion of this bug here:
https://bugreports.qt.io/browse/QTBUG-71488

If the commented line (from OpenGL import GL) is uncommented, the code
works fine.

At some point, some piece of code is loading libGL.so.  I don't know
where this is happening, and I have completely failed to track it
down.

However, if the libGL.so symlink is made to point to the NVIDIA
library, then all works nicely.

I appreciate that in an ideal world, nothing would ever dlopen() an
unversioned libGL.so, but something, somewhere is doing so.  I also
don't know why loading OpenGL should help fix this bizarre bug.  I
have hunted and hunted for the source of the dlopen("libGL.so") (it's
definitely happening - I ran strace and saw this library being
opened), but failed miserably.

A kludge to fix it is to always load OpenGL in PyQt5 scripts, but that
is ugly.  A nice way to fix it would be to locate the source of the
code which loads this.  But that is proving utterly horrendous.

So the pragmatic way to fix it would be to symlink libGL.so to the
NVIDIA libGL.so... (and presumably the other related .so libraries)
when glx-diversions is used.  Because having libGL.so.1 pointing to
one version of the library and libGL.so pointing to an incompatible
version is causing this crash.

Please could you therefore modify glx-diversions to ensure that the
unversioned libGL.so points to the same location as the versioned
libGL.so.1 (and the others too: libEGL.so, libGLESv1_CM.so and
libGLESv2.so).

Best wishes,

   Julian

-- 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.0.0 to /usr/lib/mesa-diverted/arm-linux-gnueabihf/libGL.so.1.0.0 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/libGL.so.1.7.0 to /usr/lib/mesa-diverted/arm-linux-gnueabihf/libGL.so.1.7.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/libGLESv1_CM.so.1.2.0 to /usr/lib/mesa-diverted/arm-linux-gnueabihf/libGLESv1_CM.so.1.2.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/arm-linux-gnueabihf/libGLESv2.so.2.1.0 to /usr/lib/mesa-diverted/arm-linux-gnueabihf/libGLESv2.so.2.1.0 by glx-diversions
diversion of /usr/lib/arm-linux-gnueabihf/libGLX_indirect.so.0 to /usr/lib/mesa-diverted/arm-linux-gnueabihf/libGLX_indirect.so.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.0.0 to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1.0.0 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/libGL.so.1.7.0 to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1.7.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/libGLESv1_CM.so.1.2.0 to /usr/lib/mesa-diverted/i386-linux-gnu/libGLESv1_CM.so.1.2.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/i386-linux-gnu/libGLESv2.so.2.1.0 to /usr/lib/mesa-diverted/i386-linux-gnu/libGLESv2.so.2.1.0 by glx-diversions
diversion of /usr/lib/i386-linux-gnu/libGLX_indirect.so.0 to /usr/lib/mesa-diverted/i386-linux-gnu/libGLX_indirect.so.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.0.0 to /usr/lib/mesa-diverted/libGL.so.1.0.0 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/libGL.so.1.7.0 to /usr/lib/mesa-diverted/libGL.so.1.7.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/libGLESv1_CM.so.1.2.0 to /usr/lib/mesa-diverted/libGLESv1_CM.so.1.2.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/libGLESv2.so.2.1.0 to /usr/lib/mesa-diverted/libGLESv2.so.2.1.0 by glx-diversions
diversion of /usr/lib/libGLX_indirect.so.0 to /usr/lib/mesa-diverted/libGLX_indirect.so.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.0.0 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.0.0 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/libGL.so.1.7.0 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.7.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/libGLESv1_CM.so.1.2.0 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv1_CM.so.1.2.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
diversion of /usr/lib/x86_64-linux-gnu/libGLESv2.so.2.1.0 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv2.so.2.1.0 by glx-diversions
diversion of /usr/lib/x86_64-linux-gnu/libGLX_indirect.so.0 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGLX_indirect.so.0 by glx-diversions

/usr/lib/mesa-diverted:
total 88
drwxr-xr-x   5 root root  4096 Dec 14  2013 .
drwxr-xr-x 260 root root 69632 Nov  4 12:59 ..
drwxr-xr-x   2 root root  4096 Oct 24  2013 arm-linux-gnueabihf
drwxr-xr-x   2 root root  4096 Oct 31 20:54 i386-linux-gnu
lrwxrwxrwx   1 root root    33 Dec 14  2013 libGL.so-master -> /etc/alternatives/libGL.so-master
drwxr-xr-x   2 root root  4096 Oct 31 20:54 x86_64-linux-gnu

/usr/lib/mesa-diverted/i386-linux-gnu/:
total 412
drwxr-xr-x 2 root root   4096 Oct 31 20:54 .
drwxr-xr-x 5 root root   4096 Dec 14  2013 ..
lrwxrwxrwx 1 root root     14 Aug 10 12:50 libGL.so.1 -> libGL.so.1.7.0
-rw-r--r-- 1 root root 411160 Aug 10 12:50 libGL.so.1.7.0
lrwxrwxrwx 1 root root     16 Oct 10 15:54 libGLX_indirect.so.0 -> libGLX_mesa.so.0

/usr/lib/mesa-diverted/x86_64-linux-gnu/:
total 804
drwxr-xr-x 2 root root   4096 Oct 31 20:54 .
drwxr-xr-x 5 root root   4096 Dec 14  2013 ..
lrwxrwxrwx 1 root root     15 Aug 10 12:50 libEGL.so -> libEGL.so.1.1.0
lrwxrwxrwx 1 root root     15 Aug 10 12:50 libEGL.so.1 -> libEGL.so.1.1.0
-rw-r--r-- 1 root root  80448 Aug 10 12:50 libEGL.so.1.1.0
lrwxrwxrwx 1 root root     14 Aug 10 12:50 libGL.so -> libGL.so.1.7.0
lrwxrwxrwx 1 root root     14 Aug 10 12:50 libGL.so.1 -> libGL.so.1.7.0
-rw-r--r-- 1 root root 596296 Aug 10 12:50 libGL.so.1.7.0
lrwxrwxrwx 1 root root     21 Aug 10 12:50 libGLESv1_CM.so -> libGLESv1_CM.so.1.2.0
lrwxrwxrwx 1 root root     21 Aug 10 12:50 libGLESv1_CM.so.1 -> libGLESv1_CM.so.1.2.0
-rw-r--r-- 1 root root  51520 Aug 10 12:50 libGLESv1_CM.so.1.2.0
lrwxrwxrwx 1 root root     18 Aug 10 12:50 libGLESv2.so -> libGLESv2.so.2.1.0
lrwxrwxrwx 1 root root     18 Aug 10 12:50 libGLESv2.so.2 -> libGLESv2.so.2.1.0
-rw-r--r-- 1 root root  80192 Aug 10 12:50 libGLESv2.so.2.1.0
lrwxrwxrwx 1 root root     16 Oct 10 15:54 libGLX_indirect.so.0 -> libGLX_mesa.so.0

Alternative 'glx':
glx - auto mode
  link best version is /usr/lib/nvidia
  link currently points to /usr/lib/nvidia
  link glx is /usr/lib/glx
  slave glx--libEGL.so.1-i386-linux-gnu is /usr/lib/i386-linux-gnu/libEGL.so.1
  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-i386-linux-gnu is /usr/lib/i386-linux-gnu/libGLESv1_CM.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-i386-linux-gnu is /usr/lib/i386-linux-gnu/libGLESv2.so.2
  slave glx--libGLESv2.so.2-x86_64-linux-gnu is /usr/lib/x86_64-linux-gnu/libGLESv2.so.2
  slave glx--libGLX_indirect.so.0-i386-linux-gnu is /usr/lib/i386-linux-gnu/libGLX_indirect.so.0
  slave glx--libGLX_indirect.so.0-x86_64-linux-gnu is /usr/lib/x86_64-linux-gnu/libGLX_indirect.so.0
  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--libGLESv1_CM.so.1-x86_64-linux-gnu: /usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv1_CM.so.1
  slave glx--libGLESv2.so.2-x86_64-linux-gnu: /usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv2.so.2
  slave glx--libGLX_indirect.so.0-i386-linux-gnu: /usr/lib/i386-linux-gnu/libGLX_mesa.so.0
  slave glx--libGLX_indirect.so.0-x86_64-linux-gnu: /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0
/usr/lib/nvidia - priority 100
  slave glx--libEGL.so.1-i386-linux-gnu: /usr/lib/i386-linux-gnu/nvidia/libEGL.so.1
  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-i386-linux-gnu: /usr/lib/i386-linux-gnu/nvidia/libGLESv1_CM.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-i386-linux-gnu: /usr/lib/i386-linux-gnu/nvidia/libGLESv2.so.2
  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--libGLESv1_CM.so.1-x86_64-linux-gnu: /usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv1_CM.so.1
  slave glx--libGLESv2.so.2-x86_64-linux-gnu: /usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv2.so.2
  slave glx--libGLX_indirect.so.0-i386-linux-gnu: /usr/lib/i386-linux-gnu/libGLX_mesa.so.0
  slave glx--libGLX_indirect.so.0-x86_64-linux-gnu: /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0
  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--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 15 Jan 23  2018 /etc/alternatives/glx -> /usr/lib/nvidia
lrwxrwxrwx 1 root root 49 Aug 13 20:27 /etc/alternatives/glx--libEGL.so-x86_64-linux-gnu -> /usr/lib/mesa-diverted/x86_64-linux-gnu/libEGL.so
lrwxrwxrwx 1 root root 42 Jan 23  2018 /etc/alternatives/glx--libEGL.so.1-i386-linux-gnu -> /usr/lib/i386-linux-gnu/nvidia/libEGL.so.1
lrwxrwxrwx 1 root root 44 Jan 23  2018 /etc/alternatives/glx--libEGL.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/libEGL.so.1
lrwxrwxrwx 1 root root 48 Aug 13 20:27 /etc/alternatives/glx--libGL.so-x86_64-linux-gnu -> /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so
lrwxrwxrwx 1 root root 41 Jan 23  2018 /etc/alternatives/glx--libGL.so.1-i386-linux-gnu -> /usr/lib/i386-linux-gnu/nvidia/libGL.so.1
lrwxrwxrwx 1 root root 43 Jan 23  2018 /etc/alternatives/glx--libGL.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/libGL.so.1
lrwxrwxrwx 1 root root 55 Aug 13 20:27 /etc/alternatives/glx--libGLESv1_CM.so-x86_64-linux-gnu -> /usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv1_CM.so
lrwxrwxrwx 1 root root 48 Jan 23  2018 /etc/alternatives/glx--libGLESv1_CM.so.1-i386-linux-gnu -> /usr/lib/i386-linux-gnu/nvidia/libGLESv1_CM.so.1
lrwxrwxrwx 1 root root 50 Jan 23  2018 /etc/alternatives/glx--libGLESv1_CM.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/libGLESv1_CM.so.1
lrwxrwxrwx 1 root root 52 Aug 13 20:27 /etc/alternatives/glx--libGLESv2.so-x86_64-linux-gnu -> /usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv2.so
lrwxrwxrwx 1 root root 45 Jan 23  2018 /etc/alternatives/glx--libGLESv2.so.2-i386-linux-gnu -> /usr/lib/i386-linux-gnu/nvidia/libGLESv2.so.2
lrwxrwxrwx 1 root root 47 Jan 23  2018 /etc/alternatives/glx--libGLESv2.so.2-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/libGLESv2.so.2
lrwxrwxrwx 1 root root 49 Jan 23  2018 /etc/alternatives/glx--libnvidia-cfg.so.1-i386-linux-gnu -> /usr/lib/i386-linux-gnu/nvidia/libnvidia-cfg.so.1
lrwxrwxrwx 1 root root 51 Jan 23  2018 /etc/alternatives/glx--libnvidia-cfg.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/libnvidia-cfg.so.1
lrwxrwxrwx 1 root root 25 Jan 23  2018 /etc/alternatives/glx--linux-libglx.so -> /usr/lib/nvidia/libglx.so
lrwxrwxrwx 1 root root 42 Jan 23  2018 /etc/alternatives/glx--nvidia-blacklists-nouveau.conf -> /etc/nvidia/nvidia-blacklists-nouveau.conf
lrwxrwxrwx 1 root root 36 Jan 23  2018 /etc/alternatives/glx--nvidia-bug-report.sh -> /usr/lib/nvidia/nvidia-bug-report.sh
lrwxrwxrwx 1 root root 39 Jan 23  2018 /etc/alternatives/glx--nvidia-drm-outputclass.conf -> /etc/nvidia/nvidia-drm-outputclass.conf
lrwxrwxrwx 1 root root 28 Jan 23  2018 /etc/alternatives/glx--nvidia-load.conf -> /etc/nvidia/nvidia-load.conf
lrwxrwxrwx 1 root root 32 Jan 23  2018 /etc/alternatives/glx--nvidia-modprobe.conf -> /etc/nvidia/nvidia-modprobe.conf
lrwxrwxrwx 1 root root 29 Jan 23  2018 /etc/alternatives/glx--nvidia_drv.so -> /usr/lib/nvidia/nvidia_drv.so

File System:
lrwxrwxrwx 1 root root     21 Dec 14  2013 /usr/lib/glx -> /etc/alternatives/glx
lrwxrwxrwx 1 root root     48 Jan 23  2018 /usr/lib/i386-linux-gnu/libGL.so.1 -> /etc/alternatives/glx--libGL.so.1-i386-linux-gnu
lrwxrwxrwx 1 root root     48 Nov  1 10:03 /usr/lib/x86_64-linux-gnu/libGL.so -> /etc/alternatives/glx--libGL.so-x86_64-linux-gnu
lrwxrwxrwx 1 root root     50 Jan 23  2018 /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 289824 Oct 25 19:15 /usr/lib/xorg/modules/extensions/libglx.so


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

Kernel: Linux 4.14.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8), LANGUAGE=en_GB.utf8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages glx-diversions depends on:
ii  dpkg                      1.19.2
ii  glx-alternative-mesa      0.8.8
ii  nvidia-installer-cleanup  20151021+8

glx-diversions recommends no packages.

glx-diversions suggests no packages.

Versions of packages glx-diversions is related to:
ii  glx-alternative-mesa                                              0.8.8
ii  glx-alternative-nvidia                                            0.8.8
ii  libgl1                                                            1.1.0-1
pn  libgl1-dev                                                        <none>
ii  libgl1-nvidia-legacy-340xx-glx [libgl1-nvidia-glx-any]            340.107-2
ii  nvidia-legacy-340xx-driver [nvidia-glx-any]                       340.107-2
ii  xserver-xorg-video-nvidia-legacy-340xx [xserver-xorg-video-nvidi  340.107-2

-- no debconf information



More information about the pkg-nvidia-devel mailing list