Hi,
I’m trying to enable hardware-accelerated H.264 decoding (UVD) using VA-API on a ThinLinc setup, but so far, VA-API fails to initialize, and decoding falls back to software (llvmpipe). I’m not sure what’s causing the issue and would appreciate help diagnosing it.
Environment:
- ThinLinc client: 4.19.0-4005
- ThinLinc server: 4.19.0-4116
- OS: Linux Mint 21.3 (based on Ubuntu 22.04, kernel 5.15)
- GPU: AMD GX-415GA SOC with Radeon HD Graphics
- User is in
video
andrender
groups - VA-API version: 1.14.0
- /dev/dri/ contains card0 and renderD128
Symptoms:
vainfo
output:
libva info: VA-API version 1.14.0
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
vaInitialize failed with error code -1 (unknown libva error)
glxinfo
shows software rendering:
OpenGL renderer string: llvmpipe (LLVM 15.0.7, 256 bits)
dmesg
confirms amdgpu loads and UVD is initialized:
[drm] add ip block number 7 <uvd_v4_2>
...
[drm] Found UVD firmware Version: 1.64 Family ID: 9
[drm] UVD initialized successfully.
What I’ve checked so far:
- amdgpu module is loaded
- User has access to /dev/dri/* devices
- DRM and firmware initialization succeeds
- Tried running
vainfo
from both the ThinLinc session and a regular X session (same result)
Questions:
- Does ThinLinc do anything special with VA-API or GPU access that might interfere?
- Is there a known issue with VA-API and amdgpu on Kabini APUs in ThinLinc environments?
- Should I manually set
LIBVA_DRIVER_NAME=radeonsi
? If so, where should this be exported in a ThinLinc session?
Thanks in advance for any hints or suggestions!
—
Krzysztof