Jfin
January 26, 2021, 1:31pm
1
Hi! I’m unable to transcode a single 4k HDR to 1080p SDR with tone mapping enabled. With tone mapping enabled processor usage is around 40% and Tautulli shows transcode speed below 1, video buffers every few seconds. If I disable tone mapping processor usage drops to around 10% and transcode speed jumps to 5.
I’m using a Intel 8 NUC with i5-8259u, Ubuntu 20.04.
Is this normal? I’ve seen people say they have no issues doing HDR-to-SDR tonemapping with J4005 and J5005.
Thanks!
Server Version#: 1.21.1.3876
@Jfin
You’re missing something there (The two dependent packages ??)
I have a NUC8 i7-HVK (i7-8809g CPU) and not seeing high CPU utilization .
Jfin
January 26, 2021, 5:11pm
3
I did install libopencl1 and beignet dependencies, should I install something else?
edit: It’s a fresh Ubuntu install
Here are some screenshots of what’s happening:
@Jfin
What do you see in the dashboard and top (not htop
) ?
grab that debug log zip please?
I want to see why it decided to do that.
This is a host-native (bare metal) server install?
Jfin
January 26, 2021, 9:07pm
7
Here’s the log and yes, bare metal, only for Plex.
attachment removed
Jfin
January 26, 2021, 9:34pm
8
Hmm… I started checking out the logs myself and found this:
[0x7f367effd700] WARN - [Transcode] [TPU] Failed to load OpenCL; falling back to software tone mapping: libOpenCL.so.1: cannot open shared object file: No such file or directory
.
ChuckPa
January 26, 2021, 10:04pm
9
So there’s something wrong with the openCL library installation.
Try removing (purge) , restart, re-install ?
Jfin
January 26, 2021, 10:23pm
10
Tried it, didn’t work. Still get the same error. I can locate the libOpenCL.so.1 file in /usr/lib/x86_64-linux-gnu/
ChuckPa
January 26, 2021, 10:35pm
11
that’s where it should be.
Have you customized your Plex installation in any way?
I ask because this is vanilla stuff:
install PMS
observe packages are needed
Install packages
Restart PMS
Enable options
Use
Jfin
January 26, 2021, 10:40pm
12
No customization, I’ve been wrestling with this issue for a couple of days. I’ll try a fresh Ubuntu install once more as it only takes a few moments.
ChuckPa
January 26, 2021, 10:59pm
13
I think that’s appropriate.
Full defaults
Let it fully update
Install Plex
Install the dependencies it cites.
Restart Plex
Jfin
January 26, 2021, 11:21pm
14
Didn’t work. The same libOpenCL.so.1 error message appears on debug logs before and after running ‘apt install ocl-icd-libopencl1 beignet-opencl-icd’ on a completely fresh Ubuntu install.
ChuckPa
January 27, 2021, 12:15am
15
Logs ZIP please? I will comb through them.
Jfin
January 27, 2021, 12:31am
16
Here you go, logs before and after installation of dependencies.
attachments removed
ChuckPa
January 27, 2021, 12:47am
17
Found it.
You installed the SNAP package from the Ubuntu App Store. They changed the App store. It only dispenses SNAP apps now.
SNAP packages can only use software and are confined to your home directory. (They are locked containers)
Jan 27, 2021 01:02:47.449 [0x7f10a000e700] INFO - Plex Media Server v1.21.2.3939-3945797bd - Ubuntu snap x86_64 - build: linux-x86_64 snap - GMT 02:00
Uninstall it
Download Plex from https://plex.tv/downloads (x86_64 version)
sudo dpkg -i filename.deb
Now setup again and enjoy
Jfin
January 27, 2021, 1:08am
18
Yessss it’s working! Thank you for being so patient, as you can see it’s my first week with Linux. I had no idea about that SNAP thing. Awesome
ChuckPa
January 27, 2021, 1:38am
19
Just wait. The pain will begin soon enough
1 Like
KCX
January 29, 2021, 9:13am
20
Hi Guys !
I want to upgrade my server. My plan is to buy an i3 10100 (with UHD graphics 630). 16GB 3200 RAM one Z490 and one NVMe.
Now I would be interested in the utilization of the hardware beforehand. Ubuntu or Win10
How many 4K HDR to SDR transcodes can I do with the iGPU of the 10100?
Is there anything wrong with my plan?
I look forward to information and help. Many Thanks!
greetings
KCX