Hardware transcoding broken on Intel NUC with J5005 CPU on Ubuntu 18.04 LTS

Server Version#:1.18.2.2015
Player Version#:Android, Roku and all others.
Hardware transcoding stopped working on one of the latest releases, possibly after 1.18.0?
The server is headless, not running X and has not had any changes to software aside from the Ples updates.

ls /dev/dri
by-path card0 renderD128

Logs attached.Plex Media Server.log (159.9 KB) Plex Transcoder Statistics.log (33.0 KB)

1 Like

@gluesniffined

The server appears to be working fine based on the log you submitted.

Are you certain it’s the server? I ask because there have been a lot of Android player app updates.

Nov 08, 2019 21:30:15.520 [0x7f6f717fa700] DEBUG - TranscodeUniversalRequest: using augmented profile Android
Nov 08, 2019 21:30:15.521 [0x7f6f717fa700] DEBUG - Downloading document http://127.0.0.1:32400/library/metadata/97575?checkFiles=1&includeBandwidths=1&offset=-1&X-Plex-Incomplete-Segments=1&X-Plex-Session-Identifier=36f22d5edbf5307c-com-plexapp-android
Nov 08, 2019 21:30:15.522 [0x7f6f717fa700] DEBUG - Auth: authenticated user 1 as OBFUSCATED
Nov 08, 2019 21:30:15.532 [0x7f6f717fa700] DEBUG - We're going to try to auto-select an audio stream for account 1.
Nov 08, 2019 21:30:15.532 [0x7f6f717fa700] DEBUG - Selecting best audio stream for part ID 108922 (autoselect: 1 language: en)
Nov 08, 2019 21:30:15.532 [0x7f6f717fa700] DEBUG - We're going to try to auto-select a subtitle.
Nov 08, 2019 21:30:15.532 [0x7f6f717fa700] DEBUG - Audio Stream: 188653, Subtitle Stream: -1
Nov 08, 2019 21:30:15.533 [0x7f6f717fa700] DEBUG - Found session GUID of 36f22d5edbf5307c-com-plexapp-android in session start.
Nov 08, 2019 21:30:15.533 [0x7f6f717fa700] DEBUG - Using session GUID 36f22d5edbf5307c-com-plexapp-android for new transcode session.
Nov 08, 2019 21:30:15.533 [0x7f6f717fa700] DEBUG - Cleaning directory for session 36f22d5edbf5307c-com-plexapp-android ()
Nov 08, 2019 21:30:15.534 [0x7f6ff90de700] DEBUG - Completed: [OBFUSCATED_IP:64100] 206 GET /video/:/transcode/universal/start.m3u8?audioBoost=100&autoAdjustQuality=0&directPlay=0&directStream=1&directStreamAudio=1&fastSeek=1&hasMDE=1&includeCodecs=1&location=cellular&maxVideoBitrate=720&mediaBufferSize=74944&mediaIndex=0&partIndex=0&path=%2Flibrary%2Fmetadata%2F97575&peakBitrate=720&protocol=hls&session=36f22d5edbf5307c-com-plexapp-android&subtitleSize=100&videoBitrate=720&videoQuality=60&videoResolution=3840x2160 (20 live) TLS 17ms 421 bytes (range: bytes=0-) 
Nov 08, 2019 21:30:16.113 [0x7f6f68c80700] DEBUG - Request: [OBFUSCATED_IP:50025 (WAN)] GET /video/:/transcode/universal/session/36f22d5edbf5307c-com-plexapp-android/base/index.m3u8 (21 live) TLS Signed-in
Nov 08, 2019 21:30:16.113 [0x7f6f68c80700] DEBUG - Found session GUID of 36f22d5edbf5307c-com-plexapp-android in session start.
Nov 08, 2019 21:30:16.113 [0x7f6f68c80700] DEBUG - Starting a transcode session 36f22d5edbf5307c-com-plexapp-android at offset -1.0 (state=3)
Nov 08, 2019 21:30:16.114 [0x7f6f68c80700] DEBUG - TPU: hardware transcoding: using hardware decode accelerator vaapi
Nov 08, 2019 21:30:16.114 [0x7f6f68c80700] DEBUG - [Universal] Using local file path instead of URL: /mnt/Media/Movies/Cross Rise of the Villains (2019)/Cross Rise of the Villains (2019) WEBDL-1080p.mkv
Nov 08, 2019 21:30:16.114 [0x7f6f68c80700] DEBUG - TPU: hardware transcoding: zero-copy support present
Nov 08, 2019 21:30:16.114 [0x7f6f68c80700] DEBUG - TPU: hardware transcoding: using zero-copy transcoding
Nov 08, 2019 21:30:16.114 [0x7f6f68c80700] DEBUG - Codecs: hardware transcoding: testing API vaapi
Nov 08, 2019 21:30:16.125 [0x7f6f68c80700] DEBUG - TPU: hardware transcoding: final decoder: vaapi, final encoder: vaapi
Nov 08, 2019 21:30:16.125 [0x7f6f68c80700] DEBUG - Job running: EAE_ROOT='/tmp/pms-a4e4e71a-d57c-4419-b06a-227d6b078b3a/EasyAudioEncoder' FFMPEG_EXTERNAL_LIBS='/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Codecs/395e79c-2735-linux-x86_64/' XDG_CACHE_HOME='/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Cache' XDG_DATA_HOME='/usr/lib/plexmediaserver/Resources' X_PLEX_TOKEN='xxxxxxxxxxxxxxxxxxxx' '/usr/lib/plexmediaserver/Plex Transcoder' '-codec:2' 'h264' '-hwaccel:2' 'vaapi' '-hwaccel_fallback_threshold:2' '10' '-hwaccel_output_format:2' 'vaapi' '-codec:1' 'ac3' '-analyzeduration' '20000000' '-probesize' '20000000' '-i' '/mnt/Media/Movies/Cross Rise of the Villains (2019)/Cross Rise of the Villains (2019) WEBDL-1080p.mkv' '-filter_complex' '[0:2]hwupload[0];[0]scale_vaapi=w=480:h=270:format=nv12[1];[1]hwupload[2]' '-filter_complex' '[0:1] aresample=async=1:ocl='\''stereo'\'':osr=48000[3]' '-map' '[2]' '-metadata:s:0' 'language=eng' '-codec:0' 'h264_vaapi' '-b:0' '364k' '-maxrate:0' '486k' '-bufsize:0' '972k' '-r:0' '23.975999999999999' '-force_key_frames:0' 'expr:gte(t,0+n_forced*8)' '-map' '[3]' '-metadata:s:1' 'language=eng' '-codec:1' 'aac' '-b:1' '125k' '-segment_format' 'mpegts' '-f' 'ssegment' '-individual_header_trailer' '0' '-segment_time' '8' '-segment_start_number' '0' '-segment_copyts' '1' '-segment_time_delta' '0.0625' '-segment_list' 'http://127.0.0.1:32400/video/:/transcode/session/36f22d5edbf5307c-com-plexapp-android/248775da-0e8c-43b0-a4d1-4077192b51ee/seglist' '-segment_list_type' 'csv' '-segment_list_size' '5' '-segment_list_separate_stream_times' '1' '-segment_list_unfinished' '1' '-max_delay' '5000000' '-avoid_negative_ts' 'disabled' '-map_metadata' '-1' '-map_chapters' '-1' 'media-%05d.ts' '-start_at_zero' '-copyts' '-vsync' 'cfr' '-y' '-init_hw_device' 'vaapi=vaapi:,driver=iHD,kernel_driver=i915' '-hwaccel_device' 'vaapi' '-filter_hw_device' 'vaapi' '-nostats' '-loglevel' 'quiet' '-loglevel_plex' 'error' '-progressurl' 'http://127.0.0.1:32400/video/:/transcode/session/36f22d5edbf5307c-com-plexapp-android/248775da-0e8c-43b0-a4d1-4077192b51ee/progress'
Nov 08, 2019 21:30:16.126 [0x7f6f68c80700] DEBUG - Jobs: Starting child process with pid 10280
Nov 08, 2019 21:30:16.131 [0x7f6f65fd4700] DEBUG - Request: [127.0.0.1:35430 (Loopback)] PUT /video/:/transcode/session/36f22d5edbf5307c-com-plexapp-android/248775da-0e8c-43b0-a4d1-4077192b51ee/progress?status=startup (22 live) Signed-in Token (OBFUSCATED) (range: bytes=0-) 
Nov 08, 2019 21:30:16.131 [0x7f6ff88dd700] DEBUG - Completed: [127.0.0.1:35430] 204 PUT /video/:/transcode/session/36f22d5edbf5307c-com-plexapp-android/248775da-0e8c-43b0-a4d1-4077192b51ee/progress?status=startup (22 live) 0ms 203 bytes (pipelined: 1) (range: bytes=0-) 
Nov 08, 2019 21:30:16.150 [0x7f6f717fa700] DEBUG - Request: [127.0.0.1:35430 (Loopback)] PUT /video/:/transcode/session/36f22d5edbf5307c-com-plexapp-android/248775da-0e8c-43b0-a4d1-4077192b51ee/progress?status=startup (22 live) Signed-in Token (OBFUSCATED) (range: bytes=0-) 
Nov 08, 2019 21:30:16.150 [0x7f6ff90de700] DEBUG - Completed: [127.0.0.1:35430] 204 PUT /video/:/transcode/session/36f22d5edbf5307c-com-plexapp-android/248775da-0e8c-43b0-a4d1-4077192b51ee/progress?status=startup (22 live) 0ms 203 bytes (pipelined: 2) (range: bytes=0-) 
Nov 08, 2019 21:30:16.150 [0x7f6f727fc700] DEBUG - Request: [127.0.0.1:35430 (Loopback)] PUT /video/:/transcode/session/36f22d5edbf5307c-com-plexapp-android/248775da-0e8c-43b0-a4d1-4077192b51ee/progress?status=opening (22 live) Signed-in Token (OBFUSCATED) (range: bytes=0-) 
Nov 08, 2019 21:30:16.151 [0x7f6ff90de700] DEBUG - Completed: [127.0.0.1:35430] 204 PUT /video/:/transcode/session/36f22d5edbf5307c-com-plexapp-android/248775da-0e8c-43b0-a4d1-4077192b51ee/progress?status=opening (22 live) 0ms 203 bytes (pipelined: 3) (range: bytes=0-) 
Nov 08, 2019 21:30:16.152 [0x7f6f65fd4700] DEBUG - Request: [127.0.0.1:35430 (Loopback)] PUT /video/:/transcode/session/36f22d5edbf5307c-com-plexapp-android/248775da-0e8c-43b0-a4d1-4077192b51ee/progress?status=opened (22 live) Signed-in Token (OBFUSCATED) (range: bytes=0-) 
Nov 08, 2019 21:30:16.153 [0x7f6ff88dd700] DEBUG - Completed: [127.0.0.1:35430] 204 PUT /video/:/transcode/session/36f22d5edbf5307c-com-plexapp-android/248775da-0e8c-43b0-a4d1-4077192b51ee/progress?status=opened (22 live) 0ms 203 bytes (pipelined: 4) (range: bytes=0-) 
Nov 08, 2019 21:30:16.153 [0x7f6f717fa700] DEBUG - Request: [127.0.0.1:35430 (Loopback)] PUT /video/:/transcode/session/36f22d5edbf5307c-com-plexapp-android/248775da-0e8c-43b0-a4d1-4077192b51ee/progress/stream?index=1&id=0&codec=ac3&type=audio (22 live) Signed-in Token (OBFUSCATED) (range: bytes=0-) 
Nov 08, 2019 21:30:16.153 [0x7f6ff88dd700] DEBUG - Completed: [127.0.0.1:35430] 200 PUT /video/:/transcode/session/36f22d5edbf5307c-com-plexapp-android/248775da-0e8c-43b0-a4d1-4077192b51ee/progress/stream?index=1&id=0&codec=ac3&type=audio (22 live) 0ms 195 bytes (pipelined: 5) (range: bytes=0-) 
Nov 08, 2019 21:30:16.154 [0x7f6f727fc700] DEBUG - Request: [127.0.0.1:35430 (Loopback)] PUT /video/:/transcode/session/36f22d5edbf5307c-com-plexapp-android/248775da-0e8c-43b0-a4d1-4077192b51ee/progress/stream?index=2&id=0&codec=h264&type=video (22 live) Signed-in Token (OBFUSCATED) (range: bytes=0-) 
Nov 08, 2019 21:30:16.154 [0x7f6ff88dd700] DEBUG - Completed: [127.0.0.1:35430] 200 PUT /video/:/transcode/session/36f22d5edbf5307c-com-plexapp-android/248775da-0e8c-43b0-a4d1-4077192b51ee/progress/stream?index=2&id=0&codec=h264&type=video (22 live) 0ms 195 bytes (pipelined: 6) (range: bytes=0-) 
Nov 08, 2019 21:30:16.219 [0x7f6f65fd4700] DEBUG - Request: [127.0.0.1:35430 (Loopback)] PUT /video/:/transcode/session/36f22d5edbf5307c-com-plexapp-android/248775da-0e8c-43b0-a4d1-4077192b51ee/progress/streamDetail?index=0&id=0&codec=subrip&type=subtitle&language=eng&disp_default=1 (22 live) Signed-in Token (OBFUSCATED) (range: bytes=0-) 
Nov 08, 2019 21:30:16.219 [0x7f6ff90de700] DEBUG - Completed: [127.0.0.1:35430] 200 PUT /video/:/transcode/session/36f22d5edbf5307c-com-plexapp-android/248775da-0e8c-43b0-a4d1-4077192b51ee/progress/streamDetail?index=0&id=0&codec=subrip&type=subtitle&language=eng&disp_default=1 (22 live) 0ms 195 bytes (pipelined: 7) (range: bytes=0-) 
Nov 08, 2019 21:30:16.219 [0x7f6f717fa700] DEBUG - Request: [127.0.0.1:35430 (Loopback)] PUT /video/:/transcode/session/36f22d5edbf5307c-com-plexapp-android/248775da-0e8c-43b0-a4d1-4077192b51ee/progress/streamDetail?index=1&id=0&codec=ac3&type=audio&bitrate=384000&language=eng&channels=6&layout=5.1%28side%29&sampleRate=48000&disp_default=1 (22 live) Signed-in Token (OBFUSCATED) (range: bytes=0-) 
Nov 08, 2019 21:30:16.220 [0x7f6ff88dd700] DEBUG - Completed: [127.0.0.1:35430] 200 PUT /video/:/transcode/session/36f22d5edbf5307c-com-plexapp-android/248775da-0e8c-43b0-a4d1-4077192b51ee/progress/streamDetail?index=1&id=0&codec=ac3&type=audio&bitrate=384000&language=eng&channels=6&layout=5.1%28side%29&sampleRate=48000&disp_default=1 (22 live) 0ms 195 bytes (pipelined: 8) (range: bytes=0-) 
Nov 08, 2019 21:30:16.220 [0x7f6f65fd4700] DEBUG - Request: [127.0.0.1:35430 (Loopback)] PUT /video/:/transcode/session/36f22d5edbf5307c-com-plexapp-android/248775da-0e8c-43b0-a4d1-4077192b51ee/progress/streamDetail?index=2&id=0&codec=h264&type=video&profile=High&language=eng&width=1920&height=1080&interlaced=0&sar=1:1&level=40&frameRate=23.976&disp_default=1 (22 live) Signed-in Token (OBFUSCATED) (range: bytes=0-) 
Nov 08, 2019 21:30:16.220 [0x7f6ff88dd700] DEBUG - Completed: [127.0.0.1:35430] 200 PUT /video/:/transcode/session/36f22d5edbf5307c-com-plexapp-android/248775da-0e8c-43b0-a4d1-4077192b51ee/progress/streamDetail?index=2&id=0&codec=h264&type=video&profile=High&language=eng&width=1920&height=1080&interlaced=0&sar=1:1&level=40&frameRate=23.976&disp_default=1 (22 live) 0ms 195 bytes (pipelined: 9) (range: bytes=0-) 
Nov 08, 2019 21:30:16.222 [0x7f6f717fa700] DEBUG - Request: [127.0.0.1:35430 (Loopback)] PUT /video/:/transcode/session/36f22d5edbf5307c-com-plexapp-android/248775da-0e8c-43b0-a4d1-4077192b51ee/progress?duration=6000.576000 (22 live) Signed-in Token (OBFUSCATED) (range: bytes=0-) 
Nov 08, 2019 21:30:16.223 [0x7f6f68c80700] DEBUG - Started session successfully: 36f22d5edbf5307c-com-plexapp-android
Nov 08, 2019 21:30:16.223 [0x7f6ff90de700] DEBUG - Completed: [127.0.0.1:35430] 204 PUT /video/:/transcode/session/36f22d5edbf5307c-com-plexapp-android/248775da-0e8c-43b0-a4d1-4077192b51ee/progress?duration=6000.576000 (22 live) 0ms 203 bytes (pipelined: 10) (range: bytes=0-) 
Nov 08, 2019 21:30:16.223 [0x7f6f68c80700] DEBUG - HLS: Building an M3U8 for 6001 total seconds with 8 seconds/segment, target duration of 8.
Nov 08, 2019 21:30:16.224 [0x7f6ff90de700] DEBUG - Completed: [OBFUSCATED_IP:50025] 200 GET /video/:/transcode/universal/session/36f22d5edbf5307c-com-plexapp-android/base/index.m3u8 (22 live) TLS 110ms 20589 bytes (pipelined: 1)
Nov 08, 2019 21:30:16.236 [0x7f6ff90de700] DEBUG - Auth: authenticated user 1 as OBFUSCATED
Nov 08, 2019 21:30:16.236 [0x7f6f727fc700] DEBUG - Request: [192.168.x.174:51766 (Subnet)] GET /status/sessions (23 live) TLS GZIP Signed-in Token (OBFUSCATED)
Nov 08, 2019 21:30:16.237 [0x7f6f727fc700] DEBUG - [Now] Adding 0 sessions.
Nov 08, 2019 21:30:16.237 [0x7f6ff90de700] DEBUG - Completed: [192.168.x.174:51766] 200 GET /status/sessions (23 live) TLS GZIP 0ms 429 bytes (pipelined: 1)
Nov 08, 2019 21:30:16.293 [0x7f6f717fa700] DEBUG - Transcoder segment range: 0 - 0 (-1)
Nov 08, 2019 21:30:16.874 [0x7f6f65fd4700] DEBUG - Request: [OBFUSCATED_IP:49198 (WAN)] GET /video/:/transcode/universal/session/36f22d5edbf5307c-com-plexapp-android/base/00000.ts (25 live) TLS Signed-in
Nov 08, 2019 21:30:16.874 [0x7f6f65fd4700] DEBUG - Asked for segment 0 from session.
Nov 08, 2019 21:30:17.084 [0x7f6f727fc700] DEBUG - Transcoder segment range: 0 - 0 (0)
Nov 08, 2019 21:30:17.092 [0x7f6f68c80700] DEBUG - Transcoder segment range: 0 - 1 (0)
Nov 08, 2019 21:30:17.174 [0x7f6f65fd4700] DEBUG - Returning segment 0 from session
Nov 08, 2019 21:30:17.175 [0x7f6f65fd4700] DEBUG - Content-Length of /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Cache/Transcode/Sessions/plex-transcode-36f22d5edbf5307c-com-plexapp-android-248775da-0e8c-43b0-a4d1-4077192b51ee/media-00000.ts is 199468 (of total: 199468).
Nov 08, 2019 21:30:17.363 [0x7f6ff88dd700] DEBUG - Completed: [OBFUSCATED_IP:49198] 200 GET /video/:/transcode/universal/session/36f22d5edbf5307c-com-plexapp-android/base/00000.ts (25 live) TLS 489ms 199468 bytes (pipelined: 1)
Nov 08, 2019 21:30:17.363 [0x7f6ff88dd700] DEBUG - Removed transcode data consumer, active count 1 => 0
Nov 08, 2019 21:30:17.796 [0x7f6f68c80700] DEBUG - Request: [OBFUSCATED_IP:40275 (WAN)] GET /video/:/transcode/universal/session/36f22d5edbf5307c-com-plexapp-android/base/00001.ts (25 live) TLS Signed-in
Nov 08, 2019 21:30:17.797 [0x7f6f68c80700] DEBUG - Asked for segment 1 from session.
Nov 08, 2019 21:30:17.869 [0x7f6f65fd4700] DEBUG - Transcoder segment range: 0 - 1 (1)
Nov 08, 2019 21:30:17.870 [0x7f6f717fa700] DEBUG - Transcoder segment range: 0 - 2 (1)
Nov 08, 2019 21:30:17.897 [0x7f6f68c80700] DEBUG - Returning segment 1 from session
Nov 08, 2019 21:30:17.897 [0x7f6f68c80700] DEBUG - Content-Length of /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Cache/Transcode/Sessions/plex-transcode-36f22d5edbf5307c-com-plexapp-android-248775da-0e8c-43b0-a4d1-4077192b51ee/media-00001.ts is 236128 (of total: 236128).

