Closed Bug 1838095 Opened 2 years ago Closed 1 year ago

Hardware acceleration does not work to play (YouTube) videos

Categories

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

Firefox 114
defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: zawooko, Unassigned)

References

Details

Attachments

(2 files)

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

Steps to reproduce:

All I have to do is play any YouTube video with hardware acceleration enabled.

Yes, I have tried removing all extensions and plugins, which did not work. However, launching Firefox in troubleshooting mode fixes it. Launching it normally breaks it again.

My PC is equipped with an i9-13700 and an RTX 4080, plus latest Windows updates + drivers. Disabling hardware acceleration allows me to play videos, but that somehow makes Firefox eat up 25-30% of my CPU and makes the fans go crazy.

Actual results:

Playing the video will just give a blurry sort of moving background where you can just make out colors of the videos. The audio works just fine.

Expected results:

Play videos without giving a blurry moving mess.

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

Can you please post your about:support text? Thanks!

Sounds graphics related.

Blocks: gfx-triage
Flags: needinfo?(zawooko)

Did this break in 114?

Attached file about:support
It says 114.0.1

It says 114.0.1

Flags: needinfo?(zawooko)

Was it working in earlier versions?

Also can you try setting gfx.webrender.compositor=false to see if that helps?

Flags: needinfo?(zawooko)

(you'll need to restart the browser between changes of that preference).

:alwu, can you comment to the bug?

Flags: needinfo?(alwu)

zawooko, can you take a firefox profiler with Media setting like bug 1798052 comment 16?

https://profiler.firefox.com/

(In reply to Jeff Muizelaar [:jrmuizel] from comment #6)

Was it working in earlier versions?

Also can you try setting gfx.webrender.compositor=false to see if that helps?

I cannot comment on that, I definitely used earlier versions of Firefox on another PC but not this one. If you'd like me to test, please tell me what version to install.

Also, your suggestion fixed it! Just set gfx.webrender.compositor=false, restarted Firefox, and it immediately started working again. I tried toggling it a few times just to see if it was a fluke but it was not, that literally is fixing my issue. Thanks!

Flags: needinfo?(zawooko)
See Also: → 1833039

Per comment10, the issue is fixed for the reporter when turning the pref gfx.webrender.compositor to false, so clear my NI. In addition, it would be good to try to delete the pref media.hardware-video-decoding.failed to see if it helps or not.

Flags: needinfo?(alwu)

Sotaro, can you take a look at this?

Flags: needinfo?(sotaro.ikeda.g)

Hi zawooko, does the problem still happen with Firefox 115?

Flags: needinfo?(zawooko)
No longer blocks: gfx-triage
Severity: -- → S3

Clear a needinfo that is pending on an inactive user.

Inactive users most likely will not respond; if the missing information is essential and cannot be collected another way, the bug maybe should be closed as INCOMPLETE.

For more information, please visit BugBot documentation.

Flags: needinfo?(zawooko)
Flags: needinfo?(sotaro.ikeda.g)
Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: