--- Begin Message ---
Package: libglx0
Version: 1.0.0-1
Severity: important
Dear Maintainer,
I'm running testing on a headless system, and a recent change to use
libglxvnd has stopped GLX from working when displayed to a remote
machine. This was working fine before the migration to use glvnd for
libGL/libGLX.
e.g. running glxinfo fails with the following error:
$ glxinfo
name of display: localhost:11.0
Error: couldn't find RGB GLX visual or fbconfig
strace'ing glxinfo shows it trying to load libGLX_indirect.so.0 and
failing:
$ strace -etrace=open glxinfo
....
open("/lib/x86_64-linux-gnu/libGLX_indirect.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libGLX_indirect.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/libGLX_indirect.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libGLX_indirect.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
Adding a symlink from libGLX_mesa.so.0 to libGLX_indrect.so.0 makes
things work:
$ sudo ln -s /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0 /usr/lib/x86_64-linux-gnu/libGLX_indirect.so.0
$ glxinfo | head
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
name of display: localhost:11.0
display: localhost:11 screen: 0
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_visual_info,
GLX_EXT_visual_rating, GLX_OML_swap_method, GLX_SGIS_multisample,
GLX_SGIX_fbconfig
Looking at the source for glvnd and reading some NVIDIA documentation,
it seems like glvnd is trying to fallback to a generic libGLX_indirect
library if vendor-specific library doesn't exist or GLX_EXT_glvnd is not
present on the remote X server (this is my situation).
However, I can't find libGLX_indirect.so.0 provided by any Debian
packages. It seems like either libglvnd or mesa should provide a symlink
from libGLX_indirect.so.0 to a default GL implementation for these
situations.
I'd provide a patch but I'm not sure what package should be taking care
of this....
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (900, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.12.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
Versions of packages libglx0:amd64 depends on:
ii libc6 2.24-17
ii libglvnd0 1.0.0-1
ii libglx-mesa0 [libglx-vendor] 17.2.4-1+b1
ii libx11-6 2:1.6.4-3
ii libxext6 2:1.3.3-1+b2
libglx0:amd64 recommends no packages.
libglx0:amd64 suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: mesa
Source-Version: 17.2.5-1
We believe that the bug you reported is fixed in the latest version of
mesa, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 881789@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Andreas Boll <andreas.boll.dev@gmail.com> (supplier of updated mesa package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Fri, 17 Nov 2017 10:46:35 +0100
Source: mesa
Binary: libxatracker2 libxatracker-dev libgbm1 libgbm-dev libegl-mesa0 libegl1-mesa libegl1-mesa-dev libwayland-egl1-mesa libgles2-mesa libgles2-mesa-dev libglapi-mesa libglx-mesa0 libgl1-mesa-glx libgl1-mesa-dri libgl1-mesa-dev mesa-common-dev libosmesa6 libosmesa6-dev mesa-va-drivers mesa-vdpau-drivers mesa-vulkan-drivers mesa-opencl-icd
Architecture: source
Version: 17.2.5-1
Distribution: unstable
Urgency: medium
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Changed-By: Andreas Boll <andreas.boll.dev@gmail.com>
Description:
libegl-mesa0 - free implementation of the EGL API -- Mesa vendor library
libegl1-mesa - transitional dummy package
libegl1-mesa-dev - free implementation of the EGL API -- development files
libgbm-dev - generic buffer management API -- development files
libgbm1 - generic buffer management API -- runtime
libgl1-mesa-dev - free implementation of the OpenGL API -- GLX development files
libgl1-mesa-dri - free implementation of the OpenGL API -- DRI modules
libgl1-mesa-glx - transitional dummy package
libglapi-mesa - free implementation of the GL API -- shared library
libgles2-mesa - transitional dummy package
libgles2-mesa-dev - free implementation of the OpenGL|ES 2.x API -- development files
libglx-mesa0 - free implementation of the OpenGL API -- GLX vendor library
libosmesa6 - Mesa Off-screen rendering extension
libosmesa6-dev - Mesa Off-screen rendering extension -- development files
libwayland-egl1-mesa - implementation of the Wayland EGL platform -- runtime
libxatracker-dev - X acceleration library -- development files
libxatracker2 - X acceleration library -- runtime
mesa-common-dev - Developer documentation for Mesa
mesa-opencl-icd - free implementation of the OpenCL API -- ICD runtime
mesa-va-drivers - Mesa VA-API video acceleration drivers
mesa-vdpau-drivers - Mesa VDPAU video acceleration drivers
mesa-vulkan-drivers - Mesa Vulkan graphics drivers
Closes: 881374 881789
Changes:
mesa (17.2.5-1) unstable; urgency=medium
.
[ Emilio Pozuelo Monfort ]
* Make mesa-va-drivers enhance libva2 rather than libva1 (Closes: #881374).
.
[ Timo Aaltonen ]
* libglx-mesa0.links.in: Add libGLX_indirect.so.0 to link against
libGLX_mesa so that GLX with a remote xserver works. (Closes: #881789)
.
[ Andreas Boll ]
* New upstream release.
Checksums-Sha1:
6ffb2958507c6fc7e4e975c32d648bc17c196e7c 4929 mesa_17.2.5-1.dsc
d4ccc398295dbef1d792d658e6b3179f6f8642f4 17742132 mesa_17.2.5.orig.tar.gz
1748abddbfa5b65d7de0558b1dab162f0ca8e03a 116102 mesa_17.2.5-1.diff.gz
Checksums-Sha256:
a6e20fc4125820926ac9ff02dce806892665abbff2f8b51a285b8b8e46b7bdf6 4929 mesa_17.2.5-1.dsc
25b40e72fad64b096c2d8d6fe9579369954debe7970d4ad53e5033c7eec2918b 17742132 mesa_17.2.5.orig.tar.gz
0a3c8e9f9dfa0700c97d78c0f4745ecc638d40abef6a45db635b579fbc8e6c99 116102 mesa_17.2.5-1.diff.gz
Files:
95c5091470d3ab0ae896c061fa12c203 4929 graphics optional mesa_17.2.5-1.dsc
6c2984686516dc68ab64c1cb4063b270 17742132 graphics optional mesa_17.2.5.orig.tar.gz
046ed19cd59d56f0212316e0633f3520 116102 graphics optional mesa_17.2.5-1.diff.gz
-----BEGIN PGP SIGNATURE-----
iQJPBAEBCgA5FiEE45C5cAWC+uqVmsrUHu9T04o6nGcFAloOsDkbHGFuZHJlYXMu
Ym9sbC5kZXZAZ21haWwuY29tAAoJEB7vU9OKOpxnHmoQAJvtTdLCxaXqx4QNOfaV
/PupfAoVf9YjDgs3W+O2kkHqT2MCyeG3fjL29qHvGENdrJV/AWUaKW5MB0z1G6cz
DIAINlOSSx/vSeEbaZuWYwVQ7Wbsali6kq+9JZJ+b6C6KkRzhg+FAbGiTq6GA+7O
rECbX+SacHHN6HoBDIxgd6sxWjmXcN2oT8CakCI84eB+PS6cs5bdHmWSA0/A5ZAx
dmL8gBVai5VNPKIjPeVDg3zvFwrIQEw6qS4vM4GAwYFUIphmGHT1lKCDu85UmrEh
0UMU+aeR55a5x7b729S0zUP41Wk01UfnsQPT+BA/eebhQgIhunaSRxvG4nYIatta
f6/Kr0WqzbD7JuZV4m9K375G7u0RyhQQkukucW19xcjNr4biikhemxFyJHy0mixc
v0EcK/Imho+N94AGbXYFZXX/MbijvyurO4zmjO642CNn9lOGMjIre4vBMMDEWfDw
CG9abavsVbSf7qVtr/J0y2CpWCJYKabLNnyxEJ8YPZPHOKidEapF8jdNjbFmuVh4
RdHEOslyvT7l3aS6QB3V6XBSBe8BIOQcm76Folvs3nDQsTBx1oZjWEUwmkhxUIDu
2MM1hsIdeQuBNe1SQFl2uJntDyl50wpTxYFvwRPIQaSyDpbiybSEsoM3dC9B05UC
1DIyFW0HzJvUg2eC2E395I6E
=ROoe
-----END PGP SIGNATURE-----
--- End Message ---