Bug#1008245: update-glx config for nvidia but libegl point to mesa-diverted

Christophe Trophime christophe.trophime at lncmi.cnrs.fr
Fri Mar 25 11:56:57 GMT 2022


> On 25/03/2022 09.57, Christophe Trophime wrote:
>> Why on earth, glx--libEGL.so.1-x86_64-linux-gnu points to mesa-diverted??
> 
> MESA and modern NVIDIA drivers (starting after the 418 series) use
> libglvnd to provide generic loader libraries libGL.so.1, libEGL.so.1,
> ... while MESA and NVIDIA only provide some implementations:
> libGLX_${VENDOR}.so.0, libEGL_${VENDOR}.so.0, ...
> (NVIDIA still ships GLVND builds of (loader) libGL.so.1 etc., but we use
> them from src:libglvnd.)
> The name "mesa-diverted" is misleading nowadays since it actually
> contains diverted libglvnd libraries ... this won't be fixed, because
> once all the NVIDIA drivers predating GLVND usage reach EoL (Tesla 418
> in 03/2022 and legacy 390 in 12/2022), i.e. once there are no longer
> NVIDIA-specific libGL.so.1 etc. we can simplify the diversion and
> alternatives setup for bookworm, since most things done can now be
> solved by libglvnd.
> 

Hi, Andreas
thanks for your explanations. This is more clear now.

