Server - HW Acceleration is crashing playing new file

Server Version#: 1.23.1.4528
Player Version#: 1.23.1.4528

Plex Media Server Logs_2021-05-24_15-27-29.zip (1.5 MB)

I was playing back a file before my wife looked to verify that the right show was saved. The server crashed when I played the file through the web app. I played the file with VLC and it played fine. I read on here about another person having a problem months ago. They were told to turn off the HW acceleration. I was able to get the file to play with that turned off. I then turned it back on again and it crashed the server again.

Not certain if it is a software bug, incompatibility, or a problem with the original file.
lshw_data.txt (28.2 KB)

  1. I removed your database. It wasn’t needed. Also keep your library content private.
  2. This is an Nvidia card. Which card please?
May 24, 2021 15:24:02.666 [0x7f368c976b38] DEBUG - [Transcode] [FFMPEG] - Loaded sym: cuModuleGetFunction
May 24, 2021 15:24:02.666 [0x7f368c976b38] DEBUG - [Transcode] [FFMPEG] - Loaded sym: cuTexObjectCreate
May 24, 2021 15:24:02.666 [0x7f368c976b38] DEBUG - [Transcode] [FFMPEG] - Loaded sym: cuTexObjectDestroy
May 24, 2021 15:24:02.666 [0x7f368c976b38] DEBUG - [Transcode] [FFMPEG] - Loaded sym: cuGLGetDevices_v2
May 24, 2021 15:24:02.666 [0x7f368c976b38] DEBUG - [Transcode] [FFMPEG] - Loaded sym: cuGraphicsGLRegisterImage
May 24, 2021 15:24:02.666 [0x7f368c976b38] DEBUG - [Transcode] [FFMPEG] - Loaded sym: cuGraphicsUnregisterResource
May 24, 2021 15:24:02.666 [0x7f368c976b38] DEBUG - [Transcode] [FFMPEG] - Loaded sym: cuGraphicsMapResources
May 24, 2021 15:24:02.666 [0x7f368c976b38] DEBUG - [Transcode] [FFMPEG] - Loaded sym: cuGraphicsUnmapResources
May 24, 2021 15:24:02.666 [0x7f368c976b38] DEBUG - [Transcode] [FFMPEG] - Loaded sym: cuGraphicsSubResourceGetMappedArray
May 24, 2021 15:24:02.666 [0x7f368c976b38] DEBUG - [Transcode] [FFMPEG] - Cannot load optional cuDeviceGetUuid
May 24, 2021 15:24:02.666 [0x7f368c976b38] DEBUG - [Transcode] [FFMPEG] - Cannot load optional cuImportExternalMemory
May 24, 2021 15:24:02.666 [0x7f368c976b38] DEBUG - [Transcode] [FFMPEG] - Cannot load optional cuDestroyExternalMemory
May 24, 2021 15:24:02.666 [0x7f368c976b38] DEBUG - [Transcode] [FFMPEG] - Cannot load optional cuExternalMemoryGetMappedBuffer
May 24, 2021 15:24:02.666 [0x7f368c976b38] DEBUG - [Transcode] [FFMPEG] - Cannot load optional cuExternalMemoryGetMappedMipmappedArray
May 24, 2021 15:24:02.666 [0x7f368c976b38] DEBUG - [Transcode] [FFMPEG] - Loaded sym: cuMipmappedArrayGetLevel
May 24, 2021 15:24:02.666 [0x7f368c976b38] DEBUG - [Transcode] [FFMPEG] - Loaded sym: cuMipmappedArrayDestroy
May 24, 2021 15:24:02.666 [0x7f368c976b38] DEBUG - [Transcode] [FFMPEG] - Cannot load optional cuImportExternalSemaphore
May 24, 2021 15:24:02.666 [0x7f368c976b38] DEBUG - [Transcode] [FFMPEG] - Cannot load optional cuDestroyExternalSemaphore
May 24, 2021 15:24:02.666 [0x7f368c976b38] DEBUG - [Transcode] [FFMPEG] - Cannot load optional cuSignalExternalSemaphoresAsync
May 24, 2021 15:24:02.666 [0x7f368c976b38] DEBUG - [Transcode] [FFMPEG] - Cannot load optional cuWaitExternalSemaphoresAsync
May 24, 2021 15:24:03.545 [0x7f368c976b38] DEBUG - [Transcode/JobRunner] Job running: '/usr/lib/plexmediaserver/CrashUploader' '--directory=/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Crash Reports/1.23.1.4528-c0513eb4c' '-
       *-display
            description: VGA compatible controller
            product: G96CGL [Quadro FX 580]
            vendor: NVIDIA Corporation
            physical id: 0
            bus info: pci@0000:01:00.0
            version: a1
            width: 64 bits
            clock: 33MHz
            capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
            configuration: driver=nvidia latency=0
            resources: irq:16 memory:f2000000-f2ffffff memory:e0000000-efffffff memory:f0000000-f1ffffff ioport:1100(size=128) memory:c0000-dffff

Here’s the supported list. (We rely on the Nvidia drivers)

Is that card capable of what is being requested?

I don’t know that is why I was asking. I’ve had hardware acceleration on with this computer for over a year and it has run until this new file. That is why I was saying I don’t know if it is a bug or an issue with the file it was playing or just some other incompatibility.

I didn’t build the computer or buy it. It is one that I was given and repurposed for this process.

I was asking you because when I checked the list, I couldn’t find the card ( G96CGL [Quadro FX 580] )

From what I can see, the card isn’t supported for Encode / Decode by the current Nvidia drivers.

If you go to the link I provided, there’s nothing there which matches this name.

Ok thanks. If it isn’t a bug then that is the answer. I just wanted to upload the logs in-case there is a problem that needs to be addressed. I may look into getting a radeon card for it in the near future.

@wildardoc

I appreciate you uploading the logs. They were pretty conclusive that the transcoder yelled “NO”. The Decode/Encode matrix confirmed why.

I must caution you about an AMD card.

Unless you’re sufficiently skilled enough with Linux to install the AMD drivers and make them work for vaapi, there isn’t any Official support from Plex yet.

Plex supports Nvidia. It will find the Nvidia drivers and use them if installed
AMD is not that way yet. The burden would be on you to make AMD transparent. It’s been done. I recently read a report from a user who dropped one in and PMS didn’t know the difference.

I’ll keep that in mind. Thank you for the input.

My hardware transcoding stopped working too, I only just got around to troubleshooting this issue. It was working just fine before I updated.

Jun 09, 2021 11:08:41.053 [0x7f47d71a1b38] DEBUG - BPQ: [Starting] -> [Processing]
Jun 09, 2021 11:08:41.057 [0x7f47d71a1b38] DEBUG - BPQ: generating queue items from 3 generator(s)
Jun 09, 2021 11:08:41.061 [0x7f47d71a1b38] DEBUG - Sync: updating status for sync list 45849353, sync item 44667786, generator 606
Jun 09, 2021 11:08:41.068 [0x7f47d71a1b38] DEBUG - Versions: updating status for generator 65
Jun 09, 2021 11:08:41.085 [0x7f47d71a1b38] DEBUG - Versions: updating status for generator 370
Jun 09, 2021 11:08:41.095 [0x7f47d71a1b38] DEBUG - BPQ: generated 1 item(s) for queue
Jun 09, 2021 11:08:41.095 [0x7f47d71a1b38] DEBUG - PlayQueue: 0 generated IDs compressed down to a 20 byte blob.
Jun 09, 2021 11:08:41.096 [0x7f47d71a1b38] DEBUG - PlayQueue: 0 generated IDs compressed down to a 20 byte blob.
Jun 09, 2021 11:08:41.097 [0x7f47d71a1b38] DEBUG - PlayQueue: Added 1 items in 0.0 sec.
Jun 09, 2021 11:08:41.098 [0x7f47d71a1b38] DEBUG - PlayQueue: total generated: -1, before cursor: 0, after cursor: 0
Jun 09, 2021 11:08:41.099 [0x7f47d71a1b38] DEBUG - PlayQueue: decompressed 0 IDs from blob.
Jun 09, 2021 11:08:41.099 [0x7f47d71a1b38] DEBUG - PlayQueue: decompressed 0 IDs from blob.
Jun 09, 2021 11:08:41.099 [0x7f47d71a1b38] DEBUG - PlayQueue: Inserting 0 new items, starting at 0.000000.
Jun 09, 2021 11:08:41.099 [0x7f47d71a1b38] DEBUG - BPQ: processing 1 item(s) in queue
Jun 09, 2021 11:08:41.118 [0x7f47d71a1b38] DEBUG - We're going to try to auto-select an audio stream for account 1.
Jun 09, 2021 11:08:41.120 [0x7f47d71a1b38] DEBUG - Selecting best audio stream for part ID 8243 (autoselect: 1 language: en)
Jun 09, 2021 11:08:41.120 [0x7f47d71a1b38] DEBUG - Audio Stream: 22018, Subtitle Stream: -1
Jun 09, 2021 11:08:41.126 [0x7f47d71a1b38] DEBUG - Codecs: testing h264_vaapi (encoder)
Jun 09, 2021 11:08:41.126 [0x7f47d71a1b38] DEBUG - Codecs: hardware transcoding: testing API vaapi
Jun 09, 2021 11:08:41.126 [0x7f47d71a1b38] DEBUG - Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Generic error in an external library
Jun 09, 2021 11:08:41.127 [0x7f47d71a1b38] DEBUG - Codecs: testing h264_nvenc (encoder)
Jun 09, 2021 11:08:41.127 [0x7f47d71a1b38] DEBUG - Codecs: hardware transcoding: testing API nvenc
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Loaded lib: libcuda.so.1
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Loaded sym: cuInit
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Loaded sym: cuDeviceGetCount
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Loaded sym: cuDeviceGet
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Loaded sym: cuDeviceGetAttribute
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Loaded sym: cuDeviceGetName
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Loaded sym: cuDeviceComputeCapability
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Loaded sym: cuCtxCreate_v2
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Loaded sym: cuCtxSetLimit
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Loaded sym: cuCtxPushCurrent_v2
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Loaded sym: cuCtxPopCurrent_v2
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Loaded sym: cuCtxDestroy_v2
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Loaded sym: cuMemAlloc_v2
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Loaded sym: cuMemAllocPitch_v2
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Loaded sym: cuMemsetD8Async
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Loaded sym: cuMemFree_v2
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Loaded sym: cuMemcpy2D_v2
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Loaded sym: cuMemcpy2DAsync_v2
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Loaded sym: cuGetErrorName
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Loaded sym: cuGetErrorString
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Loaded sym: cuCtxGetDevice
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Loaded sym: cuStreamCreate
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Loaded sym: cuStreamQuery
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Loaded sym: cuStreamSynchronize
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Loaded sym: cuStreamDestroy_v2
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Loaded sym: cuStreamAddCallback
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Loaded sym: cuEventCreate
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Loaded sym: cuEventDestroy_v2
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Loaded sym: cuEventSynchronize
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Loaded sym: cuEventQuery
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Loaded sym: cuEventRecord
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Loaded sym: cuLaunchKernel
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Loaded sym: cuLinkCreate
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Loaded sym: cuLinkAddData
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Loaded sym: cuLinkComplete
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Loaded sym: cuLinkDestroy
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Loaded sym: cuModuleLoadData
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Loaded sym: cuModuleUnload
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Loaded sym: cuModuleGetFunction
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Loaded sym: cuTexObjectCreate
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Loaded sym: cuTexObjectDestroy
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Loaded sym: cuGLGetDevices_v2
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Loaded sym: cuGraphicsGLRegisterImage
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Loaded sym: cuGraphicsUnregisterResource
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Loaded sym: cuGraphicsMapResources
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Loaded sym: cuGraphicsUnmapResources
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Loaded sym: cuGraphicsSubResourceGetMappedArray
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Cannot load optional cuDeviceGetUuid
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Cannot load optional cuImportExternalMemory
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Cannot load optional cuDestroyExternalMemory
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Cannot load optional cuExternalMemoryGetMappedBuffer
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Cannot load optional cuExternalMemoryGetMappedMipmappedArray
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Loaded sym: cuMipmappedArrayGetLevel
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Loaded sym: cuMipmappedArrayDestroy
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Cannot load optional cuImportExternalSemaphore
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Cannot load optional cuDestroyExternalSemaphore
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Cannot load optional cuSignalExternalSemaphoresAsync
Jun 09, 2021 11:08:41.131 [0x7f47d71a1b38] DEBUG - [FFMPEG] - Cannot load optional cuWaitExternalSemaphoresAsync
Jun 09, 2021 11:08:41.429 [0x7f47d71a1b38] DEBUG - [JobRunner] Job running: '/usr/lib/plexmediaserver/CrashUploader' '--directory=/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Crash Reports/1.23.2.4656-85f0adf5b' '--version=1.23.2.4656-85f0adf5b' '--platform=Linux' '--platformVersion=20.04.2 LTS (Focal Fossa)' '--serverUuid=40d1edd8c8694f4b9e5bc2c2aa054f44ccc608f3' '--userId=xenophod@XXXXXXX' '--sentryUrl=https://sentry.io/api/1233455/minidump' '--sentryKey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' '--vendor=Ubuntu' '--model=x86_64' '--device=PC' '--allowRetries=0'

PMS would crash every 4 minutes until I turned hardware encoding off.

Jun  9 11:08:41 media Plex Media Server[369523]: ****** PLEX MEDIA SERVER CRASHED, CRASH REPORT WRITTEN: /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Crash Reports/1.23.2.4656-85f0adf5b/PLEX MEDIA SERVER/4a9a3e9a-d94e-4ca6-db5ae3b3-b6c0e826.dmp
Jun  9 11:08:41 media kernel: [233973.645451] Plex Media Serv[369742]: segfault at 6b ip 00007f47d4d43cbb sp 00007f47d719f5b0 error 4 in libcuda.so.340.108[7f47d4b0c000+d9c000]
Jun  9 11:08:41 media kernel: [233973.645469] Code: e8 9a ca ed ff 85 c0 89 c3 75 4d 48 8b 3c 24 45 31 f6 48 0f be 0f 84 c9 74 27 41 83 fe 02 7f 21 48 8b 05 50 fb c8 00 48 8b 00 <f6> 44 48 01 08 75 3e 48 83 c7 01 48 89 3c 24 48 0f be 0f 84 c9 75

The graphics card is:

*-display
                description: VGA compatible controller
                product: G84 [GeForce 8600 GTS]
                vendor: NVIDIA Corporation
                physical id: 0
                bus info: pci@0000:01:00.0
                version: a1
                width: 64 bits
                clock: 33MHz
                capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
                configuration: driver=nvidia latency=0
Jun 08, 2021 12:35:19.514 [0x7f14a520db38] INFO - Plex Media Server v1.23.2.4656-85f0adf5b - Ubuntu PC x86_64 - build: linux-x86_64 debian - GMT -04:00
Jun 08, 2021 12:35:19.515 [0x7f14a520db38] INFO - Linux version: 20.04.2 LTS (Focal Fossa), language: en-US
Jun 08, 2021 12:35:19.515 [0x7f14a520db38] INFO - Processor               Intel(R) Pentium(R) D CPU 2.80GHz
Jun 08, 2021 12:35:19.515 [0x7f14a520db38] INFO - Compiler is - Clang 11.0.1 (https://plex.tv e0c29d5827bc4eaaa2ceb882cbeed224b0960173)
Jun 08, 2021 12:35:19.515 [0x7f14a520db38] INFO - /usr/lib/plexmediaserver/Plex Media Server

Is this related to a bug in FFMPEG? It seems to be similar to this bug from 3 years ago:
https://trac.ffmpeg.org/ticket/7530

@xenophod

Looking for your card “GeForce 8600 GTS” (or anything 8600)

Returned no results – there is no HW transcoding support from Nvidia

The GeForce 8600 GTS was a performance-segment graphics card by NVIDIA, launched on April 17th, 2007.

It’s too old and predates this type operation.

Did NVidia just remove support? Because it was working until I updated.

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