-
Notifications
You must be signed in to change notification settings - Fork 138
Description
Describe the bug
When waking my computer up from sleep, or simply turning the display back on before the system completely falls asleep, the first monitor (my primary display, the oled) will occasionally take a long time to get a signal. Eventually, when it gets a signal, both monitors will display broken content (so monitor 2, which was showing the login screen, will suddenly turn blue and monitor 1 will turn gray). You can technically log in, so the system is responsive, but the wayland display output for both monitors seems completely busted. The only row of pixels that changes in this state is the first pixel of both monitors, which seems to show either a single pixel or a condensed version of the display (impossible to gauge in a 1 pixel format).
How to Reproduce
It's hard to say whether this is unique to my internal computer hardware (so the dual GPU, with one of the GPU's being used exclusively for passthrough and being bypassed in the kargs) or if it's for dual monitors, so step one will be an either/or situation. I'll see if I can't find some time to debug which of these two causes the issue consistently (it seems like the dual GPU would make more sense as it's a pretty rare configuration.)
- Configure a second GPU to be ignored by linux kernel, see most existing passthrough tutorials and/or plug in 2 monitors, ideally 2 with different boot times. (Note, OLEDs generally have longer boot periods due to screen cleaning periods. I'm suspicious that this could be the cause of the 1 pixel artifacts)
- Suspend the computer by waiting or locking / suspending from lock screen
- Wake up computer.
- See if it wakes up properly, if it does, repeat until failure.
Expected behavior
Monitors to display the correct contents.
Screenshots
Can grab one from my phone once I'm back from thanksgiving :)
Desktop (please complete the following information):
Hardware Details:
MB: MPG x570 MS-7C37
Memory: 64gb
CPU: AMD Ryzen 7 5800X 8-Core
GPU: AMD RX 7900 GRE
Disabled Pass-thru GPU: Nvidia Geforce 1060 3GB
2 Monitors, 1 LG OLED 240hz and 1 ASUS 144hz monitor. Configured to be mismatched, both should have adaptive sync disabled
Software Details
Base Distribution: Fedora (Custom Atomic System) "Maetel:latest". See my repository sangolinux for image and bluebuild formulae.
Additional context
Obviously my system is pretty unique, but it seems like #392 might be related-ish, where the contents of the monitor will occasionally result in a single gray image.
Workarounds
In case anyone else is getting this as frequently as I am (usually once a day, ish), there's a really simple quick fix: You can completely fix the broken displays by switching between virtual sessions. In my particular OS, Ctrl + Alt + F3 to go to virtual terminal, followed by a return to desktop by Ctrl + Alt + F1 will usually fix all rendering artifacts for both monitors.