User Tools

Site Tools


general:firefox

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
general:firefox [2021/11/23 19:08] – [HW video decoding using VAAPI] sunkangeneral:firefox [2025/03/13 07:12] (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 ''noroot''.
 +~/.config/firejail/firefox.local:
 +<code>
 +# Allows HW video decode
 +ignore noroot
 +</code>
 +
 +===== 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.
 +<code>
 +gfx.x11-egl.force-enabled true
 +media.ffmpeg.vaapi.enabled true
 +</code>
 +
 +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://www.youtube.com/playlist?list=PLyqf6gJt7KuHBmeVzZteZUlNUQAVLwrZS|AV1 Beta playlist]]
 +<code>
 +media.av1.enabled = false
 +</code>
 +
 +vainfo from AMD Ryzen 7 5700G with Radeon Graphics
 +<code>
 +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, LLVM 11.0.1)
 +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
 +      VAProfileVP9Profile0            : VAEntrypointVLD
 +      VAProfileVP9Profile2            : VAEntrypointVLD
 +      VAProfileNone                   : VAEntrypointVideoProc
 +</code>
 +
 +==== To check if HW decoding is active ====
 +On newer AMD
 +<code>
 +while true; do cat /sys/kernel/debug/dri/0/amdgpu_pm_info | grep ^VCN; sleep 1; done
 +</code>
 +
 +On Intel - check for Video engine activity
 +<code>
 +intel_gpu_top
 +</code>
 +
 +===== Old information =====
  
 https://bugzilla.mozilla.org/show_bug.cgi?id=1683808 https://bugzilla.mozilla.org/show_bug.cgi?id=1683808
Line 131: Line 193:
  
 If you then go to "Settings | Phone and audio" you should see that "Receive incoming calls" is now enabled. If you then go to "Settings | Phone and audio" you should see that "Receive incoming calls" is now enabled.
 +
 +====== Arkenfox ======
 +===== Custom overrides =====
 +<code>
 +/* override recipe: enable session restore ***/
 +user_pref("browser.startup.page", 3); // 0102
 +  // user_pref("browser.privatebrowsing.autostart", false); // 0110 required if you had it set as true
 +  // user_pref("browser.sessionstore.privacy_level", 0); // 1003 optional to restore cookies/formdata
 +user_pref("privacy.clearOnShutdown.history", false); // 2811 FF127 or lower
 +user_pref("privacy.clearOnShutdown_v2.historyFormDataAndDownloads", false); // 2811 FF128+
 +/* 2812: set/enforce clearOnShutdown items [FF136+] ***/
 +user_pref("privacy.clearOnShutdown_v2.browsingHistoryAndDownloads", false); // [DEFAULT: true]
 +
 +// 2820 optional to match when you use settings>Cookies and Site Data>Clear Data
 +  // user_pref("privacy.clearSiteData.historyFormDataAndDownloads", false); // FF128+
 +
 +// 2830 optional to match when you use Ctrl-Shift-Del (settings>History>Custom Settings>Clear History)
 +  // user_pref("privacy.cpd.history", false); // FF127 or lower
 +  // user_pref("privacy.clearHistory.historyFormDataAndDownloads", false); // FF128+
 +
 +/* 2611: disable middle mouse click opening links from clipboard
 + * [1] https://gitlab.torproject.org/tpo/applications/tor-browser/-/issues/10089 ***/
 +user_pref("middlemouse.contentLoadURL", true);
 +</code>
 +
general/firefox.1637694539.txt.gz · Last modified: 2021/11/23 19:08 by sunkan

Donate Powered by PHP Valid HTML5 Valid CSS Run on Debian Driven by DokuWiki