You are not logged in.

#1 2022-05-07 12:34:39

gkun
Member
Registered: 2016-06-11
Posts: 91

[Solved] Hardware video acceleration not working in Firefox

Good afternoon to everyone,

I am having problems with HW Video decoding in Firefox. My setup has an AMD Radeon RX590 and I am using open source drivers. HW acceleration works in chromium (but I like Firefox more, to be sincere). I am on Xorg.
This is the output of my vainfo:

vainfo: VA-API version: 1.14 (libva 2.14.0)
vainfo: Driver version: Mesa Gallium driver 22.0.3 for AMD Radeon RX 590 Series (polaris10, LLVM 13.0.1, DRM 3.44, 5.17.5-arch1-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
      VAProfileJPEGBaseline           :	VAEntrypointVLD
      VAProfileNone                   :	VAEntrypointVideoProc

I followed all the steps in https://wiki.archlinux.org/title/Firefo … celeration. I did not set up environment variables but I disabled the sandbox setting the  security.sandbox.content.level to 0.
I am using h264ify as extension. This is the output of my about:support:

Application Basics
------------------

Name: Firefox
Version: 100.0
Build ID: 20220503101757
Distribution ID: archlinux
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:100.0) Gecko/20100101 Firefox/100.0
OS: Linux 5.17.5-arch1-1 #1 SMP PREEMPT Wed, 27 Apr 2022 20:56:11 +0000
OS Theme: Adwaita / Adwaita
Multiprocess Windows: 1/1
Fission Windows: 1/1 Enabled by default
Remote Processes: 12
Enterprise Policies: Inactive
Google Location Service Key: Found
Google Safebrowsing Key: Found
Mozilla Location Service Key: Found
Safe Mode: false
Memory Size (RAM): 15.6 GB
Disk Space Available: 216 GB

Crash Reports for the Last 3 Days
---------------------------------

Firefox Features
----------------

Name: DoH Roll-Out
Version: 2.0.0
ID: doh-rollout@mozilla.org

Name: Firefox Screenshots
Version: 39.0.1
ID: screenshots@mozilla.org

Name: Form Autofill
Version: 1.0.1
ID: formautofill@mozilla.org

Name: Picture-In-Picture
Version: 1.0.0
ID: pictureinpicture@mozilla.org

Name: Web Compatibility Interventions
Version: 100.2.1buildid20220504.194401
ID: webcompat@mozilla.org

Name: WebCompat Reporter
Version: 1.4.2
ID: webcompat-reporter@mozilla.org

Remote Features
---------------

bug-1693420-rollout-sponsored-top-sites-rollout-release-84-100: active
bug-1767475-rollout-enable-pip-subtitles-pref-in-release-release-100-101: active
rollout-increasing-normandy-skew-out-changes-from-15-m-release-73-75-bug-1616898: active

Remote Processes
----------------

Type: Privileged About
Count: 1

Type: Extension
Count: 1

Type: Isolated Web Content
Count: 6

Type: Preallocated
Count: 3

Type: Socket
Count: 1

Add-ons
-------

Name: Add-ons Search Detection
Type: extension
Version: 2.0.0
Enabled: true
ID: addons-search-detection@mozilla.com

Name: Amazon.it
Type: extension
Version: 1.9
Enabled: true
ID: amazon@search.mozilla.org

Name: Bing
Type: extension
Version: 1.3
Enabled: true
ID: bing@search.mozilla.org

Name: Bypass Paywalls
Type: extension
Version: 1.7.8
Enabled: true
ID: bypasspaywalls@bypasspaywalls.weebly.com

Name: DuckDuckGo
Type: extension
Version: 1.1
Enabled: true
ID: ddg@search.mozilla.org

Name: eBay
Type: extension
Version: 1.3
Enabled: true
ID: ebay@search.mozilla.org

Name: Google
Type: extension
Version: 1.2
Enabled: true
ID: google@search.mozilla.org

