[BUG] With Hardware transcoding enabled, Plex Server kills Transcoder most of the times

Server Version#: 1.13.9.5439 (Happens with others too)
Player Version#: All players
GPU: NVIDIA Quadro P2000

After troubleshooting Plex not transcoding anything for about 2 days now, I am pretty sure that Plex kills the Transcoding process immediately after switching from direct play. I believe this to be, due to a few reasons:

  1. According to Procmon, Plex Media Server calls KillProcess (or something similar) directly before the PlexTranscoder process exits. If needed I can save a log from procmon.
  2. If I copy and paste the command line PlexTranscoder is launched with, it works perfectly fine and my GPU is used as well.
  3. Some very specific transcoding options work, e.g. Avengers infinity war is able to be transcode when bitrate is 10Mbps (nothing more or less, else transcoder is killed) and audio source is set to AC3 (DTS again kills the process). However, this is different from movie to movie, most cannot be transcoded entirely.
  4. Handbrake and normal ffmpeg both work fine as well and use my gpu.
  5. Creating Optimized Copies and Converting movies for synching works fine!

Plex is running on Windows 10 (Windows Server 2016 had the exact same issue). This is a new install, hardware transcoding was not tested before.

Also the Windows 10 Updates from July are not installed, verified by command line. (I tried manually installing the fixes and couldn’t. Said they weren’t compatible with my system).

I also verified that media foundation is installed and working.

If I turn hardware transcoding off, transcoding works fine.

Logs: Plex Media Server Logs_2018-10-20_23-09-09.zip (1.5 MB)

So I got around to collecting logs from procmon, saved them as all available formats and also included the one instance where Plex Media Server terminates Plex Transcoder: TranscoderKilledProcmon.zip (9.3 MB)

Stack trace of that event looks as follows:

