Hardware transcoding (QuickSync) broken after update

I am still using version 1.18.0.1944 and everything is fine. Updating to any newer version causes the hardware transcoding to don’t work any more.

Server Version#: 1.18.1.2019

1 Like

Known issue with the new Intel iHD driver.
Thanks.

1 Like

Is there somewhere we can track this?

Should I downgrade the Intel driver or Plex?

1 Like

No public place to track it except for at Intel.

We are working internally with getting it resolved.

Until Intel makes the formal update, the interim workaround is to remove the iHD_drv .so (shared object) file from the PMS installation binaries

This is located in /usr/lib/plexmediaserver/lib/dri

If you update PMS, simply remove the file again and restart PMS.

You’ll function well on the i965 driver for all bitrates up to 100 Mbps source with no concern. Above 100 Mbps, you may or may not experience video surging. The bug was discovered on the Intel ApolloLake (J series processors) but impacts all of them.

Ok so finally I tried deleting the iHD_drv_video.so but transcoding still does not work.

I’m going to need more info.

Verify DEBUG logging is enabled.
Verify VERBOSE logging is disabled.

Recreate the first 20 seconds of playback of the problematic file

Stop Playback
Wait 30 seconds
Download the logs

Attach the ZIP file

Hmm at the first try the video just not started. Now I’m getting a message saying “There was an error. Go to forum…”.

Here is the log. Thanks in advance!

Plex Media Server Logs_2019-12-22_18-48-31.zip (1.1 MB)

There’s something wrong with your container’s passthrough of /dev/dri

On one hand, it fails validation test (to use for the task).
It then succeeds and is selected,
which ultimately fails.

What happens if you setup the native host package, using a few files, as a test ?

Also: are you using 32 bit or 64 ?

Hmm ok, but if I return to 1.18.0.1944 it is working again. I am using the linuxserver.io docker image with docker-compose and I think

   devices:
      - /dev/dri:/dev/dri

is the common way of passing /dev/dri?

You mean native host package in terms of not using docker? I’d like to avoid that since I just got used to Docker. But yes, could try that in principle.

Im using 64 bit.

We are looking into a problem with the iHD_drv_video.so library file.
That would explain why it works for 1.18.0

The build team will get into it Monday.

But iHD_drv_video.so is deleted now / not existing in 1.18.0, so the problem must be elsewhere right?

It would seem so. Confirm your iHD_drv_video.so is indeed not there to be certain.
I’m not 100% certain how docker packaging works. On regular Linux, it will be removed when you change versions.

It is definitely not there. I’m a bit confused right now because at the beginning I did not get such a error message. The video was just not starting.
So I setup a docker container of the official plex docker image. It is still not working but video is just not starting again. No error message.
Maybe there are two different errors mixed here. Im going to have a look if there is a certain problem with docker.

I’m beginning to think there are two as well. The first is not showing enough of itself to be visible in the logs but enough to disturb the hardware

Aha I think the main problem was bypassed by deleting iHD_drv_video.so as you told at the beginning. Unfortunately my way of deleting it caused that second error.
I bound the container directory “/usr/lib/plexmediaserver/lib/dri” to a host directory to get easier access. After deleting that bind and removing the iHD_drv_video.so directly in the container, I can finaly play the movie.

My bad. Thanks for your kind help!

I’m pretty dumb with some of this stuff. How do I find “/usr/lib/plexmediaserver/lib/dri” so that I can delete the iHD_drv_video.so file? My hardware transcoding was working before and suddenly stopped and it seems like this might fix it. Plus I bought a Quadro P2000 and want to test it out. Thanks

LMGTFY “How to use the Linux command line”

Please do take the time to learn Linux basics if you’re doing to use Linux.

We can help with Plex but we’re not equipped to teach Linux.

I am using windows 10 so I guess that explains some of my problem. Like I said, the hardware transcoding was working before and has since stopped. I was hoping that removing that file might fix my problem. Thank you for responding. I am unsure where to go from here do you get this problem fixed

I have been looking everywhere to figure out how to fix this problem and did not realize that this original post was in the linux section

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