Bug 1222452

Summary: Firefox hardware decoding is not working
Product: [openSUSE] openSUSE Tumbleweed Reporter: Malek <o.malek.cz>
Component: FirefoxAssignee: Factory Mozilla <factory-mozilla>
Status: CONFIRMED --- QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: heitormoreira
Version: Current   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE Tumbleweed   
Whiteboard:
Found By: Community User Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: firefox about_support raw hardware decoding is not working.json

Description Malek 2024-04-08 10:22:42 UTC
Created attachment 874125 [details]
firefox about_support raw hardware decoding is not working.json

Only H264 is working. Same for Firefox and Firefox ESR

tried:
1. reinstall by opi codecs
2. enable vaapi in firefox media.ffmpeg.vaapi.enabled = true  


Operating System: openSUSE Tumbleweed 20240405
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.3
Kernel Version: 6.8.2-1-default (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600U with Radeon Graphics
Memory: 38,0 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: LENOVO
Product Name: 20X70042CK
System Version: ThinkPad L15 Gen 2a

As discussed on reddit https://www.reddit.com/r/openSUSE/comments/1bwngwq/firefox_hardware_decoding_is_not_working_on/

```
$ vainfo                                                                                                                                         [24/04/8|10:18]
Trying display: wayland
libva info: VA-API version 1.20.0
libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_20
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.20 (libva 2.20.1)
vainfo: Driver version: Mesa Gallium driver 24.0.3 for AMD Radeon Graphics (radeonsi, renoir, LLVM 18.1.2, DRM 3.57, 6.8.2-1-default)
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSlice
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSlice
      VAProfileHEVCMain               : VAEntrypointVLD
      VAProfileHEVCMain               : VAEntrypointEncSlice
      VAProfileHEVCMain10             : VAEntrypointVLD
      VAProfileHEVCMain10             : VAEntrypointEncSlice
      VAProfileJPEGBaseline           : VAEntrypointVLD
      VAProfileNone                   : VAEntrypointVideoProc
```
Comment 1 Heitor da Silva 2024-06-10 16:42:07 UTC
I can confirm, it's also happening in Slowroll too.