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

MESA-LOADER failing when using the snap package for Alacritty on Wayland, Fedora 34 #20

Open
RafayAK opened this issue Aug 29, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@RafayAK
Copy link

RafayAK commented Aug 29, 2021

Describe the bug

Alacritty snap package fails to load.

To Reproduce

Steps to reproduce the behavior:

  1. Run command alacritty on terminal

Expected behavior

Should start without issues

Environment (please complete the following information):

  • OS: Fedora 34
  • Alacritty Version: alacritty 0.8.0 (a1b13e6)
  • Graphics Cards: AMD® Renoir
  • Processor: AMD® Ryzen 9 5900hs with radeon graphics × 16

Additional context

Shell output:

~$ alacritty -vvv
Created log file at "/tmp/Alacritty-22377.log"
[2021-08-29 12:49:28.473454456] [INFO ] [alacritty_config_derive] No config file found; using default
[2021-08-29 12:49:28.473555866] [INFO ] [alacritty] Welcome to Alacritty
[2021-08-29 12:49:28.478918551] [TRACE] [crossfont] Number of fonts is 43
[2021-08-29 12:49:28.478975821] [TRACE] [crossfont] Got font path="/usr/share/fonts/dejavu-sans-mono-fonts/DejaVuSansMono.ttf", index=0
[2021-08-29 12:49:28.479056976] [DEBUG] [crossfont] Loaded Face Face { ft_face: Font Face: Book, load_flags: TARGET_LIGHT, render_mode: "Normal", lcd_filter: 1 }
[2021-08-29 12:49:28.479534760] [DEBUG] [alacritty] Estimated DPR: 1
[2021-08-29 12:49:28.479575827] [DEBUG] [alacritty] Estimated window size: None
[2021-08-29 12:49:28.479580925] [DEBUG] [alacritty] Estimated cell size: 9 x 18
libEGL warning: MESA-LOADER: failed to open radeonsi (search paths /snap/alacritty/46/usr/lib/x86_64-linux-gnu/dri)

libEGL warning: MESA-LOADER: failed to open swrast (search paths /snap/alacritty/46/usr/lib/x86_64-linux-gnu/dri)

libEGL warning: MESA-LOADER: failed to open swrast (search paths /snap/alacritty/46/usr/lib/x86_64-linux-gnu/dri)

libEGL warning: MESA-LOADER: failed to open radeonsi (search paths /snap/alacritty/46/usr/lib/x86_64-linux-gnu/dri)

libEGL warning: MESA-LOADER: failed to open swrast (search paths /snap/alacritty/46/usr/lib/x86_64-linux-gnu/dri)

libEGL warning: MESA-LOADER: failed to open swrast (search paths /snap/alacritty/46/usr/lib/x86_64-linux-gnu/dri)

[2021-08-29 12:49:28.500282620] [ERROR] [alacritty] Alacritty encountered an unrecoverable error:
                                                    
                                                    	Error creating GL context; eglInitialize failed

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/rafay/.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/rafay/.drirc: No such file or directory.
libEGL warning: MESA-LOADER: failed to open radeonsi (search paths /snap/alacritty/46/usr/lib/x86_64-linux-gnu/dri)

libEGL warning: MESA-LOADER: failed to open swrast (search paths /snap/alacritty/46/usr/lib/x86_64-linux-gnu/dri)

libEGL warning: MESA-LOADER: failed to open swrast (search paths /snap/alacritty/46/usr/lib/x86_64-linux-gnu/dri)

libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/rafay/.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/rafay/.drirc: No such file or directory.
libEGL warning: MESA-LOADER: failed to open radeonsi (search paths /snap/alacritty/46/usr/lib/x86_64-linux-gnu/dri)

libEGL warning: MESA-LOADER: failed to open swrast (search paths /snap/alacritty/46/usr/lib/x86_64-linux-gnu/dri)

libEGL warning: MESA-LOADER: failed to open swrast (search paths /snap/alacritty/46/usr/lib/x86_64-linux-gnu/dri)

Created log file at "/tmp/Alacritty-22577.log"
[2021-08-29 12:50:18.054111613] [ERROR] [alacritty] Alacritty encountered an unrecoverable error:
                                                    
                                                    	Error creating GL context; eglInitialize failed
@RafayAK RafayAK added the bug Something isn't working label Aug 29, 2021
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

2 participants