2024-08-25, 11:16 AM
(This post was last modified: 2024-08-25, 11:20 AM by Fate. Edited 1 time in total.)
(2024-08-25, 10:39 AM)designingbeing Wrote: Thanks for the replyOn my proxmox:
(2024-08-25, 12:49 AM)TheDreadPirate Wrote: Did you pass the GPU into the LXC?
https://jellyfin.org/docs/general/admini...on-proxmox
Yeah, I'm pretty sure I did at least. I added the following lines to my LXC.conf:
Code:lxc.cgroup2.devices.allow: c 226:0 rwm
lxc.cgroup2.devices.allow: c 226:128 rwm
lxc.hook.pre-start: sh -c "chown 0:104 /dev/dri/renderD128"
which contains variables (226:0, 226:128 ) based on the output of "ls -la /dev/dri" run on the proxmox host
Code:total 0
drwxr-xr-x 3 root root 100 Aug 25 04:32 .
drwxr-xr-x 20 root root 4780 Aug 25 04:50 ..
drwxr-xr-x 2 root root 80 Aug 25 04:32 by-path
crw-rw---- 1 root video 226, 0 Aug 25 04:32 card0
crw-rw---- 1 root render 226, 128 Aug 25 04:32 renderD128
I've tried changing the 104 in "chown 0:104 /dev/dri/renderD128" to 106 as well, to cover the render getent group in both Proxmox host as well as LXC guest.
Code:
root@pvx:/dev/dri# ls -lh
total 0
drwxr-xr-x 2 root root 80 Jun 5 00:03 by-path
crw-rw---- 1 root video 226, 0 Jun 5 00:03 card0
crw-rw---- 1 root render 226, 128 Jun 5 00:03 renderD128
on my lxc:
Code:
[root@kuroko dri]# ls -lh
total 0
drwxr-xr-x 2 root root 80 Jun 5 00:03 by-path
crw-rw---- 1 root video 226, 0 Jun 5 00:03 card0
crw-rw---- 1 root render 226, 128 Jun 5 00:03 renderD128
Looking at your log earlier it seems to mismatch your proxmox side, so I'm pretty sure this is your issue.
Could you spawn a test container with tteck scrit and compare how the script mounts your devices?
Just to make sure can oyu post
dmesg | grep i915 on proxmox side?