-
Notifications
You must be signed in to change notification settings - Fork 1.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
Blank screen crash #5290
Comments
Logs are written to stderr. Try
Can you ssh into your machine to obtain the debug log? |
sway.log |
Here is a minimal log using the default config. All I did was start up sway and was greeted with the blank screen. |
Hi, I've got the exact same issue on Arch with the same type of hardware (Ryzen 5 3600, MSI B450 chipset, AMD Navi GPU). I tried to install |
I am experiencing this issue as well. I originally noticed it by running Using the main config, the crashing portion seems to be starting
To get the dump I used SysRq to take control of the keyboard and switch to a tty.This looks like it does indeed involve json. @Xyene has taken a brief look and mentioned it may be caused by this busy loop. Edit: My processor is also a |
That loop appears to be trying to execute a random number generating function. Is this problem caused by |
We believe so. The random number generator on this specific cpu ( He's better at C, etc. so he's taking a look, but right now it looks like a problem outside of sway specifically. He or I will update when we can. Edit: I have also set the |
Doing a bit of research, it seems that the |
I've submitted a patch upstream in json-c/json-c#589. Since it fixes the symptoms of the issue (and there's not much we can do on sway's end anyway), I'm going to mark this issue as closed 🙂 Edit: if you apply the patch above, you'll probably also need to apply json-c/json-c#590 to prevent an occasional segfault. |
Hello again. I can confirm that updating the BIOS for my A big thank you to everyone who helped with this issue 👍 |
@harryausten do you have some problem with |
I have successfully installed I can't say I've seen any issues with gaming yet, although I've only played Terraria so far, so not exactly a demanding game... I'll update if I discover any issues 👍 |
If you are having any issues, and thus don't want to update your BIOS, using the patches that Xyene mentioned should work. I have tried them both (and am actually using them now) and it fixed the issue. Only mildly complex part is applying said patches and building json-c but documentation for this exists. |
Thanks for replying. So I think this is a problem with my hardware (CPU / Motherboard) and open an issue on vendor website is the thing to do. |
After upgrading from
sway
version1:1.4-8
to1:1.4-9
on Arch Linux, launching sway results in a blank grey screen with a frozen cursor. My system is then completely locked up and I can't even back out to a tty (withCtrl+Alt+F#
).Note: the only change between these versions of
sway
is that it was rebuilt with a newerjson-c
library (0.13.1-3
->0.14-1
).I opened a bug report on the Arch Linux Bugtracker (https://bugs.archlinux.org/task/66482), where @maximbaz was kind enough to run through a few initial debugging steps. After discovering that the issue still occured after I built the latest
master
branches ofsway
andwlroots
, he suggested that I open this GitHub issue.Since then I have been trying to obtain any useful information about the crash on my machine (note:
lshw
andpacman -Qm
output, along with an image of my frozen display can be seen attached to my messages on the aforementioned Arch Linux bug report). Since the crash completely locks up my machine, trying to outputsway
'sstdout
andstderr
to a file doesn't seem to work (i.e. runningsway &> sway.log
). It seems that the file is not being properly flushed before the crash and therefore upon reboot the file is empty 😢This crash is recreatable using the default
/etc/sway/config
config file. I did manage to discover that commenting out thebar
block allowedsway
to properly start up, however running theswaymsg reload
command afterwards appeared to trigger the same crash.Please let me know if there is anything else I can do to debug this issue. Any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered: