This repository was archived by the owner on Nov 2, 2024. It is now read-only.
Replies: 1 comment 1 reply
-
Hardware transcoding is broken in kernel |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I wanted to change the node running my plex server, so I restored (from PBS) to a different node (Intel N100 -> i5-12500t). However, I can't get hardware transcoding to work. I've tried setting permissions of /dev/dri/ using chmod 666, also used chown root:plex but it didn't fix the issue. I want to avoid completely setting up a new Plex LXC from scratch (using tteck).
Something I think may be notable is that on the old node, the iGPU was seen as card0 and thus 226:0, but on the new system the iGPU is card1, and therefore 226:1. I made the appropriate changes in the lxc conf file, shown below. Originally, the 226:0 was 226:1. Is there anywhere else I need to make this change in order for plex to be able to utilize the iGPU?
Relevant info:
/etc/modules (host)
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
/etc/default/grub (host)
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=
lsb_release -i -s 2> /dev/null || echo Debian``GRUB_CMDLINE_LINUX_DEFAULT="quiet initcall_blacklist=sysfb_init"
`GRUB_CMDLINE_LINUX="quiet intel_iommu=on"`
ls -l /dev/dri (on host)
drwxr-xr-x 2 root root 80 May 10 05:40 by-path
crw-rw---- 1 root video 226, 1 May 10 05:40 card1
crw-rw---- 1 root render 226, 128 May 10 05:40 renderD128
ls -l /dev/dri (on Plex lxc)
drwxr-xr-x 2 root root 80 May 10 05:40 by-path
crw-rw---- 1 root video 226, 1 May 10 05:40 card1
crw-rw---- 1 root render 226, 128 May 10 05:40 renderD128
id plex (on plex LXC)
uid=999(plex) gid=999(plex) groups=999(plex),44(video),104(render),108(ssl-cert)
EDIT:
I did a fresh install, and using a privileged LXC created using the script, hardware transcoding still doesn't work. The reason I can't do an unprivileged LXC is because I mount the NFS share in /etc/fstab, something that I cannot seem to do in unprivileged LXCs.
Beta Was this translation helpful? Give feedback.
All reactions