these notes are from jimsGarage youtube
his github for this tutorial is https://github.com/JamesTurland/JimsGarage/tree/main/LXC/Jellyfin
first we need to see our device names and groups
ls -l /dev/dri
then check our groups and make sure they align mine did
cat /etc/group
you are looking at the groups for video and render
root:44:1
root:104:1
then you route to /etc/pve/lxc
in your container want to add some code mine is container 104 so then
nano 104.conf
and add at the bottom after unprivileged: 1
lxc.cgroup2.devices.allow: c 226:0 rwm
lxc.cgroup2.devices.allow: c 226:128 rwm
lxc.mount.entry: /dev/dri/renderD128 dev/dri/renderD128 none bind,optional,create=file
lxc.idmap: u 0 100000 65536
lxc.idmap: g 0 100000 44
lxc.idmap: g 44 44 1
lxc.idmap: g 45 100045 62
lxc.idmap: g 107 104 1
lxc.idmap: g 108 100108 65428
if you have multiple video cards you will need to change your id numbers go watch his video to better understand that part.https://youtu.be/0ZDr5h52OOE?si=3a3_zdp7did96zIg
also you need to add root association to the video card
usermod -aG render,video root
i have done this with both a jellyfine lxc and ollama lxc is working
now to see how to install a really old nvidia driver for NVIDIA Corporation G84 GeForce 8600 GTS