Summary: | screen switches off when playing video in VLC or even when screen blanking is switched off | ||
---|---|---|---|
Product: | [Plasma] Powerdevil | Reporter: | Martin Steigerwald <Martin> |
Component: | general | Assignee: | Plasma Development Mailing List <plasma-devel> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | kde |
Priority: | NOR | ||
Version: | 5.4.1 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Martin Steigerwald
2015-10-04 20:24:40 UTC
Could it be that some driver or low level service is turning off the screen? Can you run qdbus --system --literal org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.login1.Manager.ListInhibitors and see whether "PowerDevil" is listed there? This works now when I disable both powermanagement and screen locker. Of course it would be nice if it detects VLC playing a video, but thats probably something to report with VLC developers to tell Plasma to suspend screen blanking (suspending locking… might be a security issue, if any app can easily do that). Thanks for reporting back. However if battery monitor reports that vlc blocks power management it shouldn't dim the screen and here this also works fine, especially since disabling pm globally works. Thanks, Kai. Well, I have no idea about it then. I bet I wait till I get a more consistent versioning state. I do use Debian Sid/Experimental packages + self compiled KF5 from some weeks ago (in order to use self-compiled KDEPIM). I think I wait till Qt 5.6.1 arrives in Debian with more up-to-date KF5 + Plasma 5 packages and a new recompile of the self-compiled stuff (or even just using packages). And see from there. I do not have this movie watching scenario every day, so… it can take some time for me to gather more data. What I would be interested in would be how I can find out more about why it wouldn´t work? Any logs or debug tools I can run in such a case? If you run kded5 from console PowerDevil should print debug output like "vlc requested inhibition" and then "enforcing inhibition" but if battery lists the inhibition I'm rather clueless as to why it still turns off the screen. |