"Frame","Module","Location","Address","Path"
"0","FLTMGR.SYS","FltDecodeParameters + 0x193c","0xfffff80a284066fc","C:\Windows\System32\drivers\FLTMGR.SYS"
"1","FLTMGR.SYS","FltDecodeParameters + 0x14dc","0xfffff80a2840629c","C:\Windows\System32\drivers\FLTMGR.SYS"
"2","FLTMGR.SYS","FltDecodeParameters + 0x5f4","0xfffff80a284053b4","C:\Windows\System32\drivers\FLTMGR.SYS"
"3","FLTMGR.SYS","FltDecodeParameters + 0x3ee","0xfffff80a284051ae","C:\Windows\System32\drivers\FLTMGR.SYS"
"4","ntoskrnl.exe","IofCallDriver + 0x59","0xfffff80014840ef9","C:\Windows\system32\ntoskrnl.exe"
"5","ntoskrnl.exe","CmCallbackGetKeyObjectIDEx + 0x569","0xfffff80014cd5e79","C:\Windows\system32\ntoskrnl.exe"
"6","ntoskrnl.exe","CmCallbackGetKeyObjectIDEx + 0x730","0xfffff80014cd6040","C:\Windows\system32\ntoskrnl.exe"
"7","ntoskrnl.exe","IoQueryFileDosDeviceName + 0x5e","0xfffff80014d3143e","C:\Windows\system32\ntoskrnl.exe"
"8","ntoskrnl.exe","NtQueryInformationProcess + 0x2cc","0xfffff80014ccfe9c","C:\Windows\system32\ntoskrnl.exe"
"9","ntoskrnl.exe","setjmpex + 0x6f73","0xfffff800149bfb43","C:\Windows\system32\ntoskrnl.exe"
"10","ntdll.dll","NtQueryInformationProcess + 0x14","0x7ff8bbf6a214","C:\Windows\SYSTEM32\ntdll.dll"
"11","wow64.dll","Wow64IsStackExtentsCheckEnforced + 0x653","0x779ee9a3","C:\Windows\System32\wow64.dll"
"12","wow64.dll","Wow64ShallowThunkSIZE_T32TO64 + 0x1b9","0x779e8219","C:\Windows\System32\wow64.dll"
"13","wow64.dll","Wow64SystemServiceEx + 0x169","0x779e7929","C:\Windows\System32\wow64.dll"
"14","wow64cpu.dll","TurboDispatchJumpAddressEnd + 0xb","0x77ac1913","C:\Windows\System32\wow64cpu.dll"
"15","wow64cpu.dll","BTCpuSimulate + 0x9","0x77ac1389","C:\Windows\System32\wow64cpu.dll"
"16","wow64.dll","Wow64LdrpInitialize + 0x236","0x779ecec6","C:\Windows\System32\wow64.dll"
"17","wow64.dll","Wow64LdrpInitialize + 0x120","0x779ecdb0","C:\Windows\System32\wow64.dll"
"18","ntdll.dll","LdrInitializeThunk + 0x179","0x7ff8bbf43169","C:\Windows\SYSTEM32\ntdll.dll"
"19","ntdll.dll","LdrInitializeThunk + 0x5b","0x7ff8bbf4304b","C:\Windows\SYSTEM32\ntdll.dll"
"20","ntdll.dll","LdrInitializeThunk + 0xe","0x7ff8bbf42ffe","C:\Windows\SYSTEM32\ntdll.dll"
"21","ntdll.dll","ZwQueryInformationProcess + 0x26","0x77b3a3f6","C:\Windows\SysWOW64\ntdll.dll"
"22","ntdll.dll","WerReportExceptionWorker + 0x352","0x77b81602","C:\Windows\SysWOW64\ntdll.dll"
"23","ntdll.dll","RtlCaptureStackContext + 0x846d","0x77b5731d","C:\Windows\SysWOW64\ntdll.dll"
"24","KERNELBASE.dll","TerminateProcess + 0x1b","0x76ccbbab","C:\Windows\SysWOW64\KERNELBASE.dll"
"25","Plex Media Server.exe","Plex Media Server.exe + 0x4a113","0x129a113","C:\Program Files (x86)\Plex\Plex Media Server\Plex Media Server.exe"
"26","Plex Media Server.exe","OPENSSL_Applink + 0x3ad085","0x1cc5175","C:\Program Files (x86)\Plex\Plex Media Server\Plex Media Server.exe"
"27","Plex Media Server.exe","OPENSSL_Applink + 0x3ad560","0x1cc5650","C:\Program Files (x86)\Plex\Plex Media Server\Plex Media Server.exe"
"28","Plex Media Server.exe","OPENSSL_Applink + 0x37ed34","0x1c96e24","C:\Program Files (x86)\Plex\Plex Media Server\Plex Media Server.exe"
"29","Plex Media Server.exe","Plex Media Server.exe + 0x70479","0x12c0479","C:\Program Files (x86)\Plex\Plex Media Server\Plex Media Server.exe"
"30","Plex Media Server.exe","Plex Media Server.exe + 0x49043","0x1299043","C:\Program Files (x86)\Plex\Plex Media Server\Plex Media Server.exe"
"31","Plex Media Server.exe","Plex Media Server.exe + 0x5e5c7","0x12ae5c7","C:\Program Files (x86)\Plex\Plex Media Server\Plex Media Server.exe"
"32","Plex Media Server.exe","Plex Media Server.exe + 0x5e181","0x12ae181","C:\Program Files (x86)\Plex\Plex Media Server\Plex Media Server.exe"
"33","Plex Media Server.exe","Plex Media Server.exe + 0x6f8e9","0x12bf8e9","C:\Program Files (x86)\Plex\Plex Media Server\Plex Media Server.exe"
"34","Plex Media Server.exe","Plex Media Server.exe + 0x6fa94","0x12bfa94","C:\Program Files (x86)\Plex\Plex Media Server\Plex Media Server.exe"
"35","Plex Media Server.exe","Plex Media Server.exe + 0x6fbca","0x12bfbca","C:\Program Files (x86)\Plex\Plex Media Server\Plex Media Server.exe"
"36","Plex Media Server.exe","Plex Media Server.exe + 0x491a5","0x12991a5","C:\Program Files (x86)\Plex\Plex Media Server\Plex Media Server.exe"
"37","Plex Media Server.exe","OPENSSL_Applink + 0x6f0e","0x191effe","C:\Program Files (x86)\Plex\Plex Media Server\Plex Media Server.exe"
"38","ucrtbase.dll","o____lc_collate_cp_func + 0x4f","0x76afe87f","C:\Windows\SysWOW64\ucrtbase.dll"
"39","KERNEL32.DLL","BaseThreadInitThunk + 0x24","0x76e58484","C:\Windows\SysWOW64\KERNEL32.DLL"
"40","ntdll.dll","RtlValidSecurityDescriptor + 0x11a","0x77b3305a","C:\Windows\SysWOW64\ntdll.dll"
"41","ntdll.dll","RtlValidSecurityDescriptor + 0xea","0x77b3302a","C:\Windows\SysWOW64\ntdll.dll"

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