Suddenly black screen after login
So I've been using Bazzite for a couple days. It all worked. I haven't changed anything. I just left the PC running and I suppose it went into a suspend state or something. After that I couldn't wake my monitor from sleep so I rebooted.
Since then I can't login into Bazzite. SDDM shows up, I type my password, click login, it goes to black screen where I can't even open TTY, basically like it didn't send any signal to the monitor.
I tried rebooting a couple times, picking another image from grub etc. No matter what I choose - I get black screen when logging in.
I CAN pick X11 when logging in and it works, it's only Wayland that's the problem I guess?
What can I do now? I'm kinda new to Linux overall and don't have much knowledge in troubleshooting display problems on Linux.
I'm on the regular branch of Bazzite Nvidia, only layered Visual Studio Code and Solaar. I have Ryzen 5600x and RTX 3070.
7 Replies
I would try and create a new linux user account and log into that on reboot. If that logs in then it is a local config setting that broke somewhere. But thats a decent starting point. See if that works
Thanks!!! Yup. Created second user. Logged in no problem. On my main user I tried to go to TTY on SDDM screen and start with: startplasma wayland command but it just freezes entire PC, doesn't show any error. Tbh it would be great to somehow fix it because I've spent couple days setting everything up on this account. Is there anything I could check?
First thing I'd try is rename/remove your .cache folder in your home directory. Soo many things can break if something corrupts in the cache. Note that you need to press CTRL+H in your file explorer to show hidden folders.
Also try another monitor or TV screen for your diagnostics, if one of the KDE settings broke, the new screen won't have a configuration set for it and it might just work
Clearing cache didn't work, alas I don't have another monitor to test. Maybe there is a way to reset KSI display settings somehow? Either from terminal or maybe overwriting some files from new account?
HDMI to TV screen might work. Or you could try deleting backing up and deleting some of the kde settings in the .config folder
Solution
the kde display setting should be in
~/.config/kwinoutputconfig.json
afaikYup, overwriting this file with file from new profile fixed it and I can log in to wayland session normally. I still don't have a clue what happened. Guess it's just a note to always have backup profile created just in case. Thank so much guys for quick and effective help!