Poor performance when play video
Categories
(Core :: Graphics: WebRender, defect)
Tracking
()
People
(Reporter: a.rainman, Unassigned)
References
(Blocks 2 open bugs)
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0
Steps to reproduce:
I open any video on YouTube, for example this one https://www.youtube.com/watch?v=hmVeLmLK5Cg
Actual results:
I see very big load on my CPU and GPU.
https://profiler.firefox.com/from-browser/marker-chart/?globalTrackOrder=0&hiddenLocalTracksByPid=8492-12&implementation=js&thread=1&v=9
https://profiler.firefox.com/from-browser/calltree/?globalTrackOrder=0&hiddenLocalTracksByPid=8492-12&implementation=js&thread=0&v=9
https://profiler.firefox.com/from-browser/calltree/?globalTrackOrder=0&hiddenLocalTracksByPid=8492-12&implementation=js&thread=0&v=9
https://profiler.firefox.com/from-browser/calltree/?globalTrackOrder=0&hiddenLocalTracksByPid=4420-0wjnvx2&implementation=js&thread=0&v=9
https://profiler.firefox.com/from-browser/calltree/?globalTrackOrder=0&hiddenLocalTracksByPid=8492-12&implementation=js&thread=0&v=9
https://profiler.firefox.com/from-browser/calltree/?globalTrackOrder=0&hiddenLocalTracksByPid=8492-12&implementation=js&thread=0&v=9
https://profiler.firefox.com/from-browser/calltree/?globalTrackOrder=120&hiddenLocalTracksByPid=6872-135wvx2wxgxjwxo&implementation=js&thread=0&v=9
https://profiler.firefox.com/from-browser/calltree/?globalTrackOrder=0&hiddenLocalTracksByPid=8040-0236wbdfhwtvx1wxgxiwxuy0wy2y4wya&implementation=js&thread=0&v=9
https://profiler.firefox.com/from-browser/calltree/?globalTrackOrder=0&hiddenLocalTracksByPid=8492-12&implementation=js&thread=0&v=9
Expected results:
Firefox no needs to use some many resources. It's probably happened because AV1 is used?
Comment 1•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Graphics: WebRender' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•2 years ago
|
||
Firefox no needs to use some many resources. It's probably happened because AV1 is used?
Probably yes, AV1 is a special codec for video, and that loads more CPU and GPU than older H.264 codec.
Comment 3•2 years ago
|
||
Can you go to about:support and click either of the buttons at the top to copy a report to clipboard and paste into an attachment on this bug? It would be super valuable to know which GPU you are using when trying to figure out graphics issues.
Normally YouTube uses vp9 codec which is supported in hardware, AV1 codec support in hardware is only on very recent GPUs, the CPU cost of decoding AV1 is quite high, but the bandwidth is lower (hence why YouTube switched to it, it is cheaper for them to operate that way).
Other sites like twitch.tv use h264 which is more commonly supported in hardware.
I seem to be unable to view the profiler links you gave, perhaps they are local to your browser and you did not upload them to share (there's a button for that in the top right of the profiler UI)?
Comment 4•2 years ago
|
||
I attached a report of about:support. Note that I have an old ATI card (Randeon HD 2400 Pro).
Reporter | ||
Comment 5•2 years ago
|
||
Currently, I crutch this bug by disable AV1. Firefox REALLY need detection of HW support and only after it enable AV1 support.
Comment 6•2 years ago
|
||
The severity field is not set for this bug.
:gw, could you have a look please?
For more information, please visit BugBot documentation.
Comment 7•2 years ago
|
||
Sotaro, is this something for the gfx team to look at, or perhaps we should move to media team (see comment 5)?
Comment 8•1 years ago
|
||
instagram-is-h264 |
Firefox performance in video playback is very bad. Please find a solution. My PC is weak and I always get annoyed and the video gets stuck. Especially in videos in Instagram.com stories. Please find a solution. The performance of Firefox is much weaker than Chrome.
Updated•8 months ago
|
Comment hidden (advocacy) |
Updated•8 months ago
|
Updated•7 months ago
|
Description
•