-
-
Notifications
You must be signed in to change notification settings - Fork 749
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
Crash on resume when monitor setup changed #2297
Comments
Possible a dupe of #2293 |
Can you start wezterm with WAYLAND_DEBUG=1 set in the environment, reproduce this, and share the logs? |
Running under wayfire, I see: wayland-monitor-switch-wezterm-log.txt @emersion, @vberger: I wonder if you have some insights into this? It sounds similar to https://source.puri.sm/Librem5/phoc/-/issues/13 and swaywm/wlroots#1379 From what I can tell (see attached logs), zwlr-output-management hands out info about a head, finishes with it, and then later when unplugging and replugging the monitor, a Note that the OP on this issue encounters an error with There are actually 3 wezterm issues open around this at the moment; the other two are:
Am I doing something wrong with how I'm binding to and handling these events? The relevant code in wezterm is in this file, in case it is helpful: |
A client like wezterm shouldn't use the wlr-output-management protocol. This protocol is reserved for output configuration tools. |
Understood, but what about the That particular error sounds similar to swaywm/wlroots#1379 and thus swaywm/wlroots#1041 |
Given the logfile and the wlr_output_management_protocol XML, I see potentially two issues here (setting aside the question of whether wezterm should or not use that protocol):
|
No, it's a fundamental race in the protocol v2, fixed in v3 with that |
Ah, prior to v3, the |
I see; and the wayland-protocols crate doesn't expose that version of the protocol, which is why I couldn't find that release request. |
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further. |
Thanks ! it's fixed with the latest stable ! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
What Operating System(s) are you seeing this problem on?
Linux Wayland
Which Wayland compositor or X11 Window manager(s) are you using?
sway
WezTerm version
20220720-074534-41ee60c9
Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?
Yes, and I updated the version box above to show the version of the nightly that I tried
Describe the bug
Wezterm crashes on resume (after suspend) when an external monitor is plugged or unplugged during the suspend
To Reproduce
Configuration
Expected Behavior
No response
Logs
Anything else?
No response
The text was updated successfully, but these errors were encountered: