Plex Crashing with CUDA errors

Server Version#: 1.30.1.6562
Player Version#: 4.98.2

Plex transcode crashes with the following error:

Jan 13, 2023 05:22:27.998 [0x7f691bd9db38] Debug — WebSocket: Performing handshake from origin https://app.plex.tv
Jan 13, 2023 05:22:27.998 [0x7f691a979b38] Error — [Req#18bd07/Transcode/satur89htlqb9norenx3mu0h/922205ac-aa5e-4342-8864-92b6947cffba] [hevc @ 0x7f942b6a5c80] decoder->cvdl->cuvidDecodePicture(decoder->decoder, &ctx->pic_params) failed -> CUDA_ERROR_INVALID_VALUE: invalid argument
Jan 13, 2023 05:22:27.998 [0x7f691bd9db38] Debug — Beginning read from WebSocket
Jan 13, 2023 05:22:27.999 [0x7f691802bb38] Error — [Req#18bd0f/Transcode/satur89htlqb9norenx3mu0h/922205ac-aa5e-4342-8864-92b6947cffba] [hevc @ 0x7f942b6a5c80] hardware accelerator failed to decode picture
Jan 13, 2023 05:22:27.999 [0x7f691c7aeb38] Error — [Req#18bd1c/Transcode/satur89htlqb9norenx3mu0h/922205ac-aa5e-4342-8864-92b6947cffba] Error while decoding stream #0:0: Generic error in an external library
Jan 13, 2023 05:22:28.000 [0x7f690d9f7b38] Error — [Req#18bd1e/Transcode/satur89htlqb9norenx3mu0h/922205ac-aa5e-4342-8864-92b6947cffba] [hevc @ 0x7f942b6a5c80] Could not find ref with POC 16
Jan 13, 2023 05:22:28.000 [0x7f690cfe8b38] Error — [Req#18bd23/Transcode/satur89htlqb9norenx3mu0h/922205ac-aa5e-4342-8864-92b6947cffba] [hevc @ 0x7f942b6a5c80] No decoder surfaces left
Jan 13, 2023 05:22:28.000 [0x7f6919582b38] Error — [Req#18bd2b/Transcode/satur89htlqb9norenx3mu0h/922205ac-aa5e-4342-8864-92b6947cffba] [hevc @ 0x7f942b6a5c80] decoder->cvdl->cuvidDecodePicture(decoder->decoder, &ctx->pic_params)

Happens to all video files, comes and goes.

Which Nvidia driver version do you have installed ?
Which Nvidia card are you using?
Which Distro and version please ?

Can I get a sample of a video which fails so I can try to replicate ?

GPU: NVIDIA GeForce GTX 1060 6GB
Driver: 470.141.03
Distro: Linux Mint Una
Sample: Easyupload.io - Upload files for free and transfer big files easily.

Thanks!

I am using 515.86.01 with a P2200. and not having errors.

When you say “comes and goes”, how do you clear the problem?

It just goes away on its own over time, ive tried restarting the server and it makes no difference

Ive now upgraded to 525.60.11 and got some cuda mismatch errors when trying to launch Nvidia SMI.

I pruned nvdia and cleared the error, so hopeing the issue may be resolved.

Yes, that’s something I’m trying to definitively figure out for the transcoder team.

I need a specific case which is repeatable at Cuda version 12.0 but works with 11.7

Errors continue on 525.60.11

What happens if you go back down to 515.86.01 ? (515.86.01 is more than enough for AV1 decode)

If this is a cuda 12.0 problem, it will play normally using 515 drivers.

Same issue on 515

Please send me the logs and a sample of the file ?

A few hundred MB should be enough.

Afterthought.

When you downgraded, did you:

  1. Update the initramfs
  2. Reboot

Asking because if nvidia-smi gives you errors then there are problems with the installation itself talking to the card.

Mismatch errors only occur when you have multiple versions of files still on the host.

use dpkg -l | grep nvidia and make certain to remove all of the unwanted driver files.

Yes, it was fully cleaned, then 515 installed and rebooted.
After this I got no Nvidia SMI errors, but the error in plex continued.

Anyway you can send me a DM for these logs?
They contain a whole lot of info I dont want to post, I’ve tried filtering through them, but may miss something.

Section where the issue begins:

Jan 13, 2023 20:19:30.798 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] MDE: Cannot direct stream video stream due to profile or setting limitations
Jan 13, 2023 20:19:30.798 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] Codecs: testing hevc (decoder) with hwdevice vaapi
Jan 13, 2023 20:19:30.799 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] Codecs: hardware transcoding: testing API vaapi
Jan 13, 2023 20:19:30.799 [0x7fe63312db38] ERROR - [Req#16a/Transcode] [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error).
Jan 13, 2023 20:19:30.799 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: I/O error
Jan 13, 2023 20:19:30.799 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] Could not create hardware context for hevc
Jan 13, 2023 20:19:30.799 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] Codecs: testing hevc (decoder) with hwdevice nvdec
Jan 13, 2023 20:19:30.799 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] Codecs: hardware transcoding: testing API nvdec
Jan 13, 2023 20:19:30.799 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded lib: libcuda.so.1
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuInit
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuDeviceGetCount
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuDeviceGet
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuDeviceGetAttribute
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuDeviceGetName
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuDeviceComputeCapability
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuCtxCreate_v2
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuCtxSetLimit
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuCtxPushCurrent_v2
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuCtxPopCurrent_v2
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuCtxDestroy_v2
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuMemAlloc_v2
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuMemAllocPitch_v2
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuMemsetD8Async
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuMemFree_v2
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuMemcpy
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuMemcpyAsync
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuMemcpy2D_v2
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuMemcpy2DAsync_v2
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuGetErrorName
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuGetErrorString
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuCtxGetDevice
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuDevicePrimaryCtxRetain
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuDevicePrimaryCtxRelease
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuDevicePrimaryCtxSetFlags
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuDevicePrimaryCtxGetState
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuDevicePrimaryCtxReset
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuStreamCreate
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuStreamQuery
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuStreamSynchronize
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuStreamDestroy_v2
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuStreamAddCallback
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuEventCreate
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuEventDestroy_v2
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuEventSynchronize
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuEventQuery
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuEventRecord
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuLaunchKernel
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuLinkCreate
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuLinkAddData
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuLinkComplete
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuLinkDestroy
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuModuleLoadData
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuModuleUnload
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuModuleGetFunction
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuModuleGetGlobal
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuTexObjectCreate
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuTexObjectDestroy
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuGLGetDevices_v2
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuGraphicsGLRegisterImage
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuGraphicsUnregisterResource
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuGraphicsMapResources
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuGraphicsUnmapResources
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuGraphicsSubResourceGetMappedArray
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuDeviceGetUuid
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuImportExternalMemory
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuDestroyExternalMemory
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuExternalMemoryGetMappedBuffer
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuExternalMemoryGetMappedMipmappedArray
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuMipmappedArrayGetLevel
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuMipmappedArrayDestroy
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuImportExternalSemaphore
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuDestroyExternalSemaphore
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuSignalExternalSemaphoresAsync
Jan 13, 2023 20:19:30.800 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] [FFMPEG] - Loaded sym: cuWaitExternalSemaphoresAsync
Jan 13, 2023 20:19:30.952 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] Codecs: Testing with profile 'Main'
Jan 13, 2023 20:19:30.983 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] MDE: M*A*S*H - S11 E3 - Foreign Affairs: selected media 0 / 178339
Jan 13, 2023 20:19:30.983 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] Streaming Resource: Adding session 0x7fe632cf5948:7cfajk52zupbf2cbh9zk4ahy which is using transcoder slot.  Used slots is now 1
Jan 13, 2023 20:19:30.983 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] Streaming Resource: Added session 0x7fe632cf5948:7cfajk52zupbf2cbh9zk4ahy
Jan 13, 2023 20:19:30.983 [0x7fe63312db38] DEBUG - [Req#16a/Transcode] Streaming Resource: Reached Decision id=11624 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=178339 part=(id=198634 decision=transcode container=mp4 protocol=dash streams=(Video=(id=645836 decision=transcode bitrate=2147483647 encoder=h264_nvenc width=1920 height=1080) Audio=(id=645837 decision=copy channels=2 rate=48000))))
Jan 13, 2023 20:19:30.984 [0x7fe637e8cb38] DEBUG - Completed: [10.100.102.3:65402] 200 GET /video/:/transcode/universal/decision?hasMDE=1&path=%2Flibrary%2Fmetadata%2F11624&mediaIndex=0&partIndex=0&protocol=dash&fastSeek=1&directPlay=0&directStream=1&subtitleSize=100&audioBoost=700&location=lan&addDebugOverlay=0&autoAdjustQuality=0&directStreamAudio=1&mediaBufferSize=102400&session=zk8tttny0hhyjrxgmen23kn7&subtitles=burn&Accept-Language=en (22 live) TLS GZIP 859ms 1799 bytes (pipelined: 2)
Jan 13, 2023 20:19:31.303 [0x7fe6306c3b38] DEBUG - Request: [10.100.102.3:65401 (Subnet)] GET /library/sections/1/all?sort=addedAt:desc&contentDirectoryID=1&pinnedContentDirectoryID=1%2C2%2C3%2C8%2C7%2C11 (22 live) #187 TLS Page 36-95 GZIP Signed-in Token (bryanc334) (Firefox)
Jan 13, 2023 20:19:31.305 [0x7fe6306c3b38] WARN - [Req#187] QueryParser: Invalid field 'contentDirectoryID' found, ignoring.
Jan 13, 2023 20:19:31.305 [0x7fe6306c3b38] WARN - [Req#187] QueryParser: Invalid field 'pinnedContentDirectoryID' found, ignoring.
Jan 13, 2023 20:19:31.305 [0x7fe6306c3b38] DEBUG - [Req#187] Setting container serialization range to [36, 95] (total=-1)
Jan 13, 2023 20:19:31.305 [0x7fe6326b0b38] DEBUG - Request: [10.100.102.3:65384 (Subnet)] GET /hubs/home/recentlyAdded?type=2&sectionID=2&contentDirectoryID=2&pinnedContentDirectoryID=1%2C2%2C3%2C8%2C7%2C11 (22 live) #184 TLS Page 36-95 GZIP Signed-in Token (bryanc334) (Firefox)
Jan 13, 2023 20:19:31.306 [0x7fe6326b0b38] WARN - [Req#184] QueryParser: Invalid field 'sectionID' found, ignoring.
Jan 13, 2023 20:19:31.306 [0x7fe6326b0b38] WARN - [Req#184] QueryParser: Invalid field 'contentDirectoryID' found, ignoring.
Jan 13, 2023 20:19:31.306 [0x7fe6326b0b38] WARN - [Req#184] QueryParser: Invalid field 'pinnedContentDirectoryID' found, ignoring.
Jan 13, 2023 20:19:31.310 [0x7fe6326b0b38] DEBUG - [Req#184] It took 0.000000 ms to retrieve 200 items.
Jan 13, 2023 20:19:31.311 [0x7fe6326b0b38] WARN - [Req#184] QueryParser: Invalid field 'sectionID' found, ignoring.
Jan 13, 2023 20:19:31.311 [0x7fe6326b0b38] WARN - [Req#184] QueryParser: Invalid field 'contentDirectoryID' found, ignoring.
Jan 13, 2023 20:19:31.311 [0x7fe6326b0b38] WARN - [Req#184] QueryParser: Invalid field 'pinnedContentDirectoryID' found, ignoring.
Jan 13, 2023 20:19:31.317 [0x7fe6326b0b38] DEBUG - [Req#184] It took 10.000000 ms to retrieve 432 items.
Jan 13, 2023 20:19:31.318 [0x7fe6326b0b38] WARN - [Req#184] QueryParser: Invalid field 'sectionID' found, ignoring.
Jan 13, 2023 20:19:31.318 [0x7fe6326b0b38] WARN - [Req#184] QueryParser: Invalid field 'contentDirectoryID' found, ignoring.
Jan 13, 2023 20:19:31.318 [0x7fe6326b0b38] WARN - [Req#184] QueryParser: Invalid field 'pinnedContentDirectoryID' found, ignoring.
Jan 13, 2023 20:19:31.324 [0x7fe6326b0b38] DEBUG - [Req#184] It took 10.000000 ms to retrieve 632 items.
Jan 13, 2023 20:19:31.324 [0x7fe6326b0b38] WARN - [Req#184] QueryParser: Invalid field 'sectionID' found, ignoring.
Jan 13, 2023 20:19:31.324 [0x7fe6326b0b38] WARN - [Req#184] QueryParser: Invalid field 'contentDirectoryID' found, ignoring.
Jan 13, 2023 20:19:31.324 [0x7fe6326b0b38] WARN - [Req#184] QueryParser: Invalid field 'pinnedContentDirectoryID' found, ignoring.
Jan 13, 2023 20:19:31.330 [0x7fe6306c3b38] DEBUG - [Req#187] Setting container serialization range to [36, 95] (total=1479)
Jan 13, 2023 20:19:31.332 [0x7fe6326b0b38] DEBUG - [Req#184] It took 20.000000 ms to retrieve 844 items.
Jan 13, 2023 20:19:31.340 [0x7fe637c89b38] DEBUG - Completed: [10.100.102.3:65401] 200 GET /library/sections/1/all?sort=addedAt:desc&contentDirectoryID=1&pinnedContentDirectoryID=1%2C2%2C3%2C8%2C7%2C11 (22 live) TLS GZIP Page 36-95 36ms 23987 bytes (pipelined: 3)
Jan 13, 2023 20:19:31.359 [0x7fe6326b0b38] DEBUG - [Req#184] It took 0.000000 ms to retrieve 174 items.
Jan 13, 2023 20:19:31.374 [0x7fe6326b0b38] DEBUG - Setting container serialization range to [36, 95] (total=-1)
Jan 13, 2023 20:19:31.374 [0x7fe6326b0b38] DEBUG - We're going to try to auto-select an audio stream for account 1.
Jan 13, 2023 20:19:31.374 [0x7fe6326b0b38] DEBUG - Selecting best audio stream for part ID 202846 (autoselect: 1 language: en)
Jan 13, 2023 20:19:31.374 [0x7fe6326b0b38] DEBUG - We're going to try to auto-select a subtitle.
Jan 13, 2023 20:19:31.374 [0x7fe6326b0b38] DEBUG - Audio Stream: 680823, Subtitle Stream: -1
Jan 13, 2023 20:19:31.375 [0x7fe6326b0b38] DEBUG - We're going to try to auto-select an audio stream for account 1.
Jan 13, 2023 20:19:31.375 [0x7fe6326b0b38] DEBUG - Selecting best audio stream for part ID 202826 (autoselect: 1 language: en)
Jan 13, 2023 20:19:31.375 [0x7fe6326b0b38] DEBUG - We're going to try to auto-select a subtitle.
Jan 13, 2023 20:19:31.375 [0x7fe6326b0b38] DEBUG - Audio Stream: 675732, Subtitle Stream: -1
Jan 13, 2023 20:19:31.376 [0x7fe6326b0b38] DEBUG - We're going to try to auto-select an audio stream for account 1.
Jan 13, 2023 20:19:31.376 [0x7fe6326b0b38] DEBUG - Selecting best audio stream for part ID 202825 (autoselect: 1 language: en)
Jan 13, 2023 20:19:31.376 [0x7fe6326b0b38] DEBUG - We're going to try to auto-select a subtitle.
Jan 13, 2023 20:19:31.376 [0x7fe6326b0b38] DEBUG - Audio Stream: 675729, Subtitle Stream: -1
Jan 13, 2023 20:19:31.378 [0x7fe6326b0b38] DEBUG - There were 1 top-level paths for Slow Horses.
Jan 13, 2023 20:19:31.382 [0x7fe6326b0b38] DEBUG - There were 1 top-level paths for Married to Medicine.
Jan 13, 2023 20:19:31.389 [0x7fe6326b0b38] DEBUG - There were 1 top-level paths for The Joy of Painting.
Jan 13, 2023 20:19:31.392 [0x7fe6326b0b38] DEBUG - There were 1 top-level paths for American Horror Story.
Jan 13, 2023 20:19:31.392 [0x7fe6326b0b38] DEBUG - We're going to try to auto-select an audio stream for account 1.
Jan 13, 2023 20:19:31.393 [0x7fe6326b0b38] DEBUG - Selecting best audio stream for part ID 202037 (autoselect: 1 language: en)
Jan 13, 2023 20:19:31.393 [0x7fe6326b0b38] DEBUG - We're going to try to auto-select a subtitle.
Jan 13, 2023 20:19:31.393 [0x7fe6326b0b38] DEBUG - Subtitles: Found a candidate subtitle language [en] for a foreign film
Jan 13, 2023 20:19:31.393 [0x7fe6326b0b38] DEBUG - Audio Stream: 673364, Subtitle Stream: 673365
Jan 13, 2023 20:19:31.393 [0x7fe6326b0b38] DEBUG - We're going to try to auto-select an audio stream for account 1.
Jan 13, 2023 20:19:31.393 [0x7fe6326b0b38] DEBUG - Selecting best audio stream for part ID 202048 (autoselect: 1 language: en)
Jan 13, 2023 20:19:31.393 [0x7fe6326b0b38] DEBUG - We're going to try to auto-select a subtitle.
Jan 13, 2023 20:19:31.393 [0x7fe6326b0b38] DEBUG - Audio Stream: 673376, Subtitle Stream: -1
Jan 13, 2023 20:19:31.394 [0x7fe6326b0b38] DEBUG - We're going to try to auto-select an audio stream for account 1.
Jan 13, 2023 20:19:31.394 [0x7fe6326b0b38] DEBUG - Selecting best audio stream for part ID 201701 (autoselect: 1 language: en)
Jan 13, 2023 20:19:31.394 [0x7fe6326b0b38] DEBUG - We're going to try to auto-select a subtitle.
Jan 13, 2023 20:19:31.394 [0x7fe6326b0b38] DEBUG - Audio Stream: 672296, Subtitle Stream: -1
Jan 13, 2023 20:19:31.397 [0x7fe6326b0b38] DEBUG - There were 1 top-level paths for Raising Hope.
Jan 13, 2023 20:19:31.398 [0x7fe6326b0b38] DEBUG - There were 1 top-level paths for Harley Quinn.
Jan 13, 2023 20:19:31.401 [0x7fe637c89b38] DEBUG - Completed: [10.100.102.3:65384] 200 GET /hubs/home/recentlyAdded?type=2&sectionID=2&contentDirectoryID=2&pinnedContentDirectoryID=1%2C2%2C3%2C8%2C7%2C11 (22 live) TLS GZIP Page 36-95 96ms 14910 bytes (pipelined: 15)
Jan 13, 2023 20:19:31.599 [0x7fe627fffb38] DEBUG - Request: [10.100.102.3:65401 (Subnet)] GET /video/:/transcode/universal/start.mpd?hasMDE=1&path=%2Flibrary%2Fmetadata%2F11624&mediaIndex=0&partIndex=0&protocol=dash&fastSeek=1&directPlay=0&directStream=1&subtitleSize=100&audioBoost=700&location=lan&addDebugOverlay=0&autoAdjustQuality=0&directStreamAudio=1&mediaBufferSize=102400&session=zk8tttny0hhyjrxgmen23kn7&subtitles=burn&Accept-Language=en (22 live) #18a TLS GZIP Signed-in Token (bryanc334) (Firefox)
Jan 13, 2023 20:19:31.599 [0x7fe627fffb38] DEBUG - [Req#18a/Transcode] Found session GUID of zk8tttny0hhyjrxgmen23kn7 in session start.
Jan 13, 2023 20:19:31.599 [0x7fe627fffb38] DEBUG - [Req#18a/Transcode] TranscodeUniversalRequest: adapting profile with augmentation data: append-transcode-target-codec(type=videoProfile&context=streaming&audioCodec=aac&protocol=dash)
Jan 13, 2023 20:19:31.600 [0x7fe627fffb38] DEBUG - [Req#18a/Transcode] TranscodeUniversalRequest: using augmented profile Firefox
Jan 13, 2023 20:19:31.600 [0x7fe627fffb38] DEBUG - [Req#18a/Transcode] Downloading document http://127.0.0.1:32400/library/metadata/11624?checkFiles=1&includeBandwidths=1&offset=-1&X-Plex-Incomplete-Segments=1&X-Plex-Session-Identifier=7cfajk52zupbf2cbh9zk4ahy
Jan 13, 2023 20:19:31.611 [0x7fe627fffb38] DEBUG - [Req#18a/Transcode/Req#18c] We're going to try to auto-select an audio stream for account 1.
Jan 13, 2023 20:19:31.611 [0x7fe627fffb38] DEBUG - [Req#18a/Transcode/Req#18c] Selecting best audio stream for part ID 198634 (autoselect: 1 language: en)
Jan 13, 2023 20:19:31.611 [0x7fe627fffb38] DEBUG - [Req#18a/Transcode/Req#18c] We're going to try to auto-select a subtitle.
Jan 13, 2023 20:19:31.611 [0x7fe627fffb38] DEBUG - [Req#18a/Transcode/Req#18c] Audio Stream: 645837, Subtitle Stream: -1
Jan 13, 2023 20:19:31.613 [0x7fe627fffb38] DEBUG - [Req#18a/Transcode] Found session GUID of zk8tttny0hhyjrxgmen23kn7 in session start.
Jan 13, 2023 20:19:31.613 [0x7fe627fffb38] DEBUG - [Req#18a/Transcode] Cleaning directory for session zk8tttny0hhyjrxgmen23kn7 ()
Jan 13, 2023 20:19:31.613 [0x7fe627fffb38] DEBUG - [Req#18a/Transcode] Starting a transcode session zk8tttny0hhyjrxgmen23kn7 at offset -1.0 (state=3)
Jan 13, 2023 20:19:31.614 [0x7fe627fffb38] DEBUG - [Req#18a/Transcode] TPU: hardware transcoding: using hardware decode accelerator nvdec
Jan 13, 2023 20:19:31.614 [0x7fe627fffb38] DEBUG - [Req#18a/Transcode] TPU: hardware transcoding: zero-copy support present
Jan 13, 2023 20:19:31.614 [0x7fe627fffb38] DEBUG - [Req#18a/Transcode] TPU: hardware transcoding: using zero-copy transcoding
Jan 13, 2023 20:19:31.614 [0x7fe627fffb38] DEBUG - [Req#18a/Transcode] [Universal] Using local file path instead of URL: /mnt/storage3/storage3-TV/M-A-S-H/Season 11/MASH.S11E03.Foreign.Affairs.WEBRip.1080p.AAC.H265-d3g.mkv
Jan 13, 2023 20:19:31.614 [0x7fe627fffb38] DEBUG - [Req#18a/Transcode] TPU: hardware transcoding: final decoder: nvdec, final encoder: nvenc
Jan 13, 2023 20:19:31.615 [0x7fe627fffb38] DEBUG - [Req#18a/Transcode/JobRunner] Job running: CUDA_CACHE_PATH="/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Cache/Shaders/CUDA" FFMPEG_EXTERNAL_LIBS='/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Codecs/acf6c67-4446-linux-x86_64/' X_PLEX_TOKEN=xxxxxxxxxxxxxxxxxxxx4cf9-b353-8a80a1f4fe53 "/usr/lib/plexmediaserver/Plex Transcoder" -codec:0 hevc -hwaccel:0 nvdec -hwaccel_fallback_threshold:0 10 -threads:0 1 -hwaccel_output_format:0 cuda -hwaccel_device:0 cuda -analyzeduration 20000000 -probesize 20000000 -i "/mnt/storage3/storage3-TV/M-A-S-H/Season 11/MASH.S11E03.Foreign.Affairs.WEBRip.1080p.AAC.H265-d3g.mkv" -filter_complex "[0:0]hwupload[0];[0]scale_cuda=w=1920:h=1080:format=nv12[1]" -map "[1]" -codec:0 h264_nvenc -b:0 20000k -preset:0 hq -forced-idr:0 1 -r:0 23.975999999999999 -force_key_frames:0 "expr:gte(t,n_forced*1)" -map 0:1 -metadata:s:1 language=eng -codec:1 copy -copypriorss:1 0 -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/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907/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: -filter_hw_device cuda -y -nostats -loglevel quiet -loglevel_plex error -progressurl http://127.0.0.1:32400/video/:/transcode/session/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907/progress
Jan 13, 2023 20:19:31.615 [0x7fe627fffb38] DEBUG - [Req#18a/Transcode/JobRunner] In directory: "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Cache/Transcode/Sessions/plex-transcode-zk8tttny0hhyjrxgmen23kn7-e7a03df6-6c6e-43c0-906d-1fbb3aed7907"
Jan 13, 2023 20:19:31.615 [0x7fe627fffb38] DEBUG - [Req#18a/Transcode/JobRunner] Jobs: Starting child process with pid 7798
Jan 13, 2023 20:19:31.648 [0x7fe63312db38] DEBUG - Request: [127.0.0.1:43056 (Loopback)] PUT /video/:/transcode/session/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907/progress?status=startup (23 live) #17d Signed-in Token (bryanc334) (range: bytes=0-) 
Jan 13, 2023 20:19:31.648 [0x7fe637e8cb38] DEBUG - Completed: [127.0.0.1:43056] 204 PUT /video/:/transcode/session/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907/progress?status=startup (23 live) 0ms 203 bytes (pipelined: 1) (range: bytes=0-) 
Jan 13, 2023 20:19:31.803 [0x7fe6306c3b38] DEBUG - Request: [127.0.0.1:43056 (Loopback)] PUT /video/:/transcode/session/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907/progress?status=startup (23 live) #18f Signed-in Token (bryanc334) (range: bytes=0-) 
Jan 13, 2023 20:19:31.803 [0x7fe637e8cb38] DEBUG - Completed: [127.0.0.1:43056] 204 PUT /video/:/transcode/session/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907/progress?status=startup (23 live) 0ms 203 bytes (pipelined: 2) (range: bytes=0-) 
Jan 13, 2023 20:19:31.803 [0x7fe6326b0b38] DEBUG - Request: [127.0.0.1:43056 (Loopback)] PUT /video/:/transcode/session/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907/progress?status=opening (23 live) #190 Signed-in Token (bryanc334) (range: bytes=0-) 
Jan 13, 2023 20:19:31.803 [0x7fe637c89b38] DEBUG - Completed: [127.0.0.1:43056] 204 PUT /video/:/transcode/session/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907/progress?status=opening (23 live) 0ms 203 bytes (pipelined: 3) (range: bytes=0-) 
Jan 13, 2023 20:19:31.805 [0x7fe6304c0b38] DEBUG - Request: [127.0.0.1:43056 (Loopback)] PUT /video/:/transcode/session/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907/progress?status=opened (23 live) #191 Signed-in Token (bryanc334) (range: bytes=0-) 
Jan 13, 2023 20:19:31.805 [0x7fe637e8cb38] DEBUG - Completed: [127.0.0.1:43056] 204 PUT /video/:/transcode/session/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907/progress?status=opened (23 live) 0ms 203 bytes (pipelined: 4) (range: bytes=0-) 
Jan 13, 2023 20:19:31.805 [0x7fe63312db38] DEBUG - Request: [127.0.0.1:43056 (Loopback)] PUT /video/:/transcode/session/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907/progress/stream?index=0&id=0&codec=hevc&type=video (23 live) #192 Signed-in Token (bryanc334) (range: bytes=0-) 
Jan 13, 2023 20:19:31.805 [0x7fe637e8cb38] DEBUG - Completed: [127.0.0.1:43056] 200 PUT /video/:/transcode/session/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907/progress/stream?index=0&id=0&codec=hevc&type=video (23 live) 0ms 195 bytes (pipelined: 5) (range: bytes=0-) 
Jan 13, 2023 20:19:31.808 [0x7fe6306c3b38] DEBUG - Request: [127.0.0.1:43056 (Loopback)] PUT /video/:/transcode/session/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907/progress/stream?index=1&id=0&codec=aac&type=audio&profile=HE-AAC (23 live) #193 Signed-in Token (bryanc334) (range: bytes=0-) 
Jan 13, 2023 20:19:31.809 [0x7fe637c89b38] DEBUG - Completed: [127.0.0.1:43056] 200 PUT /video/:/transcode/session/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907/progress/stream?index=1&id=0&codec=aac&type=audio&profile=HE-AAC (23 live) 0ms 195 bytes (pipelined: 6) (range: bytes=0-) 
Jan 13, 2023 20:19:31.809 [0x7fe6326b0b38] DEBUG - Request: [127.0.0.1:43056 (Loopback)] PUT /video/:/transcode/session/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907/progress/streamDetail?index=0&id=0&codec=hevc&type=video&profile=Main&width=1920&height=1080&interlaced=0&sar=1:1&level=120&frameRate=23.976&disp_default=1 (23 live) #194 Signed-in Token (bryanc334) (range: bytes=0-) 
Jan 13, 2023 20:19:31.809 [0x7fe637e8cb38] DEBUG - Completed: [127.0.0.1:43056] 200 PUT /video/:/transcode/session/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907/progress/streamDetail?index=0&id=0&codec=hevc&type=video&profile=Main&width=1920&height=1080&interlaced=0&sar=1:1&level=120&frameRate=23.976&disp_default=1 (23 live) 0ms 195 bytes (pipelined: 7) (range: bytes=0-) 
Jan 13, 2023 20:19:31.809 [0x7fe6304c0b38] DEBUG - Request: [127.0.0.1:43056 (Loopback)] PUT /video/:/transcode/session/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907/progress/streamDetail?index=1&id=0&codec=aac&type=audio&profile=HE-AAC&language=eng&channels=2&layout=stereo&sampleRate=48000&disp_default=1 (23 live) #195 Signed-in Token (bryanc334) (range: bytes=0-) 
Jan 13, 2023 20:19:31.810 [0x7fe637c89b38] DEBUG - Completed: [127.0.0.1:43056] 200 PUT /video/:/transcode/session/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907/progress/streamDetail?index=1&id=0&codec=aac&type=audio&profile=HE-AAC&language=eng&channels=2&layout=stereo&sampleRate=48000&disp_default=1 (23 live) 0ms 195 bytes (pipelined: 8) (range: bytes=0-) 
Jan 13, 2023 20:19:31.811 [0x7fe63312db38] DEBUG - Request: [127.0.0.1:43056 (Loopback)] PUT /video/:/transcode/session/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907/progress?duration=1498.070000 (23 live) #196 Signed-in Token (bryanc334) (range: bytes=0-) 
Jan 13, 2023 20:19:31.811 [0x7fe627fffb38] DEBUG - [Req#18a/Transcode] Started session successfully: zk8tttny0hhyjrxgmen23kn7
Jan 13, 2023 20:19:31.811 [0x7fe637e8cb38] DEBUG - Completed: [127.0.0.1:43056] 204 PUT /video/:/transcode/session/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907/progress?duration=1498.070000 (23 live) 0ms 203 bytes (pipelined: 9) (range: bytes=0-) 
Jan 13, 2023 20:19:31.812 [0x7fe637e8cb38] DEBUG - Completed: [10.100.102.3:65401] 200 GET /video/:/transcode/universal/start.mpd?hasMDE=1&path=%2Flibrary%2Fmetadata%2F11624&mediaIndex=0&partIndex=0&protocol=dash&fastSeek=1&directPlay=0&directStream=1&subtitleSize=100&audioBoost=700&location=lan&addDebugOverlay=0&autoAdjustQuality=0&directStreamAudio=1&mediaBufferSize=102400&session=zk8tttny0hhyjrxgmen23kn7&subtitles=burn&Accept-Language=en (23 live) TLS GZIP 212ms 1079 bytes (pipelined: 4)
Jan 13, 2023 20:19:31.821 [0x7fe6306c3b38] DEBUG - Request: [10.100.102.3:65401 (Subnet)] GET /status/sessions (23 live) #1a0 TLS GZIP Signed-in Token (bryanc334) (Firefox)
Jan 13, 2023 20:19:31.821 [0x7fe6306c3b38] DEBUG - [Req#1a0] [Now] Adding 3 sessions.
Jan 13, 2023 20:19:31.822 [0x7fe637c89b38] DEBUG - Completed: [10.100.102.3:65401] 200 GET /status/sessions (23 live) TLS GZIP 0ms 2017 bytes (pipelined: 5)
Jan 13, 2023 20:19:31.823 [0x7fe6326b0b38] DEBUG - Request: [127.0.0.1:53348 (Loopback)] GET /status/sessions (23 live) #17b TLS GZIP Signed-in Token (bryanc334) (Firefox)
Jan 13, 2023 20:19:31.823 [0x7fe6326b0b38] DEBUG - [Req#17b] [Now] Adding 3 sessions.
Jan 13, 2023 20:19:31.824 [0x7fe637e8cb38] DEBUG - Completed: [127.0.0.1:53348] 200 GET /status/sessions (23 live) TLS GZIP 0ms 1892 bytes (pipelined: 10)
Jan 13, 2023 20:19:31.837 [0x7fe6304c0b38] DEBUG - Request: [10.100.102.3:65401 (Subnet)] GET /video/:/transcode/universal/session/zk8tttny0hhyjrxgmen23kn7/1/header (23 live) #1a1 TLS GZIP Signed-in
Jan 13, 2023 20:19:31.839 [0x7fe63312db38] DEBUG - Request: [10.100.102.3:65384 (Subnet)] GET /video/:/transcode/universal/session/zk8tttny0hhyjrxgmen23kn7/0/header (23 live) #18b TLS GZIP Signed-in
Jan 13, 2023 20:19:31.968 [0x7fe6306c3b38] ERROR - [Req#1a3/Transcode/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907] [hevc @ 0x7f092ad66c80] No decoder surfaces left
Jan 13, 2023 20:19:31.969 [0x7fe6326b0b38] ERROR - [Req#1a4/Transcode/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907] [hevc @ 0x7f092ad66c80] decoder->cvdl->cuvidDecodePicture(decoder->decoder, &ctx->pic_params) failed -> CUDA_ERROR_INVALID_VALUE: invalid argument
Jan 13, 2023 20:19:31.969 [0x7fe627fffb38] ERROR - [Req#1a5/Transcode/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907] [hevc @ 0x7f092ad66c80] hardware accelerator failed to decode picture
Jan 13, 2023 20:19:31.970 [0x7fe6306c3b38] ERROR - [Req#1a6/Transcode/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907] Error while decoding stream #0:0: Generic error in an external library
Jan 13, 2023 20:19:31.971 [0x7fe6326b0b38] ERROR - [Req#1a7/Transcode/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907] [hevc @ 0x7f092ad66c80] Could not find ref with POC 8
Jan 13, 2023 20:19:31.971 [0x7fe627fffb38] ERROR - [Req#1a8/Transcode/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907] [hevc @ 0x7f092ad66c80] No decoder surfaces left
Jan 13, 2023 20:19:31.972 [0x7fe6306c3b38] ERROR - [Req#1a9/Transcode/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907] [hevc @ 0x7f092ad66c80] decoder->cvdl->cuvidDecodePicture(decoder->decoder, &ctx->pic_params) failed -> CUDA_ERROR_INVALID_VALUE: invalid argument
Jan 13, 2023 20:19:31.972 [0x7fe6326b0b38] ERROR - [Req#1aa/Transcode/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907] [hevc @ 0x7f092ad66c80] hardware accelerator failed to decode picture
Jan 13, 2023 20:19:31.973 [0x7fe627fffb38] ERROR - [Req#1ab/Transcode/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907] Error while decoding stream #0:0: Generic error in an external library
Jan 13, 2023 20:19:31.974 [0x7fe6306c3b38] ERROR - [Req#1ac/Transcode/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907] [hevc @ 0x7f092ad66c80] Could not find ref with POC 9
Jan 13, 2023 20:19:31.974 [0x7fe6326b0b38] ERROR - [Req#1ad/Transcode/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907] [hevc @ 0x7f092ad66c80] No decoder surfaces left
Jan 13, 2023 20:19:31.975 [0x7fe627fffb38] ERROR - [Req#1ae/Transcode/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907] [hevc @ 0x7f092ad66c80] decoder->cvdl->cuvidDecodePicture(decoder->decoder, &ctx->pic_params) failed -> CUDA_ERROR_INVALID_VALUE: invalid argument
Jan 13, 2023 20:19:31.975 [0x7fe6306c3b38] ERROR - [Req#1af/Transcode/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907] [hevc @ 0x7f092ad66c80] hardware accelerator failed to decode picture
Jan 13, 2023 20:19:31.976 [0x7fe6326b0b38] ERROR - [Req#1b0/Transcode/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907] Error while decoding stream #0:0: Generic error in an external library
Jan 13, 2023 20:19:31.977 [0x7fe627fffb38] ERROR - [Req#1b1/Transcode/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907] [hevc @ 0x7f092ad66c80] Could not find ref with POC 10
Jan 13, 2023 20:19:31.977 [0x7fe6306c3b38] ERROR - [Req#1b2/Transcode/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907] [hevc @ 0x7f092ad66c80] No decoder surfaces left
Jan 13, 2023 20:19:31.978 [0x7fe6326b0b38] ERROR - [Req#1b3/Transcode/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907] [hevc @ 0x7f092ad66c80] decoder->cvdl->cuvidDecodePicture(decoder->decoder, &ctx->pic_params) failed -> CUDA_ERROR_INVALID_VALUE: invalid argument
Jan 13, 2023 20:19:31.979 [0x7fe627fffb38] ERROR - [Req#1b4/Transcode/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907] [hevc @ 0x7f092ad66c80] hardware accelerator failed to decode picture
Jan 13, 2023 20:19:31.979 [0x7fe6306c3b38] ERROR - [Req#1b5/Transcode/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907] Error while decoding stream #0:0: Generic error in an external library
Jan 13, 2023 20:19:31.980 [0x7fe6326b0b38] ERROR - [Req#1b6/Transcode/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907] [hevc @ 0x7f092ad66c80] Could not find ref with POC 11
Jan 13, 2023 20:19:31.981 [0x7fe627fffb38] ERROR - [Req#1b7/Transcode/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907] [hevc @ 0x7f092ad66c80] No decoder surfaces left
Jan 13, 2023 20:19:31.981 [0x7fe6306c3b38] ERROR - [Req#1b8/Transcode/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907] [hevc @ 0x7f092ad66c80] decoder->cvdl->cuvidDecodePicture(decoder->decoder, &ctx->pic_params) failed -> CUDA_ERROR_INVALID_VALUE: invalid argument
Jan 13, 2023 20:19:31.982 [0x7fe6326b0b38] ERROR - [Req#1b9/Transcode/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907] [hevc @ 0x7f092ad66c80] hardware accelerator failed to decode picture
Jan 13, 2023 20:19:31.983 [0x7fe627fffb38] ERROR - [Req#1ba/Transcode/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907] Error while decoding stream #0:0: Generic error in an external library
Jan 13, 2023 20:19:31.983 [0x7fe6306c3b38] ERROR - [Req#1bb/Transcode/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907] [hevc @ 0x7f092ad66c80] Could not find ref with POC 12
Jan 13, 2023 20:19:31.984 [0x7fe6326b0b38] ERROR - [Req#1bc/Transcode/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907] [hevc @ 0x7f092ad66c80] No decoder surfaces left
Jan 13, 2023 20:19:31.985 [0x7fe627fffb38] ERROR - [Req#1bd/Transcode/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907] [hevc @ 0x7f092ad66c80] decoder->cvdl->cuvidDecodePicture(decoder->decoder, &ctx->pic_params) failed -> CUDA_ERROR_INVALID_VALUE: invalid argument
Jan 13, 2023 20:19:31.985 [0x7fe6306c3b38] ERROR - [Req#1be/Transcode/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907] [hevc @ 0x7f092ad66c80] hardware accelerator failed to decode picture
Jan 13, 2023 20:19:31.986 [0x7fe6326b0b38] ERROR - [Req#1bf/Transcode/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907] Error while decoding stream #0:0: Generic error in an external library
Jan 13, 2023 20:19:31.987 [0x7fe627fffb38] ERROR - [Req#1c0/Transcode/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907] [hevc @ 0x7f092ad66c80] Could not find ref with POC 13
Jan 13, 2023 20:19:31.988 [0x7fe6306c3b38] ERROR - [Req#1c1/Transcode/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907] [hevc @ 0x7f092ad66c80] No decoder surfaces left
Jan 13, 2023 20:19:31.989 [0x7fe6326b0b38] ERROR - [Req#1c2/Transcode/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907] [hevc @ 0x7f092ad66c80] decoder->cvdl->cuvidDecodePicture(decoder->decoder, &ctx->pic_params) failed -> CUDA_ERROR_INVALID_VALUE: invalid argument
Jan 13, 2023 20:19:31.989 [0x7fe627fffb38] ERROR - [Req#1c3/Transcode/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907] [hevc @ 0x7f092ad66c80] hardware accelerator failed to decode picture
Jan 13, 2023 20:19:31.990 [0x7fe6306c3b38] ERROR - [Req#1c4/Transcode/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907] Error while decoding stream #0:0: Generic error in an external library
Jan 13, 2023 20:19:31.991 [0x7fe6326b0b38] ERROR - [Req#1c5/Transcode/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907] [hevc @ 0x7f092ad66c80] Could not find ref with POC 14
Jan 13, 2023 20:19:31.991 [0x7fe627fffb38] ERROR - [Req#1c6/Transcode/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907] [hevc @ 0x7f092ad66c80] No decoder surfaces left
Jan 13, 2023 20:19:31.992 [0x7fe6306c3b38] ERROR - [Req#1c7/Transcode/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907] [hevc @ 0x7f092ad66c80] decoder->cvdl->cuvidDecodePicture(decoder->decoder, &ctx->pic_params) failed -> CUDA_ERROR_INVALID_VALUE: invalid argument
Jan 13, 2023 20:19:31.993 [0x7fe6326b0b38] ERROR - [Req#1c8/Transcode/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907] [hevc @ 0x7f092ad66c80] hardware accelerator failed to decode picture
Jan 13, 2023 20:19:31.994 [0x7fe627fffb38] ERROR - [Req#1c9/Transcode/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907] Error while decoding stream #0:0: Generic error in an external library
Jan 13, 2023 20:19:31.995 [0x7fe6306c3b38] ERROR - [Req#1ca/Transcode/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907] [hevc @ 0x7f092ad66c80] Could not find ref with POC 15
Jan 13, 2023 20:19:31.995 [0x7fe6326b0b38] ERROR - [Req#1cb/Transcode/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907] [hevc @ 0x7f092ad66c80] No decoder surfaces left
Jan 13, 2023 20:19:31.996 [0x7fe627fffb38] ERROR - [Req#1cc/Transcode/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907] [hevc @ 0x7f092ad66c80] decoder->cvdl->cuvidDecodePicture(decoder->decoder, &ctx->pic_params) failed -> CUDA_ERROR_INVALID_VALUE: invalid argument
Jan 13, 2023 20:19:31.997 [0x7fe6306c3b38] ERROR - [Req#1cd/Transcode/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907] [hevc @ 0x7f092ad66c80] hardware accelerator failed to decode picture
Jan 13, 2023 20:19:31.998 [0x7fe6326b0b38] ERROR - [Req#1ce/Transcode/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907] Error while decoding stream #0:0: Generic error in an external library
Jan 13, 2023 20:19:31.999 [0x7fe627fffb38] ERROR - [Req#1cf/Transcode/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907] [hevc @ 0x7f092ad66c80] Could not find ref with POC 16
Jan 13, 2023 20:19:31.999 [0x7fe6306c3b38] ERROR - [Req#1d0/Transcode/zk8tttny0hhyjrxgmen23kn7/e7a03df6-6c6e-43c0-906d-1fbb3aed7907] [hevc @ 0x7f092ad66c80] No decoder surfaces left

Currently working with:
Driver Version: 515.86.01
CUDA Version: 11.7

Uninstalled all nvidia drivers, reinstalled nvidia and cuda.
Reinstalled FFMPEG…
Downgraded plex media server to 1.30.0.6486 (Fresh install then moved my all application support folder in)

Not sure which one of these steps work, or if the issue will return (as its random), but for now I can no longer recreate.

@SomethingElse

Just for kicks –

  1. Backup the Plex Databases directory (it’ll migrate the db’s)
  2. Install only PMS 1.30.1
  3. Set (in Preferences.xml) LogNumFiles="10" so we keep more.
  4. Test for a few seconds only (until you know the image should have popped up)
  5. Download logs
  6. attach here.

If you have success, it will confirm my theory that 1.30.1 does not require SDK 12.0
; which it should not.

If it fails, it will confirm my other theory there is a development err/omission of “SDK creep” where it should not have occurred.

Issue continues with this setup, just took several days for it to start happening.
As I made no config changes since then, i wonder if it has something to do with a cache somewhere, as now it happens regularly, but for days did not happen once.

I will try your additional instructions this weekend

I have noticed a similar issue recently. Not sure which version it began but within the last month.
The hw acceleration with Nvidia GTX 1660 sometimes works sometimes doesn’t.

Nvidia 510.60.02 and then 525.85.05 just updated to and notice issue still.
Running 1.31.0.6654 on docker lsio

Is there a version I can safely revert to and see if it continues?

PMS 1.29.2.6364

You might need to use 515.86.01 drivers too (what I used but now OK on 525.60.13).

Results are mixed and no root cause has yet been identified.

Experiencing this same issue with a Quadro RTX 4000. CUDA Version 12.0 and Driver Version 525.89.02. Plex Version 1.31.0.6654.

Feb 11, 2023 12:33:24.192 [0x7fc152e28b38] Error — [Req#28f3/Transcode/spdwp0447bek608m7azfq7ev/7eae67e4-1cd5-4653-8958-8f77d6ae09d5] [hevc @ 0x7f4eb6052b40] hardware accelerator failed to decode picture
Feb 11, 2023 12:33:24.192 [0x7fc154e62b38] Error — [Req#28f6/Transcode/spdwp0447bek608m7azfq7ev/7eae67e4-1cd5-4653-8958-8f77d6ae09d5] Error while decoding stream #0:0: Generic error in an external library
Feb 11, 2023 12:33:24.193 [0x7fc14a6ddb38] Error — [Req#28f9/Transcode/spdwp0447bek608m7azfq7ev/7eae67e4-1cd5-4653-8958-8f77d6ae09d5] [hevc @ 0x7f4eb6052b40] Could not find ref with POC 1843
Feb 11, 2023 12:33:24.193 [0x7fc155065b38] Error — [Req#28fc/Transcode/spdwp0447bek608m7azfq7ev/7eae67e4-1cd5-4653-8958-8f77d6ae09d5] [hevc @ 0x7f4eb6052b40] No decoder surfaces left
Feb 11, 2023 12:33:24.193 [0x7fc14d6a4b38] Error — [Req#28fe/Transcode/spdwp0447bek608m7azfq7ev/7eae67e4-1cd5-4653-8958-8f77d6ae09d5] [hevc @ 0x7f4eb6052b40] decoder->cvdl->cuvidDecodePicture(decoder->decoder, &ctx->pic_params) failed -> CUDA_ERROR_INVALID_VALUE: invalid argument