From 682ffe00a11e6dcd37821da6fdf120d0baa70598 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Fri, 9 Jul 2021 00:22:14 +0300 Subject: [PATCH] firefox: add more vaapi instructions --- extra/firefox/post-install | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/extra/firefox/post-install b/extra/firefox/post-install index fefa5ab0..c526914b 100755 --- a/extra/firefox/post-install +++ b/extra/firefox/post-install @@ -20,4 +20,18 @@ NOTE: For VAAPI to work with amdgpu you must have CONFIG_CHECKPOINT_RESTORE=y +NOTE: For VAAPI to work you must enable the following + in about:config + + gfx.webrender.all=true + media.av1.enabled=false + media.ffmpeg.dmabuf-textures.enabled=true + media.ffmpeg.vaapi.enabled=true + media.ffvpx.enabled=false + + You may also have to set the following + environment variable. + + export MOZ_WAYLAND_DRM_DEVICE=/dev/dri/renderD128 + EOF