Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] GLIBC_2.38 not found after last update. #16

Closed
samuelabreu opened this issue Feb 27, 2024 · 5 comments
Closed

[BUG] GLIBC_2.38 not found after last update. #16

samuelabreu opened this issue Feb 27, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@samuelabreu
Copy link

Describe the bug

After last update, on Ubuntu 23.10, alacritty fails to launch with:

libGL error: MESA-LOADER: failed to open iris: /snap/core22/current/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by /lib/x86_64-linux-gnu/libxml2.so.2) (search paths /snap/alacritty/115/usr/lib/x86_64-linux-gnu/dri, suffix _dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open iris: /snap/core22/current/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by /lib/x86_64-linux-gnu/libxml2.so.2) (search paths /snap/alacritty/115/usr/lib/x86_64-linux-gnu/dri, suffix _dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open swrast: /snap/core22/current/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by /lib/x86_64-linux-gnu/libxml2.so.2) (search paths /snap/alacritty/115/usr/lib/x86_64-linux-gnu/dri, suffix _dri)
libGL error: failed to load driver: swrast
Error: Error { raw_code: Some(167), raw_os_message: Some("GLXBadFBConfig"), kind: BadConfig }

To Reproduce

Steps to reproduce the behavior:

  1. Open any other terminal
  2. execute alacritty
  3. Error output

Expected behavior

Alacritty launchs

Screenshots

N/A

Environment (please complete the following information):

  • OS: Ubuntu 23.10
  • Alacritty Version: latest/stable: 0.13.1 2024-02-27 (115) 95MB classic
  • Graphics Cards: Intel Corporation CoffeeLake-H GT2 [UHD Graphics 630] and NVIDIA Corporation TU116M [GeForce GTX 1660 Ti Mobile] (rev a1)

Additional context

$ alacritty -vvv

Created log file at "/tmp/Alacritty-20552.log"
[0.000001035s] [INFO ] [alacritty] Welcome to Alacritty
[0.000079476s] [INFO ] [alacritty] Version 0.13.1 (fe2a3c56)
[0.000092075s] [INFO ] [alacritty] Running on X11
[0.000505901s] [INFO ] [alacritty] Configuration files loaded from:
                                     "/home/samuel/.config/alacritty/alacritty.toml"
                                     "/home/samuel/.config/alacritty/themes/everforest.toml"
[0.007185353s] [INFO ] [alacritty] Using GLX 1.4
libGL error: MESA-LOADER: failed to open iris: /snap/core22/current/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by /lib/x86_64-linux-gnu/libxml2.so.2) (search paths /snap/alacritty/115/usr/lib/x86_64-linux-gnu/dri, suffix _dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open iris: /snap/core22/current/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by /lib/x86_64-linux-gnu/libxml2.so.2) (search paths /snap/alacritty/115/usr/lib/x86_64-linux-gnu/dri, suffix _dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open swrast: /snap/core22/current/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by /lib/x86_64-linux-gnu/libxml2.so.2) (search paths /snap/alacritty/115/usr/lib/x86_64-linux-gnu/dri, suffix _dri)
libGL error: failed to load driver: swrast
[0.068869400s] [DEBUG] [alacritty] Picked GL Config:
                                     buffer_type: Some(Rgb { r_size: 8, g_size: 8, b_size: 8 })
                                     alpha_size: 8
                                     num_samples: 0
                                     hardware_accelerated: true
                                     supports_transparency: Some(true)
                                     config_api: Api(OPENGL | GLES1 | GLES2)
                                     srgb_capable: false
[0.074639805s] [INFO ] [alacritty] Window scale factor: 1
[0.082538591s] [INFO ] [alacritty] Goodbye
Deleted log file at "/tmp/Alacritty-20552.log"
Error: Error { raw_code: Some(167), raw_os_message: Some("GLXBadFBConfig"), kind: BadConfig }

LIBGL_DEBUG output (only if you have graphics related issue):

