Ubuntu 22.04 and Ubuntu 24.04 HW transcoding

This thread is to serve as a focal point for information about Ubuntu hosts.

Please feel free to provide information so it can be incorporated, make sure to include:

  • Ubuntu Version
  • Kernel Version
  • GPU model (or CPU if using an iGPU)
  • PMS version including build e.g. 1.41.0.8992
  • Input Codec (highest bitrate) → Output codec and bitrate. (don’t overdo it :slight_smile: )

Ancillary / other discussions are free to link to this thread as needed.

Ubuntu 22.04.05 LTS

The list of CPUs listed below have demonstrated functionality as required with tonemapping.

Tested kernel version are:

  • 5.15 - currently maintained as GA kernel
  • 6.1 - End-of-life (not maintained by Ubuntu):exclamation:
  • 6.5 - End-of-life (not maintained by Ubuntu):exclamation:
  • 6.8 - currently maintained as HWE kernel

A few of these CPUs are not widely used in Ubuntu systems (QNAP & Synology) and are provided as supplemental information only.

As discussion unfolds below, additional information will be added & updated

  • -10xxG (e.g. i5-1035G7) :white_check_mark:
  • -13xxP (e.g. 15-1340P) :white_check_mark:
  • -7xxx desktop CPU :white_check_mark: (entire -7xxx family)
  • -8xxx desktop CPU :white_check_mark:
  • -9xxx desktop CPU :white_check_mark:
  • -10xxx desktop CPU :white_check_mark:
  • -11xxx desktop CPU :white_check_mark:
  • -12xxx desktop CPU :white_check_mark:
  • -13xxx desktop CPU :question:
  • -14xxx desktop CPU :white_check_mark:
  • J3355 CPU - SDR only - :white_check_mark:
  • J3455 CPU :white_check_mark:
  • J4xxx CPU :question: (GeminiLake & CoffeeLake refresh) :thinking:
  • J5xxx CPU - :question:
  • N100 CPU :white_check_mark:
  • Xeon W-1250 :white_check_mark:

Note: For some of these CPUs to work properly, you might have to install the HWE kernel.


  • Nvidia P2000 & P2200 :white_check_mark:
  • Nvidia RTX2000 :white_check_mark:

Ubuntu 24.04.1 LTS (6.8 kernel)

The list of CPUs listed below have demonstrated functionality as required with tonemapping.

  • x-12xxx desktop CPU :white_check_mark:
  • i7-7700k :white_check_mark: (user contribution)
  • i7-14700k :white_check_mark: (user contribution)
  • i5-1035G7 :white_check_mark: (user contribution)

  • Nvidia P2200 :white_check_mark:

BE ADVISED - Off-topic posts will be silently removed.

10 Likes

Ubuntu 24.04.1 w/6.8 kernel has demonstrated functionality with tonemapping on my 7700K.

This is on a Ubuntu VM with the iGPU passed through under Proxmox 8.2.2. Would expect it to work if Ubuntu was bare metal.

EDIT: Post updated to include requested details:

  • Ubuntu Version: 24.04.1
  • Kernel Version: 6.8.0-44-generic
  • GPU model (or CPU if using an iGPU): Intel i7-7700K iGPU
  • PMS version including build e.g. 1.41.0.8992: Version 1.41.0.8992
  • Input Codec (highest bitrate) → Output codec and bitrate: 24.9Mbps HVEC 4K HDR10Plus → 14.1Mbps H264 1080p SDR

image


image

2 Likes

So I am running an N100 with Plex on bare metal 22.04.04. I’m being asked by the OS to upgrade. What is the expected outcome if I upgrade to 24.04.1?

1 Like

upgrade and find out for yourself. or dont upgrade and wait for the n100 to be listed under 24.04.xx as a cpu that is confirmed functioning properly. Chuck has a n100 so i’m sure he will add it when he thinks its functioning well enough on 24.04. there are other issues people are reporting with that release so i think most people are advising against upgrading until more kinks have been worked out.

IMHO,
The 24.04.1 installation base is still too small to make an informed decision.
Therefore, I recommend waiting a little longer and observe.

Why should you be the guinea pig?

3 Likes

For those with meteor lake chips (Core Ultra 125h, 155h, etc.) I’m interested in your results with hardware HDR tone mapping. My bug thread on the visual oddities I see is here:

