Open Bug 1872944 Opened 1 year ago Updated 1 year ago

High resource usage during video playback on hyprland.org

Categories

(Core :: Graphics: WebRender, defect)

Firefox 122
All
Windows
defect

Tracking

()

Performance Impact low

People

(Reporter: alamalo.exe, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:122.0) Gecko/20100101 Firefox/122.0

Steps to reproduce:

  1. Go to https://hyprland.org/
  2. Scroll for the preview video to play

Actual results:

I saw this first reported on Reddit
https://www.reddit.com/r/firefox/comments/18wve22/why_does_embedded_video_make_ff_extremely_laggy/

Excessive resource usage is observed when the video is played, Firefox uses up to 4 times more CPU and 2 to 3 times more GPU compared to Edge.

If it helps, I recorded a profile
https://share.firefox.dev/3RLw9vh

The Bugbug bot thinks this bug should belong to the 'Core::Audio/Video: Playback' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core

Hello, thank you for the bug report!
Unfortunately I could not reproduce your issue. Both CPU and GPU levels were in normal ranges when playing the preview video. Would you be so kind as to answer a few questions so we can investigate this further?

Flags: needinfo?(alamalo.exe)

Hello, all tests performed were on a new profile.

The issue still occurs in Nightly.

In Troubleshoot Mode the CPU usage of Firefox when playing the video increases even more and does not go below 90% and the GPU is not used at all.

Flags: needinfo?(alamalo.exe)

Moving to ‘Performance’ as it seems to be the more appropriate Component.

Type: enhancement → defect
Component: Audio/Video: Playback → Performance

This bug was moved into the Performance component.

:alamalo.exe, could you make sure the following information is on this bug?

  • ✅ For slowness or high CPU usage, capture a profile with http://profiler.firefox.com/, upload it and share the link here.
  • For memory usage issues, capture a memory dump from about:memory and attach it to this bug.
  • Troubleshooting information: Go to about:support, click "Copy raw data to clipboard", paste it into a file, save it, and attach the file here.

If the requested information is already in the bug, please confirm it is recent.

Thank you.

Flags: needinfo?(alamalo.exe)
Attached file about:support

This is not a memory usage issue.

Flags: needinfo?(alamalo.exe)
Status: UNCONFIRMED → NEW
Performance Impact: --- → low
Component: Performance → Graphics: WebRender
Ever confirmed: true
OS: Unspecified → Windows
Hardware: Unspecified → All

Almst, can you redo your profile with the "Media" preset?

Flags: needinfo?(alamalo.exe)
Flags: needinfo?(alamalo.exe)

The severity field is not set for this bug.
:gw, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(gwatson)
Severity: -- → S3
Flags: needinfo?(gwatson)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: