HW Transcoding fails when PGS subtitles burn in and falls back to CPU only

It’s not just the kernel .
Upgrading the kernel in isolation is incomplete.

There are a full set of support libraries which update with the kernel and the initramfs.

Last I tried to use Unraid for HW transcode, I could only make it work on the JasperLake which is an older CPU

But it’s strange if I use plex 1.40.5.8921 there is no such issues everything works fine.

then perhaps you are stuck for now due to the OS.

in 1.43.x there are a lot of updates which add the HEVC support.
As it stands now, PMS Public contains HEVC encoding code.\

I fully expect issues to be surface as HEVC encoding goes public.

Without seeing your container definition, all this is a guess.

I have full hardware access in a LXC container just as I do on the native host.

Would you mind sharing your container spec?
May I also see a ls -laR of /dev/dri from outside and inside the container?

ls -laR /dev/dri [host]

ls -laR /dev/dri [container]

Seeing root:video is what I’d expect.

In your container, which GID are you assigning?
Does it match the numeric GID of host-side GID for ‘video’ ?

removed

Looking on the host side,
is UID 99 a member of the ‘video’ group (group which owns /dev/dri) ?

Unless the UID is a member of the group, it will not have permission to access the hardware.

This is my host (group ‘render’ owns /dev/dri)

[chuck@lizum ~.2000]$ groups plex
plex : plex render
[chuck@lizum ~.2001]$ ls -la /dev/dri
total 0
drwxr-xr-x   3 root root        160 Jan  7 17:27 ./
drwxr-xr-x  22 root root       5760 Jan  7 17:27 ../
drwxr-xr-x   2 root root        140 Jan  8 11:57 by-path/
crw-rw----+  1 root render 226,   0 Jan  7 17:27 card0
crw-rw----+  1 root render 226,   1 Jan  7 17:27 card1
crw-rw----+  1 root render 226,   2 Jan  8 11:57 card2
crw-rw----+  1 root render 226, 128 Jan  7 17:27 renderD128
crw-rw----+  1 root render 226, 129 Jan  7 17:27 renderD129
[chuck@lizum ~.2002]$ 

unraid uses UID and GID it never had any issues running the container.

and pass /dev/dri to container. I also have emby server set up the same and it works HW without any issues.

If I revert back to version 1.40.5.8921 with this setting everything works fine without any issues.

I have tracked it down to the fact that the PGS stream changes size mid stream, which the HW filters are not happy about. I am investigating what I can do about it.

5 Likes

Can someone summarize who is affected by this? I’m on Version 1.41.3.9314

So, from what I understand, this issue wouldn’t be noticeable for people who have fast CPUs that can transcode? All that would happen is that instead of HW, it would be software transcoding?

Dose this build address the issue for you guys?

Desktop Platforms

NAS Devices

3 Likes

Plex Server 1.41.4.9367-0412c2aa3

HW Transcode is working.

Issue has been resolved.

3 Likes

removed

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