Hardware transcoding (QuickSync) causing server crash

Server Version#: 1.18.1.1973
Player Version#:

My Plex Server is crashing whenever a hardware transcode starts. Server is using a i5-8500 so it’s QuickSync transcoding.

If I turn off hardware transcoding, it transcodes fine.

Only thing I’ve noticed in logs, is that it seems to crash on this: Codecs: hardware transcoding: testing API qsv

Attached logs: Plex Media Server Logs_2019-10-25_20-10-19.zip (875.2 KB)

5 Likes

I am using an i3-8350k, and I have the odd test file that crashes that session, but never the whole server. are you saying your whole plex server crashses, or just a single viewing session (I get a spinning cursor till it closes / times out) I also only see it when I do high bitrate (30-80mbps) HEVC/HEVC-10b files. Is this what you see?
I use the jellyfish testfiles.

if you can provide a link to a publically available test file that crashes your system, I can try it on mine.

The whole plex server is crashing - not just the single viewing session. To be precise; Plex Media Server is crashing and needs to be restarted - the computer itself is running fine.

I just tried with the jellyfish test files from 3Mbps to 30 Mbps - all HEVC (most of my content is HEVC) and the server crashed when I started each and everyone of them if HW transcoding was activated.

I’ll be trying a reinstall to see if that solves the issue.

I would try nvidia driver reinstall first.

Same issue here with a similar CPU on 1.18.1.1973.

Windows 10 Pro (1903) and an Intel i5-8400. As soon as the QuickSync encoder attempts to transcode certain video files, PMS completely crashes.

I’ve turned off Hardware Encoding and the server has stopped crashing on the same files.

This has been going like this for ages (multiple versions of Plex Media Server)… Funny thing is that it became much more evident of an issue with the latest beta and there’s no single feedback from the Plex team, for more than a week…

1 Like

I’ve been running into a similar issue, but it’s more intermittent. Most of the time it works. But sometimes occasionally I’ll log in and try to play something, or try to watch some live TV with HW encoding turned on, and Plex will have crashed. I’ve read a few issues, where Plex as a service can be a problem (which I’m not running as a service) or headless using RDP to access the server.

The question I have, is it only RDP? My crashes happen when RDP isn’t currently active. Would using Teamviewer OR VNC matter?

Hardware acceleration stopped working here to just today, was working just fine for months on my nvidia hardware

Have the same issue, Plex server crashes with exception code 0xc0000374 in the event logs every time I try and HW transcode running the latetst version of Plex server 1.18.1.1973, the computer continues to run and I have to re-launch Plex manually. Turned of HW transcoding and the issue goes away.
Windows 10, i5-4670, GTX 970 running the latest nVidia drivers.

Still broken for me. Seemed to arrive with the 1.18.1* set of releases. It seems they’ve now pushed it to public too… I’ve seen peoples errors match mine which is an FFMPEG error using HW transcoding that causes the daemon to die entirely.

I’m experiencing the same issue; HW transcoding causes the server to crash in Windows 10. Ever since I installed the 1.18.1* update.

1 Like

Same issue in 1.18.0 and 1.18.1, the Plex container hard crashes in Docker causing zombie tasks and requiring a reboot of the server.

Same here
Plex version 1.18.1.1973
i7
1050
32gb ram

HW Transcoder on = CRASH as soon as I hit play

HW Transcoder off = Playback works flawlessly

System has been running for years with no issues. Last update borked it.

1 Like

Also happening on Ubuntu 19.04.
Fresh install and plex will not quicksync transcode at all. 7700hq cpu.

I am experiencing the same issue with Hardware Transcoding. Worked perfectly for several months then with PMS 1.18.1.1973 started crashing my plex server with certain videos.

Windows 10
NVidia GeForce GTX 1060 (latest drivers)
Intel i3-4170

Error log:
Nov 04, 2019 20:34:57.624 [4812] ERROR - [FFMPEG] - Error setting child device handle: -16

Plex Media Server Logs_2019-11-04_20-48-02.zip (2.8 MB)

There is some talk about plex not being added to the render group. What does this mean and how can I try to do this. I’ve found this command but it doesn’t do anything.

I found the command usermod -a -G video plex

get the following: usermod: Permission denied. usermod: cannot lock /etc/passwd; try again later

usermod -aG render plex

Is the one you need and if you didn’t sudo to root first then it is:

sudo usermod -aG render plex
1 Like

Same. I was golden until this recent update… now I’m crashing left and right. no error or anything. Just whole thing stops, and I have to start up plex again. I’m using Nvidia and quicksync acceleration. Server is suddenly useless, unless HW transcoding is turned off, then it’s nearly useless.

Fyi I found that with a Windows machine that once Plex crashes (due to this hardware transcoding bug) the video still won’t play even with software transcoding until I restart my Windows machine. Sticking with software transcoding (which is not what I payed for) until this is resolved.

I’m having the same issues using hardware transcoding on my i7-7770 with the integrated Intel HD 630. Immediate crashing on transcode which kills the entire PMS. Have to start it back up.

Software transcoding works flawlessly.

Plex Media Server Logs_2019-11-07_18-27-58.zip (5.1 MB)