Created attachment 1888118 [details] MOZ_LOG="Dmabuf:5, PlatformDecoderModule:5" firefox output Description of problem: https://src.fedoraproject.org/rpms/firefox/c/61879d2c53a0473a24b4a9a69fcedd1af8f74fdf?branch=rawhide enables VA-API by default according to the commit description. Unfortunately it does not work on my AMD Ryzen 5 4500U machine. Version-Release number of selected component (if applicable): 101.0-2.fc36 How reproducible: always Steps to Reproduce: 1. flip media.ffmpeg.vaapi.enabled to true 2. go to https://tools.woolyss.com/html5-audio-video-tester/?u=ftp.nluug.nl/pub/graphics/blender/demo/movies/ToS/tears_of_steel_720p.mov Actual results: vaapi does not work Expected results: vaapi gets used Additional info: The following entries in the log are suspicious: [Child 66430: Main Thread]: D/Dmabuf Failed to open drm render node /dev/dri/renderD128 error Keine Berechtigung [RDD 66759: MediaSupervisor #1]: D/PlatformDecoderModule FFMPEG: VAAPI is disabled by parent decoder module. /usr/share/libdrm/amdgpu.ids: Permission denied
MOZ_DISABLE_RDD_SANDBOX=1 seems to help.
FEDORA-2022-0e2ff84e1e has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-0e2ff84e1e
FEDORA-2022-950e0f78c7 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-950e0f78c7
With firefox-101.0.1-1.fc36.x86_64 VA-API seems to work even without the need to flip media.ffmpeg.vaapi.enabled to true. Thanks!
FEDORA-2022-0e2ff84e1e has been pushed to the Fedora 35 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-0e2ff84e1e` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-0e2ff84e1e See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2022-950e0f78c7 has been pushed to the Fedora 36 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-950e0f78c7` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-950e0f78c7 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
Build 101.0.1-4.fc36 doesn't seem to enable VAAPI (no video workload on intel_gpu_top playing youtube video) on a: 00:02.0 VGA compatible controller: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] (rev 01)
(In reply to Dimitris from comment #8) > Build 101.0.1-4.fc36 doesn't seem to enable VAAPI (no video workload on > intel_gpu_top playing youtube video) on a: > > 00:02.0 VGA compatible controller: Intel Corporation TigerLake-LP GT2 [Iris > Xe Graphics] (rev 01) You still need to install additional packages on Intel, see: https://fedoraproject.org/wiki/Firefox_Hardware_acceleration#Configure_VA-API_Video_decoding_on_Intel You may also probe troubleshooting steps: https://fedoraproject.org/wiki/Firefox_Hardware_acceleration#Troubleshooting
FEDORA-2022-950e0f78c7 has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2022-d1c8a76563 has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report.
I see, thanks. Is ffmpeg/a non-official repo going to be required long term for video acceleration?
(In reply to Dimitris from comment #12) > I see, thanks. Is ffmpeg/a non-official repo going to be required long term > for video acceleration? It's required for H264 format HW acceleration. Free formats (VP8,9,AV1) are accelerated with free drivers (one of Intel driver is going through review now - https://bugzilla.redhat.com/show_bug.cgi?id=1942132).