Ubuntu 24.04 & HW transcoding

ALL:

For those of you considering immediately upgrading to Ubuntu 24.04 as soon as it’s released for your PMS server – PLEASE WAIT

We ask you to wait because current testing with the near-release branch of Ubuntu 24.04 reveals HW transcoding and tonemapping failures which do not exist on earlier (20.04 - 22.04) versions.

Please follow along in the thread below for updates as we have them.

Thanks.

13 Likes

Couple of quick clarification points :

  1. Are the issues related to nvidia, intel or both ?
  2. Are they specific to tonemapping or general HW transcoding ?
  3. Has the team done any testing (yet) with fedora 40 which just beta last week ?

@anon5074910

There are both QSV - HW transcoding and tonemapping issues in what has been tested.

We do not know if this is temporary or indication of an impacting change.

Ubuntu 24.04 is scheduled for release on 25-Apr so much can change between now and then.

We only wanted to assert now to be cautious and patient

1 Like

Thanks. Had a feeling it might be Intel alright, especially with the kernel change in 24.04. As you say early days and am delighted to see plex being proactive here.

1 Like

Any chance it’s this bug?

@exuberantShadow

I replicated the problem using a basic Kabylake -7700 CPU without Neo.

the i915 isn’t enumerated

It’s not apples-to-apples, but I use Pop OS 22.04 LTS (which uses Ubuntu as its base) on a JasperLake processor (N5105). They recently moved to kernel 6.8.x. HW accelerated transcoding with HDR tone mapping enabled still works in that environment with the latest Plex Pass beta, for me at least.

I generally use the LG Colors of Journey demo as my test video for seeing if anything has broken after a new release. Everything’s still working as of now. I may be able to test with an early build of Ubuntu 24.04 at some point.

… and this is why everyone should wait

:slight_smile:

Thank you for heads up!

I wait for the .1 anyway.

Edit: – unrelated –

Not related, replied in your other thread. Yours is likely a problem with your kernel being older than needed.

1 Like

Just as a datapoint I’m using the plex lsio docker in openmediavault (Debian based). It uses the default Debian branch kernel (6.1) by default, but allows you to select the promox kernels as well. The options are 6.5 and 6.8.

Using 6.5 there are no issues with transcoding, but using the promox 6.8 kernel causes at least tone-mapping to fail.

Had me scratching my head about why transcodes needing tone mapping were failing until I remembered I elected to use the 6.8 kernel. Rolled back to 6.5 and everything works.

Will watch this thread.

1 Like

It looks like the compute-runtime had a new release with the earlier linked issue fixed: Release 24.13.29138.7 · intel/compute-runtime · GitHub

I wonder if that gets HW transcoding working again.

Thanks for that update.

Engineering is offsite this week for conference.

They will be back Monday. I’ll let them know so we can start reviewing.

EDIT: Chatted with the Transcoder Engineer – Already known and first on the plate for Monday morning.

1 Like

I’m pretty sure i tested that version, but I don’t recall.

Sadly i didn’t write down everything i did, but with enough people stating that they weren’t able to get HDR tonemapping to transcode with the 6.8 kernel, i just chalked it up as a known issue and decided to wait.

Plex embeds the required runtime files, so just installing the latest runtime on the host won’t solve the issue, I believe. You will need to wait for Plex to update their runtime files or get it to use the ones installed by you rather than the embedded ones.

Just FYI, Proxmox 8.2 also switched to the 6.8 kernel series, so any Plex LXC users on that version will have the same issue.

2 Likes

Thanks for mentioning this; I’ve been trying to look for more information on whether transcoding will break on a plex LXC. I have a secondary LXC that uses an Intel iGPU - do you know if the 6.8 kernel also affects Intel iGPUs?

6.8 is what breaks the Intel QSV (iGPU).

If your LXC has GPU passthrough – and a 6.8 host kernel – it will not work because of that 6.8 kernel.

We are awaiting Intel releasing an update to address this

1 Like