Closed Bug 1807886 Opened 2 years ago Closed 7 months ago

Video freezes on steamdeck

Categories

(Core :: Graphics: WebRender, defect, P3)

Firefox 108
x86_64
Linux
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: spriiix, Assigned: ahale)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:108.0) Gecko/20100101 Firefox/108.0

Steps to reproduce:

Connect steamdeck to dock
Turn on steamdeck
Switch to Desktop mode
Open discovery store, find firefox and install the flatpack.
Launch Firefox
Open twitch.com and open any streamer I watch

Actual results:

After 3-5 seconds video freezes, but sound keeps playing.
It freezes in youtube too, but not as often.

Expected results:

Video stream should have played without freezing.

enbling flags like
media.ffmpeg.vaapi.enabled
gfx.webrender.all

did not help either

If I download version from from mozzila homepage it does not have this issue.

I think hardware video decoding acceleration is not working on the flatpack, I only tested this on steamdeck.

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.

Component: Untriaged → Graphics: WebRender
Product: Firefox → Core

Thanks for the report! Please open about:support, click on "Copy text to clipboard" and paste it here.

OS: Unspecified → Linux
Hardware: Unspecified → x86_64

S2 because, if I understand correctly, Steamdeck is very standard hardware, widely used, and the reporter has isolated extraneous issues, so I'd assume this should be pretty reproducible by someone who has the hardware.

Severity: -- → S2
Flags: needinfo?(sotaro.ikeda.g)
Priority: -- → P3

Can the problem be fixed with this command?
$ flatpak install org.freedesktop.Platform.ffmpeg-full/x86_64/22.08

background:

I can repro on a Steam Deck without the dock, so I've attached about:support.

(In reply to Darkspirit from comment #4)

Can the problem be fixed with this command?
$ flatpak install org.freedesktop.Platform.ffmpeg-full/x86_64/22.08

That flatpak command does seem to fix it.

Assignee: nobody → ahale

I'll need to reach out to Valve about updating the openh264 on Steam deck as this is not really our bug.

Flags: needinfo?(sotaro.ikeda.g)
See Also: → 1633341

(In reply to Ashley Hale [:ahale] from comment #7)

I'll need to reach out to Valve about updating the openh264 on Steam deck as this is not really our bug.

Only if they are the package maintainer of Freedesktop's openh264 flatpak package, otherwise it's not their job.
Flatpak packages are somewhat like virtual machines, they can't access binaries of system packages.
Maybe it's even an unfixed Openh264 bug.
Maybe the video uses a codec feature that is not implemented in OpenH264.
Flatpak Firefox can't depend on ffmpeg-full (the best h264 decoder) because the publisher of the Firefox flatpak package would have to pay H264 patent license fees.
OpenH264 is directly downloaded from Cisco (checksums are compared) who pay a capped license fee.

We recently updated OpenH264, this update might have helped here.

Severity: S2 → S3

Alright, this works now. Please comment if you still have this issue.

Status: UNCONFIRMED → RESOLVED
Closed: 7 months ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: