Can't use GPU (both vm or lxc)

Jokerigno

New Member
Aug 28, 2023
7
0
1
Hi,

as anticipated in the subject i'm unable to use igpu in my mini pc to passthrough vm or lxc.

I made a lot of first attempts but without luck.

I start to add some info but please let me know which log do you need in case you will spend your time supporting me.

Version:
CPU(s)

2 x Intel(R) Celeron(R) N4500 @ 1.10GHz (1 Socket)
Kernel Version

Linux 6.8.8-3-pve (2024-07-16T16:16Z)
Boot Mode

EFI
Manager Version

pve-manager/8.2.4/faa83925c9641325

LXC i want to use is frigate installed using script found here
https://tteck.github.io/Proxmox/

I easily managed to add coral tpu adding device passthrough /dev/bus/usb/002/002
But if i try to add /dev/dri/renderD128 i receive this error "Device /dev/dri/renderD128 does not exist (500)"

If i Run "ls -l /dev/dri" on host i read
ls: cannot access '/dev/dri': No such file or directory


while in priviledged lxc i see
root@frigate:~# ls -l /dev/dri
total 0
---------- 1 root root 0 Aug 29 00:54 renderD128

command lspci -nnv | grep VGA in host says
00:02.0 VGA compatible controller [0300]: Intel Corporation JasperLake [UHD Graphics] [8086:4e55] (rev 01) (prog-if 00 [VGA controller])
same command in priviledged lxc report error
-bash: lspci: command not found