Enable VP9 Hardware Acceleration in Chromium on Linux (Intel GPU)
If you're using Chromium on Linux with an Intel integrated GPU and noticing high CPU usage during YouTube playback, you're probably missing hardware video acceleration. Here's how to fix it.
Requirements
- Intel GPU (Broadwell or newer for VP9 support)
- Arch Linux (or similar distro)
- Wayland session
Step 1: Install Intel Media Driver
sudo pacman -S intel-media-driver libva-utils
Verify VAAPI is working:
vainfo
You should see VP9 profiles listed:
VAProfileVP9Profile0 : VAEntrypointVLD
VAProfileVP9Profile2 : VAEntrypointVLD
Step 2: Configure Chromium Flags
Edit ~/.config/chromium-flags.conf:
--ozone-platform=wayland
--enable-features=VaapiVideoDecoder,VaapiVideoEncoder
--ignore-gpu-blocklist
--enable-zero-copy
--enable-gpu-rasterization
Important: Do NOT add --use-gl or --use-angle flags. Let Chromium auto-select