AMD GPU available but not used

Server Version#: 1.32.5.7328
Player Version#: any

I’m trying to use my AMD GPU (5700xt/Navi10) to transcode. It shows up fine in the settings but it doesn’t get used. I think this shows the error:

docker exec -it Plex /lib/plexmediaserver/Plex\ Transcoder -hide_banner -loglevel debug -vaapi_device /dev/dri/renderD128
Splitting the commandline.
Reading option '-hide_banner' ... matched as option 'hide_banner' (do not show program banner) with argument '1'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
Reading option '-vaapi_device' ... matched as option 'vaapi_device' (set VAAPI hardware device (DRM path or X11 display name)) with argument '/dev/dri/renderD128'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option hide_banner (do not show program banner) with argument 1.
Applying option loglevel (set logging level) with argument debug.
Applying option vaapi_device (set VAAPI hardware device (DRM path or X11 display name)) with argument /dev/dri/renderD128.
[AVHWDeviceContext @ 0x14d3644cedc0] libva: VA-API version 1.18.0
[AVHWDeviceContext @ 0x14d3644cedc0] libva: Trying to open /data/jenkins/conan_build/1112346209/conan/.conan/data/libva/2.18.0-1/plex/stable/build/f0f4893209b867ce448a96e25ef4d6b158311557/install/lib/dri/radeonsi_drv_video.so
[AVHWDeviceContext @ 0x14d3644cedc0] libva: va_openDriver() returns -1
[AVHWDeviceContext @ 0x14d3644cedc0] Failed to initialise VAAPI connection: -1 (unknown libva error).
Device creation failed: -5.
Failed to set value '/dev/dri/renderD128' for option 'vaapi_device': I/O error
Error parsing global options: I/O error


Jul 23, 2023 00:25:19.628 [22721864780600] DEBUG - [Req#a22/Transcode] MDE: Dr.Horribles.Sing.Along.Blog.2008.1080p.BluRay.x265-RARBG (2008): no remuxable profile found, so video stream will be transcoded
Jul 23, 2023 00:25:19.629 [22721864780600] DEBUG - [Req#a22/Transcode] MDE: Cannot direct stream video stream due to profile or setting limitations
Jul 23, 2023 00:25:19.630 [22721864780600] DEBUG - [Req#a22/Transcode] Codecs: testing hevc (decoder) with hwdevice vaapi
Jul 23, 2023 00:25:19.632 [22721864780600] DEBUG - [Req#a22/Transcode] Codecs: hardware transcoding: testing API vaapi for device '/dev/dri/renderD128' (Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT])
Jul 23, 2023 00:25:19.633 [22721864780600] ERROR - [Req#a22/Transcode] [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error).
Jul 23, 2023 00:25:19.633 [22721864780600] DEBUG - [Req#a22/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: I/O error
Jul 23, 2023 00:25:19.633 [22721864780600] DEBUG - [Req#a22/Transcode] Could not create hardware context for hevc
Jul 23, 2023 00:25:19.633 [22721864780600] DEBUG - [Req#a22/Transcode] Scaled up video bitrate to 9000Kbps based on 4.500000x fudge factor.
Jul 23, 2023 00:25:19.633 [22721864780600] DEBUG - [Req#a22/Transcode] Scaled maximum bitrate for resolution reduction to 1262Kbps.
Jul 23, 2023 00:25:19.633 [22721864780600] DEBUG - [Req#a22/Transcode] MDE: Dr.Horribles.Sing.Along.Blog.2008.1080p.BluRay.x265-RARBG (2008): Audio Direct Streaming is disabled, so video's audio stream will be transcoded

Try 8-bit HEVC and 8-bit H.264 and see what happens.

Also, you do not show the setting for HDR tone mapping. If enabled, try disabling it.

The release notes say AMD is supported for SDR only. That may exclude 10-bit HEVC, even if it is not HDR.

None of that worked

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