Transcoder Hanging/Crashing on 4k -> 1080p

Server Version#: 1.32.5.7349
Player Version#: Plex Web 4.108.0 & Plex for Windows 1.76.2.3951-15712eae

Setup: Proxmox VE → Ubuntu docker → LinuxServer Plex image
GPU: Nvidia A2000 12GB
Drivers: 535

I’m having transcoding issues on a new Plex server build.
Basically, it’s extremely hit-or-miss on whether a 4k file will transcode or not. It seems like 4k → 1080p is the most broken, while 4k → 720p or lower works fine.
Also, it seems to take an extremely long time for streaming sessions to start (sometimes >2 min).

Things that work reliably:

  • Direct play
  • 4k → 720p transcoding
  • 1080p → any transcoding
  • Starting streams on Plex for Windows

Things that work sometimes:

  • Starting 4k streams on Web
    • Sometimes it starts and direct plays
    • Sometimes it starts and transcodes to 720p successfully
    • Sometimes it fails to start

Things that reliably fail:

  • 4k → 1080p transcoding
  • Changing quality multiple times in the same session
    • On Web: the spinning wheel goes forever
    • On Plex for Windows: the session crashes/quits

I have tried deleting the “Codecs” folder, and it seems to help for the first session afterwards, but then the behavior resumes. I am seeing mostly similar issues with both the Web player and the Plex for Windows application.

docker-compose
# docker-compose
services:
  plex:
    image: lscr.io/linuxserver/plex:latest
    container_name: plex
    runtime: nvidia
    environment:
      - PUID=${P_UID}
      - PGID=${P_GID}
      - VERSION=docker
      - NVIDIA_VISIBLE_DEVICES=all
      - NVIDIA_DRIVER_CAPABILITIES=all
    volumes:
      - ${FOLDER_CONFIG_ROOT}/plex:/config
      - /mnt/media:/media
    ports:
      - 32400:32400 # (for access to the Plex Media Server) [required]
      - 32410:32410/udp # (for current GDM network discovery)
      - 32412:32412/udp # (for current GDM network discovery)
      - 32413:32413/udp # (for current GDM network discovery)
      - 32414:32414/udp # (for current GDM network discovery)
      - 32469:32469 # (for access to the Plex DLNA Server)
    restart: unless-stopped
    networks:
      routing_proxy:
nvidia-smi
From inside the Plex container: nvidia-smi
Tue Aug 29 03:14:13 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  NVIDIA RTX A2000 12GB          Off | 00000000:00:10.0 Off |                  Off |
| 30%   41C    P8               6W /  70W |      2MiB / 12282MiB |      0%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+
                                                                                         
+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|  No running processes found                                                           |
+---------------------------------------------------------------------------------------+

Thanks for the help!

Plex Media Server Logs_2023-08-29_03-58-50.zip (3.8 MB)

Are your problematic 4k files HDR or SDR? If you are trying to do HDR to SDR then you are doing tone mapping in addition to a resolution change, so more is going on.

Okay yes, the problematic files are HDR.
I have HDR tone mapping enabled.

Hopefully this is useful information.

Hardware Transcoding Enabled


Player Version: Plex Web Version 4.108.0

jellyfish-120-mbps-4k-uhd-h264.mkv
:white_check_mark: Original
:x: Transcode 1080p HD High (20 Mbps)
:x: Transcode 720p HD (2Mbps)

jellyfish-120-mbps-4k-uhd-hevc-10bit.mkv
:white_check_mark: Original
:x: Transcode 1080p HD High (20 Mbps)
:x: Transcode 720p HD (2Mbps)

Tests that crash show no error message.

Logs for failures
Aug 30, 2023 01:23:50.624 [140204787526456] Debug — [Req#1a45a7/Transcode] Codecs: dummy-frame test succeeded
Aug 30, 2023 01:23:50.664 [140204787526456] Debug — [Req#1a45a7/Transcode] MDE: jellyfish-120-mbps-4k-uhd-hevc-10bit (2016): selected media 0 / 117810
Aug 30, 2023 01:23:50.664 [140204787526456] Debug — [Req#1a45a7/Transcode] Streaming Resource: Session 0x7f83fd3e0488:3pmq0bcfmq1hn0iup1dqd7xp changed from using 87092kbps to 1984kbps of WAN bandwidth.  Used bandwidth is now 1984kbps
Aug 30, 2023 01:23:50.664 [140204583136056] Debug — [Req#1a45a7/Transcode] Killing job.
Aug 30, 2023 01:23:50.664 [140204583136056] Debug — [Req#1a45a7/Transcode] Signalling job ID 22583 with 9
Aug 30, 2023 01:23:50.664 [140204583136056] Debug — [Req#1a45a7/Transcode] Job was already killed, not killing again.
Aug 30, 2023 01:23:50.664 [140204583136056] Debug — [Req#1a45a7/Transcode] Stopping transcode session an1ej7b3xr7nogud610zysr5
Aug 30, 2023 01:23:50.665 [140204608748344] Debug — [Req#1a45a7/Transcode] Cleaning directory for session an1ej7b3xr7nogud610zysr5 (/config/Library/Application Support/Plex Media Server/Cache/Transcode/Sessions/plex-transcode-an1ej7b3xr7nogud610zysr5-d9cfb4a1-2a17-49ce-a017-40b61b93db4f)
Aug 30, 2023 01:23:50.665 [140204787526456] Debug — [Req#1a45a7/Transcode] Streaming Resource: Reached Decision id=103952 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=117810 part=(id=117810 decision=transcode container=mp4 protocol=dash streams=(Video=(id=152450 decision=transcode bitrate=1889 encoder=h264_nvenc width=720 height=404))))
Aug 30, 2023 01:23:50.666 [140204926802744] Debug — Completed: [184.58.32.22:51207] 200 GET /video/:/transcode/universal/decision?hasMDE=1&path=%2Flibrary%2Fmetadata%2F103952&mediaIndex=0&partIndex=0&protocol=dash&fastSeek=1&directPlay=0&directStream=1&subtitleSize=100&audioBoost=100&location=wan&maxVideoBitrate=2000&addDebugOverlay=0&autoAdjustQuality=0&directStreamAudio=1&mediaBufferSize=102400&session=an1ej7b3xr7nogud610zysr5&subtitles=burn&Accept-Language=en (21 live) #1a45a7 TLS GZIP 4206ms 1352 bytes (pipelined: 12)
Aug 30, 2023 01:23:50.667 [140204583136056] Debug — [Req#1a45a7/Transcode] Transcoder: Cleaning old transcode directories.
Aug 30, 2023 01:23:50.667 [140204583136056] Debug — [Req#1a45a7/Transcode] Transcoder: Cleaning old transcode directory: "/config/Library/Application Support/Plex Media Server/Cache/Transcode/Sessions/plex-transcode-an1ej7b3xr7nogud610zysr5-d9cfb4a1-2a17-49ce-a017-40b61b93db4f"
Aug 30, 2023 01:23:50.668 [140204583136056] Debug — [Req#1a45a7/Transcode] Whacked session an1ej7b3xr7nogud610zysr5, 0 remaining.
Aug 30, 2023 01:23:50.722 [140204593138488] Debug — Request: [184.58.32.22:51225 (WAN)] GET /status/sessions (20 live) #1a54b8 TLS GZIP Signed-in Token (Bennnnnnn) (Chrome)
Aug 30, 2023 01:23:50.722 [140204593138488] Debug — [Req#1a54b8] [Now] Adding 1 sessions.
Aug 30, 2023 01:23:50.723 [140204924693304] Debug — Completed: [184.58.32.22:51225] 200 GET /status/sessions (20 live) #1a54b8 TLS GZIP 1ms 1627 bytes (pipelined: 1)
Aug 30, 2023 01:23:50.729 [140204840192824] Debug — Request: [184.58.32.22:51206 (WAN)] GET /status/sessions (20 live) #1a580c TLS GZIP Signed-in Token (Bennnnnnn) (Chrome)
Aug 30, 2023 01:23:50.729 [140204840192824] Debug — [Req#1a580c] [Now] Adding 1 sessions.
Aug 30, 2023 01:23:50.730 [140204924693304] Debug — Completed: [184.58.32.22:51206] 200 GET /status/sessions (20 live) #1a580c TLS GZIP 1ms 1627 bytes (pipelined: 10)
Aug 30, 2023 01:23:50.746 [140204929399608] Debug — Jobs: '/usr/lib/plexmediaserver/Plex Transcoder' exit code for process 22583 is -9 (signal: Killed)
Aug 30, 2023 01:23:50.746 [140204608748344] Debug — Cleaning directory for session an1ej7b3xr7nogud610zysr5 (/config/Library/Application Support/Plex Media Server/Cache/Transcode/Sessions/plex-transcode-an1ej7b3xr7nogud610zysr5-d9cfb4a1-2a17-49ce-a017-40b61b93db4f)
Aug 30, 2023 01:23:50.768 [140204787526456] Debug — Request: [184.58.32.22:51225 (WAN)] GET /status/sessions (19 live) #1a643f TLS GZIP Signed-in Token (Bennnnnnn) (Chrome)
Aug 30, 2023 01:23:50.768 [140204787526456] Debug — [Req#1a643f] [Now] Adding 1 sessions.
Aug 30, 2023 01:23:50.769 [140204926802744] Debug — Completed: [184.58.32.22:51225] 200 GET /status/sessions (19 live) #1a643f TLS GZIP 1ms 1627 bytes (pipelined: 2)
Aug 30, 2023 01:23:50.821 [140204593138488] Debug — Request: [184.58.32.22:51225 (WAN)] GET /status/sessions (19 live) #1a6463 TLS GZIP Signed-in Token (Bennnnnnn) (Chrome)
Aug 30, 2023 01:23:50.821 [140204593138488] Debug — [Req#1a6463] [Now] Adding 1 sessions.
Aug 30, 2023 01:23:50.822 [140204924693304] Debug — Completed: [184.58.32.22:51225] 200 GET /status/sessions (19 live) #1a6463 TLS GZIP 1ms 1627 bytes (pipelined: 3)
Aug 30, 2023 01:23:50.889 [140204926802744] Debug — Completed: [184.58.32.22:51208] 200 GET /video/:/transcode/universal/session/an1ej7b3xr7nogud610zysr5/0/0.m4s (19 live) #1a5e49 TLS GZIP 938ms 12242796 bytes (pipelined: 5)
Aug 30, 2023 01:23:50.949 [140204840192824] Debug — Request: [184.58.32.22:51225 (WAN)] GET /status/sessions (19 live) #1a6470 TLS GZIP Signed-in Token (Bennnnnnn) (Chrome)
Aug 30, 2023 01:23:50.949 [140204840192824] Debug — [Req#1a6470] [Now] Adding 1 sessions.
Aug 30, 2023 01:23:50.950 [140204924693304] Debug — Completed: [184.58.32.22:51225] 200 GET /status/sessions (19 live) #1a6470 TLS GZIP 1ms 1627 bytes (pipelined: 4)
Aug 30, 2023 01:23:51.124 [140204787526456] Debug — Request: [184.58.32.22:51208 (WAN)] GET /video/:/transcode/universal/session/an1ej7b3xr7nogud610zysr5/0/1.m4s (19 live) #1a6475 TLS GZIP Signed-in
Aug 30, 2023 01:23:51.125 [140204924693304] Debug — Completed: [184.58.32.22:51208] 404 GET /video/:/transcode/universal/session/an1ej7b3xr7nogud610zysr5/0/1.m4s (19 live) #1a6475 TLS GZIP 0ms 496 bytes (pipelined: 6)
Aug 30, 2023 01:23:52.082 [140204787526456] Debug — Request: [184.58.32.22:51208 (WAN)] GET /video/:/transcode/universal/session/an1ej7b3xr7nogud610zysr5/0/1.m4s (19 live) #1a648b TLS GZIP Signed-in
Aug 30, 2023 01:23:52.083 [140204926802744] Debug — Completed: [184.58.32.22:51208] 404 GET /video/:/transcode/universal/session/an1ej7b3xr7nogud610zysr5/0/1.m4s (19 live) #1a648b TLS GZIP 0ms 496 bytes (pipelined: 7)
Aug 30, 2023 01:23:53.845 [140204840192824] Debug — Request: [184.58.32.22:51208 (WAN)] GET /video/:/transcode/universal/session/an1ej7b3xr7nogud610zysr5/0/1.m4s (19 live) #1a6494 TLS GZIP Signed-in
Aug 30, 2023 01:23:53.846 [140204926802744] Debug — Completed: [184.58.32.22:51208] 404 GET /video/:/transcode/universal/session/an1ej7b3xr7nogud610zysr5/0/1.m4s (19 live) #1a6494 TLS GZIP 0ms 496 bytes (pipelined: 8)
Aug 30, 2023 01:23:59.018 [140204787526456] Debug — Request: [184.58.32.22:51208 (WAN)] GET /video/:/transcode/universal/session/an1ej7b3xr7nogud610zysr5/0/1.m4s (19 live) #1a649d TLS GZIP Signed-in
Aug 30, 2023 01:23:59.018 [140204924693304] Debug — Completed: [184.58.32.22:51208] 404 GET /video/:/transcode/universal/session/an1ej7b3xr7nogud610zysr5/0/1.m4s (19 live) #1a649d TLS GZIP 1ms 496 bytes (pipelined: 9)
Aug 30, 2023 01:24:01.160 [140204840192824] Debug — Request: [184.58.32.22:51208 (WAN)] GET /:/timeline?ratingKey=103952&key=%2Flibrary%2Fmetadata%2F103952&playbackTime=541&playQueueItemID=1742&state=buffering&hasMDE=1&context=home%3Ahub.video.recent&row=3&col=0&time=0&duration=30000 (19 live) #1a64a6 TLS GZIP Signed-in Token (Bennnnnnn) (Chrome)
Aug 30, 2023 01:24:01.162 [140204840192824] Debug — [Req#1a64a6] Client [3pmq0bcfmq1hn0iup1dqd7xp] reporting timeline state buffering, progress of 0/30000ms for guid=, playbackTime=541ms ratingKey=103952 url=, key=/library/metadata/103952, containerKey=, metadataId=103952, source=

Player Version: Plex for Windows Version 1.76.2.3951-15712eae

jellyfish-120-mbps-4k-uhd-h264.mkv
:x: Original (crash ~50%)
:x: Transcode 1080p HD High (20 Mbps) (crash ~50%)
:white_check_mark: Transcode 720p HD (2Mbps)

jellyfish-120-mbps-4k-uhd-hevc-10bit.mkv
:x: Original (crash ~50%)
:x: Transcode 1080p HD High (20 Mbps) (crash ~50%)
:white_check_mark: Transcode 720p HD (2Mbps)

Tests that crash show this error message:

An unknown error occurred (4294967279)
Error code: 4294967279
Logs for failures
Aug 30, 2023 01:14:17.046 [140204810263352] Debug — [Req#172010/Transcode] Codecs: Testing with profile 'Main 10'
Aug 30, 2023 01:14:17.046 [140204810263352] Debug — [Req#172010/Transcode] [FFMPEG] - nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0

Aug 30, 2023 01:14:17.046 [140204810263352] Debug — [Req#172010/Transcode] [FFMPEG] - nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0

Aug 30, 2023 01:14:17.046 [140204810263352] Debug — [Req#172010/Transcode] [FFMPEG] - nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0

Aug 30, 2023 01:14:17.046 [140204810263352] Debug — [Req#172010/Transcode] [FFMPEG] - nal_unit_type: 20(IDR_N_LP), nuh_layer_id: 0, temporal_id: 0

Aug 30, 2023 01:14:17.046 [140204810263352] Debug — [Req#172010/Transcode] [FFMPEG] - Decoding VPS

Aug 30, 2023 01:14:17.046 [140204810263352] Debug — [Req#172010/Transcode] [FFMPEG] - Main 10 profile bitstream

Aug 30, 2023 01:14:17.046 [140204810263352] Debug — [Req#172010/Transcode] [FFMPEG] - Decoding SPS

Aug 30, 2023 01:14:17.046 [140204810263352] Debug — [Req#172010/Transcode] [FFMPEG] - Main 10 profile bitstream

Aug 30, 2023 01:14:17.046 [140204810263352] Debug — [Req#172010/Transcode] [FFMPEG] - Decoding VUI

Aug 30, 2023 01:14:17.046 [140204810263352] Debug — [Req#172010/Transcode] [FFMPEG] - Decoding PPS

Aug 30, 2023 01:14:17.046 [140204810263352] Debug — [Req#172010/Transcode] [FFMPEG] - Format cuda chosen by get_format().

Aug 30, 2023 01:14:17.046 [140204810263352] Debug — [Req#172010/Transcode] [FFMPEG] - Format cuda requires hwaccel initialisation.

Aug 30, 2023 01:14:17.046 [140204810263352] Debug — [Req#172010/Transcode] [FFMPEG] - CUDA texture alignment: 512

Aug 30, 2023 01:14:17.046 [140204810263352] Debug — [Req#172010/Transcode] [FFMPEG] - CUDA texture alignment: 512

Aug 30, 2023 01:14:17.046 [140204810263352] Debug — [Req#172010/Transcode] [FFMPEG] - Loaded lib: libnvcuvid.so.1

Aug 30, 2023 01:14:17.046 [140204810263352] Debug — [Req#172010/Transcode] [FFMPEG] - Loaded sym: cuvidGetDecoderCaps

Aug 30, 2023 01:14:17.046 [140204810263352] Debug — [Req#172010/Transcode] [FFMPEG] - Loaded sym: cuvidCreateDecoder

Aug 30, 2023 01:14:17.046 [140204810263352] Debug — [Req#172010/Transcode] [FFMPEG] - Loaded sym: cuvidDestroyDecoder

Aug 30, 2023 01:14:17.046 [140204810263352] Debug — [Req#172010/Transcode] [FFMPEG] - Loaded sym: cuvidDecodePicture

Aug 30, 2023 01:14:17.046 [140204810263352] Debug — [Req#172010/Transcode] [FFMPEG] - Loaded sym: cuvidGetDecodeStatus

Aug 30, 2023 01:14:17.046 [140204810263352] Debug — [Req#172010/Transcode] [FFMPEG] - Loaded sym: cuvidReconfigureDecoder

Aug 30, 2023 01:14:17.046 [140204810263352] Debug — [Req#172010/Transcode] [FFMPEG] - Loaded sym: cuvidMapVideoFrame64

Aug 30, 2023 01:14:17.046 [140204810263352] Debug — [Req#172010/Transcode] [FFMPEG] - Loaded sym: cuvidUnmapVideoFrame64

Aug 30, 2023 01:14:17.046 [140204810263352] Debug — [Req#172010/Transcode] [FFMPEG] - Loaded sym: cuvidCtxLockCreate

Aug 30, 2023 01:14:17.046 [140204810263352] Debug — [Req#172010/Transcode] [FFMPEG] - Loaded sym: cuvidCtxLockDestroy

Aug 30, 2023 01:14:17.046 [140204810263352] Debug — [Req#172010/Transcode] [FFMPEG] - Loaded sym: cuvidCtxLock

Aug 30, 2023 01:14:17.046 [140204810263352] Debug — [Req#172010/Transcode] [FFMPEG] - Loaded sym: cuvidCtxUnlock

Aug 30, 2023 01:14:17.046 [140204810263352] Debug — [Req#172010/Transcode] [FFMPEG] - Loaded sym: cuvidCreateVideoSource

Aug 30, 2023 01:14:17.046 [140204810263352] Debug — [Req#172010/Transcode] [FFMPEG] - Loaded sym: cuvidCreateVideoSourceW

Aug 30, 2023 01:14:17.046 [140204810263352] Debug — [Req#172010/Transcode] [FFMPEG] - Loaded sym: cuvidDestroyVideoSource

Aug 30, 2023 01:14:17.046 [140204810263352] Debug — [Req#172010/Transcode] [FFMPEG] - Loaded sym: cuvidSetVideoSourceState

Aug 30, 2023 01:14:17.046 [140204810263352] Debug — [Req#172010/Transcode] [FFMPEG] - Loaded sym: cuvidGetVideoSourceState

Aug 30, 2023 01:14:17.046 [140204810263352] Debug — [Req#172010/Transcode] [FFMPEG] - Loaded sym: cuvidGetSourceVideoFormat

Aug 30, 2023 01:14:17.046 [140204810263352] Debug — [Req#172010/Transcode] [FFMPEG] - Loaded sym: cuvidGetSourceAudioFormat

Aug 30, 2023 01:14:17.046 [140204810263352] Debug — [Req#172010/Transcode] [FFMPEG] - Loaded sym: cuvidCreateVideoParser

Aug 30, 2023 01:14:17.046 [140204810263352] Debug — [Req#172010/Transcode] [FFMPEG] - Loaded sym: cuvidParseVideoData

Aug 30, 2023 01:14:17.046 [140204810263352] Debug — [Req#172010/Transcode] [FFMPEG] - Loaded sym: cuvidDestroyVideoParser

Aug 30, 2023 01:14:17.064 [140204810263352] Debug — [Req#172010/Transcode] Codecs: dummy-frame test succeeded
Aug 30, 2023 01:14:17.172 [140204810263352] Debug — [Req#172010/Transcode] MDE: jellyfish-120-mbps-4k-uhd-hevc-10bit (2016): selected media 0 / 117810
Aug 30, 2023 01:14:17.172 [140204542413624] Debug — [Req#172010/Transcode] Killing job.
Aug 30, 2023 01:14:17.172 [140204542413624] Debug — [Req#172010/Transcode] Signalling job ID 20988 with 9
Aug 30, 2023 01:14:17.172 [140204542413624] Debug — [Req#172010/Transcode] Job was already killed, not killing again.
Aug 30, 2023 01:14:17.172 [140204542413624] Debug — [Req#172010/Transcode] Stopping transcode session fdnfdw7n4wkuqph8r6hw5dgq
Aug 30, 2023 01:14:17.172 [140204508797752] Debug — [Req#172010/Transcode] Cleaning directory for session fdnfdw7n4wkuqph8r6hw5dgq (/config/Library/Application Support/Plex Media Server/Cache/Transcode/Sessions/plex-transcode-fdnfdw7n4wkuqph8r6hw5dgq-a498793c-d890-472a-aa23-2c7abc01b0d9)
Aug 30, 2023 01:14:17.173 [140204810263352] Debug — [Req#172010/Transcode] Streaming Resource: Reached Decision id=103952 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=117810 part=(id=117810 decision=transcode container=mkv protocol=http streams=(Video=(id=152450 decision=transcode bitrate=82944 encoder=h264_nvenc width=3840 height=2160))))
Aug 30, 2023 01:14:17.174 [140204926802744] Debug — Completed: [184.58.32.22:50266] 200 GET /video/:/transcode/universal/decision?hasMDE=1&path=%2Flibrary%2Fmetadata%2F103952&mediaIndex=0&partIndex=0&protocol=http&fastSeek=1&directPlay=0&directStream=0&subtitleSize=100&audioBoost=100&location=wan&session=fdnfdw7n4wkuqph8r6hw5dgq&offset=6&subtitles=auto&copyts=1&Accept-Language=en (25 live) #172010 TLS GZIP 3907ms 1166 bytes (pipelined: 3)
Aug 30, 2023 01:14:17.174 [140204542413624] Debug — [Req#172010/Transcode] Transcoder: Cleaning old transcode directories.
Aug 30, 2023 01:14:17.175 [140204542413624] Debug — [Req#172010/Transcode] Whacked session fdnfdw7n4wkuqph8r6hw5dgq, 0 remaining.
Aug 30, 2023 01:14:17.221 [140204565572408] Debug — Request: [184.58.32.22:50277 (WAN)] GET /status/sessions (24 live) #17373e TLS GZIP Signed-in Token (Bennnnnnn) (BenDesktop)
Aug 30, 2023 01:14:17.221 [140204565572408] Debug — [Req#17373e] [Now] Adding 1 sessions.
Aug 30, 2023 01:14:17.222 [140204926802744] Debug — Completed: [184.58.32.22:50277] 200 GET /status/sessions (24 live) #17373e TLS GZIP 1ms 1450 bytes (pipelined: 2)
Aug 30, 2023 01:14:17.232 [140204929399608] Debug — Jobs: '/usr/lib/plexmediaserver/Plex Transcoder' exit code for process 20988 is -9 (signal: Killed)
Aug 30, 2023 01:14:17.240 [140204583136056] Debug — Request: [184.58.32.22:50119 (WAN)] GET /status/sessions (23 live) #17374b TLS GZIP Signed-in Token (Bennnnnnn) (Chrome)
Aug 30, 2023 01:14:17.240 [140204810263352] Debug — Request: [184.58.32.22:50223 (WAN)] GET /status/sessions (23 live) #17371e TLS GZIP Signed-in Token (Bennnnnnn) (Chrome)
Aug 30, 2023 01:14:17.240 [140204583136056] Debug — [Req#17374b] [Now] Adding 1 sessions.
Aug 30, 2023 01:14:17.240 [140204810263352] Debug — [Req#17371e] [Now] Adding 1 sessions.
Aug 30, 2023 01:14:17.242 [140204926802744] Debug — Completed: [184.58.32.22:50119] 200 GET /status/sessions (23 live) #17374b TLS GZIP 1ms 1586 bytes (pipelined: 59)
Aug 30, 2023 01:14:17.242 [140204926802744] Debug — Completed: [184.58.32.22:50223] 200 GET /status/sessions (23 live) #17371e TLS GZIP 1ms 1586 bytes (pipelined: 20)
Aug 30, 2023 01:14:17.300 [140204565572408] Debug — Request: [184.58.32.22:50223 (WAN)] GET /status/sessions (23 live) #173e96 TLS GZIP Signed-in Token (Bennnnnnn) (Chrome)
Aug 30, 2023 01:14:17.300 [140204565572408] Debug — [Req#173e96] [Now] Adding 1 sessions.
Aug 30, 2023 01:14:17.301 [140204926802744] Debug — Completed: [184.58.32.22:50223] 200 GET /status/sessions (23 live) #173e96 TLS GZIP 1ms 1586 bytes (pipelined: 21)
Aug 30, 2023 01:14:17.348 [140204583136056] Debug — Request: [184.58.32.22:50119 (WAN)] GET /status/sessions (23 live) #173e91 TLS GZIP Signed-in Token (Bennnnnnn) (Chrome)
Aug 30, 2023 01:14:17.348 [140204583136056] Debug — [Req#173e91] [Now] Adding 1 sessions.
Aug 30, 2023 01:14:17.349 [140204924693304] Debug — Completed: [184.58.32.22:50119] 200 GET /status/sessions (23 live) #173e91 TLS GZIP 0ms 1586 bytes (pipelined: 60)
Aug 30, 2023 01:14:17.357 [140204810263352] Debug — Request: [184.58.32.22:50223 (WAN)] GET /status/sessions (23 live) #173ea3 TLS GZIP Signed-in Token (Bennnnnnn) (Chrome)
Aug 30, 2023 01:14:17.358 [140204810263352] Debug — [Req#173ea3] [Now] Adding 1 sessions.
Aug 30, 2023 01:14:17.358 [140204924693304] Debug — Completed: [184.58.32.22:50223] 200 GET /status/sessions (23 live) #173ea3 TLS GZIP 0ms 1586 bytes (pipelined: 22)
Aug 30, 2023 01:14:20.916 [140204771203896] Debug — [Req#171ef0/Transcode] Cleaning directory for session fdnfdw7n4wkuqph8r6hw5dgq (/config/Library/Application Support/Plex Media Server/Cache/Transcode/Sessions/plex-transcode-fdnfdw7n4wkuqph8r6hw5dgq-a498793c-d890-472a-aa23-2c7abc01b0d9)
Aug 30, 2023 01:14:20.917 [140204771203896] Debug — Content-Length is -1 (of total: -1).
Aug 30, 2023 01:14:20.917 [140204771203896] Error — [TranscodeOutputStream] Session appears to have died from under us

Hardware Transcoding Disabled

Both files play/transcode at all resolutions reliably with both players (albeit with high CPU usage).

Adding the following lines to my docker-compose seems to have resolved the issue.

# docker-compose
services:
  plex:
    image: lscr.io/linuxserver/plex:latest
    container_name: plex
    runtime: nvidia
    environment:
      - PUID=${P_UID}
      - PGID=${P_GID}
      - VERSION=docker
      - NVIDIA_VISIBLE_DEVICES=all
      - NVIDIA_DRIVER_CAPABILITIES=all
+    devices:
+     - /dev/dri:/dev/dri
    volumes:
      - ${FOLDER_CONFIG_ROOT}/plex:/config
      - /mnt/media:/media
    ports:
      - 32400:32400 # (for access to the Plex Media Server) [required]
      - 32410:32410/udp # (for current GDM network discovery)
      - 32412:32412/udp # (for current GDM network discovery)
      - 32413:32413/udp # (for current GDM network discovery)
      - 32414:32414/udp # (for current GDM network discovery)
      - 32469:32469 # (for access to the Plex DLNA Server)
    restart: unless-stopped
    networks:
      routing_proxy:

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