@ccb056

I am responding to you in your thread.

Please keep in mind this is a Linux thread.
In Linux, HW transcoding is handled entirely differently than Windows.
I don’t know windows so am uncertain if I can help resolve any issues.

Thanks for the Reply Chuck.

The issue occurs on Android, Roku and even the web client locally if I force it to not use recommended settings for the local stream and drop it to 720p, etc. If I disable hardware transcoding, all clients look great, by my poor NUC is pegged at 99% CPU with one stream.

Great news, I’ve found your problem! It is an incompatibility with your iHD_drv_video.so driver. I renamed that driver to iHD_drv_video.so.bak, rebooted and hardware transcoding works again. Presumably it is falling back to an older driver that was used previously.

I verified by naming iHD_drv_video.so back, and transcoding was once again broken for me.

Hopefully this will help your developers correct the issue with the iHD_drv_video.so now that it is the known issue.

Thank You,

2 Likes

@gluesniffined

You found another incompatibility (we’ve found a few already and are fixing them) in the iHD driver for Intel Core -9xxx CPUs (likely the same ASIC). I will report to the team. Thank you.

It’s falling back to the i965 driver for you.
It will work reliability until you get to the extreme upper end of bitrates (100 Mbps)

Thanks Chuck, glad to hear that I was able to help out a bit. Fortunately I don’t have anything anywhere near 100Mbps as I haven’t taken the plunge to 4K yet.

