Repository navigation
Enable VA-API hardware acceleration in default Chromium flags #6251
Replies: 2 comments
|
If this is every taken into Omarchy, and you're on Nvidia be aware this may use more energy. If still inclined to do so, add |
|
Some measured findings from an X1 Carbon Gen 13 (Lunar Lake, Arc 140V) — same machine as the original report. Two things have changed since this was filed that affect the proposed flags. 1. 2. The decode flag is now redundant. Chromium 151 enables hardware video decode by default. With a completely stock config (zero VA-API flags) I get: So 3. What the encode flag actually buys on Lunar Lake. Adding
Only AV1 crosses over. The reason is the hardware: probing VA-API encode entrypoints directly on this GPU, Lunar Lake's media engine dropped VP8/VP9 encode (decode is retained). Since most WebRTC still negotiates VP8/VP9, the flag only helps when a call actually uses AV1. Worth noting H.264 has a working VA-API entrypoint but Chromium still reports it as not power-efficient, so it isn't wired up on this platform either. 4. Magnitude, where it does apply. ffmpeg, 720p30, 300 frames, CPU time: Caveat: that's a synthetic Suggestion: given ad2ae30, and the NVIDIA power-draw caveat raised above, a blanket default still looks like the wrong shape. But One practical gotcha for anyone adding it by hand: Chromium honours only the last Environment: Chromium 151.0.7922.173, kernel 7.1.8-arch1-3 ( |
Uh oh!
There was an error while loading. Please reload this page.
Problem
Omarchy's default
chromium-flags.confdoesn't include VA-API flags, so hardware video decode/encode falls back to software rendering on Intel GPUs. This causes unnecessary CPU load, high temperatures, and fan noise — especially during video calls (Teams, Meet) and video streaming.On a ThinkPad X1 Carbon Gen 13 (Lunar Lake), a simple Teams meeting pushes the CPU to 80°C with fans at ~7000 RPM. The Intel iHD driver fully supports VA-API (H264, HEVC, VP9, AV1), but Chromium doesn't use it without explicit flags.
Proposed change
Add these flags to the default
chromium-flags.conf:This would also benefit the Electron flag files (
electron-flags.conf, etc.) since Electron apps like Teams and Spotify have the same issue.Why it's not enabled by default
Chromium disables hardware acceleration on Linux by default due to driver compatibility concerns across the wide variety of GPU drivers. Since Omarchy targets a known setup (Arch + Intel/AMD), it should be safe to enable by default.
Verification
After adding the flags, hardware acceleration can be verified in Chromium at
chrome://gpu— look for "Video Decode: Hardware accelerated" and "Video Encode: Hardware accelerated".All reactions