I
Immich2y ago
Shanks

How to make hwaccel using cgroup2 in Proxmox LXC Nvidia

I have an old server HPE DL380 G7 with Nvidia GTX 750Ti, I had trouble to Passthrough GPU to VM. Then, I found out that LXC can access the GPU from the host (Proxmox). My host is Proxmox Virtual Environment 8.0.4 Proxmox 8 deprecated cgroup V1 docker compose up -d (with hwaccel) Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error running hook #0: error running hook: exit status 1, stdout: , stderr: Auto-detected mode as 'legacy' nvidia-container-cli: mount error: failed to add device rules: unable to find any existing device filters attached to the cgroup: bpf_prog_query(BPF_CGROUP_DEVICE) failed: operation not permitted: unknown
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?