Name: h264ify
Type: extension
Version: 1.1.0
Enabled: true
ID: jid1-TSgSxBhncsPBWQ@jetpack

Name: Integrazione con GNOME Shell
Type: extension
Version: 10.1
Enabled: true
ID: chrome-gnome-shell@gnome.org

Name: Video DownloadHelper
Type: extension
Version: 7.6.0
Enabled: true
ID: {b9db16a4-6edc-47ec-a1f4-b86292ed211d}

Name: Wikipedia (it)
Type: extension
Version: 1.1
Enabled: true
ID: wikipedia@search.mozilla.org

Name: YouTube Video and Audio Downloader (Dev Edt.)
Type: extension
Version: 1.2.1
Enabled: true
ID: {f73df109-8fb4-453e-8373-f59e61ca4da3}

Graphics
--------

Features
Compositing: WebRender
Asynchronous Pan/Zoom: wheel input enabled; scrollbar drag enabled; keyboard enabled; autoscroll enabled; smooth pinch-zoom enabled
WebGL 1 Driver WSI Info: -
WebGL 1 Driver Renderer: WebGL is currently disabled.
WebGL 1 Driver Version: -
WebGL 1 Driver Extensions: -
WebGL 1 Extensions: -
WebGL 2 Driver WSI Info: -
WebGL 2 Driver Renderer: WebGL is currently disabled.
WebGL 2 Driver Version: -
WebGL 2 Driver Extensions: -
WebGL 2 Extensions: -
Window Protocol: x11
Desktop Environment: gnome
Target Frame Rate: 60
GPU #1
Active: Yes
Description: AMD Radeon RX 590 Series (polaris10, LLVM 13.0.1, DRM 3.44, 5.17.5-arch1-1)
Vendor ID: 0x1002
Device ID: 0x67df
Driver Vendor: mesa/radeonsi
Driver Version: 22.0.3.0
RAM: 0

Diagnostics
AzureCanvasBackend: skia
AzureContentBackend: skia
AzureFallbackCanvasBackend: skia
CMSOutputProfile: AAAC1GxjbXMEMAAAbW50clJHQiBYWVogB+YABQAHAAsAMwAVYWNzcEFQUEwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPbWAAEAAAAA0y1sY21zTkQeFid0RKjro2bom9QDaQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMZGVzYwAAARQAAAA2Y3BydAAAAUwAAABMd3RwdAAAAZgAAAAUY2hhZAAAAawAAAAsclhZWgAAAdgAAAAUYlhZWgAAAewAAAAUZ1hZWgAAAgAAAAAUclRSQwAAAhQAAAAgZ1RSQwAAAhQAAAAgYlRSQwAAAhQAAAAgY2hybQAAAjQAAAAkbWV0YQAAAlgAAAB6bWx1YwAAAAAAAAABAAAADGVuVVMAAAAaAAAAHABzAFIARwBCACAAYgB1AGkAbAB0AC0AaQBuAABtbHVjAAAAAAAAAAEAAAAMZW5VUwAAADAAAAAcAE4AbwAgAGMAbwBwAHkAcgBpAGcAaAB0ACwAIAB1AHMAZQAgAGYAcgBlAGUAbAB5WFlaIAAAAAAAAPbWAAEAAAAA0y1zZjMyAAAAAAABDEIAAAXe///zJQAAB5MAAP2Q///7of///aIAAAPcAADAblhZWiAAAAAAAABvoAAAOPUAAAOQWFlaIAAAAAAAACSfAAAPhAAAtsNYWVogAAAAAAAAYpcAALeHAAAY2XBhcmEAAAAAAAMAAAACZmYAAPKnAAANWQAAE9AAAApbY2hybQAAAAAAAwAAAACj1wAAVHsAAEzNAACZmgAAJmYAAA9cZGljdAAAAAAAAAACAAAAEAAAADAAAAAWAAAARgAAABAAAABWAAAAHAAAAHIAAAAIAEQAQQBUAEEAXwBzAG8AdQByAGMAZQBzAHQAYQBuAGQAYQByAGQAUwBUAEEATgBEAEEAUgBEAF8AcwBwAGEAYwBlAHMAcgBnAGIAAA==
Display0: 1920x1080
Display1: 1920x1080 default
DisplayCount: 2
Decision Log
HW_COMPOSITING:
available by default
force_enabled by user: Force-enabled by pref
OPENGL_COMPOSITING:
available by default
force_enabled by user: Force-enabled by pref
WEBRENDER:
available by default
force_enabled by user: Force enabled by pref
WEBRENDER_QUALIFIED:
available by default
WEBRENDER_COMPOSITOR:
disabled by default: Disabled by default
blocklisted by env: Blocklisted by gfxInfo
WEBRENDER_PARTIAL:
available by default
WEBRENDER_SHADER_CACHE:
disabled by default: Disabled by default
WEBRENDER_OPTIMIZED_SHADERS:
available by default
WEBRENDER_ANGLE:
available by default
unavailable by env: OS not supported
WEBRENDER_DCOMP_PRESENT:
available by default
disabled by user: User disabled via pref
unavailable by env: Requires Windows 10 or later
unavailable by runtime: Requires ANGLE
WEBRENDER_SOFTWARE:
available by default
WEBGPU:
disabled by default: Disabled by default
blocked by runtime: WebGPU cannot be enabled in release or beta
X11_EGL:
available by default
force_enabled by user: Force enabled by pref
DMABUF:
available by default
VAAPI:
disabled by default: VAAPI is disabled by default
force_enabled by user: Force enabled by pref
VP8_HW_DECODE:
available by default
VP9_HW_DECODE:
available by default




