Server Version#: 1.19.1.2701
Player Version#: 4.22.3
OS: Upgrade Ubuntu 18:04 to 20:04
Hi all,
So yesterday I upgraded my Media Server from Ubuntu 18:04 to 20:04. After the upgrade everything was fine except that PreRoll and Transcoding stopped working. After some troubleshooting I found that it could still hw transcode to mobile app devices, but not to webplayer. It also errors when trying to transcode to Windows 10 Plex app.
My setup is an NVIDIA GTX1070 passed to an Ubuntu VM, with LinuxServer.io Plex in Docker (Docker 19.03).
From what I can tell my setup in Ubuntu looks just fineā¦
@mediabox:~$ lspci | grep NVIDIA
03:00.0 VGA compatible controller: NVIDIA Corporation GP104 [GeForce GTX 1070] (rev a1)
03:00.1 Audio device: NVIDIA Corporation GP104 High Definition Audio Controller (rev a1)
y@mediabox:~$ ls -la /dev/dri
total 0
drwxr-xr-x 3 root root 120 Apr 27 01:57 .
drwxr-xr-x 20 root root 4260 Apr 27 13:25 ..
drwxr-xr-x 2 root root 100 Apr 27 01:57 by-path
crw-rw---- 1 root video 226, 0 Apr 27 01:57 card0
crw-rw---- 1 root video 226, 1 Apr 27 01:57 card1
crw-rw---- 1 root video 226, 128 Apr 27 01:57 renderD128
@mediabox:~$ udevadm info -a -n /dev/dri/renderD128
looking at device '/devices/pci0000:00/0000:00:02.2/0000:03:00.0/drm/renderD128':
KERNEL=="renderD128"
SUBSYSTEM=="drm"
DRIVER==""
looking at parent device '/devices/pci0000:00/0000:00:02.2/0000:03:00.0':
KERNELS=="0000:03:00.0"
SUBSYSTEMS=="pci"
DRIVERS=="nvidia"
I updated the Driver from 430.xx to 440.xx, reapplied the nvdec patch and the stream limit patch.
@mediabox:~$ nvidia-smi
Mon Apr 27 13:39:38 2020
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 440.82 Driver Version: 440.82 CUDA Version: 10.2 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 1070 Off | 00000000:03:00.0 Off | N/A |
| 20% 40C P5 11W / 185W | 0MiB / 8119MiB | 2% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+
Iāve Updated the Linuxserver.io docker container to the latest version and rebuilt my docker container
build_version Linuxserver.io version:- 1.19.1.2701-6327e27bf-ls90 Build-date:- 2020-04-23T18:59:44-04:00
If I try to transcode with the web player, the video just stays on Direct Stream and audio transcodes:
If I try to transcode with the Windows 10 Plex app it just gives an error:

Transcoding to Mobile app does work but it takes up to a minute for the stream to initialize and start when switching quality
In the stream that fails to transcode video, I can see these lines in Plex Media Server.log
Apr 27, 2020 02:03:26.884 [0x7f80dffff700] DEBUG - Jobs: '/usr/lib/plexmediaserver/Plex Transcoder' exit code for process 907 is -9 (signal: Killed)
Apr 27, 2020 02:03:26.893 [0x7f80777fe700] DEBUG - TPU: hardware transcoding: enabled, but no hardware decode accelerator found
Apr 27, 2020 02:03:26.903 [0x7f80777fe700] DEBUG - [Universal] Using local file path instead of URL: /movies/Bad Boys for Life.2020.1080p.Bluray.DTS-HD.MA.5.1.X264-EVO/Bad Boys for Life.2020.1080p.Bluray.DTS-HD.MA.5.1.X264-EVO.mkv
Apr 27, 2020 02:03:26.903 [0x7f80777fe700] DEBUG - TPU: hardware transcoding: final decoder: , final encoder:
Apr 27, 2020 02:03:26.903 [0x7f80527fc700] DEBUG - [Now] Adding 1 sessions.
Apr 27, 2020 02:03:26.904 [0x7f80d7fff700] DEBUG - Completed: [192.168.1.204:61268] 200 GET /status/sessions (13 live) TLS GZIP 34ms 3392 bytes (pipelined: 19)
Apr 27, 2020 02:03:26.904 [0x7f80d7fff700] DEBUG - Completed: [192.168.1.209:53744] 200 GET /status/sessions (13 live) TLS GZIP 33ms 3392 bytes (pipelined: 14)
Apr 27, 2020 02:03:26.920 [0x7f80777fe700] DEBUG - Job running: EAE_ROOT='/tmp/pms-299d597b-1f04-4597-b94f-5793c855df63/EasyAudioEncoder' FFMPEG_EXTERNAL_LIBS='/config/Library/Application\ Support/Plex\ Media\ Server/Codecs/99c90e0-3095-linux-x86_64/' XDG_CACHE_HOME='/config/Library/Application Support/Plex Media Server/Cache' XDG_DATA_HOME='/usr/lib/plexmediaserver/Resources' X_PLEX_TOKEN='xxxxxxxxxxxxxxxxxxxx' '/usr/lib/plexmediaserver/Plex Transcoder' '-codec:0' 'h264' '-codec:1' 'ac3' '-ss' '115' '-noaccurate_seek' '-analyzeduration' '20000000' '-probesize' '20000000' '-i' '/movies/Bad Boys for Life.2020.1080p.Bluray.DTS-HD.MA.5.1.X264-EVO/Bad Boys for Life.2020.1080p.Bluray.DTS-HD.MA.5.1.X264-EVO.mkv' '-filter_complex' '[0:1] aresample=async=1:ocl='\''stereo'\'':osr=48000[0]' '-map' '0:0' '-codec:0' 'copy' '-map' '[0]' '-metadata:s:1' 'language=eng' '-codec:1' 'aac' '-b:1' '256k' '-f' 'dash' '-seg_duration' '5' '-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' '24' '-time_delta' '0.0625' '-manifest_name' 'http://127.0.0.1:32400/video/:/transcode/session/boenm2gikqwsz85nem82lfqo/c7a8414f-fd55-4946-8636-50a75f5d5a2e/manifest?X-Plex-Http-Pipeline=infinite' '-avoid_negative_ts' 'disabled' '-map_metadata' '-1' '-map_chapters' '-1' 'dash' '-start_at_zero' '-copyts' '-y' '-nostats' '-loglevel' 'quiet' '-loglevel_plex' 'error' '-progressurl' 'http://127.0.0.1:32400/video/:/transcode/session/boenm2gikqwsz85nem82lfqo/c7a8414f-fd55-4946-8636-50a75f5d5a2e/progress'
Apr 27, 2020 02:03:47.200 [0x7f801adf5700] DEBUG - Codecs: testing h264 (decoder) with hwdevice vaapi
Apr 27, 2020 02:03:47.200 [0x7f801adf5700] DEBUG - Codecs: hardware transcoding: testing API vaapi
Apr 27, 2020 02:03:47.201 [0x7f801adf5700] DEBUG - Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Input/output error
Apr 27, 2020 02:03:47.201 [0x7f801adf5700] DEBUG - Codecs: testing h264 (decoder) with hwdevice nvdec
Apr 27, 2020 02:03:47.201 [0x7f801adf5700] DEBUG - Codecs: hardware transcoding: testing API nvdec
Iām at a loss as to what the problem is and why it works on mobile but not the web app
It was working flawlessly on Ubuntu 18:04. Attached the PMS logs as wellā¦any help would be appreciatedā¦


