Ubuntu's Chromium Snap Finally Seeing Progress On Supporting VA-API GPU Acceleration

Going back to February 2019 has been this bug report around the Chromium Snap lacking video hardware decoding support with VA-API. The Video Acceleration API is used by the Intel open-source drivers and other Mesa Gallium3D drivers with the VA state tracker like AMD Radeon cards with RadeonSI.
After three years it looks like that bug may soon be closed thanks to Chromium Snap updates in the past few days working to get the VA-API support enabled. Nathan Teodosio and Sebastien Bacher have been among the Ubuntu developers recently working on sorting out the VA-API support for Chromiun within Snap's confines.
The most recent comments on the aforementioned bug report note some of the builds seem to be failing and there is the possibility of needing some environment variables and Chromium flags (e.g. LIBVA_DRIVERS_PATH=/snap/chromium/current/usr/lib/x86_64-linux-gnu/dri/ --use-gl=egl --enable-features=VaapiVideoDecoder,VaapiVideoEncoder --disable-features=UseChromeOSDirectVideoDecoder --ignore-gpu-blocklist --disable-gpu-driver-bug-workaround), but they appear to be on track to having it sorted out. Those interested in trying out the latest Chromium Snap with hardware acceleration support can see this Launchpad page.
25 Comments