Media
-----

Audio Backend: pulse-rust
Max Channels: 2
Preferred Sample Rate: 48000
Roundtrip latency (standard deviation): 82.25ms (14.06)
Output Devices
Name: Group
Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] Digital Surround 5.1 (HDMI 4): /devices/pci0000:00/0000:00:03.1/0000:26:00.1/sound/card0
Audio Device Stereo analogico: /devices/pci0000:00/0000:00:08.1/0000:28:00.3/usb3/3-1/3-1:1.0/sound/card2
Starship/Matisse HD Audio Controller Stereo analogico: /devices/pci0000:00/0000:00:08.1/0000:28:00.4/sound/card1
Input Devices
Name: Group
Monitor of Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] Digital Surround 5.1 (HDMI 4): /devices/pci0000:00/0000:00:03.1/0000:26:00.1/sound/card0
Monitor of Audio Device Stereo analogico: /devices/pci0000:00/0000:00:08.1/0000:28:00.3/usb3/3-1/3-1:1.0/sound/card2
Monitor of Starship/Matisse HD Audio Controller Stereo analogico: /devices/pci0000:00/0000:00:08.1/0000:28:00.4/sound/card1
Starship/Matisse HD Audio Controller Stereo analogico: /devices/pci0000:00/0000:00:08.1/0000:28:00.4/sound/card1

Enumerate database

Environment Variables
---------------------

DISPLAY: :1
MOZ_ASSUME_USER_NS: 1
MOZ_CRASHREPORTER_EVENTS_DIRECTORY: /home/gian/.mozilla/firefox/5d229rsy.default-release/crashes/events
MOZ_CRASHREPORTER_RESTART_ARG_0: /usr/lib/firefox/firefox
MOZ_CRASHREPORTER_RESTART_ARG_1:
MOZ_CRASHREPORTER_DATA_DIRECTORY: /home/gian/.mozilla/firefox/Crash Reports
MOZ_CRASHREPORTER_PING_DIRECTORY: /home/gian/.mozilla/firefox/Pending Pings
MOZ_CRASHREPORTER_STRINGS_OVERRIDE: /usr/lib/firefox/browser/crashreporter-override.ini
MOZ_LAUNCHED_CHILD:
MOZ_APP_SILENT_START:
XRE_PROFILE_PATH:
XRE_PROFILE_LOCAL_PATH:
XRE_START_OFFLINE:
XRE_BINARY_PATH:
XRE_RESTARTED_BY_PROFILE_MANAGER:

