tunix / alacritty-snap

A cross-platform, GPU enhanced terminal emulator
MIT License
5 stars 13 forks source link

[BUG] Doesn't Launch Linux Mint 21+ #21

Open jredfox opened 1 year ago

jredfox commented 1 year ago

Describe the bug

Doesn't launch when "alacritty" is called from gnome-terminal on linux mint 21 or higher

To Reproduce

Steps to reproduce the behavior:

  1. terminal
  2. type "alacritty"
  3. nothing happens
  4. according to java the exit code returns "1"

Expected behavior

it opens

Screenshots BLANK SCREEN

Environment (please complete the following information):

Additional context

Shell output:

libGL error: MESA-LOADER: failed to open radeonsi (search paths /snap/alacritty/46/usr/lib/x86_64-linux-gnu/dri)
libGL error: failed to load driver: radeonsi
libGL error: MESA-LOADER: failed to open radeonsi (search paths /snap/alacritty/46/usr/lib/x86_64-linux-gnu/dri)
libGL error: failed to load driver: radeonsi
libGL error: MESA-LOADER: failed to open swrast (search paths /snap/alacritty/46/usr/lib/x86_64-linux-gnu/dri)
libGL error: failed to load driver: swrast
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 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 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-11803.log"
[2023-05-31 05:24:23.985436650] [ERROR] [alacritty] Alacritty encountered an unrecoverable error:

                                                        Error creating GL context; Received multiple errors. Errors: `[OsError("eglInitialize failed"), OsError("GL context creation failed")]`

...

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

$ LIBGL_DEBUG=verbose alacritty
...
thatLeaflet commented 1 year ago

I had the same issue installing from the stable branch, but the edge branch works for me.