You installing the Nvidia drivers again in the container with the --no-kernel-modules is the equivalent of what I do. You get only the runtime modules. The host has the kernel modules (which is correct). The container relies on the host to share(provide) them since it shares the kernel with the main installation of the host OS.
This one is a remux / audio conversion
May 06, 2024 21:33:38.442 [125130520972088] DEBUG - [Req#71d/Transcode] Starting a transcode session kuuxhwvzkjiv4rkv8jns4fkc at offset -1.0 (state=3)
May 06, 2024 21:33:38.442 [125130520972088] DEBUG - [Req#71d/Transcode] TPU: hardware transcoding: enabled, but no hardware decode accelerator found
May 06, 2024 21:33:38.442 [125130520972088] INFO - [Req#71d/Transcode] CodecManager: starting EAE at "/tmp/pms-4bb5a8b0-a0f0-4755-bde1-f1ef1d938f44/EasyAudioEncoder"
May 06, 2024 21:33:38.443 [125130520972088] DEBUG - [Req#71d/Transcode/JobRunner] Job running: "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/EasyAudioEncoder-1978-linux-x86_64/EasyAudioEncoder/EasyAudioEncoder"
May 06, 2024 21:33:38.443 [125130520972088] DEBUG - [Req#71d/Transcode/JobRunner] In directory: "/tmp/pms-4bb5a8b0-a0f0-4755-bde1-f1ef1d938f44/EasyAudioEncoder"
May 06, 2024 21:33:38.443 [125130520972088] DEBUG - [Req#71d/Transcode/JobRunner] Jobs: Starting child process with pid 55447
May 06, 2024 21:33:38.443 [125130520972088] DEBUG - [Req#71d/Transcode] [Universal] Using local file path instead of URL: /mnt/nas/movies/Arcadian (2024)/Arcadian (2024) {imdb-tt22939186} [AMZN][WEBDL-1080p][EAC3 5.1][h264]-FLUX.mkv
May 06, 2024 21:33:38.443 [125130520972088] DEBUG - [Req#71d/Transcode] TPU: hardware transcoding: final decoder: , final encoder:
May 06, 2024 21:33:38.444 [125130520972088] DEBUG - [Req#71d/Transcode/JobRunner] Job running: EAE_ROOT=/tmp/pms-4bb5a8b0-a0f0-4755-bde1-f1ef1d938f44/EasyAudioEncoder FFMPEG_EXTERNAL_LIBS='/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Codecs/ad47460-4673-linux-x86_64/' X_PLEX_TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx "/usr/lib/plexmediaserver/Plex Transcoder" -codec:0 h264 -codec:1 eac3_eae -eae_prefix:1 kuuxhwvzkjiv4rkv8jns4fkc_ -ss 0 -noaccurate_seek -analyzeduration 20000000 -probesize 20000000 -i "/mnt/nas/movies/Arcadian (2024)/Arcadian (2024) {imdb-tt22939186} [AMZN][WEBDL-1080p][EAC3 5.1][h264]-FLUX.mkv" -map 0:0 -metadata:s:0 language=eng -codec:0 copy -filter_complex "[0:1] aresample=async=1:ochl='stereo':rematrix_maxval=0.000000dB:osr=48000[0]" -map "[0]" -metadata:s:1 language=eng -codec:1 aac -b:1 256k -f dash -seg_duration 5 -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/kuuxhwvzkjiv4rkv8jns4fkc/c2202fb6-6e77-485b-a098-0c62d37d5a56/manifest?X-Plex-Http-Pipeline=infinite" -avoid_negative_ts disabled -map_metadata -1 -map_chapters -1 dash -start_at_zero -copyts -vsync cfr -y -nostats -loglevel quiet -loglevel_plex error -progressurl http://127.0.0.1:32400/video/:/transcode/session/kuuxhwvzkjiv4rkv8jns4fkc/c2202fb6-6e77-485b-a098-0c62d37d5a56/progress
May 06, 2024 21:33:38.444 [125130520972088] DEBUG - [Req#71d/Transcode/JobRunner] In directory: "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Cache/Transcode/Sessions/plex-transcode-kuuxhwvzkjiv4rkv8jns4fkc-c2202fb6-6e77-485b-a098-0c62d37d5a56"
This is a full transcode:
May 06, 2024 21:34:01.552 [125130535770936] DEBUG - [Req#843/Transcode] TPU: hardware transcoding: using hardware decode accelerator nvdec
May 06, 2024 21:34:01.552 [125130535770936] DEBUG - [Req#843/Transcode] TPU: hardware transcoding: zero-copy support present
May 06, 2024 21:34:01.552 [125130535770936] DEBUG - [Req#843/Transcode] TPU: hardware transcoding: using zero-copy transcoding
May 06, 2024 21:34:01.552 [125130535770936] DEBUG - [Req#843/Transcode] [Universal] Using local file path instead of URL: /mnt/nas/movies/Arcadian (2024)/Arcadian (2024) {imdb-tt22939186} [AMZN][WEBDL-1080p][EAC3 5.1][h264]-FLUX.mkv
May 06, 2024 21:34:01.552 [125130535770936] DEBUG - [Req#843/Transcode] TPU: hardware transcoding: final decoder: nvdec, final encoder: nvenc
May 06, 2024 21:34:01.552 [125130535770936] DEBUG - [Req#843/Transcode/JobRunner] Job running: CUDA_CACHE_PATH="/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Cache/Shaders/CUDA" EAE_ROOT=/tmp/pms-4bb5a8b0-a0f0-4755-bde1-f1ef1d938f44/EasyAudioEncoder FFMPEG_EXTERNAL_LIBS='/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Codecs/ad47460-4673-linux-x86_64/' X_PLEX_TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx "/usr/lib/plexmediaserver/Plex Transcoder" -codec:0 h264 -hwaccel:0 nvdec -hwaccel_fallback_threshold:0 10 -threads:0 1 -hwaccel_output_format:0 cuda -hwaccel_device:0 cuda -codec:1 eac3_eae -eae_prefix:1 4iln2shqzte3gbnct8vy2uya_ -analyzeduration 20000000 -probesize 20000000 -i "/mnt/nas/movies/Arcadian (2024)/Arcadian (2024) {imdb-tt22939186} [AMZN][WEBDL-1080p][EAC3 5.1][h264]-FLUX.mkv" -filter_complex "[0:0]hwupload[0];[0]scale_cuda=w=1278:h=544:format=nv12[1]" -map "[1]" -metadata:s:0 language=eng -codec:0 h264_nvenc -b:0 2046k -maxrate:0 2728k -bufsize:0 5456k -forced-idr:0 1 -r:0 23.975999999999999 -force_key_frames:0 "expr:gte(t,n_forced*5)" -filter_complex "[0:1] aresample=async=1:ochl='stereo':rematrix_maxval=0.000000dB:osr=48000[2]" -map "[2]" -metadata:s:1 language=eng -codec:1 aac -b:1 117k -f dash -seg_duration 5 -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/4iln2shqzte3gbnct8vy2uya/10f70ee8-0702-403f-a11c-051d71b310e3/manifest?X-Plex-Http-Pipeline=infinite" -avoid_negative_ts disabled -map_metadata -1 -map_chapters -1 dash -start_at_zero -copyts -vsync cfr -init_hw_device cuda=cuda:pci:0000:42:00.0 -filter_hw_device cuda -y -nostats -loglevel quiet -loglevel_plex error -progressurl http://127.0.0.1:32400/video/:/transcode/session/4iln2shqzte3gbnct8vy2uya/10f70ee8-0702-403f-a11c-051d71b310e3/progress
May 06, 2024 21:34:01.552 [125130535770936] DEBUG - [Req#843/Transcode/JobRunner] In directory: "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Cache/Transcode/Sessions/plex-transcode-4iln2shqzte3gbnct8vy2uya-10f70ee8-0702-403f-a11c-051d71b310e3"
This is an issue.
- You’re on different subnets so you’re “Remote”
- It will be https
- The cert isn’t connecting.
May 06, 2024 21:34:11.439 [125130651360056] DEBUG - CERT: incomplete TLS handshake from 10.66.0.80:61057: sslv3 alert certificate unknown (SSL routines)
The alarm is raised again here.
May 06, 2024 21:34:32.983 [125130653469496] WARN - [CERT] TLS connection from 10.66.0.80:51856 came in with unrecognized plex.direct SNI name '10-66-6-2.a94e756dc19441a9b31881b0c0c6b439.plex.direct'; using installed plex.direct cert
May 06, 2024 21:34:32.983 [125130651360056] WARN - [CERT] TLS connection from 10.66.0.80:51855 came in with unrecognized plex.direct SNI name '10-66-6-2.4f7d3af3c19c481fa49fd397eef3e95d.plex.direct'; using installed plex.direct cert
May 06, 2024 21:34:32.996 [125130653469496] DEBUG - CERT: incomplete TLS handshake from 10.66.0.80:51855: stream truncated
May 06, 2024 21:34:33.000 [125130651360056] DEBUG - CERT: incomplete TLS handshake from 10.66.0.80:51856: stream truncated
This tells me the player is looking for the old plex-issued certificate
The solution is a Control+F5 to force refresh of the server’s certificate from Plex.tv
We can see it got to the 40th block of transcoded output for playback then got terminated.
May 06, 2024 21:34:48.897 [125130651360056] DEBUG - Completed: [10.66.0.80:51791] 200 GET /video/:/transcode/universal/session/4iln2shqzte3gbnct8vy2uya/1/27.m4s (10 live) #9b0 TLS GZIP 0ms 76157 bytes (pipelined: 64)
May 06, 2024 21:34:48.945 [125130520972088] DEBUG - [Req#9a5/Transcode/4iln2shqzte3gbnct8vy2uya/10f70ee8-0702-403f-a11c-051d71b310e3] Transcoder segment range: 0 - 39 (39)
May 06, 2024 21:34:49.182 [125130535770936] DEBUG - [Req#9b4/Transcode/4iln2shqzte3gbnct8vy2uya/10f70ee8-0702-403f-a11c-051d71b310e3] Transcoder segment range: 0 - 40 (40)
May 06, 2024 21:34:49.251 [125130541783864] DEBUG - [Req#9b2/Transcode/4iln2shqzte3gbnct8vy2uya/10f70ee8-0702-403f-a11c-051d71b310e3] Session 4iln2shqzte3gbnct8vy2uya (4) is throttling
May 06, 2024 21:34:49.251 [125130544024376] DEBUG - [Req#9b8/Transcode/4iln2shqzte3gbnct8vy2uya/10f70ee8-0702-403f-a11c-051d71b310e3] Throttle - Going into sloth mode.
May 06, 2024 21:34:53.002 [125130651360056] WARN - [CERT] TLS connection from 10.66.0.80:51857 came in with unrecognized plex.direct SNI name '10-66-6-2.4f7d3af3c19c481fa49fd397eef3e95d.plex.direct'; using installed plex.direct cert
May 06, 2024 21:34:53.002 [125130653469496] WARN - [CERT] TLS connection from 10.66.0.80:51858 came in with unrecognized plex.direct SNI name '10-66-6-2.a94e756dc19441a9b31881b0c0c6b439.plex.direct'; using installed plex.direct cert
May 06, 2024 21:34:53.017 [125130651360056] DEBUG - CERT: incomplete TLS handshake from 10.66.0.80:51857: stream truncated
May 06, 2024 21:34:53.021 [125130653469496] DEBUG - CERT: incomplete TLS handshake from 10.66.0.80:51858: stream truncated
May 06, 2024 21:34:53.596 [125130541783864] DEBUG - Request: [10.66.0.80:51791 (Allowed Network (WAN))] GET /:/timeline
Do you define 10.66.x.x to be ‘allowed without auth’ on 10.60.x.x or are you simply running a /8 netmask ?
Notice the (pipelined: 243) count??
There are 243 requests queued at this point. It’s going to not respond at some point here very shortly until the backlog clears.
What else is hitting on the host?