Experimental Features
---------------------

about:home startup cache (browser.startup.homepage.abouthome_cache.enabled): false
Cookies: SameSite=Lax by default (network.cookie.sameSite.laxByDefault): false
Cookies: SameSite=None requires secure attribute (network.cookie.sameSite.noneRequiresSecure): false
Cookies: Schemeful SameSite (network.cookie.sameSite.schemeful): false
CSS: Constructable Stylesheets (layout.css.constructable-stylesheets.enabled): false
CSS: Masonry Layout (layout.css.grid-template-masonry-value.enabled): false
Developer Tools: Compatibility Panel (devtools.inspector.compatibility.enabled): true
Developer Tools: Service Worker debugging (devtools.debugger.features.windowless-service-workers): false
Media: JPEG XL (image.jxl.enabled): false
Address Bar: show results during IME composition (browser.urlbar.keepPanelOpenDuringImeComposition): false
Web API: WebGPU (dom.webgpu.enabled): false
WebRTC Global Mute Toggles (privacy.webrtc.globalMuteToggles): false

Remote Experiments
------------------

Important Modified Preferences
------------------------------

accessibility.typeaheadfind.flashBar: 0
browser.cache.disk.amount_written: 501004
browser.cache.disk.capacity: 153600
browser.cache.disk.filesystem_reported: 1
browser.cache.disk.telemetry_report_ID: 2
browser.contentblocking.category: standard
browser.search.region: IT
browser.sessionstore.upgradeBackup.latestBuildID: 20201020102843
browser.startup.homepage_override.buildID: 20220503101757
browser.startup.homepage_override.mstone: 100.0
browser.urlbar.placeholderName: Google
browser.urlbar.quicksuggest.migrationVersion: 2
browser.urlbar.quicksuggest.scenario: history
browser.urlbar.resultBuckets: {"children":[{"maxResultCount":1,"children":[{"group":"heuristicTest"},{"group":"heuristicExtension"},{"group":"heuristi
browser.urlbar.resultGroups: {"children":[{"maxResultCount":1,"children":[{"group":"heuristicTest"},{"group":"heuristicExtension"},{"group":"heuristi
browser.urlbar.tabToSearch.onboard.interactionsLeft: 2
browser.urlbar.tipShownCount.searchTip_onboard: 4
browser.urlbar.tipShownCount.searchTip_redirect: 4
browser.urlbar.tipShownCount.tabToSearch: 60
doh-rollout.balrog-migration-done: true
doh-rollout.doneFirstRun: true
doh-rollout.doorhanger-decision: UIOk
doh-rollout.home-region: IT
doh-rollout.self-enabled: true
doh-rollout.uri: https://mozilla.cloudflare-dns.com/dns-query
dom.storage.next_gen_auto_enabled_by_cause1: true
extensions.lastAppVersion: 100.0
font.internaluseonly.changed: true
gfx.webrender.all: true
gfx.x11-egl.force-enabled: true
idle.lastDailyNotification: 1651870343
layers.acceleration.force-enabled: true
layers.force-enabled: true
media.benchmark.vp9.fps: 290
media.benchmark.vp9.versioncheck: 5
media.eme.enabled: true
media.ffmpeg.vaapi.enabled: true
media.ffvpx.enabled: false
media.gmp-gmpopenh264.abi: x86_64-gcc3
media.gmp-gmpopenh264.lastUpdate: 1581798883
media.gmp-gmpopenh264.version: 1.8.1.1
media.gmp-manager.buildID: 20220503101757
media.gmp-manager.lastCheck: 1651869972
media.gmp-widevinecdm.abi: x86_64-gcc3
media.gmp-widevinecdm.lastUpdate: 1637276669
media.gmp-widevinecdm.version: 4.10.2391.0
media.gmp.storage.version.observed: 1
media.navigator.mediadatadecoder_vpx_enabled: true
media.rdd-process.enabled: false
media.rdd-vpx.enabled: false
media.videocontrols.picture-in-picture.video-toggle.has-used: true
network.cookie.lifetimePolicy: 2
network.predictor.cleaned-up: true
network.trr.blocklist_cleanup_done: true
places.database.lastMaintenance: 1651783462
places.history.expiration.transient_current_max_pages: 112348
privacy.history.custom: true
privacy.purge_trackers.date_in_cookie_database: 0
privacy.purge_trackers.last_purge: 1604585265379
privacy.sanitize.pending: [{"id":"shutdown","itemsToClear":["cache","cookies","history","formdata","downloads","sessions"],"options":{}},{"id":"ne
privacy.sanitize.sanitizeOnShutdown: true
security.remote_settings.crlite_filters.checked: 1651871002
security.remote_settings.intermediates.checked: 1651871002
security.sandbox.content.level: 0
security.sandbox.content.tempDirSuffix: 36f649cc-d81e-4605-9ed4-18ea959a563d
security.sandbox.plugin.tempDirSuffix: 385923b1-97ee-48d8-8e0f-1d2c078b87f4
services.sync.declinedEngines:
signon.importedFromSqlite: true
signon.usage.hasEntry: true
signon.usage.lastUsed: 1607762931
storage.vacuum.last.index: 1
storage.vacuum.last.places.sqlite: 1650228908
webgl.disabled: true

Important Locked Preferences
----------------------------

fission.autostart.session: true

Places Database
---------------

Accessibility
-------------

Activated: false
Prevent Accessibility: 0

Library Versions
----------------

NSPR
Expected minimum version: 4.33
Version in use: 4.33

NSS
Expected minimum version: 3.78
Version in use: 3.78

NSSSMIME
Expected minimum version: 3.78
Version in use: 3.78

NSSSSL
Expected minimum version: 3.78
Version in use: 3.78

NSSUTIL
Expected minimum version: 3.78
Version in use: 3.78

Sandbox
-------

Seccomp-BPF (System Call Filtering): true
Seccomp Thread Synchronization: true
User Namespaces: true
Content Process Sandboxing: true
Media Plugin Sandboxing: true
Content Process Sandbox Level: 0
Effective Content Process Sandbox Level: 0
Win32k Lockdown State for Content Process: Win32k Lockdown disabled -- Operating system not supported

Rejected System Calls
---------------------

Startup Cache
-------------

Disk Cache Path: /home/gian/.cache/mozilla/firefox/5d229rsy.default-release/startupCache/startupCache.8.little
Ignore Disk Cache: false
Found Disk Cache on Init: true
Wrote to Disk Cache: false

Internationalization & Localization
-----------------------------------

Application Settings
Requested Locales: ["it-IT"]
Available Locales: ["en-US"]
App Locales: ["en-US"]
Regional Preferences: ["en-US"]
Default Locale: "en-US"
Operating System
System Locales: ["it-IT"]
Regional Preferences: ["it-IT"]

Remote Debugging (Chromium Protocol)
------------------------------------

Accepting Connections: false
URL:

Printing
--------

Modified print settings
-----------------------

print_printer: Mozilla Save to PDF
print.print_bgcolor: false
print.print_bgimages: false
print.print_duplex: 0
print.print_evenpages: true
print.print_margin_bottom: 0.5
print.print_margin_left: 0.5
print.print_margin_right: 0.5
print.print_margin_top: 0.5
print.print_oddpages: true
print.print_orientation: 0
print.print_page_delay: 50
print.print_paper_data: 0
print.print_paper_height: 11,69
print.print_paper_name: iso_a4
print.print_paper_size_unit: 0
print.print_paper_width: 8,27
print.print_scaling: 1,00
print.print_shrink_to_fit: true
print.print_to_file: false
print.print_unwriteable_margin_bottom: 56
print.print_unwriteable_margin_left: 25
print.print_unwriteable_margin_right: 25
print.print_unwriteable_margin_top: 25
print.printer_Mozilla_Save_to_PDF.print_bgcolor: false
print.printer_Mozilla_Save_to_PDF.print_bgimages: false
print.printer_Mozilla_Save_to_PDF.print_duplex: 0
print.printer_Mozilla_Save_to_PDF.print_edge_bottom: 0
print.printer_Mozilla_Save_to_PDF.print_edge_left: 0
print.printer_Mozilla_Save_to_PDF.print_edge_right: 0
print.printer_Mozilla_Save_to_PDF.print_edge_top: 0
print.printer_Mozilla_Save_to_PDF.print_footercenter:
print.printer_Mozilla_Save_to_PDF.print_footerleft: &PT
print.printer_Mozilla_Save_to_PDF.print_footerright: &D
print.printer_Mozilla_Save_to_PDF.print_headercenter:
print.printer_Mozilla_Save_to_PDF.print_headerleft: &T
print.printer_Mozilla_Save_to_PDF.print_headerright: &U
print.printer_Mozilla_Save_to_PDF.print_in_color: true
print.printer_Mozilla_Save_to_PDF.print_margin_bottom: 0.5
print.printer_Mozilla_Save_to_PDF.print_margin_left: 0.5
print.printer_Mozilla_Save_to_PDF.print_margin_right: 0.5
print.printer_Mozilla_Save_to_PDF.print_margin_top: 0.5
print.printer_Mozilla_Save_to_PDF.print_orientation: 1
print.printer_Mozilla_Save_to_PDF.print_page_delay: 50
print.printer_Mozilla_Save_to_PDF.print_paper_height: 11.6929
print.printer_Mozilla_Save_to_PDF.print_paper_id: iso_a4
print.printer_Mozilla_Save_to_PDF.print_paper_size_unit: 0
print.printer_Mozilla_Save_to_PDF.print_paper_width: 8.26772
print.printer_Mozilla_Save_to_PDF.print_reversed: false
print.printer_Mozilla_Save_to_PDF.print_scaling: 1
print.printer_Mozilla_Save_to_PDF.print_shrink_to_fit: true
print.printer_Mozilla_Save_to_PDF.print_to_file: true
print.printer_Mozilla_Save_to_PDF.print_unwriteable_margin_bottom: 0
print.printer_Mozilla_Save_to_PDF.print_unwriteable_margin_left: 0
print.printer_Mozilla_Save_to_PDF.print_unwriteable_margin_right: 0
print.printer_Mozilla_Save_to_PDF.print_unwriteable_margin_top: 0
print.printer_Photosmart_C4200.print_bgcolor: false
print.printer_Photosmart_C4200.print_bgimages: false
print.printer_Photosmart_C4200.print_duplex: 0
print.printer_Photosmart_C4200.print_edge_bottom: 0
print.printer_Photosmart_C4200.print_edge_left: 0
print.printer_Photosmart_C4200.print_edge_right: 0
print.printer_Photosmart_C4200.print_edge_top: 0
print.printer_Photosmart_C4200.print_evenpages: true
print.printer_Photosmart_C4200.print_footercenter:
print.printer_Photosmart_C4200.print_footerleft: &PT
print.printer_Photosmart_C4200.print_footerright: &D
print.printer_Photosmart_C4200.print_headercenter:
print.printer_Photosmart_C4200.print_headerleft: &T
print.printer_Photosmart_C4200.print_headerright: &U
print.printer_Photosmart_C4200.print_in_color: true
print.printer_Photosmart_C4200.print_margin_bottom: 0.5
print.printer_Photosmart_C4200.print_margin_left: 0.5
print.printer_Photosmart_C4200.print_margin_right: 0.5
print.printer_Photosmart_C4200.print_margin_top: 0.5
print.printer_Photosmart_C4200.print_oddpages: true
print.printer_Photosmart_C4200.print_orientation: 1
print.printer_Photosmart_C4200.print_page_delay: 50
print.printer_Photosmart_C4200.print_paper_height: 11.6929
print.printer_Photosmart_C4200.print_paper_id: iso_a4
print.printer_Photosmart_C4200.print_paper_size_unit: 0
print.printer_Photosmart_C4200.print_paper_width: 8.26772
print.printer_Photosmart_C4200.print_reversed: false
print.printer_Photosmart_C4200.print_scaling: 1
print.printer_Photosmart_C4200.print_shrink_to_fit: true
print.printer_Photosmart_C4200.print_to_file: false
print.printer_Photosmart_C4200.print_unwriteable_margin_bottom: 0
print.printer_Photosmart_C4200.print_unwriteable_margin_left: 0
print.printer_Photosmart_C4200.print_unwriteable_margin_right: 0
print.printer_Photosmart_C4200.print_unwriteable_margin_top: 0

Any idea on some other thing I might try?

Last edited by gkun (2022-05-08 14:36:10)

Offline

#2 2022-05-08 06:42:27

Bzzz_56
Member
Registered: 2021-05-14
Posts: 37

Re: [Solved] Hardware video acceleration not working in Firefox

Maybe you should add the following disable rdd sanbox line to your environment variable

MOZ_DISABLE_RDD_SANDBOX=1

I don't think the sandbox content level config is now necessary.

FYI, my setup is the 11th tiger lake intel platform with its iris xe graphics, and even the av1 hardware decode is working on firefox for me; while I find the playback of av1 content with hardware decoding enabled is not that smooth compared to that of avc or vp9.

Offline

#3 2022-05-08 07:23:09

progandy
Member
Registered: 2012-05-17
Posts: 5,277

Re: [Solved] Hardware video acceleration not working in Firefox

You must use the rdd process now to get hardware decoding. The vaapi decoder was blocked from running anywhere else. Since the rdd sandbox does not work correctly, you have to disable that with the environment variable (There is no about:config setting for that)

So revert all changes you made. Only enable webrender if necessary and set media.ffmpeg.vaapi.enabled to true and start with MOZ_DISABLE_RDD_SANDBOX=1. That should do it (maybe you can disable ffvpx, idk.)

Last edited by progandy (2022-05-08 07:27:48)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#4 2022-05-08 08:46:04

gkun
Member
Registered: 2016-06-11
Posts: 91

Re: [Solved] Hardware video acceleration not working in Firefox

Thanks, I deleted my prefs.js, only enabled vaapi and disabled the sandbox via the environment variable. It now works perfectly!!

Last edited by gkun (2022-05-08 14:33:51)

Offline

#5 2024-09-29 14:36:41

d3vilguard
Member
Registered: 2022-01-01
Posts: 9

Re: [Solved] Hardware video acceleration not working in Firefox

If I may use this. Gnome, Firefox, Wayland, and a  i5-8265U with an "Intel® UHD Graphics for 8th Generation Intel® Processors". I have fallowed the wiki to the letter.
intel-media-driver - installed.
i915.enable_guc set to 2

"For intel-media-driver use iHD." - done : export LIBVA_DRIVER_NAME=iHD (gpu uses i915 as default)
"For Intel graphics you need to set it to va_gl." - done : export VDPAU_DRIVER=va_gl
Just to be sure got export MOZ_ENABLE_WAYLAND=1

WebRender is confirmed used.

media.ffmpeg.vaapi.enabled is set to true

"HARDWARE_VIDEO_DECODING   
default    available       
user    force_enabled    Force enabled by pref"




Monitoring with intel_gpu_top. I get 0 "Video" usage with firefox. VLC has no problem using hardware decoding and I have "Video" usage with VLC.

Probably I'm doing something wrong. Looking forward to solving this.

p.s. or is it youtube? Testing my jellyfin server via web (firefox) does seem to use hardware acceleration?

Last edited by d3vilguard (2024-09-29 14:39:14)


KDE / Linux-TKG BORE / mesa-minimal-git / 5800X PBO / Viper 4x8 4000 (3600@14) / RX6800

Offline

Board footer

Powered by FluxBB