Closed Bug 1250570 Opened 8 years ago Closed 8 years ago

High GPU usage on HTML5 video playback

Categories

(Core :: Audio/Video: Playback, defect)

44 Branch
x86_64
Windows 10
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: bugreport, Unassigned)

Details

Attachments

(1 file)

Attached image Capture.PNG
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36
Build ID: 20160210153822

Steps to reproduce:

On a Windows 10 x64 PC with an Intel integrated HD 520 GPU (skylake CPU), running the latest Intel beta drivers (confirmed to happen on all recent driver versions), load a youtube HD (720p or 1080p) video and enable fullscreen playback.


Actual results:

While the video plays back fullscreen, GPU utilization is anywhere from 48-100% (verified by loading process explorer and watching the system information graphs). This causes the system to use more power and the active cooling (cpu fan) to engage.

Issue may be related to high resolution display scaling; in windowed mode, video used 25-30% GPU (still way way too high). Screen resolution is 2736x1824.


Expected results:

The same video played back in the Microsoft Edge browser uses anywhere from 5-9% GPU while playing back fullscreen.

See the attached capture of the GPU utilization.
OS: Unspecified → Windows 10
Hardware: Unspecified → x86_64
Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core
Is this issue reproducible on nightly?
Can you try if https://cdn.streamable.com/video/mp4/g5dv.mp4 also presents the same high GPU usage?
(In reply to JW Wang [:jwwang] from comment #2)
> Can you try if https://cdn.streamable.com/video/mp4/g5dv.mp4 also presents
> the same high GPU usage?

Same issue for that URL yes. While playing back fullscreen, the GPU usage spiked to 67% and hovered around 40-50% for most of the stream.
(In reply to Anthony Jones (:kentuckyfriedtakahe, :k17e) from comment #1)
> Is this issue reproducible on nightly?

Nightly (48.0a1) % GPU usage on a 1080p video played back fullscreen is anywhere from half to one third the GPU usage of 44 (20-30% for 48 vs 40-60% for 44). This is still a bit more than Edge, but significantly better than the current version.
(In reply to Dominic from comment #4)
> Nightly (48.0a1) % GPU usage on a 1080p video played back fullscreen is
> anywhere from half to one third the GPU usage of 44 (20-30% for 48 vs 40-60%
> for 44). This is still a bit more than Edge, but significantly better than
> the current version.

I don't think anything is broken here. We are working with Intel on some improvements including the D3D11 DXVA2 changes you just ran in nightly.
We've made progress here thanks to enabling D3D11 DXVA2. We can follow up on other specific things we can do in specific bugs.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: