Firefox 85 Green Video Playback
Hello Firefox Forum,
I get green videos when using hardware acceleration. intel_gpu_top shows decoding action when I start firefox with: MOZ_WAYLAND_DRM_DEVICE=/dev/dri/renderD129 LIBVA_DRIVER_NAME=i965 MOZ_X11_EGL=1 MOZ_WEBRENDER=1 firefox
There's only 3 lines of error in the console, so I don't think it's related:
(firefox:12623): GLib-GIO-WARNING **: 22:01:35.112: /etc/xdg/kde-mimeapps.list contains a [Added Associations] group, but it is not permitted here. Only the non-desktop-specific mimeapps.list file may add or remove associations.
[Child 12816, MediaDecoderStateMachine #1] WARNING: Decoder=7fb5e2473800 state=DECODING_METADATA Decode metadata failed, shutting down decoder: file /build/firefox/src/firefox-85.0/dom/media/MediaDecoderStateMachine.cpp:368
[Child 12816, MediaDecoderStateMachine #1] WARNING: Decoder=7fb5e2473800 Decode error: NS_ERROR_DOM_MEDIA_DEMUXER_ERR (0x806e000c) - virtual RefPtr<MP4Demuxer::InitPromise> mozilla::MP4Demuxer::Init(): No MP4 audio () or video () tracks: file /build/firefox/src/firefox-85.0/dom/media/MediaDecoderStateMachine.cpp:3465
(/usr/lib/firefox/firefox:14321): GLib-GIO-WARNING **: 22:13:43.119: /etc/xdg/kde-mimeapps.list contains a [Added Associations] group, but it is not permitted here. Only the non-desktop-specific mimeapps.list file may add or remove associations.
Can anyone help me identify the issue? I would really like to use the hw acceleration.
With best regards LuxidEx
ყველა პასუხი (3)
Please provide steps to replicate and provide links to the video(s). Are you using KDE or Gnome? Make sure you have the latest FFmpeg and libavcodec packages are updated. see screenshot
Can you download a separate version of Firefox to a folder and run it from there to test? https://www.mozilla.org/en-US/firefox/all/#product-desktop-release
Operating System: openSUSE Tumbleweed 20210130
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
Kernel Version: 5.10.9-1-default
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-4810MQ CPU @ 2.80GHz
Memory: 31.0 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 4600
ჩასწორების თარიღი:
It seems to affect all videos, I will try your suggestions and response back.
Thank you for your answer. I am using KDE.
Edit: I tried running firefox seperately downloaded into /tmp/ with:
MOZ_WAYLAND_DRM_DEVICE=/dev/dri/renderD129 LIBVA_DRIVER_NAME=i965 MOZ_X11_EGL=1 MOZ_WEBRENDER=1 ./firefox
Then I edited: about:config
media.ffmpeg.vaapi.enabled = true
restarted and that's everything I need to get the green playback.
I have installed ffmpeg version n4.3.1 Copyright (c) 2000-2020 the FFmpeg developers built with gcc 10.2.0 (GCC)
and this ffmpeg seems to bring along the libav packages.
Best Regards
ჩასწორების თარიღი:
My media.ffmpeg.vaapi.enabled was false, changed it to true and no issues. I'm running Nightly.