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