Firefox and GPU acceleration

Hello,

I’m running the latest Firefox pkg on FreeBSD 14.4-RELEASE and I was wondering about GPU acceleration. I’m using an AMD Ryzen 7 7840U CPU with Radeon 780M Graphics. X11 and XFCE4 as desktop GUI.

Here is a part of Firefox’s about:support output (plaintext):
Code:
Application Basics
------------------

Name: Firefox
Version: 151.0.4
Build ID: 20260609025742
Distribution ID:
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:151.0) Gecko/20100101 Firefox/151.0
OS: FreeBSD 14.4-RELEASE-p6 FreeBSD 14.4-RELEASE-p6 GENERIC
OS Theme: Greybird / Greybird
Multiprocess Windows: 4/4
Fission Windows: 4/4 Enabled by default
Remote Processes: 11
Enterprise Policies: Inactive
Google Location Service Key: Found
Google Safebrowsing Key: Found
Mozilla Location Service Key: Missing
Safe Mode: false
Memory Size (RAM): 31.2 GB
Disk Space Available: 77.2 GB

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

bug-1762636-rollout-disable-webassembly-code-caching-release-98-99: active
rollout-increasing-normandy-skew-out-changes-from-15-m-release-73-75-bug-1616898: active
rollout-monitor-v2-1505837: active

Graphics
--------

