Heavy Artifacts with Hardware Transcoding with Linux Intel

Server Version#: Version 1.18.2.2058
Player Version#: Version 1.18.2.2058 chrome browser

I’m able to enable hardware transcoding and confirmed it’s working in the activity dashboard, however the resulting video is unwatchable with lots of stuttering and artifacts. My CPU is a Gemini Lake J4105 which supports Intel Quick Sync and the OS is Debian Stretch.

1 Like

I was able to revert my docker container to image 1.17.0.1841-d42cfa161 and hardware transcoding works perfectly now. In case, someone was pointing to docker, I installed the latest debian package and still had transcoding artifacts/stuttering.

1 Like

Reverting to an older version of plex works for now. However, I’d like to be able to upgrade and get bugfixes etc. It seems that my issues seem to stem from some changes to hardware transcoding in 1.18.

If you remove the iHD_drv_video.so and are using HW transcoding, remove the iHD driver on all CPUs EXCEPT the intel -9xxx family.

The iHD is required to support that family.
It unfortunately has major bugs with its backward compatibility for previous families.

This is what we’re working on fixing

Thanks ChuckPA. I just wanted to make sure it was a known issue being addressed in a future release as sticking to an older version is a short term fix.

Thanks again!

1 Like

I’m glad this is being worked on but I don’t quite get what you mean. I’ve got the same CPU (J4105) and am using the required drivers which is i965 for the integrated UHD Graphics 600. iHD isn’t installed at all because it’s for older generations.

1 Like

Both drivers ship with PMS. Both get installed.
At runtime , PMS decides which to use.

The iHD is supposed to be the new driver for all CPUs (Intel retired the i965)
It was created because it was, in Intel’s opinion, easier and better to create a new driver for their 9xxx and future CPUs rather than continue to support the legacy i965.

It, unfortunately, still has bugs. This is what we’re working on fixing because waiting for Intel is unpredictable.

2 Likes

Any bug reports on Intel’s bugzilla that we can follow to see what the specifics are?

Thanks!

1 Like

I’m following because of this I Lost lots of data trying to figure out this mess… Rolling back too.
Hope this would be fixed soon :sleepy:

If you search iHD_drv_video.so in these forums there’s actually quite a few threads regarding the same thing with the new intel drivers like Hardware transcoding broken on Intel NUC with J5005 CPU on Ubuntu 18.04 LTS. I didn’t know what to search initially and created this new thread. Please go ahead and close this thread as there seems to be enough related threads already.

Temporary workaround:

  • remove the file /usr/lib/plexmediaserver/lib/dri/iHD_drv_video.so
  • restart PMS

if you install / update, remove it again.

This worlaround is not needed for those with intel -9xxx series CPUs. The -9xxx CPUs require this driver but also don’t exhibit the problem.

1 Like

I unfortunately am still seeing lockups with the i965 library on Coffee Lake CPU, however I don’t see any crashes of the GPU so /sys/class/drm/cardX/error is empty.

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