general:firefox
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
general:firefox [2021/11/23 19:08] – [HW video decoding using VAAPI] sunkan | general:firefox [2025/01/22 12:13] (current) – sunkan | ||
---|---|---|---|
Line 5: | Line 5: | ||
====== HW video decoding using VAAPI ====== | ====== HW video decoding using VAAPI ====== | ||
+ | For it to work with firejail one needs to ignore '' | ||
+ | ~/ | ||
+ | < | ||
+ | # Allows HW video decode | ||
+ | ignore noroot | ||
+ | </ | ||
+ | |||
+ | ===== Update 2022-02-05 ===== | ||
+ | As of now it seems that it is working with RDD enabled (tested with Firefox 96.0.3) | ||
+ | |||
+ | Only these two options need to be set on my AMD machine to enable it. | ||
+ | < | ||
+ | gfx.x11-egl.force-enabled true | ||
+ | media.ffmpeg.vaapi.enabled true | ||
+ | </ | ||
+ | |||
+ | If needed disable av1/av01 codec if there is no HW decode support (YouTube may use this with 1080p otherwise) | ||
+ | This can of course affect media at other sites. | ||
+ | Note that av1/av01 is NOT the same as avc1 | ||
+ | [[https:// | ||
+ | < | ||
+ | media.av1.enabled = false | ||
+ | </ | ||
+ | |||
+ | vainfo from AMD Ryzen 7 5700G with Radeon Graphics | ||
+ | < | ||
+ | vainfo: VA-API version: 1.10 (libva 2.10.0) | ||
+ | vainfo: Driver version: Mesa Gallium driver 20.3.5 for AMD RENOIR (DRM 3.40.0, 5.10.0-11-amd64, | ||
+ | vainfo: Supported profile and entrypoints | ||
+ | VAProfileMPEG2Simple | ||
+ | VAProfileMPEG2Main | ||
+ | VAProfileVC1Simple | ||
+ | VAProfileVC1Main | ||
+ | VAProfileVC1Advanced | ||
+ | VAProfileH264ConstrainedBaseline: | ||
+ | VAProfileH264ConstrainedBaseline: | ||
+ | VAProfileH264Main | ||
+ | VAProfileH264Main | ||
+ | VAProfileH264High | ||
+ | VAProfileH264High | ||
+ | VAProfileHEVCMain | ||
+ | VAProfileHEVCMain | ||
+ | VAProfileHEVCMain10 | ||
+ | VAProfileHEVCMain10 | ||
+ | VAProfileJPEGBaseline | ||
+ | VAProfileVP9Profile0 | ||
+ | VAProfileVP9Profile2 | ||
+ | VAProfileNone | ||
+ | </ | ||
+ | |||
+ | ==== To check if HW decoding is active ==== | ||
+ | On newer AMD | ||
+ | < | ||
+ | while true; do cat / | ||
+ | </ | ||
+ | |||
+ | On Intel - check for Video engine activity | ||
+ | < | ||
+ | intel_gpu_top | ||
+ | </ | ||
+ | |||
+ | ===== Old information ===== | ||
https:// | https:// |
general/firefox.1637694539.txt.gz · Last modified: 2021/11/23 19:08 by sunkan