>> Running glxinfo I can confirm that I'm using Nvidia driver (even if
>> glx--libGL.so.1-x86_64-linux-gnu points to mesa-diverted).
> 
> As expected.
> 
>> But running eglinfo clearly states that I'm using mesa driver.
> 
> That's the point we need to look into.
> 
> Luca, can you confirm that eglinfo should report something
> "NVIDIA-specific" or is that a red herring?
> 
> Christophe, you should have something like these libraries
> related to EGL installed:
> 
> ii  libegl-mesa0:amd64              21.3.7-1                          amd64
> free implementation of the EGL API -- Mesa vendor library
> ii  libegl-nvidia0:amd64            470.103.01-3                      amd64
> NVIDIA binary EGL library
> ii  libegl1:amd64                   1.4.0-1                           amd64
> Vendor neutral GL dispatch library -- EGL support
> ii  libnvidia-egl-wayland1:amd64    1:1.1.9-1.1                       amd64
> Wayland EGL External Platform library -- shared library
> ii  libnvidia-eglcore:amd64         470.103.01-3                      amd64
> NVIDIA binary EGL core libraries
> ii  libwayland-egl1:amd64           1.20.0-1                          amd64
> wayland compositor infrastructure - EGL library
> ii  nvidia-egl-common               470.103.01-3                      amd64
> NVIDIA binary EGL driver - common files
> ii  nvidia-egl-icd:amd64            470.103.01-3                      amd64
> NVIDIA EGL installable client driver (ICD)
> 
> Please send the configuration of the nvidia alternative, too:
> 
> update-glx --display nvidia
> 
nvidia - auto mode
  link best version is /usr/lib/nvidia/current
  link currently points to /usr/lib/nvidia/current
  link nvidia is /usr/lib/nvidia/nvidia
  slave nvidia--libEGL_nvidia.so.0-x86_64-linux-gnu is /usr/lib/x86_64-linux-gnu/libEGL_nvidia.so.0
  slave nvidia--libGLESv1_CM_nvidia.so.1-x86_64-linux-gnu is /usr/lib/x86_64-linux-gnu/libGLESv1_CM_nvidia.so.1
  slave nvidia--libGLESv2_nvidia.so.2-x86_64-linux-gnu is /usr/lib/x86_64-linux-gnu/libGLESv2_nvidia.so.2
  slave nvidia--libGLX_nvidia.so.0-x86_64-linux-gnu is /usr/lib/x86_64-linux-gnu/libGLX_nvidia.so.0
  slave nvidia--libcuda.so-i386-linux-gnu is /usr/lib/i386-linux-gnu/libcuda.so
  slave nvidia--libcuda.so-x86_64-linux-gnu is /usr/lib/x86_64-linux-gnu/libcuda.so
  slave nvidia--libcuda.so.1-i386-linux-gnu is /usr/lib/i386-linux-gnu/libcuda.so.1
  slave nvidia--libcuda.so.1-x86_64-linux-gnu is /usr/lib/x86_64-linux-gnu/libcuda.so.1
  slave nvidia--libglxserver_nvidia.so is /usr/lib/nvidia/libglxserver_nvidia.so
  slave nvidia--libnvcuvid.so-x86_64-linux-gnu is /usr/lib/x86_64-linux-gnu/libnvcuvid.so
  slave nvidia--libnvcuvid.so.1-x86_64-linux-gnu is /usr/lib/x86_64-linux-gnu/libnvcuvid.so.1
  slave nvidia--libnvidia-cfg.so.1-x86_64-linux-gnu is /usr/lib/x86_64-linux-gnu/nvidia/libnvidia-cfg.so.1
  slave nvidia--libnvidia-encode.so.1-x86_64-linux-gnu is /usr/lib/x86_64-linux-gnu/libnvidia-encode.so.1
  slave nvidia--libnvidia-ml.so-x86_64-linux-gnu is /usr/lib/x86_64-linux-gnu/libnvidia-ml.so
  slave nvidia--libnvidia-ml.so.1-x86_64-linux-gnu is /usr/lib/x86_64-linux-gnu/libnvidia-ml.so.1
  slave nvidia--libnvidia-ptxjitcompiler.so.1-i386-linux-gnu is /usr/lib/i386-linux-gnu/libnvidia-ptxjitcompiler.so.1
  slave nvidia--libnvidia-ptxjitcompiler.so.1-x86_64-linux-gnu is /usr/lib/x86_64-linux-gnu/libnvidia-ptxjitcompiler.so.1
  slave nvidia--libvdpau_nvidia.so.1-x86_64-linux-gnu is /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_nvidia.so.1
  slave nvidia--nv-control-dpy is /usr/bin/nv-control-dpy
  slave nvidia--nvidia-application-profiles-key-documentation is /usr/share/nvidia/nvidia-application-profiles-key-documentation
  slave nvidia--nvidia-blacklists-nouveau.conf is /etc/nvidia/nvidia-blacklists-nouveau.conf
  slave nvidia--nvidia-bug-report.sh is /usr/lib/nvidia/nvidia-bug-report.sh
  slave nvidia--nvidia-debugdump is /usr/bin/nvidia-debugdump
  slave nvidia--nvidia-drm-outputclass.conf is /etc/nvidia/nvidia-drm-outputclass.conf
  slave nvidia--nvidia-load.conf is /etc/nvidia/nvidia-load.conf
  slave nvidia--nvidia-modprobe.conf is /etc/nvidia/nvidia-modprobe.conf
  slave nvidia--nvidia-options.conf is /etc/modprobe.d/nvidia-options.conf
  slave nvidia--nvidia-settings is /usr/bin/nvidia-settings
  slave nvidia--nvidia-settings.1.gz is /usr/share/man/man1/nvidia-settings.1.gz
  slave nvidia--nvidia-settings.desktop is /usr/share/applications/nvidia-settings.desktop
  slave nvidia--nvidia-smi is /usr/bin/nvidia-smi
  slave nvidia--nvidia-smi.1.gz is /usr/share/man/man1/nvidia-smi.1.gz
  slave nvidia--nvidia_drv.so is /usr/lib/nvidia/nvidia_drv.so
