# No hardware decoding on Plex-htpc linux with AMDGPU

**URL:** <https://forums.plex.tv/t/no-hardware-decoding-on-plex-htpc-linux-with-amdgpu/797250>\
**Category:** Plex Players\
**Tags:** plex-htpc\
**Created:** [June 16, 2022, 2:44am UTC](https://forums.plex.tv/t/no-hardware-decoding-on-plex-htpc-linux-with-amdgpu/797250 "2022-06-16T02:44:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jamer007](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/jamer007/32/110085_2.png) [@jamer007](https://forums.plex.tv/u/jamer007)\
**Post date:** [June 16, 2022, 2:44am UTC](https://forums.plex.tv/t/no-hardware-decoding-on-plex-htpc-linux-with-amdgpu/797250/1 "2022-06-16T02:44:57Z")

</div>

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](https://global.discourse-cdn.com/plex/original/4X/2/b/3/2b3f51993f36bf8f02b35f78948dfa4c53fcf2af.png)

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

---

<div class="post-metadata">

**Author:** ![Mitzsch](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/mitzsch/32/308163_2.png) [@Mitzsch](https://forums.plex.tv/u/Mitzsch)\
**Post date:** [June 16, 2022, 10:19am UTC](https://forums.plex.tv/t/no-hardware-decoding-on-plex-htpc-linux-with-amdgpu/797250/2 "2022-06-16T10:19:33Z")

</div>

> [@jamer007](#):
>
> Am i alone in this situation,

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.

---

<div class="post-metadata">

**Author:** ![jamer007](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/jamer007/32/110085_2.png) [@jamer007](https://forums.plex.tv/u/jamer007)\
**Post date:** [June 17, 2022, 4:26am UTC](https://forums.plex.tv/t/no-hardware-decoding-on-plex-htpc-linux-with-amdgpu/797250/3 "2022-06-17T04:26:08Z")

</div>

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 😕  
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.

---

<div class="post-metadata">

**Author:** ![Mitzsch](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/mitzsch/32/308163_2.png) [@Mitzsch](https://forums.plex.tv/u/Mitzsch)\
**Post date:** [July 16, 2022, 7:51am UTC](https://forums.plex.tv/t/no-hardware-decoding-on-plex-htpc-linux-with-amdgpu/797250/4 "2022-07-16T07:51:48Z")

</div>

**#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`.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [October 14, 2022, 7:52am UTC](https://forums.plex.tv/t/no-hardware-decoding-on-plex-htpc-linux-with-amdgpu/797250/5 "2022-10-14T07:52:36Z")

</div>

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