Ubuntu Server 20.04LTS no HW transcoding available?

Server Version#: 1.22.2.4282
Player Version#: LG TV 5.12.2, Platform version 4.3.0.

Hi guys.

I received a new Intel NUC 11 Pro today. Installed PMS and see when I play content with transcoding that it don’t use hw transcoding.
If I install Ubuntu Desktop - its working just fine? EDIT: Ubuntu Desktop same problem.!

On Ubuntu server after an installation :

I can see:

Intel QSV Hardware: Not found
Nvidia GPU card: Not Found

OpenCL library: Not Installed.(fixed with sudo apt-get install beignet-opencl-icd )
Beignet package: Not Installed (fixed with sudo apt-get install ocl-icd-libopencl1)

How do I enable hardware transcoding ( its enabled in the transcode menu )

Thanks :slight_smile:

NUC 11 – CPU is too new. Then 5.10 kernel (default for most distros) does not have the hardware device ID codes to recognize it.

You will need the 5.11 kernel at minumum

The installer’s scripts are looking at /sys/module/i915 and /sys/module/nvidia to see if the kernel detected and enumerated them into the file system.

@ChuckPa

Hi and thanks for your fast reply:

Operating System: Ubuntu 20.04.2 LTS
Kernel: Linux 5.8.0-49-generic
Architecture: x86-64

Is that Kernel not good enough? :confused:

Any ideas how to solve it?

Thanks

upgrade your kernel version -
5.8.x is a lower version than 5.11.x

But has Chuck mentioned your CPU may be too new

1 Like

lol sorry . Going to bed.
Will look into it :slight_smile:

@ChuckPa

How do I exactly update it?

I tried this guide - but at reboot , the system says that I need to load the new kernel … ?

Ahh sorry it was your post .

Thanks for the info.

I just made a clean install, how come that the Ubuntu system dont Update to latest kernel?

So I cant benefit the hw transcoding :confused: ?

You are using 20.04.2.

Ubuntu is about to release 21.04 which, most likely, has 5.11.x.

At some point, after 21.04 released, you can expect they’ll upgrade BUT REMEMBER You are using LTS and there is also wh HWE element.

Thanks for the reply @ChuckPa

What is wh HWE element ?

So I bough a NUC which I cant use for plex ?

Will hw transcoding enabled crash the server ? Because its been rather unstable to be honest :frowning:

Have you looked at the release notes for 20.04 ?
https://wiki.ubuntu.com/FocalFossa/ReleaseNotes

It only goes up to kernel version 5.8
To go beyond that you have to manually install it

Sorry no I havent.

I tried to manually update it, but after install it kept saying that I had to load the new kernel.
Couldnt boot.

Dont know how to fix that. Tried to Google it , but without luck.

Kinda stuck :confused:

how exactly did you try to upgrade? the instructions on the site you linked work.

try again and at the end try a → sudo update-grub2 and make sure it adds your new kernel version to the grub config (or note the error if it doesn’t) if you have secure boot enabled on the NUC, turn it off in the bios.

Ubuntu 21.04 is shipping in 8 days but only runs a 5.10 kernel so still won’t help you.

It will be late august before Ubuntu ships a HVE version for 20.04 that will have never kernel support.

With the manual install you might run into some odd hangs and some crashes.

basically, you might want to try a different OS that properly supports your choice of hardware. Intel themselves are still working on Linux drivers.

1 Like

Hi @BobSnot

I ran the script by sudo ./scriptname -i
It found the new kernel, and downloaded it, installed it.
After a reboot, the loading screen told me that I had to load the new kernel and then it didnt do anything else.
I rebooted and had the option to load ubuntu with 5.8 or 5.11. I ran 5.8 and it was working.

I closed it down last night - was too tired messing with it. But no matter how hard I tried , I got the same info. I even ran the script several times without anyluck with 5.11.

Now this morning after your message here, I disabled secured boot. Now the system started up with 5.11 :slight_smile:

5.11.13-051113-generic

So should I now be able to run plex with hw transcoding?

image

WOOOHOO its working :slight_smile: :slight_smile: GREAT

I tried to set web quality to 1Mbps , and running from my phone.

Hw transcoding enabled :slight_smile:

Maybe, that should be the ubuntu blocker out of the way, re-install the latest PMS and see if the install log detects the hardware. (you may still need to manually install the OpenCL library for 4k tone mapping, @ChuckPa is the guru on that and he has threads on that elsewhere)

Hmmm it crashed :confused: - I tried to reinstall it just now, gonna try boot it up again.

PlexMediaServer install: PlexMediaServer-1.22.2.4282-a97b03fad - Installation starting.
PlexMediaServer install:
PlexMediaServer install: Now installing based on:
PlexMediaServer install: Installation Type: Update
PlexMediaServer install: Process Control: systemd
PlexMediaServer install: Plex User: plex
PlexMediaServer install: Plex Group: plex
PlexMediaServer install: Video Group: render
PlexMediaServer install: Metadata Dir: /var/lib/plexmediaserver/Library/Application Support
PlexMediaServer install: Temp Directory: /tmp
PlexMediaServer install: Lang Encoding: en_US.UTF-8
PlexMediaServer install: Intel QSV Hardware: Found
PlexMediaServer install: Nvidia GPU card: Not Found
PlexMediaServer install:
PlexMediaServer install: OpenCL library: Installed
PlexMediaServer install: Beignet package: Installed
PlexMediaServer install:
PlexMediaServer install: Completing final configuration.
PlexMediaServer install: PlexMediaServer-1.22.2.4282-a97b03fad - Installation successful. Errors: 0, Warnings: 0

Plex or the whole server? You may want to get used to that, nothing much gets tested on these non-standard kernels…

At least that is good…

1 Like

Yea getting forward .

I have a crash report @ChuckPa if you want ?

Now im getting error h4 ( not supported ) when I try to play something .

About to call it a night here (03:25am)

  1. DEBUG log files please which capture the failing playback (keep VERBOSE OFF)
  2. Crash reports don’t help. Disabling Crash reporting then attaching the DMP file (in a ZIP) with the logs ZIP when it happens does help.

Important info (you might also find useful) .

Examine the contents of /tmp/plexinstaller.log after the install.

As FYI: I will be adding more parameters to it (CPU SKU and ICR info).
It’s going to be a significantly more CPU-aware installer (while in this early deployment stage from Intel)

Hi @ChuckPa

/tmp/plexinstaller.log here:

Plex Media Server installation configuration info: Tue 13 Apr 2021 09:14:27 AM CEST

Init=0
Systemd=1
Custom=0
LinuxContainer=0
NewInstall=0
HaveOverride=0
OverrideFile=""
PlexUser=“plex”
PlexGroup=“plex”
VideoGroup=“render”
AppSuppDir="/var/lib/plexmediaserver/Library/Application Support"
PlexTempDir="/tmp"
LangEncoding=“en_US.UTF-8”
ExistingVersion=12202
HaveHardware=1
HaveTranscoderPref=0
NeedUser=0
NeedGroup=0
NeedVideo=0
Verbose=1
Running=0
Errors=0
Warnings=0
Havei915=1
HaveNvidia=0
HaveBeignet=1
HaveOpenCL=1
Platform=“NUC11TNKv7”
Processor=“11th Gen Intel(R) Core™ i7-1185G7 @ 3.00GHz”
Distro=“Ubuntu 20.04.2 LTS”
Kernel=“Linux plexserver 5.11.13-051113-generic #202104101231 SMP Sat Apr 10 12:34:46 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux”
Memory=“15623 327 13402”

I will try get the logs for you in a zip :slight_smile:

Thanks