You are not logged in.
I noticed that when I leave my computer for a certain period of time with something like XMonad locked with betterlockscreen, my RX 5700 fans stop spinning and my monitor will not display anything. It will say "No Signal" when I turn the monitor back on. Unplugging the DisplayPort cable from both the GPU and monitor does no good. Unplugging the monitor power brick also doesn't solve the issue. I tried to set different power management settings using the suggestions here https://wiki.archlinux.org/index.php/AT … management but the changes don't solve the issue. This doesn't happen when no Xorg server is running and I am logged out. I use startx to start a graphical session rather than a display manager. I also tried restarting radeon-profile-daemon.service. I run radeon-profile during graphical sessions to enforce a custom GPU fan curve. I can log into the computer with an ssh session from my laptop to troubleshoot so I know the computer hasn't frozen. I cannot use the "xrandr" command from my laptop since I am using an ssh session. I could use my motherboard's HDMI port if need be. This issue is resolved when I reboot but if there is inactivity for long enough it starts again. There are lights on the GPU in my case indicating that it is receiving power. How do I prevent the GPU from from becoming unresponsive due to extended inactivity?
EDIT:
After running "journalctl -xe | grep amd" I get:
Jan 07 10:01:59 Arch kernel: [drm:dm_restore_drm_connector_state [amdgpu]] *ERROR* Restoring old state failed with -12
Jan 07 10:02:01 Arch kernel: [drm:dm_restore_drm_connector_state [amdgpu]] *ERROR* Restoring old state failed with -12
Jan 07 10:02:37 Arch kernel: [drm:dm_restore_drm_connector_state [amdgpu]] *ERROR* Restoring old state failed with -12after I unplugged and plugged back in the DisplayPort cable from the GPU.
Last edited by mjd119 (2021-01-07 15:04:33)
Offline
it's a bug in amdgpu on kernel 5.10.5 and older, and should be fixed in 5.10.6 or you can apply the patch then compile kernel yourself
or what you can do after waking your system is to turn your panel off, switch to a tty thats not running Xorg ( press it a few times ), switch panel back on and then switch back to tty that Xorg was running on
Last edited by sinatosk (2021-01-07 15:54:37)
Offline