The officially official Devuan Forum!

You are not logged in.

#1 2025-04-13 12:09:44

mirrortokyo
Member
Registered: 2021-04-08
Posts: 70  

mesa and VA-API hardware acceleration

I'm not sure if it has been my hardware "AMD Ryzen 5 5500GT with Radeon Graphics" being less tested than discrete AMD GPU's, but I had quite a lot of video lock-ups after Firefox enabled VA-API hardware decoding by default.

Just to be sure, I also tested using:

mpv --vo=gpu --hwdec=vaapi

I searched: https://gitlab.freedesktop.org/mesa/mesa/-/issues

and filed my findings under the report:

https://gitlab.freedesktop.org/mesa/mesa/-/issues/12528 "HW accelerated video playback causes VCN timeout"

After several days of building mesa-git and the Linus git head kernel, I appear to have working VA-API acceleration under mpv and Firefox.

The anti-climax was that no obvious commit appeared to fix the issue, just ongoing code clean-ups.

Offline

#2 2025-04-13 17:52:26

delgado
Member
Registered: 2022-07-14
Posts: 236  

Re: mesa and VA-API hardware acceleration

Hi,
VA-API is - as far as I know- hardware acceleration using Intel-Graphics.
There is a warper for nvidia GPUs for VA-API calls (nvidia-vaapi-driver).
No idea how or whether this is possible with Radeon graphics.

Offline

#3 2025-04-14 01:04:35

mirrortokyo
Member
Registered: 2021-04-08
Posts: 70  

Re: mesa and VA-API hardware acceleration

VAAPI hardware decoding is available on R600 and above Radeon gpu's according to https://www.x.org/wiki/RadeonFeature/
VAAPI hardware encoding is available on a more limited set of Radeon gpu's according to the same web page.

Offline

Board footer