tunix / alacritty-snap Goto Github PK
View Code? Open in Web Editor NEWA cross-platform, GPU enhanced terminal emulator
License: MIT License
A cross-platform, GPU enhanced terminal emulator
License: MIT License
Describe the bug
I cannot get any executable that uses libncurses to run, e.g. nano.
To Reproduce
Steps to reproduce the behavior:
sudo snap install alacritty --classic
nano .config/alacritty/alacritty.yml
nano: /snap/alacritty/46/lib/x86_64-linux-gnu/libtinfo.so.6: version `NCURSES6_TINFO_6.2.current' not found (required by /lib/x86_64-linux-gnu/libncursesw.so.6)
Expected behavior
Nano or any other executable that uses libnurses working. Works fine in Gnome Terminal.
Screenshots
Environment (please complete the following information):
Additional context
None as packaging related issue not issue with alacritty itself.
Summary
Currently, Snap supports bash completions (view Tab completion for snaps) via the completer
key. Alacritty also has completions for the most common shells (view Shell completions). There is an outstanding request for Snapcraft to support the other shells (view Status of completions for shells other than bash (e.g. zsh, fish)?), but I think for now, we can at least add support for bash 🙂 Maybe afterwards, we can create another issue to track the status of completion support for the other shells.
Could you please prepare templates for Issues and Pull Requests ?
Hey @tunix 👋😊
What's the status of this snap? It looks great so far! I can see possibly a few more things to add before it's added to the Snapcrafters' GitHub organization & published on Snapcraft. If you need any help, create a few issues and let me know. I'd be happy to help in any way that I can!
We need to work on the cursor theme. I'm not really aware if there is another issue about theming. I think snapcraft-desktop-helpers may fix this issue but I'm not sure how. Couldn't find any relevant info on the forums as well. I'll create a new forum thread and update here.
Describe the bug
Launching GUI apps from the snap version of Alacritty 0.12.3 causes them to be treated as sub-windows of the Alacritty window from which they were launched. Tested on Ubuntu LTS 22.04.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The GUI apps should be treated as their own apps and appear separately from Alacritty on the dock.
Environment (please complete the following information):
Additional context
There are many good examples and screenshots in the bug report filed under the main Alacritty project: Gnome: avoid GUI subprocesses starting as alacritty windows? #4765
alacritty/alacritty#4765
Describe the bug
Alacritty snap package fails to load.
To Reproduce
Steps to reproduce the behavior:
alacritty
on terminalExpected behavior
Should start without issues
Environment (please complete the following information):
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
Currently, there is no "Issues" tab on the Snapcrafters' version of Alacritty. Not that I actually have an issue, all I was going to say was that I built that snap from Alacritty's 0.12.2 branch, used it for roughly half an hour, and experienced no issues; so I was going to suggest updating the edge branch.
The snap crashes when I try to launch it in a GNOME Wayland session (the new default in Ubuntu 21.04). A debian package version of Alacritty works fine.
$ snap run alacritty
thread 'main' panicked at 'internal error: entered unreachable code', /root/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.24.0/src/platform_impl/linux/wayland/window/mod.rs:218:77
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[wayland-client error] A handler for wl_keyboard panicked.
Aborted (core dumped)
$ RUST_BACKTRACE=full snap run alacritty
thread 'main' panicked at 'internal error: entered unreachable code', /root/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.24.0/src/platform_impl/linux/wayland/window/mod.rs:218:77
stack backtrace:
0: 0x55b34cf4e4e0 - std::backtrace_rs::backtrace::libunwind::trace::h74532f8b485906a1
at /rustc/88f19c6dab716c6281af7602e30f413e809c5974/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5
1: 0x55b34cf4e4e0 - std::backtrace_rs::backtrace::trace_unsynchronized::h2c8425dd0be5999b
at /rustc/88f19c6dab716c6281af7602e30f413e809c5974/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
2: 0x55b34cf4e4e0 - std::sys_common::backtrace::_print_fmt::hd8ce6577f46119ce
at /rustc/88f19c6dab716c6281af7602e30f413e809c5974/library/std/src/sys_common/backtrace.rs:67:5
3: 0x55b34cf4e4e0 - ::fmt::h6289eeebc1f97d57
at /rustc/88f19c6dab716c6281af7602e30f413e809c5974/library/std/src/sys_common/backtrace.rs:46:22
4: 0x55b34ce3012f - core::fmt::write::h3d3f8a8bb9d4c367
at /rustc/88f19c6dab716c6281af7602e30f413e809c5974/library/core/src/fmt/mod.rs:1092:17
5: 0x55b34cf4ddb1 - std::io::Write::write_fmt::ha117cbfa72664a7b
at /rustc/88f19c6dab716c6281af7602e30f413e809c5974/library/std/src/io/mod.rs:1572:15
6: 0x55b34cf4d755 - std::sys_common::backtrace::_print::h112e8a4ac2720a21
at /rustc/88f19c6dab716c6281af7602e30f413e809c5974/library/std/src/sys_common/backtrace.rs:49:5
7: 0x55b34cf4d755 - std::sys_common::backtrace::print::h2a4ab5824600ebce
at /rustc/88f19c6dab716c6281af7602e30f413e809c5974/library/std/src/sys_common/backtrace.rs:36:9
8: 0x55b34cf4d755 - std::panicking::default_hook::{{closure}}::h399ab06c3b83a1f2
at /rustc/88f19c6dab716c6281af7602e30f413e809c5974/library/std/src/panicking.rs:208:50
9: 0x55b34cf4cb3a - std::panicking::default_hook::h7481e93ca9c2d739
at /rustc/88f19c6dab716c6281af7602e30f413e809c5974/library/std/src/panicking.rs:225:9
10: 0x55b34cf4cb3a - std::panicking::rust_panic_with_hook::h01f9d4e9485ccb8b
at /rustc/88f19c6dab716c6281af7602e30f413e809c5974/library/std/src/panicking.rs:591:17
11: 0x55b34cf6a3fe - std::panicking::begin_panic_handler::{{closure}}::h25bff4eb752cc444
at /rustc/88f19c6dab716c6281af7602e30f413e809c5974/library/std/src/panicking.rs:495:13
12: 0x55b34cf6a39c - std::sys_common::backtrace::__rust_end_short_backtrace::h5dfd3f7920e58cc5
at /rustc/88f19c6dab716c6281af7602e30f413e809c5974/library/std/src/sys_common/backtrace.rs:141:18
13: 0x55b34cf6a34d - rust_begin_unwind
at /rustc/88f19c6dab716c6281af7602e30f413e809c5974/library/std/src/panicking.rs:493:5
14: 0x55b34cc7f360 - core::panicking::panic_fmt::h5673e42e796a7b06
at /rustc/88f19c6dab716c6281af7602e30f413e809c5974/library/core/src/panicking.rs:92:14
15: 0x55b34cc7f2ac - core::panicking::panic::h20773dbe024b562f
at /rustc/88f19c6dab716c6281af7602e30f413e809c5974/library/core/src/panicking.rs:50:5
16: 0x55b34cd3e713 - winit::platform_impl::platform::wayland::window::Window::new::{{closure}}::{{closure}}::h200e30db820438ca
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.24.0/src/platform_impl/linux/wayland/window/mod.rs:218:77
17: 0x55b34cf993cf - core::ops::function::impls:: for &mut F>::call_mut::h90765c95500950f6
at /rustc/88f19c6dab716c6281af7602e30f413e809c5974/library/core/src/ops/function.rs:269:13
18: 0x55b34cf993cf - wayland_client::imp::proxy::proxy_dispatcher::{{closure}}::{{closure}}::h2cb7bd66819f4626
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/wayland-client-0.28.3/src/native_lib/proxy.rs:412:25
19: 0x55b34cf993cf - scoped_tls::ScopedKey::with::h8fcff654cd17c50a
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/scoped-tls-1.0.0/src/lib.rs:171:13
20: 0x55b34cf993cf - wayland_client::imp::proxy::proxy_dispatcher::{{closure}}::h7bccfb5422535d8d
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/wayland-client-0.28.3/src/native_lib/proxy.rs:409:21
21: 0x55b34cf993cf - std::panicking::try::do_call::h995b7a103d327a94
at /rustc/88f19c6dab716c6281af7602e30f413e809c5974/library/std/src/panicking.rs:379:40
22: 0x55b34cf993cf - std::panicking::try::h934ff54c6755b0e8
at /rustc/88f19c6dab716c6281af7602e30f413e809c5974/library/std/src/panicking.rs:343:19
23: 0x55b34cf993cf - std::panic::catch_unwind::h892515fb27242874
at /rustc/88f19c6dab716c6281af7602e30f413e809c5974/library/std/src/panic.rs:431:14
24: 0x55b34cf993cf - wayland_client::imp::proxy::proxy_dispatcher::h573322a985391dfa
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/wayland-client-0.28.3/src/native_lib/proxy.rs:376:15
25: 0x7efe1187247f -
26: 0x7efe1186ebe8 -
27: 0x7efe1187021c - wl_display_dispatch_queue_pending
28: 0x7efe1187067f - wl_display_roundtrip_queue
29: 0x55b34cd66dd7 - wayland_client::imp::event_queue::EventQueueInner::sync_roundtrip::{{closure}}::h1fe58ab1798f017e
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/wayland-client-0.28.3/src/native_lib/event_queue.rs:85:17
30: 0x55b34cd66dd7 - wayland_client::imp::event_queue::with_dispatch_meta::{{closure}}::h27fd881f2e923e0a
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/wayland-client-0.28.3/src/native_lib/event_queue.rs:24:57
31: 0x55b34cd66dd7 - scoped_tls::ScopedKey::set::h8aaa4781faa4e4c0
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/scoped-tls-1.0.0/src/lib.rs:137:9
32: 0x55b34cd66dd7 - wayland_client::imp::event_queue::with_dispatch_meta::h4fcb106cbbd72ded
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/wayland-client-0.28.3/src/native_lib/event_queue.rs:24:5
33: 0x55b34cd66dd7 - wayland_client::imp::event_queue::EventQueueInner::sync_roundtrip::h21160f286441c662
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/wayland-client-0.28.3/src/native_lib/event_queue.rs:83:9
34: 0x55b34cd66dd7 - wayland_client::event_queue::EventQueue::sync_roundtrip::he8acdaef66f30eb0
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/wayland-client-0.28.3/src/event_queue.rs:191:9
35: 0x55b34cd66dd7 - winit::platform_impl::platform::wayland::window::Window::new::{{closure}}::hb5e470696488c707
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.24.0/src/platform_impl/linux/wayland/window/mod.rs:218:21
36: 0x55b34cd66dd7 - calloop::loop_logic::LoopHandle::with_source::h0976799811ca6783
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/calloop-0.6.5/src/loop_logic.rs:153:9
37: 0x55b34cd66dd7 - winit::platform_impl::platform::wayland::window::Window::new::h5d266efce60650ac
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.24.0/src/platform_impl/linux/wayland/window/mod.rs:216:9
38: 0x55b34cd69d61 - winit::platform_impl::platform::Window::new::h230ec1288147f20f
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.24.0/src/platform_impl/linux/mod.rs:277:17
39: 0x55b34cd69d61 - winit::window::WindowBuilder::build::h266459845b3f0858
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.24.0/src/window.rs:333:9
40: 0x55b34cd69d61 - glutin::platform_impl::platform_impl::wayland::Context::new::hed7375df979adde9
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/glutin-0.26.0/src/platform_impl/unix/wayland.rs:91:19
41: 0x55b34cd69d61 - glutin::platform_impl::platform_impl::Context::new_windowed::h9c524e3677af4c04
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/glutin-0.26.0/src/platform_impl/unix/mod.rs:113:20
42: 0x55b34cd69d61 - glutin::windowed::>::build_windowed::h40b1346c6d4876c2
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/glutin-0.26.0/src/windowed.rs:341:9
43: 0x55b34ccd2792 - alacritty::window::create_gl_window::h8c2c1e0e1f3f9ce1
at /build/alacritty/parts/alacritty/build/alacritty/src/window.rs:133:28
44: 0x55b34ccd4efe - alacritty::window::Window::new::h504f074815c76472
at /build/alacritty/parts/alacritty/build/alacritty/src/window.rs:186:13
45: 0x55b34cd9e077 - alacritty::display::Display::new::h1433b3eec69c197c
at /build/alacritty/parts/alacritty/build/alacritty/src/display.rs:210:26
46: 0x55b34cdb1390 - alacritty::run::h0ec2aa3cd2e02a7d
at /build/alacritty/parts/alacritty/build/alacritty/src/main.rs:144:19
47: 0x55b34cdb1390 - alacritty::main::hbb178f27d9dc88cb
at /build/alacritty/parts/alacritty/build/alacritty/src/main.rs:109:23
48: 0x55b34cc99313 - core::ops::function::FnOnce::call_once::h3db78e381ce3289b
at /rustc/88f19c6dab716c6281af7602e30f413e809c5974/library/core/src/ops/function.rs:227:5
49: 0x55b34cc99313 - std::sys_common::backtrace::__rust_begin_short_backtrace::hc0ae9b68f2a04d49
at /rustc/88f19c6dab716c6281af7602e30f413e809c5974/library/std/src/sys_common/backtrace.rs:125:18
50: 0x55b34cdb01c6 - main
51: 0x7efe1195f0b3 - __libc_start_main
52: 0x55b34cc8a87e - _start
53: 0x0 -
[wayland-client error] A handler for wl_keyboard panicked.
Aborted (core dumped)
The snap fails due to being a classic snap (and thus no confinement), but missing libraries, that it uses from the host system.
Please include these libraries, so that no conflicts happen with any libraries on the host system.
alacritty -vv
Created log file at "/tmp/Alacritty-3529713.log"
[2021-05-07 11:23:00.755430114] [INFO ] [alacritty_config_derive] No config file found; using default
[2021-05-07 11:23:00.755587348] [INFO ] [alacritty] Welcome to Alacritty
[2021-05-07 11:23:00.755603695] [INFO ] [alacritty] Configuration files loaded from:
[2021-05-07 11:23:00.788998912] [DEBUG] [crossfont] Loaded Face Face { ft_face: Font Face: Book, load_flags: TARGET_LIGHT, render_mode: "Normal", lcd_filter: 1 }
[2021-05-07 11:23:00.792206288] [DEBUG] [alacritty] Estimated DPR: 1
[2021-05-07 11:23:00.792259068] [DEBUG] [alacritty] Estimated window size: None
[2021-05-07 11:23:00.792270514] [DEBUG] [alacritty] Estimated cell size: 9 x 17
libGL error: MESA-LOADER: failed to open iris (search paths /snap/alacritty/17/usr/lib/x86_64-linux-gnu/dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open iris (search paths /snap/alacritty/17/usr/lib/x86_64-linux-gnu/dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open swrast (search paths /snap/alacritty/17/usr/lib/x86_64-linux-gnu/dri)
libGL error: failed to load driver: swrast
libEGL warning: MESA-LOADER: failed to open iris (search paths /snap/alacritty/17/usr/lib/x86_64-linux-gnu/dri)
libEGL warning: MESA-LOADER: failed to open iris (search paths /snap/alacritty/17/usr/lib/x86_64-linux-gnu/dri)
libEGL warning: MESA-LOADER: failed to open swrast (search paths /snap/alacritty/17/usr/lib/x86_64-linux-gnu/dri)
libEGL warning: MESA-LOADER: failed to open swrast (search paths /snap/alacritty/17/usr/lib/x86_64-linux-gnu/dri)
libEGL warning: MESA-LOADER: failed to open iris (search paths /snap/alacritty/17/usr/lib/x86_64-linux-gnu/dri)
libEGL warning: MESA-LOADER: failed to open iris (search paths /snap/alacritty/17/usr/lib/x86_64-linux-gnu/dri)
libEGL warning: MESA-LOADER: failed to open swrast (search paths /snap/alacritty/17/usr/lib/x86_64-linux-gnu/dri)
libEGL warning: MESA-LOADER: failed to open swrast (search paths /snap/alacritty/17/usr/lib/x86_64-linux-gnu/dri)
[2021-05-07 11:23:00.858854165] [ERROR] [alacritty] Alacritty encountered an unrecoverable error:
Error creating GL context; Received multiple errors. Errors: `[OsError("eglInitialize failed"), OsError("GL context creation failed")]`
Describe the bug
Attempting to install apps using flatpak in alacritty snap fails. Works in built in gnome terminal
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Installation completes
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Additional context
Using default shell zsh with oh my zsh extension(Still it should work regardless as it works in default gnome-terminal)
Shell output:
$ alacritty -vvv
Created log file at "/tmp/Alacritty-30502.log"
[0.000003445s] [INFO ] [alacritty] Welcome to Alacritty
[0.000082275s] [INFO ] [alacritty] Version 0.12.3 (5efb0690)
[0.000096084s] [INFO ] [alacritty] Running on X11
[0.000210338s] [INFO ] [alacritty_config_derive] No config file found; using default
[0.002218564s] [INFO ] [alacritty] Using GLX 1.4
[0.048323017s] [INFO ] [alacritty] Window scale factor: 1
[0.049244817s] [DEBUG] [alacritty] Loading "monospace" font
[0.063094989s] [TRACE] [crossfont] Number of fonts is 195
[0.063133553s] [TRACE] [crossfont] Got font path="/usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf", index=0
[0.063201836s] [DEBUG] [crossfont] Loaded Face Face { ft_face: Font Face: Book, load_flags: TARGET_LIGHT, render_mode: "Normal", lcd_filter: 1 }
[0.069411075s] [TRACE] [crossfont] Number of fonts is 200
[0.069442076s] [TRACE] [crossfont] Got font path="/usr/share/fonts/truetype/dejavu/DejaVuSansMono-Bold.ttf", index=0
[0.069485524s] [DEBUG] [crossfont] Loaded Face Face { ft_face: Font Face: Bold, load_flags: TARGET_LIGHT, render_mode: "Normal", lcd_filter: 1 }
[0.075671490s] [TRACE] [crossfont] Number of fonts is 203
[0.075703646s] [TRACE] [crossfont] Got font path="/usr/share/fonts/truetype/dejavu/DejaVuSansMono-Oblique.ttf", index=0
[0.075747636s] [DEBUG] [crossfont] Loaded Face Face { ft_face: Font Face: Oblique, load_flags: TARGET_LIGHT, render_mode: "Normal", lcd_filter: 1 }
[0.082033346s] [TRACE] [crossfont] Number of fonts is 212
[0.082063217s] [TRACE] [crossfont] Got font path="/usr/share/fonts/truetype/dejavu/DejaVuSansMono-BoldOblique.ttf", index=0
[0.082106131s] [DEBUG] [crossfont] Loaded Face Face { ft_face: Font Face: Bold Oblique, load_flags: TARGET_LIGHT, render_mode: "Normal", lcd_filter: 1 }
[0.087472007s] [INFO ] [alacritty] Running on Mesa Intel(R) UHD Graphics (CML GT2)
[0.087491890s] [INFO ] [alacritty] Using OpenGL 3.3 renderer
[0.094411160s] [DEBUG] [alacritty] Filling glyph cache with common glyphs
[0.104767552s] [INFO ] [alacritty] Cell size: 9 x 18
[0.104793600s] [INFO ] [alacritty] Padding: 0 x 0
[0.104803352s] [INFO ] [alacritty] Width: 800, Height: 600
[0.109024233s] [TRACE] [alacritty_terminal] Scaling RGB by 0.66 from Rgb { r: 197, g: 200, b: 198 } to Rgb { r: 130, g: 132, b: 130 }
[0.109046676s] [TRACE] [alacritty] Deriving dim colors from normal colors
[0.109055931s] [TRACE] [alacritty_terminal] Scaling RGB by 0.66 from Rgb { r: 29, g: 31, b: 33 } to Rgb { r: 19, g: 20, b: 21 }
[0.109064799s] [TRACE] [alacritty_terminal] Scaling RGB by 0.66 from Rgb { r: 204, g: 102, b: 102 } to Rgb { r: 134, g: 67, b: 67 }
[0.109073195s] [TRACE] [alacritty_terminal] Scaling RGB by 0.66 from Rgb { r: 181, g: 189, b: 104 } to Rgb { r: 119, g: 124, b: 68 }
[0.109084162s] [TRACE] [alacritty_terminal] Scaling RGB by 0.66 from Rgb { r: 240, g: 198, b: 116 } to Rgb { r: 158, g: 130, b: 76 }
[0.109092975s] [TRACE] [alacritty_terminal] Scaling RGB by 0.66 from Rgb { r: 129, g: 162, b: 190 } to Rgb { r: 85, g: 106, b: 125 }
[0.109101502s] [TRACE] [alacritty_terminal] Scaling RGB by 0.66 from Rgb { r: 178, g: 148, b: 187 } to Rgb { r: 117, g: 97, b: 123 }
[0.109110217s] [TRACE] [alacritty_terminal] Scaling RGB by 0.66 from Rgb { r: 138, g: 190, b: 183 } to Rgb { r: 91, g: 125, b: 120 }
[0.109118538s] [TRACE] [alacritty_terminal] Scaling RGB by 0.66 from Rgb { r: 197, g: 200, b: 198 } to Rgb { r: 130, g: 132, b: 130 }
[0.109128950s] [INFO ] [alacritty] PTY dimensions: 33 x 88
[0.111545044s] [INFO ] [alacritty] Initialisation complete
[0.113332216s] [DEBUG] [alacritty_terminal] Term::resize dimensions unchanged
[0.180444828s] [TRACE] [alacritty_terminal] Setting attribute: Bold
[0.180482244s] [TRACE] [alacritty_terminal] Setting attribute: Reverse
[0.180503722s] [TRACE] [alacritty_terminal] Setting attribute: CancelReverse
[0.180513930s] [TRACE] [alacritty_terminal] Setting attribute: Bold
[0.180522539s] [TRACE] [alacritty_terminal] Setting attribute: Reset
[0.180532335s] [TRACE] [alacritty_terminal] Carriage return
[0.180541478s] [TRACE] [alacritty_terminal] Carriage return
[0.180553043s] [TRACE] [alacritty_terminal] Setting title to 'Some("amar@Predator:~")'
[0.180584967s] [DEBUG] [alacritty_terminal] [unhandled osc_dispatch]: [['1'],['~'],] at line 963
[0.182246885s] [DEBUG] [alacritty_terminal] [unhandled osc_dispatch]: [['7'],['f''i''l''e'':''/''/''P''r''e''d''a''t''o''r''/''h''o''m''e''/''a''m''a''r'],] at line 963
[0.184311545s] [TRACE] [alacritty_terminal] Carriage return
[0.184333607s] [TRACE] [alacritty_terminal] Setting attribute: Reset
[0.184344126s] [TRACE] [alacritty_terminal] Setting attribute: CancelReverse
[0.184357380s] [TRACE] [alacritty_terminal] Setting attribute: CancelUnderline
[0.184366210s] [TRACE] [alacritty_terminal] Clearing screen: Below
[0.184376378s] [TRACE] [alacritty_terminal] Setting attribute: Bold
[0.184385101s] [TRACE] [alacritty_terminal] Setting attribute: Foreground(Named(Green))
[0.184396482s] [TRACE] [alacritty_terminal] Setting attribute: Foreground(Named(Cyan))
[0.184405660s] [TRACE] [alacritty_terminal] Setting attribute: Reset
[0.184414392s] [TRACE] [alacritty_terminal] Clearing line: Right
[0.184424845s] [TRACE] [alacritty_terminal] Setting mode: CursorKeys
[0.184434031s] [TRACE] [alacritty_terminal] Setting keypad application mode
[0.184443112s] [TRACE] [alacritty_terminal] Setting mode: BracketedPaste
[3.932507107s] [TRACE] [alacritty_terminal] Moving backward: 31
[3.932640708s] [TRACE] [alacritty_terminal] Moving forward: 4
[4.640333486s] [TRACE] [alacritty_terminal] Moving backward: 26
[4.640464043s] [TRACE] [alacritty_terminal] Moving backward: 27
[4.999938079s] [TRACE] [alacritty_terminal] Backspace
[5.000061686s] [TRACE] [alacritty_terminal] Backspace
[5.000123349s] [TRACE] [alacritty_terminal] Backspace
[5.000195098s] [TRACE] [alacritty_terminal] Backspace
[5.957723602s] [TRACE] [alacritty_terminal] Unsetting mode: CursorKeys
[5.957865333s] [TRACE] [alacritty_terminal] Unsetting keypad application mode
[5.957946147s] [TRACE] [alacritty_terminal] Unsetting mode: BracketedPaste
[5.958008495s] [TRACE] [alacritty_terminal] Carriage return
[5.958049046s] [TRACE] [alacritty_terminal] Carriage return
[5.958085077s] [TRACE] [alacritty_terminal] Linefeed
[5.959031915s] [TRACE] [alacritty_terminal] Setting title to 'Some("flatpak install flathub io.neovim.nvim")'
[5.959168471s] [DEBUG] [alacritty_terminal] [unhandled osc_dispatch]: [['1'],['f''l''a''t''p''a''k'],] at line 963
[5.979379202s] [TRACE] [alacritty_terminal] Carriage return
[5.979436119s] [TRACE] [alacritty_terminal] Linefeed
[6.054533783s] [TRACE] [alacritty_terminal] Setting attribute: Foreground(Named(Red))
[6.054654007s] [TRACE] [alacritty_terminal] Setting attribute: Bold
[6.054699945s] [TRACE] [alacritty_terminal] Setting attribute: CancelBoldDim
[6.054738643s] [TRACE] [alacritty_terminal] Setting attribute: Reset
[6.054778277s] [TRACE] [alacritty_terminal] Carriage return
[6.054814647s] [TRACE] [alacritty_terminal] Linefeed
[6.057690499s] [TRACE] [alacritty_terminal] Setting attribute: Bold
[6.057823233s] [TRACE] [alacritty_terminal] Setting attribute: Reverse
[6.057905617s] [TRACE] [alacritty_terminal] Setting attribute: CancelReverse
[6.057972111s] [TRACE] [alacritty_terminal] Setting attribute: Bold
[6.058018216s] [TRACE] [alacritty_terminal] Setting attribute: Reset
[6.058063455s] [TRACE] [alacritty_terminal] Carriage return
[6.058118893s] [TRACE] [alacritty_terminal] Carriage return
[6.058185919s] [TRACE] [alacritty_terminal] Setting title to 'Some("amar@Predator:~")'
[6.058244924s] [DEBUG] [alacritty_terminal] [unhandled osc_dispatch]: [['1'],['~'],] at line 963
[6.062300876s] [DEBUG] [alacritty_terminal] [unhandled osc_dispatch]: [['7'],['f''i''l''e'':''/''/''P''r''e''d''a''t''o''r''/''h''o''m''e''/''a''m''a''r'],] at line 963
[6.064879647s] [TRACE] [alacritty_terminal] Carriage return
[6.064927968s] [TRACE] [alacritty_terminal] Setting attribute: Reset
[6.064940247s] [TRACE] [alacritty_terminal] Setting attribute: CancelReverse
[6.064950557s] [TRACE] [alacritty_terminal] Setting attribute: CancelUnderline
[6.064960474s] [TRACE] [alacritty_terminal] Clearing screen: Below
[6.064980246s] [TRACE] [alacritty_terminal] Setting attribute: Bold
[6.065008970s] [TRACE] [alacritty_terminal] Setting attribute: Foreground(Named(Red))
[6.065020859s] [TRACE] [alacritty_terminal] Setting attribute: Foreground(Named(Cyan))
[6.065030812s] [TRACE] [alacritty_terminal] Setting attribute: Reset
[6.065039523s] [TRACE] [alacritty_terminal] Clearing line: Right
[6.065049972s] [TRACE] [alacritty_terminal] Setting mode: CursorKeys
[6.065059417s] [TRACE] [alacritty_terminal] Setting keypad application mode
[6.065068213s] [TRACE] [alacritty_terminal] Setting mode: BracketedPaste
[8.964621226s] [INFO ] [alacritty] Goodbye
Deleted log file at "/tmp/Alacritty-30502.log"
LIBGL_DEBUG output (only if you have graphics related issue):
N/A
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:
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
...
After upgrading to 21.04 and Wayland, alacritty started with default window decorations & cursor theme. I'm investigating this issue and also created a forum topic.
Summary
I'm on Ubuntu 20.10 (Gnome DE), and when I update my cursor size in the accessibility settings, it's not reflected in Alacritty. When using a snap like Chromium, I can see it taking the cursor size correctly. This might be related to Gnome gsettings
, or it might not. I'll put the cursor size output here in case it may be relevant.
Output on Gnome Terminal:
$ gsettings get org.gnome.desktop.interface cursor-size
64
Output on Alacrity Snap:
$ gsettings get org.gnome.desktop.interface cursor-size
24
Screenshot(s)
I purchased a System76 Lemur Pro and it has Pop!_OS on it. Built alacritty snap and tried to run it only to find out that it core dumps 😞
$ alacritty
cp: cannot stat '/snap/alacritty/x1/usr/share/mime': No such file or directory
Directory '/home/tunix/snap/alacritty/x1/.local/share/mime/packages' does not exist!
ERROR: update-mime-database /home/tunix/snap/alacritty/x1/.local/share/mime exited abnormally with status 1
Segmentation fault (core dumped)
I just installed (on Ubuntu 21.04), and when I try to run it I get graphics errors
$snap run alacritty
libGL error: MESA-LOADER: failed to open iris (search paths /snap/alacritty/17/usr/lib/x86_64-linux-gnu/dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open iris (search paths /snap/alacritty/17/usr/lib/x86_64-linux-gnu/dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open swrast (search paths /snap/alacritty/17/usr/lib/x86_64-linux-gnu/dri)
libGL error: failed to load driver: swrast
libEGL warning: MESA-LOADER: failed to open iris (search paths /snap/alacritty/17/usr/lib/x86_64-linux-gnu/dri)
libEGL warning: MESA-LOADER: failed to open iris (search paths /snap/alacritty/17/usr/lib/x86_64-linux-gnu/dri)
libEGL warning: MESA-LOADER: failed to open swrast (search paths /snap/alacritty/17/usr/lib/x86_64-linux-gnu/dri)
libEGL warning: MESA-LOADER: failed to open swrast (search paths /snap/alacritty/17/usr/lib/x86_64-linux-gnu/dri)
libEGL warning: MESA-LOADER: failed to open iris (search paths /snap/alacritty/17/usr/lib/x86_64-linux-gnu/dri)
libEGL warning: MESA-LOADER: failed to open iris (search paths /snap/alacritty/17/usr/lib/x86_64-linux-gnu/dri)
libEGL warning: MESA-LOADER: failed to open swrast (search paths /snap/alacritty/17/usr/lib/x86_64-linux-gnu/dri)
libEGL warning: MESA-LOADER: failed to open swrast (search paths /snap/alacritty/17/usr/lib/x86_64-linux-gnu/dri)
Created log file at "/tmp/Alacritty-91064.log"
[2021-04-29 21:09:42.846662771] [ERROR] [alacritty] Alacritty encountered an unrecoverable error:
Error creating GL context; Received multiple errors. Errors: `[OsError("eglInitialize failed"), OsError("GL context creation failed")]`
After upgrading from Ubuntu 20.04 LTS to 20.10, I couldn't have transparency working with this snap. Up until that, I wasn't including GL libraries into snap and wasn't configuring properly so I added them. But it still doesn't work. I've read through almost all tickets in Alacritty's github issues page but couldn't find a proper solution. (they've mentioned the lack of a compositor but I'm not sure that's really related to this case)
Any help would be appreciated!
This started happening after upgrading from Ubuntu 20.04 LTS to 20.10 as well. When going into fullscreen mode and taking screenshots, the screenshots are just empty, white boxes. I couldn't figure out why this is happening but I believe it's related to the same reason whytransparency doesn't work (see #2).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.