i am trying to run an application called "Looking-Glass" which uses EGL and i keep getting the errors: "undefined symbol: glXSwapIntervalEXT" and "libEGL debug: EGL user error 0x3008 (EGL_BAD_DISPLAY) in eglQueryString".
the developer of this application and other users insist it is not a bug with the application but rather my EGL setup is broken.
how do i reinstall the EGL libraries and correct for a broken EGL?
i have had this installation for a very long time and have been through 3 major Debian versions with it, i know that wiping my rootfs and reinstalling Debian fresh would fix this, but i'd like to avoid that at all costs.
debian 11
Linux 5.10
AMD Navi10
Mesa 21.2.1
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Debian 11, EGL broken, how to reinstall?
-
- Global Moderator
- Posts: 2824
- Joined: 2014-07-20 18:12
- Location: Europe
- Has thanked: 69 times
- Been thanked: 385 times
Re: Debian 11, EGL broken, how to reinstall?
Hello mathew2214,
I'm not an expert of this topic, but I'll try to give you some insight.
The libGL library is implemented by different packages according to kernel modules installed for specific GPU support (if any); for example, in my computer (nouveau kernel module with mesa):
In my computer these are details about libgl1:
In your installation there's something strange, because you declare that you are using Debian 11 (Stable) with kernel 5.10, and installed Mesa 21.2.1 (Mesa 21.2.1 is not from Debian Stable repository, but from Debian Sid repository). Therefore, it seems you have mixed library versions: this kind of mismatch could be related to misalignments/incompatibilities in versions of installed graphic library.
[1] https://sources.debian.org/src/mesa/21. ... 1850#L1850
[2] https://en.wikipedia.org/wiki/EGL_(API)
[2] https://packages.debian.org/bullseye/libegl-mesa0
I'm not an expert of this topic, but I'll try to give you some insight.
The glXSwapIntervalEXT function is defined, for example, in the Mesa source code [1] and can be found in the library libGL:mathew2214 wrote: ↑2021-09-05 16:16 i am trying to run an application called "Looking-Glass" which uses EGL and i keep getting the errors: "undefined symbol: glXSwapIntervalEXT" and "libEGL debug: EGL user error 0x3008 (EGL_BAD_DISPLAY) in eglQueryString".
Code: Select all
$ su -l -c "apt install pax-utils"
$ scanelf -l -s glXSwapIntervalEXT | grep glXSwapIntervalEXT
ET_DYN glXSwapIntervalEXT /lib/x86_64-linux-gnu/libGL.so.1.7.0
ET_DYN glXSwapIntervalEXT /usr/lib/x86_64-linux-gnu/libGL.so.1.7.0
Code: Select all
$ apt-file search libGL.so
libgl-dev: /usr/lib/x86_64-linux-gnu/libGL.so
libgl1: /usr/lib/x86_64-linux-gnu/libGL.so.1
libgl1: /usr/lib/x86_64-linux-gnu/libGL.so.1.7.0
libgl1-nvidia-legacy-390xx-glx: /usr/lib/x86_64-linux-gnu/nvidia/legacy-390xx/libGL.so.1
libgl1-nvidia-legacy-390xx-glx: /usr/lib/x86_64-linux-gnu/nvidia/legacy-390xx/libGL.so.390.144
libgl1-nvidia-tesla-418-glx: /usr/lib/x86_64-linux-gnu/nvidia/tesla-418/libGL.so.1
libgl1-nvidia-tesla-418-glx: /usr/lib/x86_64-linux-gnu/nvidia/tesla-418/libGL.so.418.211.00
nsight-systems: /usr/lib/nsight-systems/host-linux-x64/Mesa/libGL.so
nsight-systems: /usr/lib/nsight-systems/host-linux-x64/Mesa/libGL.so.1
nsight-systems: /usr/lib/nsight-systems/host-linux-x64/Mesa/libGL.so.1.5.0
primus-libs: /usr/lib/x86_64-linux-gnu/primus/libGL.so.1
Code: Select all
$ apt show libgl1
Package: libgl1
Version: 1.3.2-1
Priority: extra
Section: libs
Source: libglvnd
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Installed-Size: 669 kB
Depends: libc6 (>= 2.14), libglvnd0 (= 1.3.2-1), libglx0 (= 1.3.2-1)
The EGL library [2] is installed according to the OpenGL stack implemented for the specific GPU kernel module (alias GPU kernel driver), for example [3].mathew2214 wrote: ↑2021-09-05 16:16 how do i reinstall the EGL libraries and correct for a broken EGL?
[..]
debian 11
Linux 5.10
AMD Navi10
Mesa 21.2.1
In your installation there's something strange, because you declare that you are using Debian 11 (Stable) with kernel 5.10, and installed Mesa 21.2.1 (Mesa 21.2.1 is not from Debian Stable repository, but from Debian Sid repository). Therefore, it seems you have mixed library versions: this kind of mismatch could be related to misalignments/incompatibilities in versions of installed graphic library.
[1] https://sources.debian.org/src/mesa/21. ... 1850#L1850
[2] https://en.wikipedia.org/wiki/EGL_(API)
[2] https://packages.debian.org/bullseye/libegl-mesa0