No hardware decoding on Plex-htpc linux with AMDGPU

Server Version#: 1.26.2.5797
Player Version#: 1.19.1.3076

Hi i’m running Plex-htpc on linux (linux mint), as CPU/iGPU i have an AMD ryzen 5600G, and i’m using the embedded GPU of the CPU (Vega 7 with AMDGPU mesa driver).
With mpv with config hwdec=auto and vo=vaapi i’m able to hardware decode HEVC videos, but in Plex-htpc even by tweaking the mpv.conf file in my snap folder with the same value as the “regular” mpv, my videos are not hardware decoded.
plex-htpc-amdgpu

Am i alone in this situation, does someone already solved this issue?
Thanks

No, you are not alone. The issue you see is due to the radeonsi_drv_video.so lib missing from the snap image, which is needed for AMD vaapi HW decoding. Hopefully, the lib can be included in a future update.

Thanks Mitzsch,
I tried stupidly to paste my radeonsi_drv_video.so in the snap folder /snap/plex-htpc/current@/lib/dri/ but i figured out this path is in read-only for security reason.
I tried also to start plex-htpc with LIBVA_DRIVERS_PATH=/opt/amdgpu/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so but without any effect :confused:
Can a plex staff, confirm that they are aware of our issue with the radeon driver on linux, searching in the forum i was able to see that this issue was reported in February.
Please.

#Update
The latest version of today (1.21.1) includes the missing library for hardware decoding with AMD hardware.

Hardware decoding flavors:

Without anything set, Plex HTPC defaults to vaapi-copy. This is a less efficient way of doing hardware decoding.

To get the more efficient vaapi (vaapi-egl) (non-copy) run QT_XCB_GL_INTEGRATION=xcb_egl snap run plex-htpc.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.