You are not logged in.
I am trying to run some gpgpu software in an nspawn container due to some packaging issues, upon running it i get the following error
Failed to open GPU device file node
I tried to bind the /dev/dri directory, and straced the program this time, here's the relevant portion of the log:
openat(AT_FDCWD, "/dev/dri/renderD128", O_RDWR) = -1 EPERM (Operation not permitted)
My systemd-nspawn command line is
systemd-nspawn --resolv-conf=off -D ./ubuntuintel --bind=/dev/dri
What is the proper way to use a gpu from inside a container?
Offline
Offline