New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 654659 link

Starred by 5 users

Issue metadata

Status: Archived
Owner: ----
Closed: Aug 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug



Sign in to add a comment

HTML5 video prevents display from sleeping when it probably should sleep

Project Member Reported by sjr@google.com, Oct 11 2016

Issue description

Version: 52.0.2743.116
OS: Ubuntu 16.04.1 LTS

What steps will reproduce the problem?
(1) Open a page that uses HTML5 <video> tags, e.g. amazon.com

What is the expected output?

Chrome will not interfere with the user's Display Power Management Signaling (DPMS) preferences when the tab is not in the foreground.

What do you see instead?

The presence of the amazon.com tab causes Chrome to place an inhibition on DPMS power-off preferences. I presume this is because there are <video> elements (ads) on the page and Chrome assumes the user is watching them. However, this occurs even when the tab is in the background. The result is that the monitor does not switch off after the amount of time configured in DPMS preferences.

I think the inhibition is too aggressive and should only be done if the video is in the foreground (full-screened or in a visible tab and actually in the physical viewport).

Please use labels and text to provide additional information.

 

Comment 1 by sjr@google.com, Oct 11 2016

Labels: Performance-Power OS-Linux

Comment 2 by sjr@google.com, Oct 11 2016

In case it wasn't clear, this can result in the monitor being on for long periods of time. If you have many tabs open, it's very difficult to tell why the monitor is not being allowed to sleep.
Project Member

Comment 3 by sheriffbot@chromium.org, Oct 11 2016

Labels: Hotlist-Google
Components: Blink>Media>Video
Maybe the solution is to only do this preventing the display from sleeping if it's in a foreground tab? I don't see why we need to do this for background tabs.
Cc: renganat...@chromium.org sande...@chromium.org
Components: -Blink>Media>Video Internals>Media>Video
Status: Available (was: Untriaged)
I believe the backend is what holds the power lock?
Status: Archived (was: Available)
An available bug that is a P3 and hasn't been updated in 180 days. I'm going to archive this. If you disagree with this action, please feel free to reopen and do anything necessary to get someone's attention to the fact that this is still a bug we care about.

Sign in to add a comment