The limitation was the unfortunate “LOCK” on Ubuntu 20.04.
I do not know what further work Engineering has going on other than to say “A lot of work with transcoding”. Most of it is over my head.
The limitation was the unfortunate “LOCK” on Ubuntu 20.04.
I do not know what further work Engineering has going on other than to say “A lot of work with transcoding”. Most of it is over my head.
The PlexPass 1.26.1 errors on install. Well it installs, but throughs some failed checks for the ICR.
This is when using the very latest ICR of 22.16.22992.
When using 21.49.21786, they all said installed, except Intel OpenCL. I verified with ‘apt list intel*’ and the components are installed, the Plex installer just isn’t finding them. I am guessing its tied to specific version numbers?
PlexMediaServer install: OpenCL: Installed
PlexMediaServer install: Intel Gmmlib: Installed
PlexMediaServer install: Intel IGC Core: Not Installed
PlexMediaServer install: Intel IGC OpenCL: Not Installed
PlexMediaServer install: Intel OpenCL: Not Installed
PlexMediaServer install:
PlexMediaServer install: WARNING: The Intel IGC Core, required for Intel Compute Runtime support, is missing.
PlexMediaServer install: Please install package: ‘intel-igc-core’ from https://github.com/intel/intel-graphics-compiler/releases/download/igc-1.0.9441/intel-igc-core_1.0.9441_amd64.deb
PlexMediaServer install:
PlexMediaServer install: WARNING: The Intel IGC OpenCL library, required for Intel Compute Runtime support, is missing.
PlexMediaServer install: Please install package: ‘intel-igc-opencl’ from https://github.com/intel/intel-graphics-compiler/releases/download/igc-1.0.9441/intel-igc-opencl_1.0.9441_amd64.deb
PlexMediaServer install:
PlexMediaServer install: WARNING: The Intel OpenCL library, required for Intel Compute Runtime support, is missing.
PlexMediaServer install: Please install package: ‘intel-opencl’ from https://github.com/intel/compute-runtime/releases/download/21.49.21786/intel-opencl-icd_21.49.21786_amd64.deb
PlexMediaServer install: Intel Compute Runtime packages are available from: Releases · intel/compute-runtime · GitHub
PlexMediaServer install: Please be certain to install them in the listed order.
PlexMediaServer install:
PlexMediaServer install: Completing final configuration.
PlexMediaServer install: Starting Plex Media Server.
PlexMediaServer install: PlexMediaServer-1.26.1.5772-872b93b91 - Installation successful. Errors: 0, Warnings: 3
Please read carefully,
This means you will need to uninstall the ICR version you have and install the specific version.
At risk of getting my butt in a sling again – This is temporary.
I assume the check against 21.49.xxxx is temporary until its validated by engineering to work with later ICR versions?
I am ignoring the WARNING, as I test to see what explodes with latest versions of stuff. I will revert back if necessary. Not sure why it didn’t find OpenCL though, as that was installed and the right version, but too late to figure it out now.
If you want to go to /var/lib/dpkg/info, you’ll find the preinst code.
You can examine my script there where I check for the packages.
Did I make a mistake ?
[ "$(dpkg -l | grep ^ii | grep -i intel-gmmlib | grep '21.3.3')" != "" ] && HaveIntelGmmlib=1
[ "$(dpkg -l | grep ^ii | grep -i intel-igc-core | grep '1.0.9441')" != "" ] && HaveIntelIGCCore=1
[ "$(dpkg -l | grep ^ii | grep -i intel-igc-opencl | grep '1.0.9441')" != "" ] && HaveIntelIGCOpenCL=1
[ "$(dpkg -l | grep ^ii | grep -i intel-opencl | grep '21.49.21786')" != "" ] && HaveIntelOpenCL=1
Specific URLs (for all of 21.49.21786) are:
wget https://github.com/intel/compute-runtime/releases/download/21.49.21786/intel-gmmlib_21.3.3_amd64.deb
wget https://github.com/intel/intel-graphics-compiler/releases/download/igc-1.0.9441/intel-igc-core_1.0.9441_amd64.deb
wget https://github.com/intel/intel-graphics-compiler/releases/download/igc-1.0.9441/intel-igc-opencl_1.0.9441_amd64.deb
wget https://github.com/intel/compute-runtime/releases/download/21.49.21786/intel-opencl-icd_21.49.21786_amd64.deb
wget https://github.com/intel/compute-runtime/releases/download/21.49.21786/intel-level-zero-gpu_1.2.21786_amd64.deb
I found the problem. You had it correct, but it looks like the intel-opencl-icd package got moved into the main Ubuntu repository.
So anyone doing an update for Ubuntu 22.04 that isn’t paying attention (like me), is going to get that replaced with the a newer version. That is why the WARNING appeared when installing the PlexPass version.
intel-opencl-icd/jammy 22.14.22890-1 amd64 [upgradable from: 21.49.21786]
Unrelated, with ICR 22.16.22992 and the PlexPass 1.26.1, it crashed the machine requiring a hard reboot when I tried it on 4K content.
Can confirm, the update to the 1.26.1 beta and downgrade to the aforementioned version of intel libraries fixed the HDR tone mapping issues. I’m running Ubuntu 22.04 on kernel 5.17.4 on an i5-12500. I can’t attest to any crashes or stability as I only tested it for a minute or two, but the band-aid seems to be holding I guess.
sudo apt-mark hold intel-opencl-icd
intel-opencl-icd set on hold.
Hm, so I updated from 5.16 to 5.17.4 on Fedora, but still experienced a crash after several minutes optimizing a Movie and parallel playback of some movies. Can you try to optimize some AVC and HEVC media?
Thanks.
I had a discussion with Achilles about this.
We agree that at this 5.17 kernel level, the kernel support for AlderLake isn’t complete.
The upstream GPU fixes (which are awaiting inclusion in the kernel) are yet to come.
Intel has more AlderLake support planned for 5.18.
Clearly this is getting closer but not quite there yet.
5.18.x seems to be where the support will start to mature
I ended up downgrading back to 1.26.0 because 1.26.1 has artifacting issues on some media on alder lake. But now my system has started hard locking as well requiring a forced reboot.
I have another thread talking about HDR tone mapping in 22.04 here
I am running 5.15 since this is the ‘official’ LTS kernel in hopes that many Alder Lake fixes get back ported (the efficiency core issue is already back-ported and awaiting release).
It sounds like I will need to upgrade to 5.18 (when released) regardless for proper support? Is that correct? I’m not opposed to this in the least, just wanting to know for future reference.
I did get tone mapping working on 5.15, but it had tons of artifacts.
It looks like 5.18 is where it’s at based on what’s been said above and in this article: Intel Graphics Driver Has Alder Lake N & DG2/Alchemist Performance Boost For Linux 5.18 - Phoronix
They are up to RC6 and sounds like they have an official release planned for later this month. Fingers crossed!
I went ahead an installed RC6 of the 5.18 kernel, still get artifacting on HDR content. Some blocks are green and the blocks of the image are all out of ordered and skewed. Reverted back to 5.15.
Some folks on here have stated they have hardware HDR tone mapping working correctly on Alder Lake?
I installed 5.18rc7 on Unraid and I got HW HDR transcoding working on Plex. But only when I burn in subtitles. Without that it’s artifacting like it did before. Although the transcoding speed is very slow, 10-20fps.
I do think this is an issue of Plex and not the kernel. Why? Because this same kernel made it 100% working in Emby. Emby transcodes the same file at 200+ fps (opposed to 10-20 by Plex) without any glitch on same quality, and doesn’t require burned in subs. If I burn in subs on Emby it will still transcode at 100+ fps.
Tested on a i5 12400
Plex

