no such file /dev/dri, gpu passthrough to lxc

WDuijts

New Member
May 11, 2023
1
0
1
Hi everyone,

This is my first post about a topic which I have seen many questions about but which I am unable to use to resolve my issue.
My knowledge of Proxmox is mostly based on following Youtube videos and *trying* to figure out the Proxmox guidelines.
Last series I am following are the ones from Techhut.

I have a HP elitedesk with a Intel® Core™ i5-8500 Processor.
In Proxmox there are a couple of VMs and LXCs running.
Recently I added a new Jellyfin container which I want to pass on the iGPU from processor to.

Unfortunately I stumble on an issue pretty soon.
The host does not have a /dev/dri folder.
The Jellyfin container however does have this folder with only the following in it: renderD128 (---------- 1 root root 0 Mar 24 16:08 renderD128)
It looks like it is there but doesn't contain anything.

A year ago I *think* I passed the GPU to one the VMs, but I am not sure if it is true and how to check it.
One of them does have PCI Device (hostpci0)in the hardware section set up. But mapped device is empty.

This is the jellyfin config file:
#<div align='center'><a href='https%3A//Helper-Scripts.com' target='_blank' rel='noopener noreferrer'><img src='https%3A//raw.githubusercontent.com/tteck/Proxmox/main/misc/images/logo-81x112.png'/></a>
#
# # Jellyfin LXC
#
# <a href='https%3A//ko-fi.com/proxmoxhelperscripts'><img src='https%3A//img.shields.io/badge/&#x2615;-Buy me a coffee-blue' /></a>
# </div>
arch: amd64
cores: 2
features: nesting=1
hostname: jellyfin
memory: 2048
mp0: SSDSamsung:subvol-105-disk-0,mp=/data,size=500G
net0: name=eth0,bridge=vmbr0,hwaddr=BC:24:11:8A:AF:8A,ip=dhcp,type=veth
onboot: 1
ostype: ubuntu
rootfs: local-lvm:vm-201-disk-0,size=24G
swap: 512
tags: proxmox-helper-scripts
lxc.cgroup2.devices.allow: a
lxc.cap.drop:
lxc.cgroup2.devices.allow: c 188:* rwm
lxc.cgroup2.devices.allow: c 189:* rwm
lxc.mount.entry: /dev/serial/by-id dev/serial/by-id none bind,optional,create=dir
lxc.mount.entry: /dev/ttyUSB0 dev/ttyUSB0 none bind,optional,create=file
lxc.mount.entry: /dev/ttyUSB1 dev/ttyUSB1 none bind,optional,create=file
lxc.mount.entry: /dev/ttyACM0 dev/ttyACM0 none bind,optional,create=file
lxc.mount.entry: /dev/ttyACM1 dev/ttyACM1 none bind,optional,create=file
lxc.cgroup2.devices.allow: c 226:0 rwm
lxc.cgroup2.devices.allow: c 226:128 rwm
lxc.cgroup2.devices.allow: c 29:0 rwm
lxc.mount.entry: /dev/fb0 dev/fb0 none bind,optional,create=file
lxc.mount.entry: /dev/dri dev/dri none bind,optional,create=dir
lxc.mount.entry: /dev/dri/renderD128 dev/dri/renderD128 none bind,optional,create=file

Please help me out or put me in the right direction.