Perhaps this tip could help out the other Linux and/or NAS users with the same architecture CPU.

Same problem and solution with Intel Celeron J4105

1 Like

I can confirm the problem affects Intel Pentium Silver N5000 too.

1 Like

Problem still present on Version 1.18.1.2019. Same fix, just delete iHD_drv_video.so .
So, i am waiting for 1.18.2.2022. Hope the problem will be fixed in this build.

The problem will persist, unfortunately, until:

  1. Intel fixes their driver
  2. We fix their driver

Which happens first: Anyone’s guess unfortunately. It’s not an easy solution.
We are exploring other options but nothing is worth mentioning at this time.

1 Like

@ChuckPa thank you for the explanation.

So, i have do delete the iHD_drv_video.so and reboot my server, every time i install a update, or is there an easer way?

My Server just run Ubuntu with Plex, Tautulli and Webmin. I am not very experienced with linux or other non-gui systems.

Using https://downloads.plex.tv/plex-media-server-new/1.18.0.1944-f2cae8d6b/debian/plexmediaserver_1.18.0.1944-f2cae8d6b_amd64.deb for now…

Nice, this really saved me, I just bought a J5005 BRIX and was really getting frustrated :smiley:

(I have installed ESXi and within that tried ubuntu 18.04 for a while, then tested 19.10, debian 10, before installing 18.04 instead of ESXi, just to finally find this thread. Now back to ESXi+18.04 and all works)

