mercoledì 16 ottobre 2024

Come passare dri in proxmox

 https://geekistheway.com/2022/12/23/setting-up-intel-gpu-passthrough-on-proxmox-lxc-containers/

https://3os.org/infrastructure/proxmox/gpu-passthrough/igpu-passthrough-to-vm/#proxmox-configuration-for-igpu-full-passthrough 

https://forum.proxmox.com/threads/pci-gpu-passthrough-on-proxmox-ve-8-installation-and-configuration.130218/ 

https://www.wundertech.net/installing-jellyfin-on-proxmox/


GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt"
or
vi /etc/kernel/cmdline
root=ZFS=rpool/ROOT/pve-1 boot=zfs quiet intel_iommu=on iommu=pt
 
#proxmox-boot-tool refresh

#vi /etc/modules

vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
i915 

 

 

 # apt install -y intel-gpu-tools intel-media-va-driver vainfo
# vainfo
# intel_gpu_top
# ls -lh /dev/dri
# vim /etc/pve/lxc/XXXXXXXX.conf

lxc.cgroup2.devices.allow: c 226:0 rwm
lxc.cgroup2.devices.allow: c 226:128 rwm
lxc.autodev: 1
lxc.hook.autodev: /var/lib/lxc/100/mount_hook.sh

# vi /var/lib/lxc/XXXXXXXX/mount_hook.sh

mkdir -p ${LXC_ROOTFS_MOUNT}/dev/dri
mknod -m 666 ${LXC_ROOTFS_MOUNT}/dev/dri/card0 c 226 0
mknod -m 666 ${LXC_ROOTFS_MOUNT}/dev/dri/renderD128 c 226 128


software-properties-common

Nessun commento:

Non so cosa ci mettero' in questo sito, un po' di pensieri, qualche appunto di informati, e pezzetti della mia vita.