Permissions - This will be an easy one for someone here

liamstears

New Member
Oct 20, 2022
8
0
1
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:
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?
 
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:
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?
Did you find any solution to this?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!