Server Version#: 1.30.0.6486 (linuxserver/plex docker)
Player Version#: All
Nvidia Driver Version#: 510.108.03
OS: Debian 12
When transcodes are starting, errors start showing up in the logs. Usually after a 10-30 seconds of errors, playback finally starts. But for some clients, it just ends with a playback or session error. Retrying a few times sometime’s works, but some clients are more affected and have a harder time starting playback. Direct stream always works fine.
I have tried with few different servers and different NVIDIA GPU’s and always same behaviour.
Docker is running in privileged mode, so it sees everything from host’s /dev inside the container. Starting container with PUID=0 and PGID=0. All processes inside the container run as root and have as much privilege as is possible to have inside a container.
nvidia-smi works and sees the GPU inside the container. Also shows the transcodes when they manage to start after the 10-30 second delay with errors.
There is no intel GPU or another GPU. So the /dev/dri/renderD128 is the correct device. Adding HardwareDevicePath="/dev/dri/renderD128" to Preferences.xml has no effect.
Any ideas what could cause this, and how to resolve ?
Here are some examples of logs when the issue is occurring:
Jan 02, 2023 08:47:32.591 [0x7ff53eb29b38] ERROR - [Req#6566/Transcode] [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error).
Jan 02, 2023 08:47:33.077 [0x7ff53eb29b38] ERROR - [Req#6566/Transcode] [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error).
Jan 02, 2023 08:47:33.546 [0x7ff53eb29b38] ERROR - [Req#6566/Transcode] [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error).
Jan 02, 2023 08:47:34.026 [0x7ff53eb29b38] ERROR - [Req#6566/Transcode] [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error).
Jan 02, 2023 08:47:34.508 [0x7ff53eb29b38] ERROR - [Req#6566/Transcode] [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error).
Jan 02, 2023 08:47:34.977 [0x7ff53eb29b38] ERROR - [Req#6566/Transcode] [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error).
Jan 02, 2023 08:47:35.459 [0x7ff53eb29b38] ERROR - [Req#6566/Transcode] [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error).
Jan 02, 2023 08:47:36.011 [0x7ff53eb29b38] ERROR - [Req#6566/Transcode] [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error).
Jan 02, 2023 08:47:36.533 [0x7ff53eb29b38] ERROR - [Req#6566/Transcode] [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error).
Jan 02, 2023 08:47:37.039 [0x7ff53eb29b38] ERROR - [Req#6566/Transcode] [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error).
Jan 02, 2023 08:47:37.566 [0x7ff53eb29b38] ERROR - [Req#6566/Transcode] [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error).
Jan 02, 2023 08:47:38.087 [0x7ff53eb29b38] ERROR - [Req#6566/Transcode] [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error).
Jan 02, 2023 07:34:35.273 [0x7ff55ebe2b38] ERROR - [Req#570/Transcode/hdyr99lf3qff5j5zmrnnfnm1/c760839c-e8b8-45e0-995f-f4134032f262] [mp4 @ 0x7f960d023980] failed to rename file chunk-stream0-00008.m4s.tmp to chunk-stream0-00008.m4s: No such file or directory
Jan 02, 2023 07:34:35.273 [0x7ff560317b38] ERROR - [Req#57d/Transcode/hdyr99lf3qff5j5zmrnnfnm1/c760839c-e8b8-45e0-995f-f4134032f262] av_interleaved_write_frame(): No such file or directory
Jan 02, 2023 07:34:35.378 [0x7ff55ebe2b38] ERROR - [Req#580/Transcode/hdyr99lf3qff5j5zmrnnfnm1/c760839c-e8b8-45e0-995f-f4134032f262] [mp4 @ 0x7f960d023d00] failed to rename file chunk-stream1-00008.m4s.tmp to chunk-stream1-00008.m4s: No such file or directory
Jan 02, 2023 07:34:49.010 [0x7ff560d72b38] INFO - [Req#72e/Transcode] CodecManager: starting EAE at "/tmp/pms-a362c36d-0d93-466f-b54a-588d298af179/EasyAudioEncoder"
Jan 02, 2023 07:34:54.573 [0x7ff55c96db38] ERROR - [Req#7fb/Transcode/4e4epov2euux75mhbb1xxfy7/757e6f46-8b55-45de-9db9-ae722d6db1cc] [mp4 @ 0x7f4060b826c0] failed to rename file chunk-stream0-00054.m4s.tmp to chunk-stream0-00054.m4s: No such file or directory
Jan 02, 2023 07:34:54.574 [0x7ff560d72b38] ERROR - [Req#818/Transcode/4e4epov2euux75mhbb1xxfy7/757e6f46-8b55-45de-9db9-ae722d6db1cc] av_interleaved_write_frame(): No such file or directory
Jan 02, 2023 07:34:54.580 [0x7ff55d540b38] ERROR - [Req#81d/Transcode/4e4epov2euux75mhbb1xxfy7/757e6f46-8b55-45de-9db9-ae722d6db1cc] [mp4 @ 0x7f4060b829c0] failed to rename file chunk-stream1-00054.m4s.tmp to chunk-stream1-00054.m4s: No such file or directory
Jan 02, 2023 07:34:56.274 [0x7ff55febcb38] ERROR - [Req#837/Transcode] [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error).
Jan 02, 2023 07:34:56.550 [0x7ff55febcb38] ERROR - [Req#837/Transcode] [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error).
Jan 02, 2023 07:34:56.990 [0x7ff55febcb38] ERROR - [Req#837/Transcode] [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error).
Jan 02, 2023 07:34:57.567 [0x7ff55febcb38] ERROR - [Req#837/Transcode] [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error).
Jan 02, 2023 07:34:58.007 [0x7ff55febcb38] ERROR - [Req#837/Transcode] [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error).
Jan 02, 2023 07:34:58.440 [0x7ff55febcb38] ERROR - [Req#837/Transcode] [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error).
Jan 02, 2023 07:34:58.884 [0x7ff55febcb38] ERROR - [Req#837/Transcode] [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error).
Jan 02, 2023 07:34:59.166 [0x7ff55c96db38] WARN - [Req#8ac/Transcode/oh1tyw2kwa0nxg9osd13q1ir] Transcode runner appears to have died.
Jan 02, 2023 07:35:01.000 [0x7ff55d540b38] ERROR - [Req#855/Transcode/xcbvy251hdmzwlytjwcowrv8/bf01e098-de8b-4d11-ac13-d949ed28954d] [eac3_eae @ 0x7f403d872640] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms-a362c36d-0d93-466f-b54a-588d298af179/EasyAudioEncoder/Convert to WAV (to 8ch or less)/xcbvy251hdmzwlytjwcowrv8_562-0-314.wav'
Jan 02, 2023 07:35:01.001 [0x7ff55febcb38] ERROR - [Req#8f0/Transcode/xcbvy251hdmzwlytjwcowrv8/bf01e098-de8b-4d11-ac13-d949ed28954d] [eac3_eae @ 0x7f403d872640] error reading output: -5 (I/O error)
Jan 02, 2023 07:35:01.001 [0x7ff56137bb38] ERROR - [Req#8f3/Transcode/xcbvy251hdmzwlytjwcowrv8/bf01e098-de8b-4d11-ac13-d949ed28954d] Error while decoding stream #0:1: I/O error
Jan 02, 2023 07:35:01.183 [0x7ff55c96db38] INFO - [Req#8d0] AutoUpdate: no updates available
Jan 02, 2023 07:35:02.000 [0x7ff56137bb38] ERROR - [Req#8ab/Transcode/oh1tyw2kwa0nxg9osd13q1ir/87363d49-9427-45e8-a35c-737cf188c21b] [eac3_eae @ 0x7fc9bfc1d640] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms-a362c36d-0d93-466f-b54a-588d298af179/EasyAudioEncoder/Convert to WAV (to 8ch or less)/oh1tyw2kwa0nxg9osd13q1ir_630-0-21.wav'
Jan 02, 2023 07:35:02.001 [0x7ff560317b38] ERROR - [Req#915/Transcode/oh1tyw2kwa0nxg9osd13q1ir/87363d49-9427-45e8-a35c-737cf188c21b] [eac3_eae @ 0x7fc9bfc1d640] error reading output: -5 (I/O error)
Jan 02, 2023 07:35:02.001 [0x7ff560d72b38] ERROR - [Req#919/Transcode/oh1tyw2kwa0nxg9osd13q1ir/87363d49-9427-45e8-a35c-737cf188c21b] Error while decoding stream #0:1: I/O error
Jan 02, 2023 07:35:06.000 [0x7ff55febcb38] ERROR - [Req#92d/Transcode/xcbvy251hdmzwlytjwcowrv8/bf01e098-de8b-4d11-ac13-d949ed28954d] [eac3_eae @ 0x7f403d872640] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms-a362c36d-0d93-466f-b54a-588d298af179/EasyAudioEncoder/Convert to WAV (to 8ch or less)/xcbvy251hdmzwlytjwcowrv8_562-0-315.wav'
Jan 02, 2023 07:35:06.001 [0x7ff56137bb38] ERROR - [Req#93a/Transcode/xcbvy251hdmzwlytjwcowrv8/bf01e098-de8b-4d11-ac13-d949ed28954d] [eac3_eae @ 0x7f403d872640] error reading output: -5 (I/O error)
Jan 02, 2023 07:35:06.001 [0x7ff560317b38] ERROR - [Req#93d/Transcode/xcbvy251hdmzwlytjwcowrv8/bf01e098-de8b-4d11-ac13-d949ed28954d] Error while decoding stream #0:1: I/O error
Jan 02, 2023 07:35:06.689 [0x7ff55ebe2b38] INFO - [Req#910] AutoUpdate: no updates available
Jan 02, 2023 07:35:08.000 [0x7ff560317b38] ERROR - [Req#935/Transcode/oh1tyw2kwa0nxg9osd13q1ir/87363d49-9427-45e8-a35c-737cf188c21b] [eac3_eae @ 0x7fc9bfc1d640] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms-a362c36d-0d93-466f-b54a-588d298af179/EasyAudioEncoder/Convert to WAV (to 8ch or less)/oh1tyw2kwa0nxg9osd13q1ir_630-0-22.wav'
Jan 02, 2023 07:35:08.001 [0x7ff560d72b38] ERROR - [Req#962/Transcode/oh1tyw2kwa0nxg9osd13q1ir/87363d49-9427-45e8-a35c-737cf188c21b] [eac3_eae @ 0x7fc9bfc1d640] error reading output: -5 (I/O error)
Jan 02, 2023 07:35:08.001 [0x7ff561178b38] ERROR - [Req#966/Transcode/oh1tyw2kwa0nxg9osd13q1ir/87363d49-9427-45e8-a35c-737cf188c21b] Error while decoding stream #0:1: I/O error
Jan 02, 2023 07:35:09.641 [0x7ff56137bb38] ERROR - [Req#983/Transcode/xcbvy251hdmzwlytjwcowrv8/bf01e098-de8b-4d11-ac13-d949ed28954d] [mp4 @ 0x7f403ec2a340] failed to rename file chunk-stream0-00038.m4s.tmp to chunk-stream0-00038.m4s: No such file or directory
Jan 02, 2023 07:35:09.642 [0x7ff560317b38] ERROR - [Req#986/Transcode/xcbvy251hdmzwlytjwcowrv8/bf01e098-de8b-4d11-ac13-d949ed28954d] av_interleaved_write_frame(): No such file or directory
Jan 02, 2023 07:35:09.643 [0x7ff560d72b38] ERROR - [Req#989/Transcode/xcbvy251hdmzwlytjwcowrv8/bf01e098-de8b-4d11-ac13-d949ed28954d] [dash @ 0x7f403ec2a6c0] Unable to open chunk-stream0-00038.m4s.tmp for writing: No such file or directory
Jan 02, 2023 07:35:09.644 [0x7ff561178b38] ERROR - [Req#98b/Transcode/xcbvy251hdmzwlytjwcowrv8/bf01e098-de8b-4d11-ac13-d949ed28954d] [mp4 @ 0x7f403ec2a340] failed to rename file chunk-stream0-00038.m4s.tmp to chunk-stream0-00038.m4s: No such file or directory
Jan 02, 2023 07:35:09.646 [0x7ff55c96db38] ERROR - [Req#98e/Transcode/xcbvy251hdmzwlytjwcowrv8/bf01e098-de8b-4d11-ac13-d949ed28954d] Error writing trailer of dash: No such file or directory
Jan 02, 2023 07:35:11.432 [0x7ff561178b38] ERROR - [Req#99e/Transcode/oh1tyw2kwa0nxg9osd13q1ir/87363d49-9427-45e8-a35c-737cf188c21b] [mp4 @ 0x7fc9c0fd5340] failed to rename file chunk-stream0-00002.m4s.tmp to chunk-stream0-00002.m4s: No such file or directory
Jan 02, 2023 07:35:11.432 [0x7ff55c96db38] ERROR - [Req#9a0/Transcode/oh1tyw2kwa0nxg9osd13q1ir/87363d49-9427-45e8-a35c-737cf188c21b] av_interleaved_write_frame(): No such file or directory
Jan 02, 2023 07:35:11.435 [0x7ff55d540b38] ERROR - [Req#9a4/Transcode/oh1tyw2kwa0nxg9osd13q1ir/87363d49-9427-45e8-a35c-737cf188c21b] [dash @ 0x7fc9c0fd56c0] Unable to open chunk-stream0-00002.m4s.tmp for writing: No such file or directory
Jan 02, 2023 07:35:11.435 [0x7ff55ebe2b38] ERROR - [Req#9a7/Transcode/oh1tyw2kwa0nxg9osd13q1ir/87363d49-9427-45e8-a35c-737cf188c21b] [mp4 @ 0x7fc9c0fd5340] failed to rename file chunk-stream0-00002.m4s.tmp to chunk-stream0-00002.m4s: No such file or directory
Jan 02, 2023 07:35:11.436 [0x7ff55febcb38] ERROR - [Req#9aa/Transcode/oh1tyw2kwa0nxg9osd13q1ir/87363d49-9427-45e8-a35c-737cf188c21b] Error writing trailer of dash: No such file or directory
