soder1
December 25, 2021, 9:49am
1
Server Version#: Version 1.25.2.5319
Player Version#: android
Using PMS as a docker on my Unraid. I remember there was a problem with HDR tone mapping the spring 2021.
This is still an issue on 1.23.2.4600 in an Ubuntu Docker container. Even on an 8 core Xeon, I can’t tonemap HDR files to SDR without killing the server for playback to my Appletv 4k. None of my other players have this issue so it’s a double hit. Is there an actual, succinct recommendation to get this to actually work? I see talk about the app grokking the uname or arch wrong or something but no real definitive answers to a fix.
Has anyone got this to work yet or are we still waiting?
Now I notice I have the same problem again. Turning it of making the transcode use HW again.
What is the last working server version? Is this problem reported?
/Söder
Yes, it’s an issue. See this thread.
Server Version#: 1.25.2.5319
Player: web.plex (chrome)
I’m running my PMS in a i5-11600k (UHD 750) PC, with Ubuntu Server 20.04.3 LTS (GNU/Linux 5.11.0-43-generic x86_64) (bare metal)
HW transcoding works perfectly EXCEPT, for movies with HDR. If I enable the tone mapping, PMS just switch to software.
I have installed this >> Releases · intel/compute-runtime · GitHub
Subtitles OFF.
This is the log from PMS Install:
Preparing to unpack plexmediaserver_1.25.2.5319-c43dc0277_amd64.deb ...
Pl…
1 Like
soder1
December 25, 2021, 5:30pm
3
Thanks. Great that I’m not the only one.
/Söder
Downgrade intel compute runtime to 21.49.21786 and it should work
1 Like
soder1
December 26, 2021, 2:31pm
5
As I asked about in the other thread, if using Plex docker on Unraid, and the Plex docker is the only thing that’s been updated, is this something that is builded in to the Plex docker then?
Plex Docker (at least Linuxserver’s version) automatically update drivers to the latest stuff when updating image
If something’s broken after updating then yeah, it’s 100% inside the container
There’s an issue on their github talking about this. They’re working on this
Plex tone mapping for transcoding 4K HDR to 1080p does not use hardware transcode because drivers are missing in the container. · Issue #297 · linuxserver/docker-plex (github.com)
opened 01:47AM - 22 Dec 21 UTC
[linuxserverurl]: https://linuxserver.io
[][linuxserverurl]
------------------------------
## Expected Behavior
Plex should use hardware transcoding
## Current Behavior
Plex uses software transcoding
## Steps to Reproduce
1. Hardware is Intel Core i9 9900K
2. Enable hardware transcoding using the /dev/dri parameter
3. Enable tone mapping in Plex
4. Play a 4K HDR and transcode it down to 1080p
## Environment
**OS:** Unraid V6.9/6.10
**CPU architecture:** x86_64
**How docker service was installed:**
From the Unraid App Store
## Command used to create docker container (run/create/compose/screenshot)
Not sure how to see this in Unraid. Using the default container setup
## Docker logs
Not sure how to get this using Unraid
There is a script I found on the support forums months ago which adds the missing driver to the container so I run it every morning after Unraid checks for docker updates so it'll fix Plex automatically. This has been broken for months. Can the correct driver be added to the container as part of the build?
Script:
```
#!/bin/bash
#description=This script updates Beignet Driver to support last Intel GPUs for Plex Container
docker exec plex bash -c "apt update && apt -y install cmake pkg-config python ocl-icd-dev libegl1-mesa-dev ocl-icd-opencl-dev libdrm-dev libxfixes-dev libxext-dev llvm-7-dev clang-7 libclang-7-dev libtinfo-dev libedit-dev zlib1g-dev build-essential git clinfo"
docker exec plex git clone --branch comet-lake https://github.com/rcombs/beignet.git
docker exec plex bash -c "mkdir /beignet/build/ && cd /beignet/build && cmake -DLLVM_INSTALL_DIR=/usr/lib/llvm-7/bin .. && make -j8 && make install"
docker exec plex rm -rf beignet
docker exec plex bash -c "apt -y remove cmake pkg-config python ocl-icd-dev libegl1-mesa-dev ocl-icd-opencl-dev libdrm-dev libxfixes-dev libxext-dev llvm-7-dev clang-7 libclang-7-dev libtinfo-dev libedit-dev zlib1g-dev build-essential git && apt -y autoremove"
docker restart plex
docker exec plex clinfo -l
```
1 Like
soder1
December 26, 2021, 2:41pm
7
Thanks. This also explains why it doesn’t work to downgrade for me, it the intel driver already has been updated. Strange some other says it works for them to downgrade then…
/Söder
Try using this image
lsiodev/plex:amd64-1.25.2.5319-c43dc0277-pkg-c2e7263a-dev-2f08980441f26b55db4d95db8ee42c958882cc36
On the github issue tracking it seems to fix the issue, it’s a small workaround before they fix it.
It seems to work on my side without downgrading drivers.
1 Like
plextth
January 11, 2022, 2:47pm
10
Cany any please post a little HowTo for Debian 10? Im no Profi, i use a Intel 8700.
(1:79)# apt install beignet-opencl-icd
Reading package lists... Done
Building dependency tree
Reading state information... Done
beignet-opencl-icd is already the newest version (1.3.2-6+b10).
system
Closed
April 11, 2022, 2:48pm
11
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.