Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Monitors did not come back from sleep #5

Open
OlliC opened this issue Feb 20, 2022 · 1 comment
Open

Monitors did not come back from sleep #5

OlliC opened this issue Feb 20, 2022 · 1 comment

Comments

@OlliC
Copy link

OlliC commented Feb 20, 2022

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.

@dwagelaar
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants