Plex HW transcoding not functioning in podman/docker container

Server Version#: 1.40.5.8854
Player Version#:AppleTV v8.38.1

I have my server set up to use podman with a quadlet startup file with proper user/group permissions set on the hardware device and the container itself:

[System Settings]

(14:26:13) [root@cubist ~]# getent passwd | grep -i plex
plex:x:6001:6000:Daemon Account:/opt/containers/plex:/bin/bash

(14:33:44) [root@cubist ~]# getent group | grep -i plex
render:x:998:plex

(14:33:59) [root@cubist ~]# ls -l /dev/dri
total 0
drwxr-xr-x. 2 root root         80 Aug  3 17:35 by-path
crw-rw----. 1 root video  226,   0 Aug  3 17:35 card0
crw-rw-rw-. 1 root render 226, 128 Aug  3 17:35 renderD128

[Container Settings]

(14:39:10) [root@cubist ~]# podman exec -it plexmedia getent passwd | grep plex
plex:x:6001:6000::/config:/bin/false

(14:39:23) [root@cubist ~]# podman exec -it plexmedia getent group | grep plex
irc:x:39:plex
users:x:100:plex
plex:x:6000:
video1:x:998:plex

(14:39:25) [root@cubist ~]# podman exec -it plexmedia ls -l /dev/dri
total 0
drwxr-xr-x. 2 root root         80 Aug  3 17:35 by-path
crw-rw----. 1 root irc    226,   0 Aug  3 17:35 card0
crw-rw-rw-. 1 root video1 226, 128 Aug  3 17:35 renderD128

(14:12:46) [root@cubist ~]# cat /etc/containers/systemd/plex.container 
[Unit]
Description=Plex Media Server
Wants=systemd-networkd-wait-online@enp1s0.service
Requires=systemd-networkd-wait-online@enp1s0.service
After=systemd-networkd-wait-online@enp1s0.service
StartLimitIntervalSec=60
StartLimitBurst=3

[Container]
ContainerName=plexmedia
Environment=TZ=America/New_York PLEX_CLAIM=claim-### PLEX_UID=6001 PLEX_GID=6000
Image=docker.io/plexinc/pms-docker:plexpass
Network=plex.network
PublishPort=32400:32400
Tmpfs=/transcode
Volume=/opt/containers/plex/plexmediaserver:/config:Z
Volume=/opt/media:/data
Volume=/opt/media:/media
Volume=/dev/dri:/dev/dri
AutoUpdate=registry
Label=app=plex

[Service]
Restart=on-failure
RestartSec=30

(14:12:47) [root@cubist ~]# cat /etc/containers/systemd/plex.network 
[Unit]
Description=Plex Container Network

[Network]
GlobalArgs=--log-level=debug
IPv6=true
Label=app=plex

So from a permissions perspective everything is set up correctly and there are no SELinux violations occuring. Everything starts normally and it even identifies the HD Graphics 530 (Skylake) Intel CPU w/QuickSync.

Aug 19, 2024 13:59:43.700 [140583452551992] INFO - Plex Media Server v1.40.5.8854-f36c552fd - Docker Docker Container x86_64 - build: linux-x86_64 debian - GMT -04:00
Aug 19, 2024 13:59:43.700 [140583452551992] INFO - Linux version: 6.8.10-200.fc39.x86_64, language: en-US
Aug 19, 2024 13:59:43.700 [140583452551992] INFO - Processor: 8-core Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
Aug 19, 2024 13:59:43.700 [140583452551992] INFO - Compiler is - Clang 11.0.1 (https://plex.tv 9b997da8e5b47bdb4a9425b3a3b290be393b4b1f)
Aug 19, 2024 13:59:43.700 [140583452551992] INFO - /usr/lib/plexmediaserver/Plex Media Server
Aug 19, 2024 13:59:43.748 [140583457163920] INFO - [CERT/OCSP] Successfully retrieved response from cache.
Aug 19, 2024 13:59:43.748 [140583457163920] INFO - Running migrations. (EPG 0)
Aug 19, 2024 13:59:43.892 [140583457163920] INFO - Running migrations. (EPG 0)
**Aug 19, 2024 13:59:43.896 [140583444163384] INFO - Preemptively preparing driver ivd for GPU HD Graphics 530**
**Aug 19, 2024 13:59:43.896 [140583444163384] INFO - Preemptively preparing driver icr for GPU HD Graphics 530**
Aug 19, 2024 13:59:45.013 [140583358180152] INFO - SQLITE3:0x80000001, 283, recovered 957 frames from WAL file /config/Library/Application Support/Plex Media Server/Plug-in Support/Databases/tv.plex.providers.epg.cloud-2403b59e-0aa6-476b-a3c1-a253180f7210.db-wal
Aug 19, 2024 13:59:45.031 [140583358180152] INFO - Running migrations. (EPG 1)
Aug 19, 2024 13:59:45.051 [140583324625720] INFO - Refreshing paths watched by LibraryUpdateManager
Aug 19, 2024 13:59:45.775 [140583439969080] WARN - [EventSourceClient/pubsub/172.104.216.125:443] MyPlex: attempted a reachability check but we're not yet mapped.
Aug 19, 2024 13:59:46.073 [140583236545336] WARN - [Req#30] MyPlex: attempted a reachability check but we're not yet mapped.
Aug 19, 2024 13:59:46.082 [140583232351032] WARN - [Req#31] MyPlex: attempted a reachability check but we're not yet mapped.
Aug 19, 2024 13:59:46.096 [140583312042808] WARN - [Req#37] MyPlex: attempted a reachability check but we're not yet mapped.
Aug 19, 2024 13:59:46.102 [140583236545336] WARN - [Req#38] MyPlex: attempted a reachability check but we're not yet mapped.
Aug 19, 2024 13:59:46.190 [140583244933944] WARN - [Req#27] SLOW QUERY: It took 250.000000 ms to retrieve 6 items.
Aug 19, 2024 13:59:46.273 [140583232351032] INFO - [Req#22] AutoUpdate: no updates available
Aug 19, 2024 13:59:46.290 [140583312042808] WARN - [Req#67] MyPlex: attempted a reachability check but we're not yet mapped.
Aug 19, 2024 13:59:46.557 [140583244933944] INFO - [Req#68] [PlexRelay] Allocated port 27925 for remote forward to 127.0.0.1:32401
Aug 19, 2024 13:59:57.583 [140583362374456] WARN - NAT: PMP, got an error: Not Supported by gateway.
Aug 19, 2024 14:00:47.322 [140583303654200] INFO - [Req#3f5] AutoUpdate: no updates available
Aug 19, 2024 14:02:28.470 [140583312042808] INFO - [Req#696] AutoUpdate: no updates available

Testing ffmpeg from the command line works fine for transcoding outside of the container.

(14:18:31) [plex@cubist ~]$ ffmpeg -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -i "/opt/media/movies/movie1.mkv" -f null -ffmpeg version 6.1.1 Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 13 (GCC)
  configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --docdir=/usr/share/doc/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer' --extra-ldflags='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' --extra-cflags=' -I/usr/include/rav1e' --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-version3 --enable-bzlib --enable-chromaprint --disable-crystalhd --enable-fontconfig --enable-frei0r --enable-gcrypt --enable-gnutls --enable-ladspa --enable-libaom --enable-libdav1d --enable-libass --enable-libbluray --enable-libbs2b --enable-libcodec2 --enable-libcdio --enable-libdrm --enable-libjack --enable-libjxl --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libilbc --enable-libmp3lame --enable-libmysofa --enable-nvenc --enable-openal --enable-opencl --enable-opengl --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-libplacebo --enable-librsvg --enable-librav1e --enable-librubberband --enable-libsmbclient --enable-version3 --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtesseract --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-version3 --enable-vapoursynth --enable-libvpx --enable-vulkan --enable-libshaderc --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libxml2 --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-avfilter --enable-libmodplug --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-lto --enable-libvpl --enable-runtime-cpudetect
  libavutil      58. 29.100 / 58. 29.100
  libavcodec     60. 31.102 / 60. 31.102
  libavformat    60. 16.100 / 60. 16.100
  libavdevice    60.  3.100 / 60.  3.100
  libavfilter     9. 12.100 /  9. 12.100
  libswscale      7.  5.100 /  7.  5.100
  libswresample   4. 12.100 /  4. 12.100
  libpostproc    57.  3.100 / 57.  3.100
Input #0, matroska,webm, from '/opt/media/movies/movie1.mkv':
  Metadata:
    encoder         : libebml v1.4.5 + libmatroska v1.7.1
  Duration: 02:46:56.22, start: 0.000000, bitrate: 15632 kb/s
  Chapters:
    Chapter #0:0: start 0.016000, end 555.237000
      Metadata:
        title           : Chapter 01
...
    Chapter #0:16: start 9465.815000, end 10016.215000
      Metadata:
        title           : Chapter 17
  Stream #0:0(eng): Video: hevc (Main), yuv420p(tv, bt709), 3840x1600 [SAR 1:1 DAR 12:5], 23.98 fps, 23.98 tbr, 1k tbn (default) (original)
    Metadata:
      BPS             : 14867167
      DURATION        : 02:46:56.215000000
      NUMBER_OF_FRAMES: 240149
      NUMBER_OF_BYTES : 18614092872
      _STATISTICS_WRITING_APP: mkvmerge v83.0 ('Circle Of Friends') 64-bit
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:1(eng): Audio: eac3 (Dolby Digital Plus + Dolby Atmos), 48000 Hz, 5.1(side), fltp, 768 kb/s (default) (original)
    Metadata:
      BPS             : 768000
      DURATION        : 02:45:48.000000000
      NUMBER_OF_FRAMES: 310875
      NUMBER_OF_BYTES : 955008000
      _STATISTICS_WRITING_APP: mkvmerge v83.0 ('Circle Of Friends') 64-bit
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:2(eng): Subtitle: subrip (default) (original) (forced)
    Metadata:
      title           : Forced
      BPS             : 4
      DURATION        : 02:21:48.208000000
      NUMBER_OF_FRAMES: 196
      NUMBER_OF_BYTES : 5130
      _STATISTICS_WRITING_APP: mkvmerge v83.0 ('Circle Of Friends') 64-bit
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
...
Stream #0:12(por): Subtitle: subrip (dub)
    Metadata:
      BPS             : 31
      DURATION        : 02:45:35.852000000
      NUMBER_OF_FRAMES: 1328
      NUMBER_OF_BYTES : 38561
      _STATISTICS_WRITING_APP: mkvmerge v83.0 ('Circle Of Friends') 64-bit
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream mapping:
  Stream #0:0 -> #0:0 (hevc (native) -> wrapped_avframe (native))
  Stream #0:1 -> #0:1 (eac3 (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, null, to 'pipe:':
  Metadata:
    encoder         : Lavf60.16.100
  Chapters:
    Chapter #0:0: start 0.016000, end 555.237000
      Metadata:
        title           : Chapter 01
...
     Chapter #0:16: start 9465.815000, end 10016.215000
      Metadata:
        title           : Chapter 17
  Stream #0:0(eng): Video: wrapped_avframe, vaapi(tv, bt709, progressive), 3840x1600 [SAR 1:1 DAR 12:5], q=2-31, 200 kb/s, 23.98 fps, 23.98 tbn (default) (original)
    Metadata:
      BPS             : 14867167
      DURATION        : 02:46:56.215000000
      NUMBER_OF_FRAMES: 240149
      NUMBER_OF_BYTES : 18614092872
      _STATISTICS_WRITING_APP: mkvmerge v83.0 ('Circle Of Friends') 64-bit
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      encoder         : Lavc60.31.102 wrapped_avframe
  Stream #0:1(eng): Audio: pcm_s16le, 48000 Hz, 5.1(side), s16, 4608 kb/s (default) (original)
    Metadata:
      BPS             : 768000
      DURATION        : 02:45:48.000000000
      NUMBER_OF_FRAMES: 310875
      NUMBER_OF_BYTES : 955008000
      _STATISTICS_WRITING_APP: mkvmerge v83.0 ('Circle Of Friends') 64-bit
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      encoder         : Lavc60.31.102 pcm_s16le
[out#0/null @ 0x55eb421b9640] video:235kB audio:12060kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
frame=  502 fps=293 q=-0.0 Lsize=N/A time=00:00:21.42 bitrate=N/A speed=12.5x    
Exiting normally, received signal 2.

However, inside of the container it runs into issues.

Aug 19, 2024 14:05:33.703 [140583232351032] DEBUG - [Req#2488/Transcode] TranscodeUniversalRequest: adapting profile with augmentation data: add-direct-play-profile(type=videoProfile&protocol=http&container=mkv&videoCodec=*&audioCodec=*&subtitleCodec=*)+add-direct-play-profile(type=videoProfile&protocol=hls&container=mkv&videoCodec=*&audioCodec=*&subtitleCodec=*)+add-direct-play-profile(type=subtitleProfile&protocol=http&container=srt&subtitleCodec=srt)+add-transcode-target(type=videoProfile&context=streaming&protocol=hls&container=mkv&videoCodec=h264,hevc,png,apng,bmp,mjpeg,thp,gif,vp8,vp9,dirac,ffv1,ffvhuff,huffyuv,rawvideo,012v,ayuv,r210,v210,v210x,v308,v408,v410,y41p,yuv4,ansi,h263,mpeg1video,mpeg2video,mpeg4,vc1&audioCodec=ape,aac,aac_latm,alac,dca,vorbis,opus,pcm,pcm_alaw,pcm_mulaw,pcm_bluray,pcm_dvd,mp1,mp2,eac3,ac3,flac,mp3&subtitleCodec=srt&replace=true)+add-transcode-target-settings(type=videoProfile&context=streaming&protocol=hls&CopyMatroskaAttachments=true)+add-limitation(scope=videoAudioCodec&scopeName=*&type=upperBound&name=audio.channels&value=10&replace=true)+add-limitation(scope=videoCodec&scopeName=*&type=upperBound&name=video.bitDepth&value=10&replace=true)+add-limitation(scope=videoCodec&scopeName=*&type=notMatch&name=video.separateFields&value=dummy&replace=true)+add-limitation(scope=videoCodec&scopeName=*&type=upperBound&name=video.width&value=4096&replace=true)+add-limitation(scope=videoCodec&scopeName=*&type=upperBound&name=video.height&value=2160&replace=true)+add-limitation(scope=videoCodec&scopeName=*&type=upperBound&name=video.width&value=4096&onlyTranscodes=true&replace=false)+add-limitation(scope=videoCodec&scopeName=*&type=upperBound&name=video.height&value=2160&onlyTranscodes=true&replace=false)
Aug 19, 2024 14:05:33.705 [140583232351032] DEBUG - [Req#2488/Transcode] TranscodeUniversalRequest: using augmented profile tvOS
Aug 19, 2024 14:05:33.705 [140583232351032] DEBUG - [Req#2488/Transcode] Downloading document http://127.0.0.1:32400/library/metadata/153275?includeBandwidths=1&offset=-1&X-Plex-Client-Capabilities=audioDecoders%3dmp3%2caac%2cac3%7bbitrate%3a800000%26channels%3a8%7d&X-Plex-Incomplete-Segments=1&X-Plex-Session-Identifier=B9086A41-1F90-4360-B8CF-CD4ED9D738F8
Aug 19, 2024 14:05:33.722 [140583232351032] DEBUG - [Req#2488/Transcode/Req#2489] It took 50.000000 ms to retrieve 162 items.
Aug 19, 2024 14:05:33.728 [140583232351032] DEBUG - [Req#2488/Transcode] We're going to try to auto-select an audio stream for account 1.
Aug 19, 2024 14:05:33.728 [140583232351032] DEBUG - [Req#2488/Transcode] Selecting best audio stream for part ID 6653770 (language: en)
Aug 19, 2024 14:05:33.728 [140583232351032] DEBUG - [Req#2488/Transcode] We're going to try to auto-select a subtitle for account 1.
Aug 19, 2024 14:05:33.728 [140583232351032] DEBUG - [Req#2488/Transcode] Subtitles: Found a candidate subtitle language [en] for a foreign film
Aug 19, 2024 14:05:33.728 [140583232351032] DEBUG - [Req#2488/Transcode] Audio Stream: 31761052, Subtitle Stream: 31761053
Aug 19, 2024 14:05:33.745 [140583232351032] DEBUG - [Req#2488/Transcode] MDE: Selected protocol http; container: mkv
Aug 19, 2024 14:05:33.745 [140583232351032] DEBUG - [Req#2488/Transcode] MDE: analyzing media item 381278
Aug 19, 2024 14:05:33.745 [140583232351032] DEBUG - [Req#2488/Transcode] MDE: Movie (2024): Direct Playing due to no transcode profile
Aug 19, 2024 14:05:33.745 [140583232351032] DEBUG - [Req#2488/Transcode] MDE: Movie (2024): DirectPlay
Aug 19, 2024 14:05:33.746 [140583232351032] DEBUG - [Req#2488/Transcode] MDE: Movie (2024): selected media 0 / 381278
Aug 19, 2024 14:05:33.746 [140583232351032] DEBUG - [Req#2488/Transcode] Streaming Resource: Calculated bandwidth of 16553kbps exceeds bandwidth limit. Changing decision parameters provided by client to fit bandwidth limit of 12000kbps
**Aug 19, 2024 14:05:33.746 [140583232351032] DEBUG - [Req#2488/Transcode] Streaming Resource: Determining preferred transcode encoders through transcode only decision.**
**Aug 19, 2024 14:05:33.746 [140583232351032] DEBUG - [Req#2488/Transcode] Codecs: testing hevc (decoder) with hwdevice vaapi**
**Aug 19, 2024 14:05:33.747 [140583232351032] DEBUG - [Req#2488/Transcode] Codecs: hardware transcoding: testing API vaapi for device '/dev/dri/renderD128' (HD Graphics 530)**
**Aug 19, 2024 14:05:33.747 [140583232351032] ERROR - [Req#2488/Transcode] [FFMPEG] - No VA display found for device /dev/dri/renderD128.**
**Aug 19, 2024 14:05:33.747 [140583232351032] DEBUG - [Req#2488/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Invalid argument**
**Aug 19, 2024 14:05:33.747 [140583232351032] DEBUG - [Req#2488/Transcode] Could not create hardware context for hevc**
**Aug 19, 2024 14:05:33.748 [140583232351032] DEBUG - [Req#2488/Transcode] Codecs: testing hevc (decoder) with hwdevice vaapi**
**Aug 19, 2024 14:05:33.749 [140583232351032] DEBUG - [Req#2488/Transcode] Codecs: hardware transcoding: testing API vaapi for device '/dev/dri/renderD128' (HD Graphics 530)**
**Aug 19, 2024 14:05:33.749 [140583232351032] ERROR - [Req#2488/Transcode] [FFMPEG] - No VA display found for device /dev/dri/renderD128.**
**Aug 19, 2024 14:05:33.749 [140583232351032] DEBUG - [Req#2488/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Invalid argument**
**Aug 19, 2024 14:05:33.749 [140583232351032] DEBUG - [Req#2488/Transcode] Could not create hardware context for hevc**
**Aug 19, 2024 14:05:33.750 [140583232351032] DEBUG - [Req#2488/Transcode] Streaming Resource: Reducing playback quality for 11428kbps stream bitrate: video resolution to 1920x800, audio channels to 6, quality to 57, disable video DS as 14999kbps is > the 10799kbps available, disable audio DS as 768kbps is > the 564kbps available**
**Aug 19, 2024 14:05:33.750 [140583232351032] DEBUG - [Req#2488/Transcode] Codecs: testing hevc (decoder) with hwdevice vaapi**
**Aug 19, 2024 14:05:33.751 [140583232351032] DEBUG - [Req#2488/Transcode] Codecs: hardware transcoding: testing API vaapi for device '/dev/dri/renderD128' (HD Graphics 530)**
**Aug 19, 2024 14:05:33.751 [140583232351032] ERROR - [Req#2488/Transcode] [FFMPEG] - No VA display found for device /dev/dri/renderD128.**
**Aug 19, 2024 14:05:33.751 [140583232351032] DEBUG - [Req#2488/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Invalid argument**
**Aug 19, 2024 14:05:33.751 [140583232351032] DEBUG - [Req#2488/Transcode] Could not create hardware context for hevc**
Aug 19, 2024 14:05:33.752 [140583232351032] DEBUG - [Req#2488/Transcode] MDE: Selected protocol hls; container: mkv
Aug 19, 2024 14:05:33.752 [140583232351032] DEBUG - [Req#2488/Transcode] MDE: analyzing media item 381278
Aug 19, 2024 14:05:33.752 [140583232351032] DEBUG - [Req#2488/Transcode] MDE: Movie (2024): Direct Play is disabled
Aug 19, 2024 14:05:33.752 [140583232351032] DEBUG - [Req#2488/Transcode] MDE: Movie (2024): media must be transcoded in order to use the hls protocol
Aug 19, 2024 14:05:33.752 [140583232351032] DEBUG - [Req#2488/Transcode] Movie - video.width limitation applies: 3840 > 1920
Aug 19, 2024 14:05:33.752 [140583232351032] DEBUG - [Req#2488/Transcode] MDE: Movie (2024): Direct Streaming is disabled, so video stream will be transcoded
Aug 19, 2024 14:05:33.752 [140583232351032] DEBUG - [Req#2488/Transcode] MDE: Movie (2024): no remuxable profile found, so video stream will be transcoded
Aug 19, 2024 14:05:33.752 [140583232351032] DEBUG - [Req#2488/Transcode] MDE: Cannot direct stream video stream due to profile or setting limitations
Aug 19, 2024 14:05:33.753 [140583232351032] DEBUG - [Req#2488/Transcode] Codecs: testing hevc (decoder) with hwdevice vaapi
Aug 19, 2024 14:05:33.753 [140583232351032] DEBUG - [Req#2488/Transcode] Codecs: hardware transcoding: testing API vaapi for device '/dev/dri/renderD128' (HD Graphics 530)
Aug 19, 2024 14:05:33.753 [140583232351032] ERROR - [Req#2488/Transcode] [FFMPEG] - No VA display found for device /dev/dri/renderD128.
Aug 19, 2024 14:05:33.753 [140583232351032] DEBUG - [Req#2488/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Invalid argument
Aug 19, 2024 14:05:33.753 [140583232351032] DEBUG - [Req#2488/Transcode] Could not create hardware context for hevc
Aug 19, 2024 14:05:33.753 [140583232351032] DEBUG - [Req#2488/Transcode] MDE: Movie (2024): Audio Direct Streaming is disabled, so video's audio stream will be transcoded
Aug 19, 2024 14:05:33.754 [140583232351032] DEBUG - [Req#2488/Transcode] MDE: Cannot direct stream audio stream due to profile or setting limitations
Aug 19, 2024 14:05:33.754 [140583232351032] DEBUG - [Req#2488/Transcode] MDE: Movie (2024): selected media 0 / 381278
Aug 19, 2024 14:05:33.755 [140583232351032] DEBUG - [Req#2488/Transcode] Streaming Resource: Reached Decision id=153275 codes=(General=1001,Direct play not available; Conversion OK. Direct Play=3001,Not enough bandwidth for direct play of this item. Required bandwidth is 16553kbps and only 12000kbps is available. Transcode=1001,Direct play not available; Conversion OK.) media=(id=381278 part=(id=6653770 decision=transcode container=mkv protocol=hls streams=(Video=(id=31761051 decision=transcode bitrate=10799 encoder=libx264 width=1920 height=800) Audio=(id=31761052 decision=transcode bitrate=564 encoder=libopus channels=6 rate=48000) Subtitle=(id=31761053 decision=copy languageCode=eng location=embedded))))
Aug 19, 2024 14:05:35.714 [140583244933944] DEBUG - [Req#24f6/Transcode] TranscodeUniversalRequest: adapting profile with augmentation data: add-direct-play-profile(type=videoProfile&protocol=http&container=mkv&videoCodec=*&audioCodec=*&subtitleCodec=*)+add-direct-play-profile(type=videoProfile&protocol=hls&container=mkv&videoCodec=*&audioCodec=*&subtitleCodec=*)+add-direct-play-profile(type=subtitleProfile&protocol=http&container=srt&subtitleCodec=srt)+add-transcode-target(type=videoProfile&context=streaming&protocol=hls&container=mkv&videoCodec=h264,hevc,png,apng,bmp,mjpeg,thp,gif,vp8,vp9,dirac,ffv1,ffvhuff,huffyuv,rawvideo,012v,ayuv,r210,v210,v210x,v308,v408,v410,y41p,yuv4,ansi,h263,mpeg1video,mpeg2video,mpeg4,vc1&audioCodec=ape,aac,aac_latm,alac,dca,vorbis,opus,pcm,pcm_alaw,pcm_mulaw,pcm_bluray,pcm_dvd,mp1,mp2,eac3,ac3,flac,mp3&subtitleCodec=srt&replace=true)+add-transcode-target-settings(type=videoProfile&context=streaming&protocol=hls&CopyMatroskaAttachments=true)+add-limitation(scope=videoAudioCodec&scopeName=*&type=upperBound&name=audio.channels&value=10&replace=true)+add-limitation(scope=videoCodec&scopeName=*&type=upperBound&name=video.bitDepth&value=10&replace=true)+add-limitation(scope=videoCodec&scopeName=*&type=notMatch&name=video.separateFields&value=dummy&replace=true)+add-limitation(scope=videoCodec&scopeName=*&type=upperBound&name=video.width&value=4096&replace=true)+add-limitation(scope=videoCodec&scopeName=*&type=upperBound&name=video.height&value=2160&replace=true)+add-limitation(scope=videoCodec&scopeName=*&type=upperBound&name=video.width&value=4096&onlyTranscodes=true&replace=false)+add-limitation(scope=videoCodec&scopeName=*&type=upperBound&name=video.height&value=2160&onlyTranscodes=true&replace=false)
Aug 19, 2024 14:05:35.716 [140583244933944] DEBUG - [Req#24f6/Transcode] TranscodeUniversalRequest: using augmented profile tvOS
Aug 19, 2024 14:05:35.716 [140583244933944] DEBUG - [Req#24f6/Transcode] Downloading document http://127.0.0.1:32400/library/metadata/153275?includeBandwidths=1&offset=-1&X-Plex-Client-Capabilities=audioDecoders%3dmp3%2caac%2cac3%7bbitrate%3a800000%26channels%3a8%7d&X-Plex-Incomplete-Segments=1&X-Plex-Session-Identifier=B9086A41-1F90-4360-B8CF-CD4ED9D738F8
Aug 19, 2024 14:05:35.733 [140583244933944] DEBUG - [Req#24f6/Transcode/Req#24f7] It took 40.000000 ms to retrieve 162 items.
Aug 19, 2024 14:05:35.736 [140583244933944] DEBUG - [Req#24f6/Transcode] We're going to try to auto-select an audio stream for account 1.
Aug 19, 2024 14:05:35.737 [140583244933944] DEBUG - [Req#24f6/Transcode] Selecting best audio stream for part ID 6653770 (language: en)
Aug 19, 2024 14:05:35.737 [140583244933944] DEBUG - [Req#24f6/Transcode] We're going to try to auto-select a subtitle for account 1.
Aug 19, 2024 14:05:35.737 [140583244933944] DEBUG - [Req#24f6/Transcode] Subtitles: Found a candidate subtitle language [en] for a foreign film
Aug 19, 2024 14:05:35.737 [140583244933944] DEBUG - [Req#24f6/Transcode] Audio Stream: 31761052, Subtitle Stream: 31761053
Aug 19, 2024 14:05:35.747 [140583244933944] DEBUG - [Req#24f6/Transcode] MDE: Selected protocol hls; container: mkv
Aug 19, 2024 14:05:35.747 [140583244933944] DEBUG - [Req#24f6/Transcode] MDE: analyzing media item 381278
Aug 19, 2024 14:05:35.747 [140583244933944] DEBUG - [Req#24f6/Transcode] MDE: Movie (2024): Direct Play is disabled
Aug 19, 2024 14:05:35.747 [140583244933944] DEBUG - [Req#24f6/Transcode] MDE: Movie (2024): media must be transcoded in order to use the hls protocol
Aug 19, 2024 14:05:35.747 [140583244933944] DEBUG - [Req#24f6/Transcode] MDE: Movie (2024): selected media 0 / 381278
Aug 19, 2024 14:05:35.748 [140583244933944] DEBUG - [Req#24f6/Transcode] Streaming Resource: Calculated bandwidth of 16541kbps exceeds bandwidth limit. Changing decision parameters provided by client to fit bandwidth limit of 12000kbps
Aug 19, 2024 14:05:35.748 [140583244933944] DEBUG - [Req#24f6/Transcode] Streaming Resource: Determining preferred transcode encoders through transcode only decision.
Aug 19, 2024 14:05:35.748 [140583244933944] DEBUG - [Req#24f6/Transcode] Codecs: testing hevc (decoder) with hwdevice vaapi
Aug 19, 2024 14:05:35.748 [140583244933944] DEBUG - [Req#24f6/Transcode] Codecs: hardware transcoding: testing API vaapi for device '/dev/dri/renderD128' (HD Graphics 530)
Aug 19, 2024 14:05:35.748 [140583244933944] ERROR - [Req#24f6/Transcode] [FFMPEG] - No VA display found for device /dev/dri/renderD128.
Aug 19, 2024 14:05:35.749 [140583244933944] DEBUG - [Req#24f6/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Invalid argument
Aug 19, 2024 14:05:35.749 [140583244933944] DEBUG - [Req#24f6/Transcode] Could not create hardware context for hevc
Aug 19, 2024 14:05:35.749 [140583244933944] DEBUG - [Req#24f6/Transcode] Codecs: testing hevc (decoder) with hwdevice vaapi
Aug 19, 2024 14:05:35.750 [140583244933944] DEBUG - [Req#24f6/Transcode] Codecs: hardware transcoding: testing API vaapi for device '/dev/dri/renderD128' (HD Graphics 530)
Aug 19, 2024 14:05:35.750 [140583244933944] ERROR - [Req#24f6/Transcode] [FFMPEG] - No VA display found for device /dev/dri/renderD128.
Aug 19, 2024 14:05:35.750 [140583244933944] DEBUG - [Req#24f6/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Invalid argument
Aug 19, 2024 14:05:35.750 [140583244933944] DEBUG - [Req#24f6/Transcode] Could not create hardware context for hevc
Aug 19, 2024 14:05:35.750 [140583244933944] DEBUG - [Req#24f6/Transcode] Streaming Resource: Reducing playback quality for 11428kbps stream bitrate: video resolution to 1920x800, audio channels to 6, quality to 57, disable video DS as 14999kbps is > the 10799kbps available, disable audio DS as 768kbps is > the 564kbps available
Aug 19, 2024 14:05:35.751 [140583244933944] DEBUG - [Req#24f6/Transcode] Codecs: testing hevc (decoder) with hwdevice vaapi
Aug 19, 2024 14:05:35.751 [140583244933944] DEBUG - [Req#24f6/Transcode] Codecs: hardware transcoding: testing API vaapi for device '/dev/dri/renderD128' (HD Graphics 530)
Aug 19, 2024 14:05:35.751 [140583244933944] ERROR - [Req#24f6/Transcode] [FFMPEG] - No VA display found for device /dev/dri/renderD128.
Aug 19, 2024 14:05:35.751 [140583244933944] DEBUG - [Req#24f6/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Invalid argument
Aug 19, 2024 14:05:35.751 [140583244933944] DEBUG - [Req#24f6/Transcode] Could not create hardware context for hevc
Aug 19, 2024 14:05:35.752 [140583244933944] DEBUG - [Req#24f6/Transcode] MDE: Selected protocol hls; container: mkv
Aug 19, 2024 14:05:35.752 [140583244933944] DEBUG - [Req#24f6/Transcode] MDE: analyzing media item 381278
Aug 19, 2024 14:05:35.752 [140583244933944] DEBUG - [Req#24f6/Transcode] MDE: Movie (2024): Direct Play is disabled
Aug 19, 2024 14:05:35.752 [140583244933944] DEBUG - [Req#24f6/Transcode] MDE: Movie (2024): media must be transcoded in order to use the hls protocol
Aug 19, 2024 14:05:35.752 [140583244933944] DEBUG - [Req#24f6/Transcode] Movie - video.width limitation applies: 3840 > 1920
Aug 19, 2024 14:05:35.752 [140583244933944] DEBUG - [Req#24f6/Transcode] MDE: Movie (2024): Direct Streaming is disabled, so video stream will be transcoded
Aug 19, 2024 14:05:35.752 [140583244933944] DEBUG - [Req#24f6/Transcode] MDE: Movie (2024): no remuxable profile found, so video stream will be transcoded
Aug 19, 2024 14:05:35.752 [140583244933944] DEBUG - [Req#24f6/Transcode] MDE: Cannot direct stream video stream due to profile or setting limitations
Aug 19, 2024 14:05:35.752 [140583244933944] DEBUG - [Req#24f6/Transcode] Codecs: testing hevc (decoder) with hwdevice vaapi
Aug 19, 2024 14:05:35.753 [140583244933944] DEBUG - [Req#24f6/Transcode] Codecs: hardware transcoding: testing API vaapi for device '/dev/dri/renderD128' (HD Graphics 530)
Aug 19, 2024 14:05:35.753 [140583244933944] ERROR - [Req#24f6/Transcode] [FFMPEG] - No VA display found for device /dev/dri/renderD128.
Aug 19, 2024 14:05:35.753 [140583244933944] DEBUG - [Req#24f6/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Invalid argument
Aug 19, 2024 14:05:35.753 [140583244933944] DEBUG - [Req#24f6/Transcode] Could not create hardware context for hevc
Aug 19, 2024 14:05:35.753 [140583244933944] DEBUG - [Req#24f6/Transcode] MDE: Movie (2024): Audio Direct Streaming is disabled, so video's audio stream will be transcoded
Aug 19, 2024 14:05:35.753 [140583244933944] DEBUG - [Req#24f6/Transcode] MDE: Cannot direct stream audio stream due to profile or setting limitations
Aug 19, 2024 14:05:35.753 [140583244933944] DEBUG - [Req#24f6/Transcode] MDE: Movie (2024): selected media 0 / 381278
Aug 19, 2024 14:05:35.754 [140583244933944] DEBUG - [Req#24f6/Transcode] Streaming Resource: Reached Decision id=153275 codes=(General=1001,Direct play not available; Conversion OK. Direct Play=3000,App cannot direct play this item. Direct play is disabled. Transcode=1001,Direct play not available; Conversion OK.) media=(id=381278 part=(id=6653770 decision=transcode container=mkv protocol=hls streams=(Video=(id=31761051 decision=transcode bitrate=10799 encoder=libx264 width=1920 height=800) Audio=(id=31761052 decision=transcode bitrate=564 encoder=libopus channels=6 rate=48000) Subtitle=(id=31761053 decision=copy languageCode=eng location=embedded))))
Aug 19, 2024 14:05:36.290 [140583232351032] DEBUG - [Req#250d/Transcode] Found session GUID of AC2DC58B-E72F-473A-892C-612832D6CCA0 in session start.
Aug 19, 2024 14:05:36.291 [140583232351032] DEBUG - [Req#250d/Transcode] TranscodeUniversalRequest: using profile tvOS
Aug 19, 2024 14:05:36.291 [140583232351032] DEBUG - [Req#250d/Transcode] Downloading document http://127.0.0.1:32400/library/metadata/153275?checkFiles=1&includeBandwidths=1&offset=-1&X-Plex-Client-Capabilities=audioDecoders%3dmp3%2caac%2cac3%7bbitrate%3a800000%26channels%3a8%7d&X-Plex-Incomplete-Segments=1&X-Plex-Session-Identifier=B9086A41-1F90-4360-B8CF-CD4ED9D738F8
Aug 19, 2024 14:05:36.305 [140583232351032] DEBUG - [Req#250d/Transcode/Req#2618] It took 30.000000 ms to retrieve 162 items.
Aug 19, 2024 14:05:36.309 [140583232351032] DEBUG - [Req#250d/Transcode] We're going to try to auto-select an audio stream for account 1.
Aug 19, 2024 14:05:36.309 [140583232351032] DEBUG - [Req#250d/Transcode] Selecting best audio stream for part ID 6653770 (language: en)
Aug 19, 2024 14:05:36.309 [140583232351032] DEBUG - [Req#250d/Transcode] We're going to try to auto-select a subtitle for account 1.
Aug 19, 2024 14:05:36.309 [140583232351032] DEBUG - [Req#250d/Transcode] Subtitles: Found a candidate subtitle language [en] for a foreign film
Aug 19, 2024 14:05:36.309 [140583232351032] DEBUG - [Req#250d/Transcode] Audio Stream: 31761052, Subtitle Stream: 31761053
Aug 19, 2024 14:05:36.320 [140583232351032] DEBUG - [Req#250d/Transcode] Found session GUID of AC2DC58B-E72F-473A-892C-612832D6CCA0 in session start.
Aug 19, 2024 14:05:36.320 [140583232351032] DEBUG - [Req#250d/Transcode] Using session GUID AC2DC58B-E72F-473A-892C-612832D6CCA0 for new transcode session.
Aug 19, 2024 14:05:36.320 [140583232351032] DEBUG - [Req#250d/Transcode] Cleaning directory for session AC2DC58B-E72F-473A-892C-612832D6CCA0 ()
Aug 19, 2024 14:05:36.371 [140583312042808] DEBUG - [Req#2616/Transcode] Found session GUID of AC2DC58B-E72F-473A-892C-612832D6CCA0 in session start.
Aug 19, 2024 14:05:36.371 [140583312042808] DEBUG - [Req#2616/Transcode] TranscodeUniversalRequest: using profile tvOS
Aug 19, 2024 14:05:36.371 [140583312042808] DEBUG - [Req#2616/Transcode] Downloading document http://127.0.0.1:32400/library/metadata/153275?checkFiles=1&includeBandwidths=1&offset=-1&X-Plex-Client-Capabilities=audioDecoders%3dmp3%2caac%2cac3%7bbitrate%3a800000%26channels%3a8%7d&X-Plex-Incomplete-Segments=1&X-Plex-Session-Identifier=B9086A41-1F90-4360-B8CF-CD4ED9D738F8
Aug 19, 2024 14:05:36.376 [140583312042808] DEBUG - [Req#2616/Transcode/Req#262a] It took 0.000000 ms to retrieve 162 items.
Aug 19, 2024 14:05:36.378 [140583312042808] DEBUG - [Req#2616/Transcode] We're going to try to auto-select an audio stream for account 1.
Aug 19, 2024 14:05:36.378 [140583312042808] DEBUG - [Req#2616/Transcode] Selecting best audio stream for part ID 6653770 (language: en)
Aug 19, 2024 14:05:36.378 [140583312042808] DEBUG - [Req#2616/Transcode] We're going to try to auto-select a subtitle for account 1.
Aug 19, 2024 14:05:36.378 [140583312042808] DEBUG - [Req#2616/Transcode] Subtitles: Found a candidate subtitle language [en] for a foreign film
Aug 19, 2024 14:05:36.378 [140583312042808] DEBUG - [Req#2616/Transcode] Audio Stream: 31761052, Subtitle Stream: 31761053
Aug 19, 2024 14:05:36.384 [140583312042808] DEBUG - [Req#2616/Transcode] Found session GUID of AC2DC58B-E72F-473A-892C-612832D6CCA0 in session start.
Aug 19, 2024 14:05:36.384 [140583312042808] DEBUG - [Req#2616/Transcode] Using session GUID AC2DC58B-E72F-473A-892C-612832D6CCA0 for new transcode session.
Aug 19, 2024 14:05:36.384 [140583312042808] DEBUG - [Req#2616/Transcode] Using existing transcode session.
Aug 19, 2024 14:05:36.432 [140583114910520] DEBUG - [Req#261d/Transcode/AC2DC58B-E72F-473A-892C-612832D6CCA0] Starting a transcode session AC2DC58B-E72F-473A-892C-612832D6CCA0 at offset -1.0 (state=3)
Aug 19, 2024 14:05:36.432 [140583114910520] DEBUG - [Req#261d/Transcode/AC2DC58B-E72F-473A-892C-612832D6CCA0] TPU: hardware transcoding: enabled, but no hardware decode accelerator found
Aug 19, 2024 14:05:36.432 [140583114910520] DEBUG - [Req#261d/Transcode/AC2DC58B-E72F-473A-892C-612832D6CCA0] [Universal] Using local file path instead of URL: /media/movies/[radarr-4k]/Dune Part Two (2024)/Dune Part Two (2024) 2160p.AMZN.WEB-DL.DDP5.1.Atmos.H.265-FLUX[TGx].mkv
Aug 19, 2024 14:05:36.433 [140583114910520] DEBUG - [Req#261d/Transcode/AC2DC58B-E72F-473A-892C-612832D6CCA0] TPU: hardware transcoding: final decoder: , final encoder: 
Aug 19, 2024 14:05:36.433 [140583114910520] DEBUG - [Req#261d/Transcode/AC2DC58B-E72F-473A-892C-612832D6CCA0/JobRunner] Job running: EAE_ROOT=/tmp/pms-d402dd9d-829d-4d7f-b6fa-f1213aaf15f3/EasyAudioEncoder FFMPEG_EXTERNAL_LIBS='/config/Library/Application\ Support/Plex\ Media\ Server/Codecs/b8ae7ab-0d1793f7046f5e4affa102c2-linux-x86_64/' X_PLEX_TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx "/usr/lib/plexmediaserver/Plex Transcoder" -codec:0 hevc -codec:1 eac3_eae -eae_prefix:1 AC2DC58B-E72F-473A-892C-612832D6CCA0_ -analyzeduration 20000000 -probesize 20000000 -i "/media/movies/[radarr-4k]/Dune Part Two (2024)/Dune Part Two (2024) 2160p.AMZN.WEB-DL.DDP5.1.Atmos.H.265-FLUX[TGx].mkv" -filter_complex "[0:0]scale=w=1920:h=800:force_divisible_by=4[0];[0]format=pix_fmts=yuv420p|nv12[1]" -map "[1]" -metadata:s:0 language=eng -codec:0 libx264 -crf:0 19 -maxrate:0 10799k -bufsize:0 21598k -r:0 23.975999999999999 -preset:0 veryfast -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=hex:8x8dct=0:partitions=none -force_key_frames:0 "expr:gte(t,n_forced*1)" -filter_complex "[0:1] aresample=async=1:ochl='5.1':rematrix_maxval=10.000000dB:osr=48000[2]" -map "[2]" -metadata:s:1 language=eng -codec:1 libopus -b:1 564k -map 0:2 -metadata:s:2 language=eng -codec:2 copy -strict_ts:2 0 -map "0:t?" -codec:t copy -segment_format matroska -f ssegment -individual_header_trailer 0 -flags +global_header -segment_header_filename header -segment_time 1 -segment_start_number 0 -segment_copyts 1 -segment_time_delta 0.0625 -segment_list "http://127.0.0.1:32400/video/:/transcode/session/AC2DC58B-E72F-473A-892C-612832D6CCA0/5c246174-ce3e-40af-bcae-045636edc470/manifest?X-Plex-Http-Pipeline=infinite" -segment_list_type csv -segment_list_size 5 -segment_list_separate_stream_times 1 -segment_list_unfinished 1 -segment_format_options output_ts_offset=10 -max_delay 5000000 -avoid_negative_ts disabled -map_metadata:g -1 -map_metadata:c -1 -map_chapters -1 "media-%05d.ts" -start_at_zero -copyts -vsync cfr -y -nostats -loglevel quiet -loglevel_plex error -progressurl http://127.0.0.1:32400/video/:/transcode/session/AC2DC58B-E72F-473A-892C-612832D6CCA0/5c246174-ce3e-40af-bcae-045636edc470/progress

It seems to be passing some form of invalid argument to the transcoder which is causing it to fail the hwtranscode test. I would really appreciate some help with this.

Thanks!

I’d probably start with the easier path.
It’s a docker image, so use docker.
When having issues, use stable release, not beta.

A few things to note about your response:

  1. It happens with both stable and beta releases.
  2. It happens with either docker or podman.
  3. Podman is designed to be a drop in replacement for docker and runs docker containers.
  4. Unless there is a definitive reason NOT to use podman, please refrain from suggesting a forklift changeout of a container platform.

That kind of ‘troubleshooting’ response is neither helpful nor insightful and does not lend itself towards actually identifying and resolving the issue at hand.

2 Likes

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