*** If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports Please remove this comment after reading and before submitting - thanks! *** SUMMARY At seemingly random occurrences, when my computer wakes up from sleep, one of my monitors (it's always the same one) will reset itself to an unusable resolution (originally it was 1024x760, now it's 640x480), and it disconnects itself from my other monitor in System Settings, with no way of moving it to reattach it. This persists even if I log out, and seemingly the only way to fix this is to restart the computer. STEPS TO REPRODUCE 1. Let the computer sleep 2. Wake up the computer from sleep OBSERVED RESULT The resolution resets. EXPECTED RESULT The resolution does not reset SOFTWARE/OS VERSIONS (available in the Info Center app, or by running `kinfo` in a terminal window) Operating System: Bazzite 42 KDE Plasma Version: 6.4.4 KDE Frameworks Version: 6.17.0 Qt Version: 6.9.1 ADDITIONAL INFORMATION I had this issue happen on openSUSE Tumbleweed as well, so I don't think it is an OS issue.
After some more tests, unplugging and replugging in the monitor allows me to set the monitor back to the settings I originally had it on. Before replugging it in, the max resolution it gives me is 1440x480 at 60hz (this is a 1080p 165hz monitor).
Sending to kwin, which handles displays When the resolution bug occurs, can you run this, and then paste the output into this report? kscreen-doctor -o Then, please run kscreen-doctor with WAYLAND_DEBUG=1 when the wrong display resolution is set, and also attach KWin's log after trying to change the configuration. See this for the log location and getting debug log output: https://community.kde.org/KWin/Debugging#Getting_debug_log_output Thanks.
Created attachment 184994 [details] Wayland ENV Debug
Created attachment 184995 [details] Kscreen Log
Got two of the outputs, but KWin is refusing to output to a debug log even though I've set the environment variable in both bashrc and /etc/environment
Thanks for providing the information, I'll let the kwin folks take it from here.
When this happens, please get the output of drm_info and attach it here.
Created attachment 185110 [details] Output of drm_info I think this is the right program? Let me know if it isn't.