Deleting the iHD_drv_video.so will be “per PMS update” scenario workaround for now.

I was updated by engineering last evening

  1. They have a solid reproduceable case of one of another failure case
  2. Correction now is focused on that facet.
1 Like

This bug is also present on J3455.
Glad I found this fix though.
Was going crazy with all my clients creating garbled transcodes ^

To reiterate,

This issue is in the iHD_drv_video.so driver which is provided by Intel.
We have corrected several of the known deficiencies.
We are currently working on this, the most obvious, cadence error in the driver.

Well to reiterate,
It is funny i did not update anything on the server but the plex server and hw transcoding stopped working. So maybe there is an issure in the intel driver, but what about proper release management? I mean chaning to the newer driver seems to indicate the need of slightly big code change. A regression on a number of supported CPUs and systems (NAS also affected) would have shown the issue, but it seems this was not done at all.
I mean, it’s a commercial product and people are paying money for that.

Pretty bold words for a free, non-paying, user account. ( I don’ tlike being trolled).

If you didn’t update anything, any it magically stopped working, what about your media changed? There are a lot of moving parts to be taken into consideration. Systems and software don’t just stop working because they feel like it.

Something different to consider. Transcoding a video shows up like some weird game of Minecraft (i can only see colored blocks) for me.
After trying to delete the iHD_drv_video.so as mentioned before no transcoding worked anymore.

