jefflessard / plex-vaapi-amdgpu-mod

linuxserver.io mod to enable hardware acceleration using vaapi amdgpu on linuxserver/plex
40 stars 5 forks source link

Won't work in Unraid #2

Open dabanhfreak opened 1 year ago

dabanhfreak commented 1 year ago

Hi, I don't know if this is meant to work in Unraid, but can't seem to get it done.

I've done exactly as suggested, using the Jellyfin amdgpu mod as a reference.

No matter what I do, when I try to transcode a HEVC file to x264, it simply fails.

Running the docker exec code in the terminal shows that vaapi is working correctly.

maxiwolleb commented 11 months ago

+1 same for me Aug 01, 2023 15:40:27.674 [22716428692280] Error — [Req#90d/Transcode/7t3er4jprcubwiov8w13ma9n/6eb8141a-7a7f-4fa6-bcbb-28fd6fc51bf1] [AVHWDeviceContext @ 0x14688cba40c0] libva: /config/Library/Application Support/Plex Media Server/Cache/va-dri-linux-x86_64/radeonsi_drv_video.so has no function __vaDriverInit_1_0 Aug 01, 2023 15:40:27.675 [22716354665272] Error — [Req#92c/Transcode/7t3er4jprcubwiov8w13ma9n/6eb8141a-7a7f-4fa6-bcbb-28fd6fc51bf1] [AVHWDeviceContext @ 0x14688cba40c0] Failed to initialise VAAPI connection: -1 (unknown libva error). Aug 01, 2023 15:40:27.675 [22716378790712] Error — [Req#92e/Transcode/7t3er4jprcubwiov8w13ma9n/6eb8141a-7a7f-4fa6-bcbb-28fd6fc51bf1] Device creation failed: -5. Aug 01, 2023 15:40:27.676 [22716352555832] Error — [Req#933/Transcode/7t3er4jprcubwiov8w13ma9n/6eb8141a-7a7f-4fa6-bcbb-28fd6fc51bf1] Failed to set value 'vaapi=vaapi:' for option 'init_hw_device': Error number -5 occurred Aug 01, 2023 15:40:27.676 [22716383009592] Error — [Req#935/Transcode/7t3er4jprcubwiov8w13ma9n/6eb8141a-7a7f-4fa6-bcbb-28fd6fc51bf1] Error parsing global options: Error number -5 occurred