Closed Bug 1721969 Opened 3 years ago Closed 3 years ago

Video playback locks up Firefox on steamdeck.com

Categories

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

defect

Tracking

()

RESOLVED DUPLICATE of bug 1682261

People

(Reporter: bugsgalore, Unassigned)

References

()

Details

(Keywords: nightly-community, parity-chrome, perf)

Attachments

(3 files)

Visit https://www.steamdeck.com/en/hardware

Firefox consumes all of CPU or GPU depending on whether you have accelerated video decoding, making the browser and system unresponsive.

It seems Firefox keeps decoding all the videos on the page regardless whether they are visible or not. Chrome fares much better here and seems to only decode what is visible, without consuming all system resources and keeping the browser and system responsive.

I can reproduce the browser and system responsiveness issue in Nightly92.0a1 Windows10.

Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: perf

I tried macOS and the video won't play automatically.

Alastor, it looks like videos on that page will play automatically on Windows. Could you please help? Thanks a lot!

Flags: needinfo?(alwu)

I'm on macOS and it takes up a large amount of memory, but there are no noticeable performance hits whilst browsing the page.

Sorry for my late reply, I forgot to response to this NI. We did know there are some issues around our suspend video decoding, which feature wasn't finished completedly. So it's possible that some invisible videos would still keep decoding and waste the CPU/GPU resource.

The current workaround you could try is to change the blocking autoplay setting to Block audio and video , which would prevent those invisible videos from playing at the time you load the page.

In addition, although I did see browing this website causes using more CPU/GPU, the page is still smooth for me. I didn't encounter the issue of system being unresponsive on Windows 10, Ubuntu 20.0.4 and MacOS 10.14.6.

Severity: -- → S3
Flags: needinfo?(alwu) → needinfo?(bugsgalore)
Priority: -- → P3
See Also: → 1682261
Attached image task manager
Flags: needinfo?(bugsgalore)
Attached image video decode

Indeed, blocking the videos from playing solves the issue. Opening the webpage causes Firefox to become a slideshow for me even on a relatively powerful desktop.

Keywords: parity-chrome

Hmm running GPU on 100% is indeed a bad thing. On my dell XPS 15 latop, I only saw around 40~60% while playing those videos, so that might be something weird happened on your desktop. I will take a look later to see how we could solve this issue, set NI to myself.

Would you mind to capture a profiled result with Media preset while the issue is happening, and provide the information from about:support?

Thank you.

Flags: needinfo?(bugsgalore)
Flags: needinfo?(alwu)
Flags: needinfo?(bugsgalore)
Attached file about:support

The graphic card (NVIDIA GeForce GTX 660) you're using was released on 2012, so it might be just not strong enough to process decoding multiple videos and rendering at the same time in GPU process. So I would suggest to just block both audio and video for that site (you can go to about:preferences#privacy > autoplay for adjusting the list) and wait until we fix the issue of not being able to suspend all invisible videos.
And I will use bug 1682261 to track this kind of issue.
Thank you.
https://www.steamdeck.com/en/hardware

Status: NEW → RESOLVED
Closed: 3 years ago
Flags: needinfo?(alwu)
Resolution: --- → DUPLICATE
See Also: → 1738561
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: