So I've struggled for ages getting a pci coral tpu and my gpu to passthrough to a container running debian and finally have got it working!
Problem I'm having however is something to do with permissions
For example, the GPU, on the proxmox host I have this:
And on the debian container I have this:
This doesn't work however if I chmod 777 /dev/dri/renderD128 on the proxmox host its working fine!
Same thing for the coral
What is the correct way to fix this? I can chmod and all works but obviously on a restart I have to do it again and I'm sure there will be a more elegant/proper way to do this
This is an unprivileged container if that matters?
Problem I'm having however is something to do with permissions
For example, the GPU, on the proxmox host I have this:
crw-rw---- 1 root render 226, 128 Apr 30 02:06 renderD128
And on the debian container I have this:
crw-rw---- 1 nobody nogroup 226, 128 Apr 30 01:06 renderD128
This doesn't work however if I chmod 777 /dev/dri/renderD128 on the proxmox host its working fine!
Same thing for the coral
What is the correct way to fix this? I can chmod and all works but obviously on a restart I have to do it again and I'm sure there will be a more elegant/proper way to do this
This is an unprivileged container if that matters?