/usr/lib/nvidia/current - priority 470
  slave nvidia--libEGL_nvidia.so.0-x86_64-linux-gnu: /usr/lib/x86_64-linux-gnu/nvidia/current/libEGL_nvidia.so.0
  slave nvidia--libGLESv1_CM_nvidia.so.1-x86_64-linux-gnu: /usr/lib/x86_64-linux-gnu/nvidia/current/libGLESv1_CM_nvidia.so.1
  slave nvidia--libGLESv2_nvidia.so.2-x86_64-linux-gnu: /usr/lib/x86_64-linux-gnu/nvidia/current/libGLESv2_nvidia.so.2
  slave nvidia--libGLX_nvidia.so.0-x86_64-linux-gnu: /usr/lib/x86_64-linux-gnu/nvidia/current/libGLX_nvidia.so.0
  slave nvidia--libcuda.so-i386-linux-gnu: /usr/lib/i386-linux-gnu/nvidia/current/libcuda.so
  slave nvidia--libcuda.so-x86_64-linux-gnu: /usr/lib/x86_64-linux-gnu/nvidia/current/libcuda.so
  slave nvidia--libcuda.so.1-i386-linux-gnu: /usr/lib/i386-linux-gnu/nvidia/current/libcuda.so.1
  slave nvidia--libcuda.so.1-x86_64-linux-gnu: /usr/lib/x86_64-linux-gnu/nvidia/current/libcuda.so.1
  slave nvidia--libglxserver_nvidia.so: /usr/lib/nvidia/current/libglxserver_nvidia.so
  slave nvidia--libnvcuvid.so-x86_64-linux-gnu: /usr/lib/x86_64-linux-gnu/nvidia/current/libnvcuvid.so
  slave nvidia--libnvcuvid.so.1-x86_64-linux-gnu: /usr/lib/x86_64-linux-gnu/nvidia/current/libnvcuvid.so.1
  slave nvidia--libnvidia-cfg.so.1-x86_64-linux-gnu: /usr/lib/x86_64-linux-gnu/nvidia/current/libnvidia-cfg.so.1
  slave nvidia--libnvidia-encode.so.1-x86_64-linux-gnu: /usr/lib/x86_64-linux-gnu/nvidia/current/libnvidia-encode.so.1
  slave nvidia--libnvidia-ml.so-x86_64-linux-gnu: /usr/lib/x86_64-linux-gnu/nvidia/current/libnvidia-ml.so
  slave nvidia--libnvidia-ml.so.1-x86_64-linux-gnu: /usr/lib/x86_64-linux-gnu/nvidia/current/libnvidia-ml.so.1
  slave nvidia--libnvidia-ptxjitcompiler.so.1-i386-linux-gnu: /usr/lib/i386-linux-gnu/nvidia/current/libnvidia-ptxjitcompiler.so.1
  slave nvidia--libnvidia-ptxjitcompiler.so.1-x86_64-linux-gnu: /usr/lib/x86_64-linux-gnu/nvidia/current/libnvidia-ptxjitcompiler.so.1
  slave nvidia--libvdpau_nvidia.so.1-x86_64-linux-gnu: /usr/lib/x86_64-linux-gnu/nvidia/current/libvdpau_nvidia.so.1
  slave nvidia--nv-control-dpy: /usr/lib/nvidia/current/nv-control-dpy
  slave nvidia--nvidia-application-profiles-key-documentation: /usr/share/nvidia/nvidia-application-profiles-470.103.01-key-documentation
  slave nvidia--nvidia-blacklists-nouveau.conf: /etc/nvidia/current/nvidia-blacklists-nouveau.conf
  slave nvidia--nvidia-bug-report.sh: /usr/lib/nvidia/current/nvidia-bug-report.sh
  slave nvidia--nvidia-debugdump: /usr/lib/nvidia/current/nvidia-debugdump
  slave nvidia--nvidia-drm-outputclass.conf: /etc/nvidia/current/nvidia-drm-outputclass.conf
  slave nvidia--nvidia-load.conf: /etc/nvidia/current/nvidia-load.conf
  slave nvidia--nvidia-modprobe.conf: /etc/nvidia/current/nvidia-modprobe.conf
  slave nvidia--nvidia-options.conf: /etc/nvidia/current/nvidia-options.conf
  slave nvidia--nvidia-settings: /usr/lib/nvidia/current/nvidia-settings
  slave nvidia--nvidia-settings.1.gz: /usr/lib/nvidia/current/nvidia-settings.1.gz
  slave nvidia--nvidia-settings.desktop: /usr/lib/nvidia/current/nvidia-settings.desktop
  slave nvidia--nvidia-smi: /usr/lib/nvidia/current/nvidia-smi
  slave nvidia--nvidia-smi.1.gz: /usr/lib/nvidia/current/nvidia-smi.1.gz
  slave nvidia--nvidia_drv.so: /usr/lib/nvidia/current/nvidia_drv.so

> (the bug script should probably collect that as well ...)
> 
> 
> Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2297 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-nvidia-devel/attachments/20220325/884927fb/attachment.bin>


More information about the pkg-nvidia-devel mailing list