Ahh gotcha.
Yeah im running kernel 6.1.34 as that came with Unraid version 6.12.1 which is the latest stable.
Stable is relative.
- They say I’m stable.

- I never talk about my relatives.

I will do some work. (tomorrow is phys rehab day)
hahaha had a good laugh… needed that after all this ![]()
All good, rest up and thanks again for your time and if you find any update im all ears.
Should i leave this topic open?
Leave it open.
… and cover your ears ![]()
![]()
![]()
No probs, will leave this open.
just checking in, im one of the others, have seen a couple come through with same issue and the 6999 fixes it.
@ChuckPa just wondering if you had a chance to look at this one yet?
Not a single issue on Ubuntu (on either the AV1 AlderLake or NUC7)
I think this is headed towards what Unraid did with their kernel and drivers.
(Are you 100% certain all the appropriate drivers are blacklisted?)
@ChuckPa Yeah it must be something to do with the new Kernel then ![]()
@ad878 you have the same symptoms as me right? was it all working before the Unraid 6.12.x update to the new Kernel and then after the update it stopped working.
Im 100% sure everything is correct on my side because it was working perfectly before. The only thing that has changed is updating Unraid which has the new kernel. I have checked and re-checked all settings multiple times and the iGPU and everything else is all accessible and working fine.
I have a backup server which is a Gen 9 (9600K) chip on my other Unraid Machine which is also updated and using the new Kernel and that works fine. Its just the Gen 12 that has the issue and the only way to fix it is to either roll back Plex or disable Tone Mapping and then HW Transcoding works.
Others are having the same issue as i am but they are waiting on this topic thinking it might fix the Alder Lake issue 1.32.2.7002 which by the looks of it, wont fix this issue.
I think ill have to patiently wait for the Plex team to update their Kernel and/or Unraid box to the latest version and im sure you will encounter the same issues as us then on Alder Lake.
Also, i dont know if this helps at all but im getting the following errors in my syslog every time Plex runs its maintenance tasks. This also was not there before the unraid/kernel upgrade.
This happens on both the Gen 9 and Gen 12 systems that have the new Unraid/Kernel. Not sure if its related but wanted to share everything that i have found so far.
Server kernel: Plex Media Scan[25046]: segfault at 0 ip 0000154806cfa93d sp 00007ffe7a28bbc0 error 4 in libavcodec.so.59[154806b84000+3e0000] likely on CPU 10 (core 20, socket 0)
Server kernel: Plex Transcoder[8575]: segfault at 0 ip 0000151f0d6fa93d sp 00007ffea7fda5a0 error 4 in libavcodec.so.59[151f0d584000+3e0000] likely on CPU 8 (core 16, socket 0)
We have one AlderLake machine.
It runs as released Ubuntu 22.10.
root@plexqa-av1:/home/chuck# uname -a
Linux plexqa-av1 5.19.0-45-generic #46-Ubuntu SMP PREEMPT_DYNAMIC Wed Jun 7 09:08:58 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
root@plexqa-av1:/home/chuck#
While I would love to play with different kernel versions, I don’t have that luxury.
Ubuntu runs bare on the host. There is no hypervisor underneath it.
If there were, then I wouldn’t be able to run Unraid in a VM
(catch 22 situation)
Regarding what you’re seeing:
- SDR transcoding works - This confirms the QSV is accessible and working
- Tone mapping fails - This tells me the iGPU (graphics display element) isn’t
Do I have your DEBUG logs ZIP file which captures this failing?
Completely understand. There are so many different Kernel and hardware versions out there its impossible to have them all. You are welcome to use my system as a test if you like ![]()
You dont have my debug logs yet. Would you like verbose logging too?
Ill grab them for you now.
Do not use VERBOSE. I would have to hurt you
LOL
( I don’t want to see every mouse click and packet exchanged )
DEBUG only.
Sorry for the delay ![]()
Debug logs attached. At 10:06 i started a direct play and then at 10:07 i started a Transcode. this is with Tone Mapping enabled.
Please let me know if you would like anymore logs or testing done ![]()

