I remember I had this issue a bit on the arch package, but I don’t remember exactly what I did to fix it.
One thing you could try is setting gpu-context=x11egl in ~/snap/plex-htpc/common/mpv.conf (you have to create the file and add the line) and see if that makes any difference maybe?
On another note I managed to fix my HW acceleration issues I previously had when trying to reproduce this (ref: Testing Linux EGL - #8 by LudvigH)
When running on XWayland intel only, I noticed this error:
And setting LIBVA_DRIVER_NAME=iHD manually seems to fix it and libva correctly loads the driver. I now get the desired output (Hardware decoding: vaapi (vaapi-egl)).
So it seems there are some issues with auto-detecting the graphics device and selecting the correct driver.
For reference. My complete env to get this working is: DISABLE_WAYLAND=1 QT_XCB_GL_INTEGRATION=xcb_egl LIBVA_DRIVER_NAME=iHD snap run plex-htpc
Snaps likely work the best on Ubuntu (since that’s the target for compilation). I wonder if you could test this in a Live disk so you don’t have to install anything and effectively test the hardware with this distro.
Is there an ETA for the inclusion of the radeonsi_drv_video.so lib? (or is it something the devs are looking into?) As far as I can tell the new (Plex HTPC V1.12) snap does not ship the lib and therefore no AMD hwdec.
What GPU are you using?
NVIDIA GP107 [GeForce GTX 1050 Ti]
Which drivers (particularly those with Nvidia GPUs and whether they are the proprietary or OSS drivers)?
proprietary 470.103.01
When you launched with the environment variable set, did the UI display and work?
No
Did playback work (both cases)?
regular launch worked, using env. variables yielded black screen.
Did you get the expected values for the hardware decoding?
in the first case I expected it, but got Hardware Decoding: no (?) -in the second case, black screen with no debug overlay