That brought me to the idea that Plex must be calling the vaapi differently.
And yes, Plex is using a different hw acceleration driver for my Intel QuickSync setup.

Original Plex (using driver iHD):

 /usr/lib/plexmediaserver/Plex\ Transcoder -codec:0 hevc -hwaccel:0 vaapi -hwaccel_fallback_threshold:0 10 -hwaccel_output_format:0 vaapi -codec:1 dca -analyzeduration 20000000 -probesize 20000000 -i "/tmp/test.mkv" -filter_complex "[0:0]hwupload[0];[0]scale_vaapi=w=720:h=406:format=nv12[1];[1]hwupload[2]" -filter_complex [0:1] aresample=async=1:ocl='stereo':osr=48000[3] -map [2] -codec:0 h264_vaapi -b:0 1293k -maxrate:0 1724k -bufsize:0 3448k -r:0 23.975999999999999 -map [3] -metadata:s:1 language=ger -codec:1 aac -b:1 162k -segment_format mpegts -f ssegment -individual_header_trailer 0 -segment_time 8 -segment_start_number 0 -segment_copyts 1 -segment_time_delta 0.0625 -segment_list http://127.0.0.1:32400/video/:/transcode/session/b0bbbb66f85f6ea8-com-plexapp-android/5dbf21dc-080e-48ab-9865-c4a83594e816/seglist -segment_list_type csv -segment_list_size 5 -segment_list_separate_stream_times 1 -segment_list_unfinished 1 -max_delay 5000000 -avoid_negative_ts disabled -map_metadata -1 -map_chapters -1 media-%05d.ts -start_at_zero -copyts -vsync cfr -y -init_hw_device vaapi=vaapi:,driver=iHD,kernel_driver=i915 -hwaccel_device vaapi -filter_hw_device vaapi -nostats -v 100

Corrected (using driver i965):

/usr/lib/plexmediaserver/Plex\ Transcoder -codec:0 hevc -hwaccel:0 vaapi -hwaccel_fallback_threshold:0 10 -hwaccel_output_format:0 vaapi -codec:1 dca -analyzeduration 20000000 -probesize 20000000 -i "/tmp/test.mkv" -filter_complex "[0:0]hwupload[0];[0]scale_vaapi=w=720:h=406:format=nv12[1];[1]hwupload[2]" -filter_complex [0:1] aresample=async=1:ocl='stereo':osr=48000[3] -map [2] -codec:0 h264_vaapi -b:0 1293k -maxrate:0 1724k -bufsize:0 3448k -r:0 23.975999999999999 -map [3] -metadata:s:1 language=ger -codec:1 aac -b:1 162k -segment_format mpegts -f ssegment -individual_header_trailer 0 -segment_time 8 -segment_start_number 0 -segment_copyts 1 -segment_time_delta 0.0625 -segment_list http://127.0.0.1:32400/video/:/transcode/session/b0bbbb66f85f6ea8-com-plexapp-android/5dbf21dc-080e-48ab-9865-c4a83594e816/seglist -segment_list_type csv -segment_list_size 5 -segment_list_separate_stream_times 1 -segment_list_unfinished 1 -max_delay 5000000 -avoid_negative_ts disabled -map_metadata -1 -map_chapters -1 media-%05d.ts -start_at_zero -copyts -vsync cfr -y -init_hw_device vaapi=vaapi0:/dev/dri/renderD128 -filter_hw_device vaapi0 -nostats -v 100

This is from the latest build 1.18.2.2029.

EDIT:
Downgrading to the previous Plex version 1.18.0.1944 makes everything work like a charm.

Call to Plex Transcoder below (also using i965)

 /usr/lib/plexmediaserver/Plex\ Transcoder -codec:0 hevc -hwaccel:0 vaapi -hwaccel_fallback_threshold:0 10 -codec:1 dca -analyzeduration 20000000 -probesize 20000000 -i "/tmp/test.mkv" -map_inlineass 0:3 -filter_complex "[0:0]scale=w=720:h=406[0];[0]format=pix_fmts=nv12[1];[1]inlineass=font_scale=1.000000:font_path=/usr/lib/plexmediaserver/Resources/Fonts/DejaVuSans-Regular.ttf:fontconfig_file=/usr/lib/plexmediaserver/Resources/fonts.conf:language=de[2];[2]hwupload[3]" -filter_complex [0:1] aresample=async=1:ocl='stereo':osr=48000[4] -map [3] -codec:0 h264_vaapi -b:0 1293k -maxrate:0 1724k -bufsize:0 3448k -r:0 23.975999999999999 -map [4] -metadata:s:1 language=ger -codec:1 aac -b:1 162k -segment_format mpegts -f ssegment -individual_header_trailer 0 -segment_time 8 -segment_start_number 0 -segment_copyts 1 -segment_time_delta 0.0625 -segment_list http://127.0.0.1:32400/video/:/transcode/session/b0bbbb66f85f6ea8-com-plexapp-android/fa55bea4-aee9-4611-88db-8f1e1636d7f1/seglist -segment_list_type csv -segment_list_size 5 -segment_list_separate_stream_times 1 -segment_list_unfinished 1 -max_delay 5000000 -avoid_negative_ts disabled -map_metadata -1 -map_chapters -1 media-%05d.ts -map 0:3 -f null -codec ass nullfile -start_at_zero -copyts -vsync cfr -y -init_hw_device vaapi=vaapi:/dev/dri/renderD128 -hwaccel_device vaapi -filter_hw_device vaapi -nostats -v 100