Video streaming and conferencing in browsers often strain system resources on Linux, especially when hardware acceleration is not active. Hardware acceleration offloads video decoding tasks from the CPU to the GPU, resulting in smoother playback, lower power consumption, and quieter system fans. Activating this feature requires browser-specific settings and, in some cases, additional drivers or flags, depending on your hardware.
Enable Hardware Acceleration in Firefox
about:config in the address bar. This page provides access to advanced browser settings.media.ffmpeg.vaapi.enabled. Set this preference to true to allow Firefox to use VA-API (Video Acceleration API) for hardware video decoding. VA-API is the standard interface for GPU video decoding on Linux.gfx.webrender.all to true. This enables WebRender, which uses GPU for page rendering. Note that in recent releases, WebRender is enabled by default.about:support and check the HARDWARE_VIDEO_DECODING entry.NVD_BACKEND=direct MOZ_DISABLE_RDD_SANDBOX=1 when launching Firefox. Set media.ffmpeg.vaapi.enabled to true in about:config. Restart Firefox to activate hardware decoding with NVIDIA GPUs.intel_gpu_top (for Intel) or radeontop (for AMD) can show GPU video engine activity during playback.Join readers who trust AllThings.How
Add us as a preferred source on Google so our practical guides show up first next time you search.
Add to Google Preferences →Enable Hardware Acceleration in Chromium-Based Browsers
--use-gl=desktop --enable-accelerated-video-decode --enable-accelerated-video-encode --enable-features=VaapiVideoDecoder --disable-features=UseChromeOSDirectVideoDecoder
For NVIDIA GPUs, add --ignore-gpu-blocklist --enable-zero-copy to the launch flags.
$HOME/.config/chrome-flags.conf. For Chromium, use ~/.config/chromium-flags.conf. Each flag should be on a separate line. Example:--use-gl=desktop
--enable-features=VaapiVideoDecoder
--ignore-gpu-blocklist
--enable-zero-copy
--enable-gpu-rasterization
--canvas-oop-rasterization
chrome://gpu and check the Video Decode status. It should read “Hardware accelerated.”sudo apt install ubuntu-restricted-extras to add proprietary codecs.VaapiVideoDecoder: failed Initialize()ing the frame pool in logs or chrome://media-internals, try updating your graphics drivers or switching to a different browser version.Enable Hardware Acceleration in Epiphany/Gnome Web
gstreamer-vaapi. For NVIDIA, install gst-plugins-bad and nvidia-utils.gsettings set org.gnome.Epiphany.web:/ hardware-acceleration-policy 'always'
Alternative Approach: Using External Video Players
When browser-based hardware acceleration is unreliable, consider opening videos in external players like MPV or VLC, which have robust hardware decoding support on Linux. Extensions such as Open in VLC or ff2mpv for Firefox, and Play with MPV for Chromium, allow you to send video links directly to these players. This method delivers accurate colors and the lowest CPU usage, but may not work with DRM-protected content or custom web players.
Activating hardware acceleration in Linux browsers streamlines video playback, lowers CPU usage, and extends battery life. Testing different settings and browser versions helps pinpoint the best configuration for your hardware and distribution.






