-
Notifications
You must be signed in to change notification settings - Fork 43
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
DDCA_EVENT_DPMS_AWAKE sent shortly after DDCA_EVENT_DPMS_ASLEEP #470
Comments
If you can, please build from branch 2.1.5-dev and retry. Having ddcutil report sleep/wake events as they happen proved problematic and has been removed from the API. So the KDE will not emit a message in this regard that causes the monitor to wake. |
Indeed, using 2.1.5-dev at cae9f52 fixes my issue. Thanks. Any particular commit that fixed it? I think this can be closed anyway. |
I just discovered that I cannot have both:
enabled at the same time, because the same issue returns even with 2.1.5-dev. Here is what happens:
Could it be also attributed to ddcutil? |
Looking at the journalctl output, I don't see any messages generated by libddcutil. The only messages are from powerdevil. (The [DDCUtilDisplay] lines are from powerdevil.) I don't see how libddcutil could be causing the system to wake up, but it's hard to prove a negative in an environment as complex as this. Therefore, I have added option --disable-watch-displays to branch 2.1.5-dev. This is a libddcutil only option, and needs to be specified in the [libddcutil] section of the ddcutilrc configuration file. It completely prevents the display change watch thread from running. When this option is set API function ddca_start_watch_displays() will fail with status DDCRC_INVALID_OPERATION. |
It works as expected on today's 2.1.5-dev. Thanks again. Will you make --disable-watch-displays enabled by default? |
Option --disable-watch-displays will not be enabled by default. It is intended as workaround for a bug whose cause is unclear, and to help diagnose the locus of the problem. It completely overrides the ability of PowerDevil to request that libddcutil watch for and report display connection changes. |
My external screen goes to sleep correctly, but soon, after it displays "stand by" message by itself, it wakes up. It happens in KDE Plasma 6.
My display is a single Lenovo P24h-2L connected through HDMI to my laptop. I have ddcutil 2.1.2 and using nouveau on a NV50 era hardware. I can provide more details, if requested.
I described the issue in details in a KDE bug #495746. I'm reporting it also here because I see that DDCA_EVENT_DPMS events come from ddcutil. I'm not sure, if it's a bug in ddcutil or KDE, so feel free to close immediately.
The text was updated successfully, but these errors were encountered: