Monitors connected to secondary GPU randomly go black
Affected version
44.3
I think it started happening since upgrade to Gnome 44. I heard there were some changes around async DRM and multi monitor handling.
Bug summary
I have a laptop with 2 GPUs and 3 monitors: AMD RENOIR iGPU (laptop screen, HDMI monitor) and AMD Radeon RX 6800M NAVI22 dGPU (DP over USB-C monitor).
I explicitly set the primary GPU using ENV{DEVNAME}=="/dev/dri/card0", TAG+="mutter-device-preferred-primary"
No matter which GPU is set as primary, monitors connected to the secondary GPU randomly go black for a few seconds and then recover. Monitors connected to the iGPU go black independently (laptop screen might go black while HDMI continues to function or vise versa).
Monitors, connected to the primary GPU never go black and continue to work fine.
Reconnecting the monitor or going to sleep and back also sometimes helps.
Steps to reproduce
-
What happened
My guess would be that something goes wrong with PRIME. The following is observed in logs (repeated multiple times):
Jul 27 14:21:28 _hostname_ gnome-shell[1657]: Cursor update failed: drmModeAtomicCommit: Invalid argument
Jul 27 14:21:29 _hostname_ gnome-shell[1657]: Page flip failed: drmModeAtomicCommit: Invalid argument
Is it possible to increase gnome-shell output verbosity to be able to better investigate this issue?
Any specific gnome-shell knobs/switches to try as well?
What did you expect to happen
Multi-monitor setup should work fine just as it worked for me earlier.
Relevant logs, screenshots, screencasts etc.
Full log: