Tone mapping disables hw transcode

Server Version#: 1.21.0.3616
Player Version#: Web Player 4.47.1

(File removed)

I am using Unraid with the Plex docker container. The article for tone mapping says that docker is supported. I have an Intel 9900K CPU. My 4K HDR videos are no longer using hw transcode when needed and can’t be done in software.

Please help me fix this other than turning off the setting.

Please turn on debug logging for your server. Recreate the issue and provide new logs.

debug logs.txt (57.4 KB)

(File removed)

Here are the debug logs requested

That’s not correct. You provided the debug log for Plex Web, which is not what I need.

To be clear, I mean this setting under the general tab for your server.

image

(File removed)

there you go, thanks

I also am using 9900k, having same issues.

Thanks for the log. I’ve spoken with the devs and there is a bug around certain newer Intel cpu’s. Hopefully a fix will be available soon. For now, you’ll need to leave off tone mapping.

Just been told there is an experimental build if you are willing to test. You’ll need to install these packages in the container first: https://github.com/intel/compute-runtime/releases

Had the Same Issue, solved with this: https://forums.unraid.net/topic/77943-guide-plex-hardware-acceleration-using-intel-quick-sync/page/9/?tab=comments#comment-920581

Worked for me, hopefully it will be baked into the container soon!

Thank you for posting this. Just wanted to chime in and say this also worked for me on my hetzner ex62 (i9900k). Do you know if this needs to be run everytime the container restarts/updates? I would assume so.

Also, for those wondering, the host does not need to be on Ubuntu 20.04 if you are using the Plex Docker container. Mine is 18.04.

The latest beta which notes adding some additional Intel GPU support did not appear to resolve this issue. Reapplying the fix from this thread did fix it again. Just FYI.

It took a bit of finagling, butI got it to work using this solution! I automated this deployment a bit, I can “comment it out” once it is fixed in the docker source (which i also sorta confirmed is not working, but I didn’t try to troubleshoot at all, just rolled to this provided solution.)

GUIDE Plex Hardware Acceleration using Intel Quick Sync - Page 9 - Docker Containers - Unraid

Steps I took:

  1. Add entrypoint: /config/startonce.sh to docker-compose, re-deploy config
  2. Add startonce.sh, chmod 700 to it [Note, defering the /init call eliminates the need to reboot, which I was unable to get the script to do, but in summary this works.]

#!/bin/bash

CONTAINER_ALREADY_STARTED="CONTAINER_ALREADY_STARTED_PLACEHOLDER"
if [ ! -e $CONTAINER_ALREADY_STARTED ]; then
    touch $CONTAINER_ALREADY_STARTED
    echo "-- First container startup --"
    # YOUR_JUST_ONCE_LOGIC_HERE
        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 l$“
        git clone --branch comet-lake https://github.com/rcombs/beignet.git
        bash -c "mkdir /beignet/build/ && cd /beignet/build && cmake -DLLVM_INSTALL_DIR=/usr/lib/llvm-7/bin .. && make -j8 && make install"
else
    echo "-- Not first container startup --"
fi

/init

There is no fix in the latest update. No one took me up on the offer to test the experimental build so it hasn’t been released. We’re doing more internal testing so hopefully will be released soon if no issues are found.

1 Like

Right, to clarify i wasn’t expecting a fix, just confirming it still is not working. I saw a dockerhub update without a corresponding github update, so i thought maybe an attempt was made… anyway, keep at it. I am very excited after years of waiting this is finally getting momentum!

Latest beta seems to fix this issue for me. V 1.21.1.3830

Looks like that version came out to production and it does seem to work for me now

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.