Open OlliC opened 2 years ago
Thanks for your comment! I've used amdgpu.dc=0
in the past on my RX 560 card, which caused problems more severe than a screen not going to sleep, so I quickly reverted back. Suffice to say that that is not a general solution that works for everyone, as well as it being a workaround rather than a bugfix.
As for your original issue: I've also had my screen "stuck" in sleep when using my script, particularly when the system was no longer on my lock screen, but rather on the main login screen. It appears that wake up no longer works when your user is no longer considered the current user (by ConsoleKit/systemd-logind). Probably not much I can do about that, as the code provided here runs as a user-level systemd service, so for the currently logged in user only.
Hi,
nice to see some attempts to fix this really annoying issue with dual monitors on amd. I have this issue for a few years and still looking forward to get it fixed in kernel.
My only working solution to this is adding 'amdgpu.dc=0' to the kernel parameters. I tried 'amdgpu.runpm=0' after reading your Readme, but it didnt make any difference in my case. Maybe you could add that workaround to your Readme for other people with this problem.
I tried your script but my monitors did not come back from sleep properly. Will give you a star anyway.