You are not logged in.

#1 2024-03-26 06:14:24

Falstaff
Member
Registered: 2008-11-03
Posts: 81

[SOLVED] Firefox 124.0.1 & Wayland - Codecs VP8, VP9 & AV1 not working

Hi,

System information:
--------
OS: Arch Linux x86_64
Host: HP ProBook 455 G7
Kernel: 6.8.1-arch1-1
Uptime: 7 hours, 20 mins
Packages: 2325 (pacman)
Shell: bash 5.2.26
Resolution: 3840x2160
DE: GNOME 46.0
WM: Mutter
WM Theme: Adwaita
Theme: Adwaita [GTK2/3]
Icons: Adwaita [GTK2/3]
Terminal: gnome-terminal
CPU: AMD Ryzen 7 4700U with Radeon Graphics (8) @ 2.000GHz
GPU: AMD ATI Radeon RX Vega 6
Memory: 5970MiB / 39511MiB

Issue:
----------
I've recently switched from i3 with x11 to Gnome 46 with Wayland as the interface is better on a TV.
For some reason, in Firefox I'm not able anymore to play any videos with the codecs mentioned in the title. H264 videos still works.
The issue happens in both Youtube (the only codec available is H264 and the max resolution is 1080p) and with any WebM files that has the aforementioned codecs with the following message: "No video with supported format and MIME type found"
I do have hardware video acceleration enabled in Firefox.

Any clues on how to fix this? Thanks.

Last edited by Falstaff (2024-03-30 17:11:14)

Offline

#2 2024-03-28 22:42:35

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,549

Re: [SOLVED] Firefox 124.0.1 & Wayland - Codecs VP8, VP9 & AV1 not working

I'm also experiencing this on Wayland with Firefox 124.0.1, latest Sway 1.9, wlroots 0.17.2, kernel 6.8.2, and mesa 24.0.4, using amdgpu on a dedicated Polaris card.
I believe it started with Firefox 124, but can't test right now.

I did build Firefox myself and install the debug package, which seems to give some hints.
Here's the terminal output after running the browser and attempting to play a WebM video.

[Child 181936, MediaDecoderStateMachine #1] WARNING: Decoder=779c3d182700 state=DECODING_METADATA Decode metadata failed, shutting down decoder: file /usr/src/debug/firefox/firefox-124.0.1/dom/media/MediaDecoderStateMachine.cpp:372
[Child 181936, MediaDecoderStateMachine #1] WARNING: Decoder=779c3d182700 Decode error: NS_ERROR_DOM_MEDIA_METADATA_ERR (0x806e0006): file /usr/src/debug/firefox/firefox-124.0.1/dom/media/MediaDecoderStateMachineBase.cpp:166
[Child 181936, MediaDecoderStateMachine #1] WARNING: Decoder=779c2dcdf800 state=DECODING_METADATA Decode metadata failed, shutting down decoder: file /usr/src/debug/firefox/firefox-124.0.1/dom/media/MediaDecoderStateMachine.cpp:372
[Child 181936, MediaDecoderStateMachine #1] WARNING: Decoder=779c2dcdf800 Decode error: NS_ERROR_DOM_MEDIA_METADATA_ERR (0x806e0006): file /usr/src/debug/firefox/firefox-124.0.1/dom/media/MediaDecoderStateMachineBase.cpp:166
[Child 181936, MediaDecoderStateMachine #1] WARNING: Decoder=779c2dcfad00 state=DECODING_METADATA Decode metadata failed, shutting down decoder: file /usr/src/debug/firefox/firefox-124.0.1/dom/media/MediaDecoderStateMachine.cpp:372
[Child 181936, MediaDecoderStateMachine #1] WARNING: Decoder=779c2dcfad00 Decode error: NS_ERROR_DOM_MEDIA_METADATA_ERR (0x806e0006): file /usr/src/debug/firefox/firefox-124.0.1/dom/media/MediaDecoderStateMachineBase.cpp:166
[Child 181936, MediaDecoderStateMachine #1] WARNING: Decoder=779c2dcdf500 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - auto mozilla::MediaChangeMonitor::CreateDecoderAndInit(MediaRawData *)::(anonymous class)::operator()(const MediaResult &) const: Unable to create decoder: file /usr/src/debug/firefox/firefox-124.0.1/dom/media/MediaDecoderStateMachineBase.cpp:166
[Child 181936, MediaDecoderStateMachine #1] WARNING: Decoder=779c2d318400 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - auto mozilla::MediaChangeMonitor::CreateDecoderAndInit(MediaRawData *)::(anonymous class)::operator()(const MediaResult &) const: Unable to create decoder: file /usr/src/debug/firefox/firefox-124.0.1/dom/media/MediaDecoderStateMachineBase.cpp:166
[Child 181936, MediaDecoderStateMachine #1] WARNING: Decoder=779c2e4bbe00 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - auto mozilla::MediaChangeMonitor::CreateDecoderAndInit(MediaRawData *)::(anonymous class)::operator()(const MediaResult &) const: Unable to create decoder: file /usr/src/debug/firefox/firefox-124.0.1/dom/media/MediaDecoderStateMachineBase.cpp:166
[Child 181936, MediaDecoderStateMachine #1] WARNING: Decoder=779c2e4bc100 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - auto mozilla::MediaChangeMonitor::CreateDecoderAndInit(MediaRawData *)::(anonymous class)::operator()(const MediaResult &) const: Unable to create decoder: file /usr/src/debug/firefox/firefox-124.0.1/dom/media/MediaDecoderStateMachineBase.cpp:166

Looks like this might be https://bugzilla.mozilla.org/show_bug.cgi?id=1887342

Last edited by Ranguvar (2024-03-28 23:03:56)

Offline

#3 2024-03-30 01:53:12

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,549

Re: [SOLVED] Firefox 124.0.1 & Wayland - Codecs VP8, VP9 & AV1 not working

I resolved this issue for myself by setting "media.rdd-process.enabled" to true.
I'm not sure why it had been set to false.

Offline

#4 2024-03-30 17:09:31

Falstaff
Member
Registered: 2008-11-03
Posts: 81

Re: [SOLVED] Firefox 124.0.1 & Wayland - Codecs VP8, VP9 & AV1 not working

Ranguvar wrote:

I resolved this issue for myself by setting "media.rdd-process.enabled" to true.
I'm not sure why it had been set to false.

Yep, that worked for me. Thanks.

Offline

Board footer

Powered by FluxBB