Features
Window Device Pixel Ratios: 1,1,1,1
Compositing: WebRender
Font Visibility Debug Info: Unknown Platform
Asynchronous Pan/Zoom: wheel input enabled; scrollbar drag enabled; keyboard enabled; autoscroll enabled; smooth pinch-zoom enabled
../..
WebGL 1 Driver Renderer: AMD -- AMD Radeon 780M Graphics (radeonsi, gfx1103_r1, LLVM 19.1.7, DRM 3.49, 14.4-RELEASE-p6)
WebGL 1 Driver Version: 4.6 (Compatibility Profile) Mesa 24.1.7
../..
WebGL 2 Driver Renderer: AMD -- AMD Radeon 780M Graphics (radeonsi, gfx1103_r1, LLVM 19.1.7, DRM 3.49, 14.4-RELEASE-p6)
WebGL 2 Driver Version: 4.6 (Core Profile) Mesa 24.1.7
../..
Window Protocol: x11
Desktop Environment: xfce
Target Frame Rate: 60
WebGPU Default Adapter: { "navigator.gpu": null }
WebGPU Fallback Adapter: { "navigator.gpu": null }
GPU #1
Active: Yes
Description: AMD Radeon 780M Graphics (radeonsi, gfx1103_r1, LLVM 19.1.7, DRM 3.49, 14.4-RELEASE-p6)
Vendor ID: 0x1002
Device ID: 0x15bf
Driver Vendor: mesa/radeonsi
Driver Version: 24.1.7.0
RAM: 0
Diagnostics
AzureCanvasBackend: skia
AzureContentBackend: skia
AzureFallbackCanvasBackend: skia
CMSOutputProfile: Empty profile data
Display0: 2560x2880@60Hz scales:1.000000|1.000000 SDR
DisplayCount: 1
Font Visibility Debug Info: Unknown Platform
Decision Log
HW_COMPOSITING:
default: available,
user: force_enabled, Force-enabled by pref,
OPENGL_COMPOSITING:
default: available,
user: force_enabled, Force-enabled by pref,
WEBRENDER:
default: available,
WEBRENDER_COMPOSITOR:
default: disabled, Disabled by default, Blocklisted; failure code FEATURE_FAILURE_DISABLED
env: blocklisted, Blocklisted by gfxInfo, Blocklisted; failure code FEATURE_FAILURE_WEBRENDER_COMPOSITOR_DISABLED
WEBRENDER_PARTIAL:
default: available,
WEBRENDER_SHADER_CACHE:
default: disabled, Disabled by default, Blocklisted; failure code FEATURE_FAILURE_DISABLED
WEBRENDER_OPTIMIZED_SHADERS:
default: available,
WEBRENDER_ANGLE:
default: available,
env: unavailable, OS not supported, Blocklisted; failure code FEATURE_FAILURE_OS_NOT_SUPPORTED
WEBRENDER_DCOMP_PRESENT:
default: available,
user: disabled, User disabled via pref, Blocklisted; failure code FEATURE_FAILURE_DCOMP_PREF_DISABLED
env: unavailable, Requires GPU process, Blocklisted; failure code FEATURE_FAILURE_NO_GPU_PROCESS
runtime: unavailable, Requires ANGLE, Blocklisted; failure code FEATURE_FAILURE_DCOMP_NOT_ANGLE
WEBRENDER_SCISSORED_CACHE_CLEARS:
default: available,
WEBGPU:
default: available,
env: blocklisted, #BLOCKLIST_FEATURE_FAILURE_WEBGPU_MESA_BUG_1979007, Blocklisted due to known issues: bug 1979007
X11_EGL:
default: available,
DMABUF:
default: available,
HARDWARE_VIDEO_DECODING:
default: available,
user: force_enabled, Force enabled by pref,
env: blocklisted, Blocklisted by gfxInfo, Blocklisted; failure code FEATURE_FAILURE_VIDEO_DECODING_TEST_FAILED
runtime: unavailable, Force disabled by gfxInfo, Blocklisted; failure code FEATURE_FAILURE_VIDEO_DECODING_TEST_FAILED
HARDWARE_VIDEO_ENCODING:
default: available,
DMABUF_SURFACE_EXPORT:
default: available,
env: blocked, Blocklisted by gfxInfo, Blocklisted; failure code FEATURE_FAILURE_BROKEN_DRIVER
BACKDROP_FILTER:
default: available,
CANVAS_RENDERER_THREAD:
default: available,
ACCELERATED_CANVAS2D:
default: disabled, Disabled by default, Blocklisted; failure code FEATURE_FAILURE_DISABLED
DMABUF_WEBGL:
default: available,
VP8_HW_ENCODE:
default: available,
env: blocklisted, #BLOCKLIST_FEATURE_FAILURE_VIDEO_ENCODING_MISSING, Blocklisted; failure code FEATURE_FAILURE_VIDEO_ENCODING_MISSING
VP9_HW_ENCODE:
default: available,
env: blocklisted, #BLOCKLIST_FEATURE_FAILURE_VIDEO_ENCODING_MISSING, Blocklisted; failure code FEATURE_FAILURE_VIDEO_ENCODING_MISSING
H264_HW_ENCODE:
default: available,
env: blocklisted, #BLOCKLIST_FEATURE_FAILURE_VIDEO_ENCODING_MISSING, Blocklisted; failure code FEATURE_FAILURE_VIDEO_ENCODING_MISSING
AV1_HW_ENCODE:
default: available,
env: blocklisted, #BLOCKLIST_FEATURE_FAILURE_VIDEO_ENCODING_MISSING, Blocklisted; failure code FEATURE_FAILURE_VIDEO_ENCODING_MISSING
HEVC_HW_ENCODE:
default: available,
env: blocklisted, #BLOCKLIST_FEATURE_FAILURE_VIDEO_ENCODING_MISSING, Blocklisted; failure code FEATURE_FAILURE_VIDEO_ENCODING_MISSING
GL_NORM16_TEXTURES:
default: available,
WEBGPU_EXTERNAL_TEXTURE:
default: disabled, Disabled by default, Blocklisted; failure code FEATURE_FAILURE_DISABLED
runtime: blocked, WebGPU external textures are not supported on this Operating Sy, Blocklisted; failure code WEBGPU_EXTERNAL_TEXTURE_UNSUPPORTED_OS
MESA_THREADING:
default: available,
env: failed, No glthread with EGL and X11, Blocklisted; failure code FEATURE_FAILURE_EGL_X11
WEBGL:
default: available,
VIDEO_HDR:
default: available,
env: blocklisted, Blocklisted by gfxInfo, Blocklisted; failure code FEATURE_FAILURE_VIDEO_DECODING_TEST_FAILED

Especially I read «HARDWARE_VIDEO_DECODING: ../.. runtime: unavailable» that makes me think, may be, GPU offloading is not available. Nevertheless, reading a 4K youtube video looks OK, with CPU averaging around 8%.

Any idea / pointers / explanations greatly appreciated!
 
Hi,
HARDWARE_VIDEO_DECODING is stating the same thing for me in 151.0.4 (French), so does Librewolf 151.0.3-1 :
Code:
default    available       
env    blocklisted    Blocklisted by gfxInfo    Mis sur liste de blocage ; code d’erreur FEATURE_FAILURE_VIDEO_DECODING_TEST_FAILED
runtime    unavailable    Force disabled by gfxInfo    Mis sur liste de blocage ; code d’erreur FEATURE_FAILURE_VIDEO_DECODING_TEST_FAILED

Firefox does not seem to be more or less ressource hungry than before, but strangely heating when using my Dolibarr instance (which did not heappen before).
 
Back
Top