搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Hardware acceleration isn't working on AMD GPU on Ubuntu 21.10

  • 無回覆
  • 1 有這個問題
  • 4 次檢視
more options

I am running Firefox version 95.0.1 (from apt) on Ubuntu 21.10. I took the following steps to enable hardware acceleration for Firefox:

gfx.webrender.all -> true layers.acceleration.force-enabled -> true media.ffmpeg.vaapi.enabled -> true media.ffvpx.enabled -> false media.navigator.mediadatadecoder_vpx_enabled -> true media.rdd-ffmpeg.enabled ->true media.rdd-vpx.enabled -> false

After changing all of these options in about:config I am still getting no hardware acceleration even on h264 encoded videos. My card should support VP9 as well. I tried hw accelerating video in VLC and it worked so it is likely a Firefox issue.

My driver version is the Mesa Gallium driver ver. 21.2.2.2. As a window manager I am using Wayland.

HW: AMD 5500U with integrated graphics and a dedicated Radeon 640 (laptop model is Acer Aspire 5 A515-45G-R5MD)

I am running Firefox version 95.0.1 (from apt) on Ubuntu 21.10. I took the following steps to enable hardware acceleration for Firefox: gfx.webrender.all -> true layers.acceleration.force-enabled -> true media.ffmpeg.vaapi.enabled -> true media.ffvpx.enabled -> false media.navigator.mediadatadecoder_vpx_enabled -> true media.rdd-ffmpeg.enabled ->true media.rdd-vpx.enabled -> false After changing all of these options in about:config I am still getting no hardware acceleration even on h264 encoded videos. My card should support VP9 as well. I tried hw accelerating video in VLC and it worked so it is likely a Firefox issue. My driver version is the Mesa Gallium driver ver. 21.2.2.2. As a window manager I am using Wayland. HW: AMD 5500U with integrated graphics and a dedicated Radeon 640 (laptop model is Acer Aspire 5 A515-45G-R5MD)