While you’re still right here:
Jun 10, 2023 — 6.12.0-rc7 Bug fixes: Fix regression error in rc. … When Unraid 6.13 is released it will have a newer Linux kernel with better i915
Are you using “RC” or “Released” ?
The point here – Tone mapping needs to have the i915 working correctly in order for the OpenCL to run.
I’ll study your logs now.
Im running Released so 6.12.2 which was officially released yesterday.
This is tonemapping starting.
Jul 01, 2023 10:07:12.578 [22935294081848] DEBUG - [Req#4e4/Transcode/0df501e99355e601-com-plexapp-android] TPU: hardware transcoding: final decoder: vaapi, final encoder: vaapi
Jul 01, 2023 10:07:12.579 [22935294081848] DEBUG - [Req#4e4/Transcode/0df501e99355e601-com-plexapp-android/JobRunner] Job running: EAE_ROOT=/tmp/pms-55278434-d795-4808-9408-216a838a3b97/EasyAudioEncoder FFMPEG_EXTERNAL_LIBS=‘/config/Library/Application\ Support/Plex\ Media\ Server/Codecs/8217c1c-4578-linux-x86_64/’ LIBVA_DRIVERS_PATH=“/config/Library/Application Support/Plex Media Server/Cache/va-dri-linux-x86_64” OCL_ICD_VENDORS=“/config/Library/Application Support/Plex Media Server/Cache/cl-icds-linux-x86_64” X_PLEX_TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx cl_cache_dir=“/config/Library/Application Support/Plex Media Server/Cache/Shaders/icr-97-linux-x86_64/” “/usr/lib/plexmediaserver/Plex Transcoder” -codec:0 hevc -hwaccel:0 vaapi -hwaccel_fallback_threshold:0 10 -hwaccel_output_format:0 vaapi -hwaccel_device:0 vaapi -codec:1 eac3_eae -eae_prefix:1 0df501e99355e601-com-plexapp-android_ -analyzeduration 20000000 -probesize 20000000 -i “/movies/Peter Pan and Wendy (2023)/Peter Pan and Wendy (2023) {imdb-tt5635026} [Hybrid DSNP][WEBDL-2160p][DV HDR10][EAC3 Atmos 5.1][HEVC]-CMRG.mkv” -filter_complex "[0:0]hwupload[0];[0]scale_vaapi=w=720:h=404:format=p010[1];[1]hwmap=derive_device=opencl[2]
- HW Transcode → VAAPI
- tonemap=Mobius
Here’s the failure because it can’t get to the GPU (QSV ASIC is fine) to perform the tone mapping.
Jul 01, 2023 10:07:12.719 [22935294081848] ERROR - [Req#508/Transcode/0df501e99355e601-com-plexapp-android/7e75df9b-49ed-449a-9d73-71be8839e6e0] [AVHWDeviceContext @ 0x147eb61d9240] No matching devices found.
Jul 01, 2023 10:07:12.721 [22935370611512] ERROR - [Req#515/Transcode/0df501e99355e601-com-plexapp-android/7e75df9b-49ed-449a-9d73-71be8839e6e0] [Parsed_tonemap_opencl_3 @ 0x147eb6bf9300] Failed to build program: -6.
Jul 01, 2023 10:07:12.721 [22935294081848] ERROR - [Req#516/Transcode/0df501e99355e601-com-plexapp-android/7e75df9b-49ed-449a-9d73-71be8839e6e0] Error while filtering: I/O error
Jul 01, 2023 10:07:12.721 [22935370611512] ERROR - [Req#517/Transcode/0df501e99355e601-com-plexapp-android/7e75df9b-49ed-449a-9d73-71be8839e6e0] Failed to inject frame into filter network: I/O error
Jul 01, 2023 10:07:12.721 [22935294081848] ERROR - [Req#518/Transcode/0df501e99355e601-com-plexapp-android/7e75df9b-49ed-449a-9d73-71be8839e6e0] Error while processing the decoded data for stream #0:0
Jul 01, 2023 10:07:12.746 [22935481850680] DEBUG - Jobs: ‘/usr/lib/plexmediaserver/Plex Transcoder’ exit code for process 1077 is 1 (failure)
Jul 01, 2023 10:07:12.746 [22935160351544] DEBUG - Streaming Resource: Changing client to use software decoding
This screams of a driver error (i915).
Need to figure out another way to test this
AlderLake CPUs have AV1 capability.
Do you have any AV1 sample files ?
oh no
so i guess i need to wait for a new Kernel.
No i dont have an AV1 file but im sure i can get one and test with.
Ill find an AV1 file today and do some tests and report back.
Are there any other tests that you would like me to run?

