Bug 390164 - Powerdevil fails to shut off screens
Summary: Powerdevil fails to shut off screens
Status: RESOLVED FIXED
Alias: None
Product: Powerdevil
Classification: Plasma
Component: general (show other bugs)
Version: 5.11.5
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2018-02-09 17:00 UTC by Brian T. McKee
Modified: 2018-09-28 16:44 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian T. McKee 2018-02-09 17:00:18 UTC
I'm not sure how you'll reproduce this. But it burned my screens over night which is really hard on my hardware.

I came in this morning to work to find both displays fully on. I have the screen saver disabled because I prefer to shut off the displays after five minutes of inactivity. For some reason, powerdevil isn't turning off the displays.

It may be related to videos disabling screen savers and then crashing. I've seen that before, however I can't be sure about anything.

How can I get you more data? What can I check out and report back?

Help me, help you.
Comment 1 Nate Graham 2018-02-09 22:36:16 UTC
> It may be related to videos disabling screen savers and then crashing.

That is very likely. What kinds of videos are we talking about?
Comment 2 Brian T. McKee 2018-02-10 07:41:22 UTC
Youtube videos embedded in web pages, probably.

I get the sense that some of the embedded html5 players and gif players might disable screen saver as well. I've left them playing because circumstance and come back to find the screen not locked. Then when i close the tab, everything goes back to normal.

I've actually thought about how to correct something like this, but it's tough because you can't tell if the video crashed before being able to re-enable the screen saver. I guess if you have a timeout, say two hours or something you'll just annoy the user if he's really watching a video for that long.

Clearly the screen saver enable code should be in a finally: statement, heh.
Comment 3 Nate Graham 2018-02-10 13:34:41 UTC
> I've left them playing because circumstance and come back to find the screen not locked.

Hmm, I'm not sure how we could resolve this, because it's deliberate that playing videos inhibits sleep.

When this happened, was a video or audio still playing, or had it crashed? If the latter then there may be something we can do, but if the former, I don't think there's any way the system can read your mind and know that you want the computer to go to sleep in the middle of a playing video. :)
Comment 4 Brian T. McKee 2018-02-10 17:07:09 UTC
I don't think there was any video open in any tabs. I didn't get any crash notifications. So I can't really be sure about anything.

Is there a way I can check powerdevil to see if it's alive and well?

Is there a way to turn it back on?
Comment 5 Nate Graham 2018-02-10 18:02:34 UTC
I thought you said there was a video playing.

So was there anything you know of that would have disabled power management?
Comment 6 Brian T. McKee 2018-02-10 22:33:55 UTC
There was no video at the time the screen failed to turn off. But I had played videos earlier on reddit and it's possible they crashed for reasons.

Like I said earlier, this is not easy to debug because I have little idea how it got into that state.

That's why I was hoping there was a way to check it's state through GUI or CLI.
Comment 7 Andrew Crouthamel 2018-09-28 03:39:14 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Brian T. McKee 2018-09-28 16:40:02 UTC
I have not had the problem recently. What ever happened, has cleared itself up probably with an emerge world. Feel free to close this ticket. If it happens again, I'll open it back up.
Comment 9 Nate Graham 2018-09-28 16:44:25 UTC
Thanks!