Woke up today and noticed that now my Ubuntu instance shows as 22.04.05 LTS - updated everything and I’m on HWE as that’s necessary for 12th gen or later Intel CPUs, hence currently on Kernel 6.8.0-40-generic

Quickly tested to transcode an HEVC Main 10 file to H264 and Hardware Transcoding works perfectly fine.

As @ChuckPa suggested probably should stay on 22.04 LTS channel for now.

Perhaps the only confusing bit is from here: https://ubuntu.com/kernel/lifecycle

I guess the currently supported kernels in 22.04 LTS are either 5.15 or 6.8 for HWE, while 6.5 is EOL.

I’m running:

Ubuntu 24.04.1
Kernel 6.8.0-41-generic
Plexserver 1.41.0.8992

CPU 14700k

Played it to my MacBook Air M1 running Sonoma 14.6.1, and Safari Web Browser

These settings in Transcoder

Resulted in this transcoding

And just in case it helps - this was the intel gpu top tools output

3 Likes

@conanius

Do you have another GPU installed or just the Intel CPU?

I have fully updated:

  1. Ubuntu 22.04.5 LTS

  2. Kernel and lsb

[chuck@lizum ~.2001]$ uname -a
Linux lizum 6.8.0-40-generic #40~22.04.3-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 30 17:30:19 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
[chuck@lizum ~.2002]$ cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.5 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.5 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy

Given I have a Nvidia RTX2000, I will be upgrading to the 560-open drivers in the next day or two

[chuck@lizum ~.2000]$ nvidia-smi
Fri Sep 13 02:07:08 2024       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.107.02             Driver Version: 550.107.02     CUDA Version: 12.4     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA RTX 2000 Ada Gene...    On  |   00000000:01:00.0  On |                  Off |
| 50%   73C    P0             68W /   70W |    3186MiB /  16380MiB |    100%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
                                                                                         
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A      7854      G   /usr/lib/xorg/Xorg                            371MiB |
|    0   N/A  N/A      8035      G   /usr/bin/gnome-shell                          132MiB |
|    0   N/A  N/A      9096      G   ...bian-installation/ubuntu12_32/steam          3MiB |
|    0   N/A  N/A      9288      G   ./steamwebhelper                                3MiB |
|    0   N/A  N/A      9318      G   ...atal,SpareRendererForSitePerProcess        253MiB |
|    0   N/A  N/A      9548      G   ...ps/common/X-Plane 11/X-Plane-x86_64       2368MiB |
+-----------------------------------------------------------------------------------------+
[chuck@lizum ~.2001]$

Just the Intel one :slight_smile:

Thanks! I’ll update the table in the first post.

Even when disabling simpledrm on 24.04 using initcall_blacklist=simpledrm_platform_driver_init kernel option, HDR tone mapping is still broken on GeminiLake Refresh (UHD605).

My 24.04.1 LTS system is working fine. Plex running on bare metal. using Iris Plus integrated graphics. no other GPU.

image

transcode_settings

playback

Is transcoding on non-HDR content working at least? That was broken before.

I don’t have any HDR content in my library and I’m on Gemini Lake (J5005) too.

2 Likes

HW transcoding with SDR content on GLK is 100%.

EDIT: The primary focus here is HDR working (based on complaints). I have a :fire: symbol if it was completely broken

:rofl:

1 Like

no worries - I think you missed removing the ? - or is there something else I can test?

Only HDR tone mapping is broken on GLK Refresh (GPU reports hang). If it is disabled transcoding 4K HDR HEVC is fine.

1 Like

@felixbuenemann

Yes, that’s been known for quite some time now.

The challenge, if possible, is to find a solution.

If you look at the forum, you’ll find an announcement which may mitigate tonemapping entirely for most everyone.

@ChuckPa perhaps you could add instructions to what users should post when confirming if something is working, Plex screenshots and intel_gpu_top or whatever you know makes sense.

Hence, you could add to the OP that users have reported:

  • i7-7700k
  • i7-14700k
  • i5-1035G7

All working with 24.04.01 w/6.8.0 kernel :slight_smile:

Also, there’s a typo I guess, as right now the OP shows that -14xxx desktop CPUs have both a question mark and a green check mark!

1 Like