Emby

Do you happen to know when Plex will fully support the 5.18 kernel? Based on some testing at the bottom of this chain, things sound promising!
First, we need to have a released 5.18 kernel ![]()
Beta or “RC” kernels are not production released.
Manually installed kernels don’t count if it’s not available from the distro provider.
After that, we can work through the process.
AFAIK, no release date has been promised by anyone.
I can confirm 5.18 doesn’t really solve the problem.
I don’t get artifacting when removing HW encoding (and only using HW for decoding).
I can confirm it is slow, though.
I’ve just rolled to 5.18 and so far so good. I don’t have much HDR content to deal with. Speeds seem slow, at least they seem much the same compared to my old 3770 (now have a 12700), so maybe there is optimisation to be done, but at least it doesn’t lock the system completely anymore when HW acceleration is enabled. So it’s a step forward.
Folks:
I have completed the development and initial (developer’s) testing of a new package.
The new package will support all the CPUs.
All KabyLake and up are treated as QSV-capable
The package now is Distro, Distro-Version, and installed software sensitive.
While the scope of my work does not include how AlderLake (or other CPUs) work, my scope does include making certain everything required is installed.
I take the different Ubuntu versions into consideration and gauge package checking accordingly.
I would appreciate feedback (about the packaging) and even a bonus if it makes things work if it does.
My thread is here: