* bug#63514: alacritty>=0.12.0 does not work with Wayland
@ 2023-05-15 7:18 Lars-Dominik Braun
2023-05-15 9:02 ` Efraim Flashner
2023-05-15 10:09 ` Efraim Flashner
0 siblings, 2 replies; 5+ messages in thread
From: Lars-Dominik Braun @ 2023-05-15 7:18 UTC (permalink / raw)
To: 63514; +Cc: efraim
[-- Attachment #1: Type: text/plain, Size: 457 bytes --]
Hi Efraim,
since the upgrade from alacritty 0.9 to 0.12 it does not work any more
with the DISPLAY environment variable unset (i.e. without xwayland). The
error message is:
thread 'main' panicked at 'Failed to initialize any backend! Wayland status: NoWaylandLib X11 status: XOpenDisplayFailed', /tmp/guix-build-alacritty-0.12.0.drv-0/source/guix-vendor/rust-winit-0.28.3.tar.gz/src/platform_impl/linux/mod.rs:757:9
Could you have a look?
Thanks,
Lars
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#63514: alacritty>=0.12.0 does not work with Wayland
2023-05-15 7:18 bug#63514: alacritty>=0.12.0 does not work with Wayland Lars-Dominik Braun
@ 2023-05-15 9:02 ` Efraim Flashner
2023-05-15 9:07 ` Lars-Dominik Braun
2023-05-15 10:09 ` Efraim Flashner
1 sibling, 1 reply; 5+ messages in thread
From: Efraim Flashner @ 2023-05-15 9:02 UTC (permalink / raw)
To: Lars-Dominik Braun; +Cc: 63514
[-- Attachment #1: Type: text/plain, Size: 962 bytes --]
On Mon, May 15, 2023 at 09:18:01AM +0200, Lars-Dominik Braun wrote:
> Hi Efraim,
>
> since the upgrade from alacritty 0.9 to 0.12 it does not work any more
> with the DISPLAY environment variable unset (i.e. without xwayland). The
> error message is:
>
> thread 'main' panicked at 'Failed to initialize any backend! Wayland status: NoWaylandLib X11 status: XOpenDisplayFailed', /tmp/guix-build-alacritty-0.12.0.drv-0/source/guix-vendor/rust-winit-0.28.3.tar.gz/src/platform_impl/linux/mod.rs:757:9
>
> Could you have a look?
That's certainly annoying. I'll take a look and see if I can find a good
way to fix that.
easy reproducer: 'DISPLAY="" alacritty' gives the same error.
Do you know if the X11 error is also a problem?
--
Efraim Flashner <efraim@flashner.co.il> פלשנר אפרים
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#63514: alacritty>=0.12.0 does not work with Wayland
2023-05-15 9:02 ` Efraim Flashner
@ 2023-05-15 9:07 ` Lars-Dominik Braun
2023-05-15 9:11 ` Efraim Flashner
0 siblings, 1 reply; 5+ messages in thread
From: Lars-Dominik Braun @ 2023-05-15 9:07 UTC (permalink / raw)
To: Efraim Flashner, 63514
[-- Attachment #1: Type: text/plain, Size: 558 bytes --]
Hi,
> easy reproducer: 'DISPLAY="" alacritty' gives the same error.
that’s exactly what I used under Wayland, otherwise it’ll fall back
to XWayland with ugly font rendering (because of my hidpi monitor).
> Do you know if the X11 error is also a problem?
Not sure what you mean. As I wrote it works with XWayland, so I’m
guessing X11 is not broken.
Thank you,
Lars
PS: What *is* entirely broken is swaylock, which also got updated
recently:
wl_registry@2: error 0: invalid version for global wl_output (39): have 3, wanted 4
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#63514: alacritty>=0.12.0 does not work with Wayland
2023-05-15 9:07 ` Lars-Dominik Braun
@ 2023-05-15 9:11 ` Efraim Flashner
0 siblings, 0 replies; 5+ messages in thread
From: Efraim Flashner @ 2023-05-15 9:11 UTC (permalink / raw)
To: Lars-Dominik Braun; +Cc: 63514
[-- Attachment #1: Type: text/plain, Size: 1790 bytes --]
On Mon, May 15, 2023 at 11:07:50AM +0200, Lars-Dominik Braun wrote:
> Hi,
>
> > easy reproducer: 'DISPLAY="" alacritty' gives the same error.
>
> that’s exactly what I used under Wayland, otherwise it’ll fall back
> to XWayland with ugly font rendering (because of my hidpi monitor).
>
> > Do you know if the X11 error is also a problem?
>
> Not sure what you mean. As I wrote it works with XWayland, so I’m
> guessing X11 is not broken.
I parsed the error like this:
(ins)efraim@3900XT ~$ DISPLAY="" alacritty
thread 'main' panicked at 'Failed to initialize any backend! Wayland status: NoWaylandLib X11 status: XOpenDisplayFailed', /tmp/guix-build-alacritty-0.12.0.drv-0/source/guix-vendor/rust-winit-0.28.3.tar.gz/src/platform_impl/linux/mod.rs:757:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
(ins)efraim@3900XT ~$ DISPLAY="" alacritty
thread 'main' panicked at 'Failed to initialize any backend! Wayland status: NoWaylandLib
(no wayland library found!)
X11 status: XOpenDisplayFailed', /tmp/guix-build-alacritty-0.12.0.drv-0/source/guix-vendor/rust-winit-0.28.3.tar.gz/src/platform_impl/linux/mod.rs:757:9
(something something XOpenDislay failed! with that source location)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
> Thank you,
> Lars
>
One bug per bug report :)
> PS: What *is* entirely broken is swaylock, which also got updated
> recently:
>
> wl_registry@2: error 0: invalid version for global wl_output (39): have 3, wanted 4
>
--
Efraim Flashner <efraim@flashner.co.il> פלשנר אפרים
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#63514: alacritty>=0.12.0 does not work with Wayland
2023-05-15 7:18 bug#63514: alacritty>=0.12.0 does not work with Wayland Lars-Dominik Braun
2023-05-15 9:02 ` Efraim Flashner
@ 2023-05-15 10:09 ` Efraim Flashner
1 sibling, 0 replies; 5+ messages in thread
From: Efraim Flashner @ 2023-05-15 10:09 UTC (permalink / raw)
To: Lars-Dominik Braun; +Cc: 63514-done
[-- Attachment #1: Type: text/plain, Size: 2139 bytes --]
On Mon, May 15, 2023 at 09:18:01AM +0200, Lars-Dominik Braun wrote:
> Hi Efraim,
>
> since the upgrade from alacritty 0.9 to 0.12 it does not work any more
> with the DISPLAY environment variable unset (i.e. without xwayland). The
> error message is:
>
> thread 'main' panicked at 'Failed to initialize any backend! Wayland status: NoWaylandLib X11 status: XOpenDisplayFailed', /tmp/guix-build-alacritty-0.12.0.drv-0/source/guix-vendor/rust-winit-0.28.3.tar.gz/src/platform_impl/linux/mod.rs:757:9
>
> Could you have a look?
This should now be fixed, feel free to re-open if its still not working
for you.
(ins)efraim@3900XT ~/workspace/guix$ ./pre-inst-env guix shell alacritty
(ins)efraim@3900XT ~/workspace/guix [env]$ DISPLAY="" alacritty
warning: queue 0x7f40b0000cc0 destroyed while proxies still attached:
zwp_primary_selection_offer_v1@4278190081 still attached
wl_data_offer@4278190080 still attached
zwp_primary_selection_device_v1@29 still attached
zwp_primary_selection_device_manager_v1@21 still attached
wl_data_device@28 still attached
wl_seat@27 still attached
wl_data_device_manager@25 still attached
wl_registry@20 still attached
warning: queue 0x55d2489cbe70 destroyed while proxies still attached:
wl_shm_pool@40 still attached
xdg_wm_base@32 still attached
wl_output@15 still attached
wl_output@14 still attached
wl_seat@13 still attached
xdg_activation_v1@12 still attached
wp_viewporter@11 still attached
zwp_text_input_manager_v3@10 still attached
zwp_pointer_constraints_v1@9 still attached
zwp_relative_pointer_manager_v1@8 still attached
zxdg_decoration_manager_v1@7 still attached
wl_subcompositor@6 still attached
wl_compositor@5 still attached
wl_shm@4 still attached
wl_registry@2 still attached
warning: queue 0x55d2489fbe80 destroyed while proxies still attached:
wl_callback@45 still attached
--
Efraim Flashner <efraim@flashner.co.il> פלשנר אפרים
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-05-15 10:10 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-15 7:18 bug#63514: alacritty>=0.12.0 does not work with Wayland Lars-Dominik Braun
2023-05-15 9:02 ` Efraim Flashner
2023-05-15 9:07 ` Lars-Dominik Braun
2023-05-15 9:11 ` Efraim Flashner
2023-05-15 10:09 ` Efraim Flashner
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).