$ LIBGL_DEBUG=verbose alacritty
...
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/samuel/.drirc: No such file or directory.
libGL: using driver i915 for 17
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/samuel/.drirc: No such file or directory.
libGL: using driver i915 for 17
libGL: pci id for fd 17: 8086:3e9b, driver iris
libGL: MESA-LOADER: failed to open /snap/alacritty/115/usr/lib/x86_64-linux-gnu/dri/iris_dri.so: /snap/core22/current/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by /lib/x86_64-linux-gnu/libxml2.so.2)
libGL error: MESA-LOADER: failed to open iris: /snap/core22/current/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by /lib/x86_64-linux-gnu/libxml2.so.2) (search paths /snap/alacritty/115/usr/lib/x86_64-linux-gnu/dri, suffix _dri)
libGL error: failed to load driver: iris
libGL: using driver i915 for 17
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/samuel/.drirc: No such file or directory.
libGL: using driver i915 for 17
libGL: pci id for fd 17: 8086:3e9b, driver iris
libGL: MESA-LOADER: failed to open /snap/alacritty/115/usr/lib/x86_64-linux-gnu/dri/iris_dri.so: /snap/core22/current/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by /lib/x86_64-linux-gnu/libxml2.so.2)
libGL error: MESA-LOADER: failed to open iris: /snap/core22/current/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by /lib/x86_64-linux-gnu/libxml2.so.2) (search paths /snap/alacritty/115/usr/lib/x86_64-linux-gnu/dri, suffix _dri)
libGL error: failed to load driver: iris
libGL: MESA-LOADER: failed to open /snap/alacritty/115/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so: /snap/core22/current/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by /lib/x86_64-linux-gnu/libxml2.so.2)
libGL error: MESA-LOADER: failed to open swrast: /snap/core22/current/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by /lib/x86_64-linux-gnu/libxml2.so.2) (search paths /snap/alacritty/115/usr/lib/x86_64-linux-gnu/dri, suffix _dri)
libGL error: failed to load driver: swrast
Error: Error { raw_code: Some(167), raw_os_message: Some("GLXBadFBConfig"), kind: BadConfig }
@samuelabreu samuelabreu added the bug Something isn't working label Feb 27, 2024
@jnsgruk
Copy link
Member

jnsgruk commented Feb 27, 2024

Hmm, interesting. I've rolled back the release for now, or you can try snap revert alacritty while we investigate a bit more.

@DanielArndt
Copy link

DanielArndt commented Feb 27, 2024

Similar issues for me with the candidate release (115), but the latest stable does work now that it is rolled back (I have to unset LD_LIBRARY_PATH to get some things working, though).

$ alacritty -vvv
Created log file at "/tmp/Alacritty-345991.log"
[0.000000690s] [INFO ] [alacritty] Welcome to Alacritty
[0.000078154s] [INFO ] [alacritty] Version 0.13.1 (fe2a3c56)
[0.000087508s] [INFO ] [alacritty] Running on Wayland
[0.000148242s] [INFO ] [alacritty_config_derive] No config file found; using default
libEGL warning: MESA-LOADER: failed to open iris: /snap/core22/current/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by /lib/x86_64-linux-gnu/libxml2.so.2) (search paths /snap/alacritty/115/usr/lib/x86_64-linux-gnu/dri, suffix _dri)

libEGL warning: MESA-LOADER: failed to open swrast: /snap/core22/current/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by /lib/x86_64-linux-gnu/libxml2.so.2) (search paths /snap/alacritty/115/usr/lib/x86_64-linux-gnu/dri, suffix _dri)

[0.008147336s] [INFO ] [alacritty] Goodbye
Deleted log file at "/tmp/Alacritty-345991.log"
Error: Error { raw_code: Some(12289), raw_os_message: None, kind: InitializationFailed }
$ LIBGL_DEBUG=verbose alacritty                                                                                                                                                                                                           1 ↵
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/darndt/.drirc: No such file or directory.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/darndt/.drirc: No such file or directory.
libEGL warning: MESA-LOADER: failed to open iris: /snap/core22/current/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by /lib/x86_64-linux-gnu/libxml2.so.2) (search paths /snap/alacritty/115/usr/lib/x86_64-linux-gnu/dri, suffix _dri)

libEGL warning: MESA-LOADER: failed to open swrast: /snap/core22/current/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by /lib/x86_64-linux-gnu/libxml2.so.2) (search paths /snap/alacritty/115/usr/lib/x86_64-linux-gnu/dri, suffix _dri)

Error: Error { raw_code: Some(12289), raw_os_message: None, kind: InitializationFailed }

@jnsgruk
Copy link
Member

jnsgruk commented Feb 27, 2024

@samuelabreu @DanielArndt see #18 - can you give the latest version in latest/candidate a try and see if it solves your issue?

@samuelabreu
Copy link
Author

After snap refresh alacritty --candidate i could launch alacritty successfully.

alacritty --version
alacritty 0.13.1 (fe2a3c56)

Thank you

@jnsgruk
Copy link
Member

jnsgruk commented Feb 27, 2024

Excellent! Thanks!

@jnsgruk jnsgruk closed this as completed Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants