PMS 1.32.6+ HW transcoding issues and corrections

@kpshaver

Thanks. That confirms my findings as well.
I have P2200 with 535.

[chuck@lizum Downloads.2002]$ nvidia-smi
Sat Sep 16 16:31:38 2023       
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.54.03              Driver Version: 535.54.03    CUDA Version: 12.2     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  Quadro P2200                   On  | 00000000:07:00.0 Off |                  N/A |
| 49%   39C    P8               4W /  75W |      1MiB /  5120MiB |      0%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+
                                                                                         
+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|  No running processes found                                                           |
+---------------------------------------------------------------------------------------+
[chuck@lizum Downloads.2003]$

I asked to confirm (hoped) you were using a different card and CUDA version.
This lets me definitively say where the problem does NOT exist in the code.

So you don’t have the issue, or do?

I have no issues with the Nvidia.
Intel QSV does have the problem.

I assume the error [AVHWDeviceContext @ 0x7f8bcc7442c0] No matching devices found comes from:

Job running: EAE_ROOT=/tmp/pms-1a7a9e45-a6c8-4a4e-8aaa-7e52e1d1499d/EasyAudioEncoder FFMPEG_EXTERNAL_LIBS='/config/Library/Application\ Support/Plex\ Media\ Server/Codecs/8217c1c-4578-linux-x86_64/' LIBVA_DRIVERS
_PATH="/config/Library/Application Support/Plex Media Server/Cache/va-dri-linux-x86_64" OCL_ICD_VENDORS="/config/Library/Application Support/Plex Media Server/Cache/cl-icds-linux-x86_64" X_PLEX_TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx cl_cache_dir="/config/Library/Application Support/P
lex Media Server/Cache/Shaders/icr-97-linux-x86_64/" "/usr/lib/plexmediaserver/Plex Transcoder" -codec:0 hevc -hwaccel:0 vaapi -hwaccel_fallback_threshold:0 10 -hwaccel_output_format:0 vaapi -hwaccel_device:0 vaapi -codec:1 truehd_eae -eae_prefix:1 g7owdzz2ks4im4kku1qetbzs_ -analyzeduration 20
000000 -probesize 20000000 -i /site/uhd/movies/XXXX.2021.UHD.BluRay.2160p.TrueHD.Atmos.7.1.DV.HEVC.REMUX-FOO/XXXX.2021.UHD.BluRay.2160p.TrueHD.Atmos.7.1.DV.HEVC.REMUX-FOO.mkv -filter_complex "[0:0]hwupload[0];[0]scale_vaapi=w=2276:h=1280:format=p010[1];[1]hwmap=derive_device=opencl[2];[2]tonem
ap_opencl=tonemap=mobius:format=nv12:m=bt709:p=bt709:r=tv[3];[3]hwmap=derive_device=vaapi:reverse=1[4];[4]hwupload[5]" -map "[5]" -codec:0 h264_vaapi -b:0 20000k -r:0 23.975999999999999 -force_key_frames:0 "expr:gte(t,n_forced*1)" -filter_complex "[0:1] aresample=async=1:ochl='stereo':rematrix
_maxval=0.000000dB:osr=48000[6]" -map "[6]" -metadata:s:1 language=eng -codec:1 aac -b:1 256k -f dash -seg_duration 1 -dash_segment_type mp4 -init_seg_name 'init-stream$RepresentationID$.m4s' -media_seg_name 'chunk-stream$RepresentationID$-$Number%05d$.m4s' -window_size 5 -delete_removed false
 -skip_to_segment 1 -time_delta 0.0625 -manifest_name "http://127.0.0.1:32400/video/:/transcode/session/g7owdzz2ks4im4kku1qetbzs/84b135e8-4b46-4aaa-9f0c-471cefdd0429/manifest?X-Plex-Http-Pipeline=infinite" -avoid_negative_ts disabled -map_metadata -1 -map_chapters -1 dash -start_at_zero -copyt
s -vsync cfr -init_hw_device vaapi=vaapi:/dev/dri/renderD128 -filter_hw_device vaapi -y -nostats -loglevel quiet -loglevel_plex error -progressurl http://127.0.0.1:32400/video/:/transcode/session/g7owdzz2ks4im4kku1qetbzs/84b135e8-4b46-4aaa-9f0c-471cefdd0429/progres

I ran it manually with addional debug, relevant lines:

[AVHWDeviceContext @ 0x7fc16b644180] libva: VA-API version 1.18.0
[AVHWDeviceContext @ 0x7fc16b644180] libva: Trying to open /config/Library/Application Support/Plex Media Server/Cache/va-dri-linux-x86_64/iHD_drv_video.so
[AVHWDeviceContext @ 0x7fc16b644180] libva: Found init function __vaDriverInit_1_18
[AVHWDeviceContext @ 0x7fc16b644180] libva: va_openDriver() returns 0
[AVHWDeviceContext @ 0x7fc16b644180] Initialised VAAPI connection: version 1.18
[AVHWDeviceContext @ 0x7fc16b644180] VAAPI driver: Intel iHD driver for Intel(R) Gen Graphics - 23.1.6 (df5ea346).
[AVHWDeviceContext @ 0x7fc16b644180] Driver not found in known nonstandard list, using standard behaviour.
Input #0, matroska,webm, from '/site/uhd/movies/XXXX.2021.UHD.BluRay.2160p.TrueHD.Atmos.7.1.DV.HEVC.REMUX-FOO/XXXX.2021.UHD.BluRay.2160p.TrueHD.Atmos.7.1.DV.HEVC.REMUX-FOO.mkv':
...
  Stream #0:0: Video: hevc (Main 10), 1 reference frame, yuv420p10le(tv, bt2020nc/bt2020/smpte2084, topleft), 3840x2160 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn (default)
...
  Stream #0:1(eng): Audio: truehd, 48000 Hz, 7.1, s32 (24 bit) (default)
...
hevc @ 0x7fc1676664c0] Skipping NAL unit 63
[graph 0 input from stream 0:0 @ 0x7fc167622c40] w:3840 h:2160 pixfmt:vaapi tb:1/1000 fr:24000/1001 sar:1/1
[hevc @ 0x7fc167666980] Skipping NAL unit 63
[hevc @ 0x7fc167666980] Skipping NAL unit 63
[AVHWDeviceContext @ 0x7fc15bd08c00] No matching devices found.
[AVHWDeviceContext @ 0x7fc15bd08c00] 0.0: Intel(R) OpenCL HD Graphics / Intel(R) UHD Graphics P750
[AVHWDeviceContext @ 0x7fc15bd08c00] Beignet DRM to OpenCL image mapping function not found (clCreateImageFromFdINTEL).
[AVHWDeviceContext @ 0x7fc15bd08c00] Beignet DRM to OpenCL mapping not usable.
[AVHWDeviceContext @ 0x7fc15bd08c00] Intel QSV to OpenCL mapping function found (clCreateFromVA_APIMediaSurfaceINTEL).
[AVHWDeviceContext @ 0x7fc15bd08c00] Intel QSV in OpenCL acquire function found (clEnqueueAcquireVA_APIMediaSurfacesINTEL).
[AVHWDeviceContext @ 0x7fc15bd08c00] Intel QSV in OpenCL release function found (clEnqueueReleaseVA_APIMediaSurfacesINTEL).
[h264_vaapi @ 0x7fc16767b700] Using input frames context (format vaapi) with h264_vaapi encoder.
[h264_vaapi @ 0x7fc16767b700] Input surface format is nv12.
[h264_vaapi @ 0x7fc16767b700] Using VAAPI profile VAProfileH264High (7).
[h264_vaapi @ 0x7fc16767b700] Using VAAPI entrypoint VAEntrypointEncSlice (6).
[h264_vaapi @ 0x7fc16767b700] Using VAAPI render target format YUV420 (0x1).
[h264_vaapi @ 0x7fc16767b700] RC mode: AVBR.
[h264_vaapi @ 0x7fc16767b700] RC target: 20000000 bps converging in 120 frames with 100% accuracy.
[h264_vaapi @ 0x7fc16767b700] RC framerate: 2997/125 (23.98 fps).
[h264_vaapi @ 0x7fc16767b700] Using intra, P- and B-frames (supported references: 8 / 2).
[h264_vaapi @ 0x7fc16767b700] All wanted packed headers available (wanted 0xd, found 0x1f).
[h264_vaapi @ 0x7fc16767b700] Using level 5.
[hevc @ 0x7fc167666e00] Skipping NAL unit 63
[hevc @ 0x7fc167666e00] Skipping NAL unit 63
[graph_1_in_0_1 @ 0x7fc14f689a80] tb:1/48000 samplefmt:s32 samplerate:48000 chlayout:7.1
[Parsed_aresample_0 @ 0x7fc14f67ef40] ch:8 chl:7.1 fmt:s32 r:48000Hz -> ch:2 chl:stereo fmt:fltp r:48000Hz
[dash @ 0x7fc167172980] Opening 'init-stream0.m4s' for writing
[mp4 @ 0x7fc15a954f40] Empty MOOV enabled; disabling automatic bitstream filtering
[dash @ 0x7fc167172980] Representation 0 init segment will be written to: init-stream0.m4s
[dash @ 0x7fc167172980] Opening 'init-stream1.m4s' for writing
[mp4 @ 0x7fc15a955240] Empty MOOV enabled; disabling automatic bitstream filtering
[dash @ 0x7fc167172980] Representation 1 init segment will be written to: init-stream1.m4s
Output #0, dash, to 'dash':
  Metadata:
    encoder         : Lavf59.20.101
  Stream #0:0: Video: h264 (High), 1 reference frame, vaapi(tv, bt709, progressive, topleft), 2276x1280 (0x0) [SAR 5120:5121 DAR 16:9], q=2-31, 20000 kb/s, 23.98 fps, 11988 tbn
    Metadata:
      encoder         : Lavc59.25.100 h264_vaapi
    Side data:
      DOVI configuration record: version: 1.0, profile: 7, level: 6, rpu flag: 1, el flag: 1, bl flag: 1, compatibility id: 6
  Stream #0:1(eng): Audio: aac (LC), 48000 Hz, stereo, fltp, delay 1024, 256 kb/s
    Metadata:
      encoder         : Lavc59.25.100 aac
...

So looks as if the ERROR [AVHWDeviceContext @ 0x7fc15bd08c00] No matching devices found. comes from ffmpeg initially looking for Beignet DRM to OpenCL, fails to find it, but then selects Intel QSV. Am I right in assuming this is expected behaviour (beignet not working but QSV does) for recent CPUs?

Now, the same thing on 1.32.6.7468 returns:

...
[hevc @ 0x7f65f5843980] Skipping NAL unit 63
[hevc @ 0x7f65f5843980] Slice 0 param buffer (264 bytes) is 0x1.
[hevc @ 0x7f65f5843980] Slice 0 data buffer (176 bytes) is 0.
[hevc @ 0x7f65f5843980] Decode to surface 0x11.
[Parsed_hwmap_2 @ 0x7f65f3534d40] Configure hwmap vaapi -> opencl.
[AVHWDeviceContext @ 0x7f65f57f2180] Failed to get number of OpenCL platforms: -1001.
[AVHWDeviceContext @ 0x7f65f57f2180] Failed to get number of OpenCL platforms: -1001.
[Parsed_hwmap_2 @ 0x7f65f3534d40] Failed to created derived device context: -19.
[Parsed_hwmap_2 @ 0x7f65f3534d40] Failed to configure output pad on Parsed_hwmap_2
...

This isn’t just HDR tonemapping being broken, this is transcoding in general being broken.
An strace of that shows:

madvise(0x7f3093fdd000, 4096, MADV_FREE) = 0
munmap(0x7f3093fdc000, 32768)           = 0
open("/config/Library/Application Support/Plex Media Server/Cache/cl-icds-linux-x86_64", O_RDONLY|O_LARGEFILE|O_CLOEXEC|O_DIRECTORY) = 5
fcntl(5, F_SETFD, FD_CLOEXEC)           = 0
getdents64(5, /* 3 entries */, 2048)    = 80
stat("/config/Library/Application Support/Plex Media Server/Cache/cl-icds-linux-x86_64/icr.icd", {st_mode=S_IFREG|0644, st_size=96, ...}) = 0
open("/config/Library/Application Support/Plex Media Server/Cache/cl-icds-linux-x86_64/icr.icd", O_RDONLY|O_LARGEFILE) = 6
lseek(6, 0, SEEK_END)                   = 96
lseek(6, 0, SEEK_CUR)                   = 96
lseek(6, 0, SEEK_SET)                   = 0
readv(6, [{iov_base="/config/Library/Application Support/Plex Media Server/Drivers/icr-117-linux-x86_64/libigdrcl.so", iov_len=95}, {iov_base="\n", iov_len=1024}], 2) = 96
open("/config/Library/Application Support/Plex Media Server/Drivers/icr-117-linux-x86_64/libigdrcl.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 7
fcntl(7, F_SETFD, FD_CLOEXEC)           = 0
fstat(7, {st_mode=S_IFREG|0755, st_size=12671352, ...}) = 0
..
mmap(0x7f30936d1000, 8204288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 7, 0x4ce000) = 0x7f30936d1000
mmap(0x7f3093e19000, 569344, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f3093e19000
close(7)                                = 0
munmap(0x7f3093200000, 13254656)        = 0
close(6)                                = 0
getdents64(5, /* 0 entries */, 2048)    = 0
close(5)                                = 0
writev(2, [{iov_base="", iov_len=0}, {iov_base="[AVHWDeviceContext @ 0x7f30a0c56700] ", iov_len=37}], 2) = 37
writev(2, [{iov_base="", iov_len=0}, {iov_base="Failed to get number of OpenCL platforms: -1001.\n", iov_len=49}], 2) = 49

That’s about as fasr as I can get on 1.32.6.7468 because I can’t run clinfo with the clang built opencl library, so can’t get any more info on whether if these libraries are working correctly. What I can say is that stock focal packages don’t show any platforms, but installing the newer intel opencl deb package set (23.26.26690.22) within the focal container does make clinfo show supported platforms.

What would really help here in general is either
A) running clinfo, vaapi info, and vdpauinfo at plex startup (with LD_LIBARY_PATH if needed) so that we can simply look at the startup log to determine if the plex-supplied libraries are detecting offload targets,
or B) a method to run a quick dummy transcode test using your ffmpeg binary that logs the success or failure of general and tonemapped transcoding

I’ll post back as soon as you have something newer to test.

This is where it breaks. The avfilter network doesn’t connect at this point.

MUSL doesn’t help either

Plex’s binaries all have RPATH set so LD_LIBRARY_PATH isn’t going to be of much help unless you can preempt that

I just thought I’d post my experience with this version:
PlexMediaServer-1.32.7.7484-337c79318-x86_64_DSM7

I installed it on my DS-1019+
I immediately noticed that it didn’t recreate an icon for itself on my DSM desktop (it always has in the past), and it didn’t even appear on the installed apps list when you click on the button at the top left (so I couldn’t create an icon for it myself).
It seemed to work fine when I played media from my Pixel 7 Pro phone and my TCL smart TV. But when I try to use my Samsung 2019 smart TV, it loads and lets me select a user, the shows the home screen, but when I select ANY item to play it immediately locks up and freezes the screen forever (clicking BACK will not work, but I can click EXIT on the remote and get out of the app).
I did try uninstalling/reinstalling the app on the TV but no change.

I tried to install an earlier (server) version but it says I cannot roll-back to prior versions.

Hope that helps.
Doug in Brooklyn

I made a change to allow the administrator to HIDE the Plex Media Server icon
There are those customers who don’t want folks launching PMS from the NAS itself.

Please open a new thread and I’ll share for all.

(This was in 1.32.7 BETA release. It will be available to all soon)

Running LSIO container in unRAID 6.12.4 here, Intel i5-11400, feel free to ask for logs or anything you need.

@ChuckPa Hey! I Shared this already, but pretty much concurrently with your guys 32.6/32.7 issues, we pushed a patch in our container to our chown logic which went a bit deeper than it should have. We have since pushed a correction for that.

For others, if you are using our (LSIO) container and you are not on the rolled back release, please come to us for any issues with start up or high IO for now, but the patch is already built, so simply pulling :latest should also resolve the problem.

We apologize for any inconvenience!

Hello, in the latest version, I encountered a problem in hardware transcoding where dragging the progress bar beyond the decoded progress triggers a decoding interruption and then switches to CPU transcoding. I don’t know if there is a dedicated post or a team to help with similar posts. I will quote the link. I hope the team members can help me solve the problem. My post has very detailed instructions and logs! Thanks you!

[UHD770 hardware decoding drag error]

@haodi

Sep 17, 2023 18:07:23.629 [22429346810680] INFO - Plex Media Server v1.32.6.7468-07e0d4a7e - Docker Docker Container x86_64 - build: linux-x86_64 debian - GMT 08:00
Sep 17, 2023 18:07:23.630 [22429346810680] INFO - Linux version: 6.1.49-Unraid, language: en-US

Please revert to 1.32.5.7349-8f4248874

1.32.6 and 1.32.7 have been rescinded

I just rebuilt version 1.32.5.7349-8f4248874 on my mobile phone. It seems that the problem has not changed! It’s 4 o’clock in the morning here. I will try again when it gets light and upload the latest diagnostic log. Thank you for paying attention to my problem.

Hey I was running into this problem the other day as well. HW transcoding started working as soon as I turned off hdr tone mapping. I reverted back to 1.32.5.7349-8f4248874 as you recommended just to see if that would fix it and the problem persists for me there as well. I’m running unraid on a 12600k using quicksync. It seems like you aware of the problem and know how to fix it already but let me know if there is anything I can send you to help.

Screenshot 2023-09-17 195025
Appears to be working on TrueNAS Scale with the Truecharts version.

Info:

  • Plex 1.32.6.7468 running in the built in TrueNAS Scale Kubernetes cluster, installed through Truecharts
  • Nvidia Tesla P4 GPU for HW transcode
  • Movie tested was a 4K HDR10 file played on a non-HDR 1440p monitor

Hello, version 1.32.5.7349-8f4248874 did not solve my problem. When I click play, the hardware transcoding works normally and plays for 20 seconds. After adjusting the playback progress to half of the video, the hard link decoding fails and becomes software decoding. 3 different The episodes all have the same result. Below is the terminal error output and diagnostic log. Please help me find the cause of the error! Thanks!

Sep 18, 2023 14:56:36.456 [23432576183096] 错误 — [Req#29ff/Transcode/5cjwbo5g7ora9pj6y4uewws2/d82dea88-78d0-4047-917a-24065b2b6343] [AVHWDeviceContext @ 0x153e9bf8abc0] No matching devices found.
Sep 18, 2023 14:57:03.859 [23432663206712] 错误 — [Req#307d/Transcode/5cjwbo5g7ora9pj6y4uewws2/8c40a810-0505-4579-b8e0-7cb28aaa78f7] [AVHWDeviceContext @ 0x1531efe95140] No matching devices found.
Sep 18, 2023 14:57:04.665 [23432663206712] 错误 — [Req#30b5/Transcode/5cjwbo5g7ora9pj6y4uewws2/8c40a810-0505-4579-b8e0-7cb28aaa78f7] Impossible to convert between the formats supported by the filter ‘Parsed_hwupload_5’ and the filter ‘auto_scale_0’
Sep 18, 2023 14:57:04.666 [23432578292536] 错误 — [Req#30b6/Transcode/5cjwbo5g7ora9pj6y4uewws2/8c40a810-0505-4579-b8e0-7cb28aaa78f7] Error reinitializing filters!
Sep 18, 2023 14:57:04.666 [23432663206712] 错误 — [Req#30ba/Transcode/5cjwbo5g7ora9pj6y4uewws2/8c40a810-0505-4579-b8e0-7cb28aaa78f7] Failed to inject frame into filter network: Function not implemented
Sep 18, 2023 14:57:04.666 [23432578292536] 错误 — [Req#30bd/Transcode/5cjwbo5g7ora9pj6y4uewws2/8c40a810-0505-4579-b8e0-7cb28aaa78f7] Error while processing the decoded data for stream #0:0
Sep 18, 2023 14:57:38.550 [23432626277176] 错误 — [Req#365f] Transcoder: Failed to delete session directory (boost::filesystem::remove: Directory not empty [system:39]: “/transcode/Transcode/Sessions/plex-transcode-5cjwbo5g7ora9pj6y4uewws2-8c40a810-0505-4579-b8e0-7cb28aaa78f7”)
Sep 18, 2023 14:57:47.988 [23432565635896] 错误 — [Req#3e57/Transcode/g36w0nghe577d918505yejsi/55a88ff4-5591-40c6-9246-d897ad59b77c] [AVHWDeviceContext @ 0x14e21e01cd40] No matching devices found.
Sep 18, 2023 14:58:10.916 [23432565635896] 错误 — [Req#42df/Transcode/g36w0nghe577d918505yejsi/d9a907be-7eee-4893-9455-7cff96894ceb] [AVHWDeviceContext @ 0x1517d0e5a880] No matching devices found.
Sep 18, 2023 14:58:12.345 [23432565635896] 错误 — [Req#4333/Transcode/g36w0nghe577d918505yejsi/d9a907be-7eee-4893-9455-7cff96894ceb] Impossible to convert between the formats supported by the filter ‘Parsed_hwupload_5’ and the filter ‘auto_scale_0’
Sep 18, 2023 14:58:12.345 [23432665316152] 错误 — [Req#4335/Transcode/g36w0nghe577d918505yejsi/d9a907be-7eee-4893-9455-7cff96894ceb] Error reinitializing filters!
Sep 18, 2023 14:58:12.345 [23432576183096] 错误 — [Req#4339/Transcode/g36w0nghe577d918505yejsi/d9a907be-7eee-4893-9455-7cff96894ceb] Failed to inject frame into filter network: Function not implemented
Sep 18, 2023 14:58:12.345 [23432663206712] 错误 — [Req#433c/Transcode/g36w0nghe577d918505yejsi/d9a907be-7eee-4893-9455-7cff96894ceb] Error while processing the decoded data for stream #0:0
Sep 18, 2023 14:58:40.274 [23432641456952] 错误 — [Req#4784] Failed to delete session directory (boost::filesystem::remove: Directory not empty [system:39]: “/transcode/Transcode/Sessions/plex-transcode-g36w0nghe577d918505yejsi-d9a907be-7eee-4893-9455-7cff96894ceb”)
Sep 18, 2023 14:58:40.274 [23432639187768] 错误 — [Req#4784] Transcoder: Failed to delete session directory (boost::filesystem::remove: Directory not empty [system:39]: “/transcode/Transcode/Sessions/plex-transcode-g36w0nghe577d918505yejsi-d9a907be-7eee-4893-9455-7cff96894ceb”)
Sep 18, 2023 14:59:07.657 [23432665316152] 错误 — [Req#5385/Transcode/s64nf9jb8gs5s3c7jfq7rdkm/09c0ce59-2aed-4582-ac3f-2892c23b3146] Impossible to convert between the formats supported by the filter ‘Parsed_hwupload_2’ and the filter ‘auto_scale_0’
Sep 18, 2023 14:59:07.658 [23432576183096] 错误 — [Req#5392/Transcode/s64nf9jb8gs5s3c7jfq7rdkm/09c0ce59-2aed-4582-ac3f-2892c23b3146] Error reinitializing filters!
Sep 18, 2023 14:59:07.658 [23432663206712] 错误 — [Req#5395/Transcode/s64nf9jb8gs5s3c7jfq7rdkm/09c0ce59-2aed-4582-ac3f-2892c23b3146] Failed to inject frame into filter network: Function not implemented
Sep 18, 2023 14:59:07.658 [23432578292536] 错误 — [Req#5398/Transcode/s64nf9jb8gs5s3c7jfq7rdkm/09c0ce59-2aed-4582-ac3f-2892c23b3146] Error while processing the decoded data for stream #0:0
Sep 18, 2023 14:59:34.802 [23432590977848] 错误 — [Req#59bc] Transcoder: Failed to delete session directory (boost::filesystem::remove: Directory not empty [system:39]: “/transcode/Transcode/Sessions/plex-transcode-s64nf9jb8gs5s3c7jfq7rdkm-09c0ce59-2aed-4582-ac3f-2892c23b3146”)
Sep 18, 2023 14:59:34.802 [23432646331192] 错误 — [Req#59bc] Failed to delete session directory (boost::filesystem::remove: Directory not empty [system:39]: “/transcode/Transcode/Sessions/plex-transcode-s64nf9jb8gs5s3c7jfq7rdkm-09c0ce59-2aed-4582-ac3f-2892c23b3146”)

Uploading: Plex Media Server Logs_2023-09-18_15-00-35.zip…

can confirm HW tone mapping works with HDR and DoVi content again

With which version??? 1.32.5.7349 ??

Synology ds920+ version 1.32.5.7349-8f4248874. I tried with and without HDR tone mapping and I still have no luck with HW transcoding. Happy to provide any logs if they are helpful.

ALL: We have a possible solution.

We would greatly appreciate testing this.

  1. Functionality should be restored for all machines (EXCEPT GeminiLake HDR).
    Gemini Lake SDR HW transcoding works.
  2. AMD & Nvidia GPUs function again .
  3. QSV & Nvidia HDR tone mapping function again.

PMS 1.32.6.7521 is now available in PlexPass downloads.

(The interim binaries have been redacted from this thread as they are deprecated)

PLEASE REPORT RESULTS

Tested so far:

  1. Ubuntu 20.04 - Intel i7-8809G - Intel QSV & AMD VAAPI :white_check_mark:
  2. Ubuntu 22.04 - Nvidia P2200 - Nvidia CUDA :white_check_mark:
  3. QNAP - TVS-1282-i7 :white_check_mark: