-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Intermittent xwayland crashes #3799
Comments
that would suggest xwayland crashed. I don't think this is an issue with hyprland. Have you tried testing on sway-git whether it happens there too? Another note, your hyprland version is very old. |
I'll try sway after trying updating hyprland, it seems the hyprland in the arch repos is extremely old, i didnt realize that |
I havent gotten the webcord+rider crash yet, but i am now getting a weird rendering bug with the completions, where if the completions update without recreating the separate completions window, it shrinks more and more, didnt happen on the old version while i was writing this, it seems that the entirety of hyprland was brought down for some reason (kicked back to greeter), log folder from right after are here and while i was writing that, firefox crashed when i tried to drag and drop a zip from dolphin, im going to assume thats a separate issue though heres the coredump for hyprland from the above full crash to greeter hyprland.coredump.zip edit: it just happened on latest hyprland, i'll try sway |
after >2hrs of running both rider and webcord (using both constantly), the crash did not occur with sway, and it doesnt happen with kwin either |
Would be nice to get an xwayland debug stacktrace or a log. Might be a protocol error. Running xwayland with WAYLAND_DEBUG=1 and inspecting the output when it crashes might also help. |
how would i set env vars for XWayland? i glanced through the hyprland wiki and didnt see anything about running xwayland manually |
i put
then setting |
i get this output
|
odd |
update: just had it occur with WebCord, VSCode, and Chromium, all running under XWayland, were just brought down at once, seems to not be related to Rider at least heres the current state of my scripts, which cause the above mentioned "cannot establish any listening sockets" error
another update: i was doing work and noticed waybar crashed, so i restarted it from a terminal, and then almost all my open apps closed immediately after, with waybar just saying "media suddenly stopped" and nothing else of interest |
I get this Xwayland crash on a regular basis and its damn annoying. It seems to be something to do with having something in the clipboard, then opening a file open/save dialog. Here are a couple of logs: journal log: https://pastes.io/co3dwld8ub |
would be nice if there were some clear repro steps, I've not had xwayland crash even once. Copying, pasting, opening dialogs. |
I really wish I could reproduce it at will but it doesn't always work when I repeat what triggered it. I'll try and see if I can. |
I made a wrapper for Xwayland so i can dump its output to a file. The last 2 lines of the output are:
|
Could you send your wrapper script and how to set it up with hyprland? I've been unable to get one working |
mv /usr/bin/Xwayland /usr/bin/Xwayland_orig /usr/bin/Xwayland:
|
I may have made some progress. In my hyprland.conf i have: env = QT_QPA_PLATFORM,xcb. I have removed this and only set this up for apps that really need it instead of it being system-wide. If you have this set system-wide, try what I did. I'm not 100% sure yet if this fully works around the Xwayland crashes but so far I am unable to reproduce it the way I usually do. |
Can confirm this is the issue i am getting as well, using your wrapper script, i have no consistent reproduction, but it happens multiple times a day
|
does the solution i mentioned above apply to you? would be interesting to know if it makes a difference. |
ive had multiple xwayland crashes without any QT apps open, so i dont believe it is relevant to me |
i have found a semi-consistent reproduction, open Jetbrains Writerside, open this repository, open some document and start typing, consistently every time, in under a minute it will bring down xwayland its always the same error inside of the xwayland logs does not happen on plasma |
also happens on my system on nixos, and never on plasma wayland last few lines of xwayland output
is there a way to at least restart xwayland? this happens way too often |
Still an issue for me. My only solution is to run apps in it as little as possible but there's always the fear that it will crash at a very important moment. I only use QT_QPA_PLATFORM=xcb if the app has issues without it. |
Having this issue too, same error |
Having the same error!!! |
s/nearset/nearest/g |
Tried this, but still causes xwayland crash for me |
Do you have a reliable way of reproducing the crash? |
Yes it's a jank way of doing but it crashes xwayland every time for me This is a unity project, so get the correct unity version or add the project on unityhub to let it download the correct unity version |
Mine is on the latest git |
In AUR, there is a git version of wlroots-1.8. |
I am observing the same behavior on NixOS unstable. Running TurboVNC's I set |
update to this issue on my pc |
Yeah this issue doesn't happen anymore on my side |
same here. crashed a few times. along with a waybar crash.
|
and gnome-polkit seems to be going up 2 100% cpu after this as well... EDIT: pkexec etc wont work. but sudo does... is gnome polkit running in xwayland? |
@littleblack111 |
same, but i have this issue: #7822 |
@vaxerski still experiencing this issue, please reopen |
Hyprland Version
Hyprland, built from branch at commit 1b48642 dirty ().
(from the arch repos)
Bug or Regression?
Bug
Description
At complete random (theres no pattern), when i have a Jetbrains tool open (eg. Rider), multiple of my apps (Rider, Ghidra, and WebCord) will be brought down. WebCord closes with no extra information (exit code 1), but it seems to maybe dump some things into dmesg (maybe unrelated?), Rider and Ghidra dont seem to dump any logs anywhere relating to the error, they act as if they were closed normally
This is maybe related to XWayland, as those are the only apps of mine that are running under Xwayland
Important to note this does not happen on compositors such as kwin_wayland
How to reproduce
Open a Jetbrains tool such as Rider alongside WebCord, then just interact with either software for awhile, at random (sometimes after as much as 10mins), both apps will be brought down at the same time (WebCord is running under xwayland on my system)
Crash reports, logs, images, videos
hypr logs
logs.tar.gz
The text was updated successfully, but these errors were encountered: