Closed Bug 1298478 Opened 10 years ago Closed 3 years ago

[Suspend Decoders] Set media.suspend-bkgnd-video.enabled to false, the CPU and memory usage are still decreased when video runs in background.

Categories

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

defect

Tracking

()

RESOLVED INVALID

People

(Reporter: whsu, Unassigned)

References

(Blocks 1 open bug)

Details

# Description I set "media.suspend-bkgnd-video.enabled" to false. The CPU and memory usage are still decrease when video runs in background. It seems to me that the preference -"media.suspend-bkgnd-video.enabled" doesn't work. # Steps to reproduce 01. Entering user preference page => about:config 02. Set "media.suspend-bkgnd-video.enabled" to false 03. Visit youtube.com, and then watch a 360P video 04. Check the CPU and memory usage 05. Open a new tab, and then visit "mozilla.com" 06. Check the CPU and memory usage # Actual result: The CPU and memory usage are decreased. It seems to me that the suspend decoder functions still work. # Expected Result: The CPU and memory usage aren't decreased # Test Environment Firefox Nightly 51.0a1 on Windows 7 & Mac OS X 10.10.5 # Demo video: - https://www.youtube.com/watch?v=P2Fk0-A0JLM
Blocks: 1298496
You need to restart after step 2.
(In reply to Anthony Jones (:kentuckyfriedtakahe, :k17e) from comment #1) > You need to restart after step 2. Thanks Anthony. I will try and response you ASAP.
(In reply to Anthony Jones (:kentuckyfriedtakahe, :k17e) from comment #1) > You need to restart after step 2. Hi, Anthony, I restarted the browser and use the step 3~6 to reproduce this bug. Bug still can be reproduced.
Can you check about:support to see if you're using hardware decoding. You won't see a drop in CPU usage when video is being decoded by the GPU.
(In reply to Anthony Jones (:kentuckyfriedtakahe, :k17e) from comment #4) > Can you check about:support to see if you're using hardware decoding. You > won't see a drop in CPU usage when video is being decoded by the GPU. Hi, Anthony, Sorry for the late reply. Yes, hardware decoder is enabled. Here are the details. ---------------------------------------------------------------- Compositing OpenGL Asynchronous Pan/Zoom wheel input enabled WebGL Renderer Intel -- Intel(R) Iris(TM) Graphics 6100 WebGL2 Renderer Intel -- Intel(R) Iris(TM) Graphics 6100 Hardware H264 Decoding Yes Audio Backend audiounit GPU #1 Active Yes
Severity: normal → S3

Closing per comment 4 and comment 5

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.