alacritty: Cant handle switching between X11 and Wayland
Which operating system does the issue occur on? Linux If on linux, are you using X11 or Wayland? For this issue both.
Seems like alacritty is not able to be started again on X11 if there is still another Wayland compositor running.
Terminal output:
“wl_drm@36: error 0: authenicate failed
thread ‘main’ panicked at ‘called Result::unwrap()
on an Err
value: Os { code: 71, kind: Other, message: “Protocol error” }’, libcore/result.rs:1009:5”
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 19 (14 by maintainers)
Commits related to this issue
- Update to winit/glutin EventLoop 2.0 This takes the latest glutin master to port Alacritty to the EventLoop 2.0 rework. This changes a big part of the event loop handling by pushing the event loop i... — committed to chrisduerr/alacritty by chrisduerr 5 years ago
- Update to winit/glutin EventLoop 2.0 This takes the latest glutin master to port Alacritty to the EventLoop 2.0 rework. This changes a big part of the event loop handling by pushing the event loop i... — committed to chrisduerr/alacritty by chrisduerr 5 years ago
- Update to winit/glutin EventLoop 2.0 This takes the latest glutin master to port Alacritty to the EventLoop 2.0 rework. This changes a big part of the event loop handling by pushing the event loop i... — committed to chrisduerr/alacritty by chrisduerr 5 years ago
- Update to winit/glutin EventLoop 2.0 This takes the latest glutin master to port Alacritty to the EventLoop 2.0 rework. This changes a big part of the event loop handling by pushing the event loop i... — committed to chrisduerr/alacritty by chrisduerr 5 years ago
- Update to winit/glutin EventLoop 2.0 This takes the latest glutin master to port Alacritty to the EventLoop 2.0 rework. This changes a big part of the event loop handling by pushing the event loop i... — committed to chrisduerr/alacritty by chrisduerr 5 years ago
- Update to winit/glutin EventLoop 2.0 This takes the latest glutin master to port Alacritty to the EventLoop 2.0 rework. This changes a big part of the event loop handling by pushing the event loop i... — committed to chrisduerr/alacritty by chrisduerr 5 years ago
- Update to winit/glutin EventLoop 2.0 This takes the latest glutin master to port Alacritty to the EventLoop 2.0 rework. This changes a big part of the event loop handling by pushing the event loop i... — committed to chrisduerr/alacritty by chrisduerr 5 years ago
- Update to winit/glutin EventLoop 2.0 This takes the latest glutin master to port Alacritty to the EventLoop 2.0 rework. This changes a big part of the event loop handling by pushing the event loop i... — committed to chrisduerr/alacritty by chrisduerr 5 years ago
- Update to winit/glutin EventLoop 2.0 This takes the latest glutin master to port Alacritty to the EventLoop 2.0 rework. This changes a big part of the event loop handling by pushing the event loop i... — committed to chrisduerr/alacritty by chrisduerr 5 years ago
- Update to winit/glutin EventLoop 2.0 This takes the latest glutin master to port Alacritty to the EventLoop 2.0 rework. This changes a big part of the event loop handling by pushing the event loop i... — committed to chrisduerr/alacritty by chrisduerr 5 years ago
- Update to winit/glutin EventLoop 2.0 This takes the latest glutin master to port Alacritty to the EventLoop 2.0 rework. This changes a big part of the event loop handling by pushing the event loop i... — committed to chrisduerr/alacritty by chrisduerr 5 years ago
- Update to winit/glutin EventLoop 2.0 This takes the latest glutin master to port Alacritty to the EventLoop 2.0 rework. This changes a big part of the event loop handling by pushing the event loop i... — committed to chrisduerr/alacritty by chrisduerr 5 years ago
- Update to winit/glutin EventLoop 2.0 This takes the latest glutin master to port Alacritty to the EventLoop 2.0 rework. This changes a big part of the event loop handling by pushing the event loop i... — committed to chrisduerr/alacritty by chrisduerr 5 years ago
- Update to winit/glutin EventLoop 2.0 This takes the latest glutin master to port Alacritty to the EventLoop 2.0 rework. This changes a big part of the event loop handling by pushing the event loop i... — committed to chrisduerr/alacritty by chrisduerr 5 years ago
- Update to winit/glutin EventLoop 2.0 This takes the latest glutin master to port Alacritty to the EventLoop 2.0 rework. This changes a big part of the event loop handling by pushing the event loop i... — committed to chrisduerr/alacritty by chrisduerr 5 years ago
- Update to winit/glutin EventLoop 2.0 This takes the latest glutin master to port Alacritty to the EventLoop 2.0 rework. This changes a big part of the event loop handling by pushing the event lo... — committed to alacritty/alacritty by chrisduerr 5 years ago
- Squashed commit of the following: commit b293d08fa9e9b1c40fe9505f0434342a9009be90 Author: thunderseethe <thunderseethe.dev@gmail.com> Date: Mon Oct 7 14:45:55 2019 -0700 Tidy up merge and ensu... — committed to roychoo/alacritty by roychoo 4 years ago
- Squashed commit of the following: commit b293d08fa9e9b1c40fe9505f0434342a9009be90 Author: thunderseethe <thunderseethe.dev@gmail.com> Date: Mon Oct 7 14:45:55 2019 -0700 Tidy up merge and ensu... — committed to roychoo/alacritty by roychoo 4 years ago
- Update to winit/glutin EventLoop 2.0 This takes the latest glutin master to port Alacritty to the EventLoop 2.0 rework. This changes a big part of the event loop handling by pushing the event lo... — committed to roychoo/alacritty by chrisduerr 5 years ago
- Squashed commit of the following: commit b293d08fa9e9b1c40fe9505f0434342a9009be90 Author: thunderseethe <thunderseethe.dev@gmail.com> Date: Mon Oct 7 14:45:55 2019 -0700 Tidy up merge and ensu... — committed to roychoo/alacritty by roychoo 4 years ago
[1]
[2]
We found out, that the problem was in glutin/winit, you’ve suggested to recheck #2438 when it’ll be ready[1], I’ve decided to add a note[2] that in case we’ll face this bug again on #2438, we should report this as a regression to
glutin
/winit
since everything is fine withglutin
/winit
/our evlp2
now. Sorry, feel a little bit sleepy today.evlp2 rework == #2438
Yes, should be added to a list of fixes in #2438 , I guess
XDG_SESSION_TYPE
is not something very reliable from my point of view. It can be set totty
if you’ve launched your wm fromtty
(e.g. sway). Of course login mangers (e.g.sddm
) are responsible for setting such variables ( users should remember to set them manually when launching wms from tty though). However I tend to agree, that usingXDG_SESSION_TYPE
as a “hint” can be a good idea.It’s probably worth testing how
glutin
s window example behaves in this scenario and also worth checkingwinit
v0.19.1
/master
docs on how to force specificbackend
(As far as I remember it’s trying to launch onwayland
and fallbacks toX11
if fails).