Suggestion: enable hardware video decode (VAAPI) flags for Brave/Chromium by default #8342
ayushdecoded
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Problem
On Omarchy 4.0.1, Brave ships without any hardware video acceleration flags (
~/.config/brave-flags.confhas noVaapiVideoDecodeLinuxGL). On a laptop with an Intel/AMD iGPU, YouTube and other VP9/AV1 video decodes entirely in software — a single paused-but-open YouTube tab was pinning ~100-130% CPU (8 CodecWorker threads) on my machine.Suggestion
Ship these two lines in the default
~/.config/brave-flags.conf:These are safe no-ops on systems where VAAPI is unavailable, and give a large battery/performance win where it works (YouTube CPU drops to ~15-30%).
Caveat for NVIDIA-only systems
NVIDIA does not support VAAPI natively; users would need
nvidia-vaapi-driverfrom the AUR. So this helps iGPU/hybrid laptops most, which are probably common in the Omarchy audience. Worth documenting either way — even a wiki note about enabling hw video decode would help.Happy to test a PR if there is interest.
All reactions