Plex Media Server on Ubuntu 21.10 with Intel 12th Gen (Alder Lake)

Well, first off, do you mean an i5-12500 or an i7-12700? It’s an important distinction

Second, I’d update kernel to 5.18 since they’re still working on getting Alder Lake stuff finished out in the kernel.

Finally, are the crashes with HDR tonemapping? Or just normal SDR transcodes?

1 Like

Hei there
sorry i5 12500. It happens with sdr transcodes. Didnt try hdr transcodes yet.
I could try to update the kernel to 5.18 and see if that helps.

Behaviour is always the same. It seems to work fine for a couple of minutes (no matter the amount of streams), and then it crashes completely. It really makes using the i5 12500 unusable with hw transcoding.

Thanks for the clarification.

Yeah, I’m not sure if @ChuckPa is going to want some logs from you or not, but it seems that the state of hardware transcoding on the Alder Lake stuff still isn’t stable, and Plex still needs to update/wait for updates on parts in their toolchain for HWA transcoding.

For what it’s worth, I haven’t had any crashing with normal SDR transcodes. Outside of software fun, have you monitored temps on the system?

You are going to experience GPU crashes with 5.15 kernel. This is a known issue. You should be using 5.18 kernel.

Alright I will try to update the Kernel and look what is happening. The cpu is at around 60° so that can’t be an issue. IOwait is spiking to up to 40% but that shouldn’t be problematic too, I use nvme’s. Thanks for the help and I will be reporting back :slight_smile:

Its been known for quite some time now that with Alder Lake, full support is expected with 5.18 kernel. Ubuntu 22.10 will ship with 5.18 thus 22.04.1 will get the bump with HWE kernels sometime this Oct.

1 Like

Thanks for the info!
Guess its manual updating or waiting for official ubuntu versions.

I am running Ubuntu 22.04 LTS, with a manually updated kernel to 5.18 and an Alderlake Pentium Gold G7400. Also am using ICR 22.20.23198 (I havn’t got around to updating it to the very latest).

With this setup I have HW transcoding for 4K->1080p content working (CPU load ~10%-20%). Howrver. when enabling tone mapping it looks like it revert to SW and CPU shoots up to max.

Because PMS requires ICR with API v11–which the highest ICR version you can use is 21.49.

To add to Achilles,

Look at how CPU support in Linux has faired out so far.

  1. TigerLake CPU released Jan 2021

  2. AlderLake CPU released November 2021

  3. 22.04 has finally brought full support for TigerLake (Windows first, Linux second)

  4. It looks like it will be at least 22.10 until the CPU support in Linux is ready for AlderLake.

For those running Ubuntu 21.xx – does not support AlderLake – FULL STOP.
– Plex support for all 21.xx is done. This ended when 22.04 was released (non-LTS)

For those running Ubuntu 22.04 – WAIT until 22.10 for OS-level support to be complete. Around that time, expect 22.04.1 LTS . Use 22.04.1 LTS

LTS will be supported as it has for all other Ubuntu releases

While I am NOT speaking for Engineering (I would lose body parts if I did), expecting them try and support a moving and not fully developed OS / Platform — is crazy and I DOUBT they’ll even consider it.

(I tried to support Synology DSM 7 beta / interrim releases — A ROYAL HEADACHE I will NEVER do again)

1 Like

Sorry if this question might be stupid. But 22.04.1 LTS (once released) should have decent alder lake support? My Linux version knowledge is a bit limited. What is the difference between 22.10 and 22.04.1 ?

@tctfoxi

Support length

  • Regular releases are supported for 9 months.
  • Packages in main and restricted are supported for 5 years in long term support (LTS) releases. Flavors generally support their packages for 3 years in LTS releases but there are exceptions. See the release notes for specific details.
1 Like

Other than an updated Kernel version, what else is relevent to what PMS requires for the latest CPU support ?
Is this simply so that the developoers have a stable base to be testing on ?

@Crispok1 Thanks that was good information

Even after updating to 5.18 there are some issues. Now streams won’t even start. Its really weird. The servers goes into “unreachable” for a couple of seconds and then is available again. Normal streams without hw transcoding work fine. I can provide logs.

I guess best option for me is waiting for official ubuntu versions and then try again.

22.10 will be the mid-year NON-LTS release in preparation for 23.04
At 22.10, this is where the 22.x family starts transitioning to whatever they plan for future releases – AKA — can be buggy as heck.

What’s coincidental is that 22.10 should have the appropriate kernel AND appropriate support packages AND libraries to make it all work.

If 22.10 includes all that, it is very safe to say 22.04.1 LTS release will ALSO include those same upgrades

Sorry pretty new to Linux here. Reading this thread I believe this is my issue as well but I wanted to confirm.

I have a 12900k | Ubuntu 22.04 | kernel 5.18.3 | Plex in docker 1.27.1.5891 (tried installing outside of docker as well)

When trying to transcode 4K > 720p or 1080p even with tone mapping turned off I get vcs0 reset request timed out. Failed to reset chip failed to reset guc. Have to hard shutdown and power back on to use Plex with direct play 4k or transcode SDR. (those 2 work fine it’s only the transcoding 4k that causes the issue)

I just wanted to confirm that is a known issue and that is what is being discussed here right?

If so did I read that there is a workaround, maybe something with ICU (I believe that is Intel Compute Runtime) maybe installing a specific version or the newest version? - Would the Kernel even us that?

Thanks!

That’s the issue I have on Unraid and yes, I think the work in this thread will eventually fix it.

Great thanks for confirming @fly!

ALL:

I’ve completed the work for Ubuntu 22.04 changes to the repositories

For all Ubuntu & Debian versions which require HW transcoding and Tonemapping support –

  1. Query the hardware
  2. Query the Distro and version
  3. Select the needed packages
  4. Query which packages are installed.
  5. If any of the needed packages are not installed or incorrect version -
  • Show version installed
  • Show version needed
  • Show how to obtain the external package

I recommend the 1.27.0 package as it has all the final packaging updates which have been approved and submitted to Engineering for inclusion.

The 1.26.1 initial package won’t work for all cases.

Watch for the PMS Release Announcement to know when this packaging change becomes available via plex.tv/downloads

Any idea how long that might take, generally? Like a day, week, month?

Disclaimer: I’m fully aware that this will be a guesstimation and there will be no pitchforks.