Code: Select all
lxc.cgroup.devices.allow: c 195:* rwm
lxc.cgroup.devices.allow: c 235:* rwm
lxc.cgroup.devices.allow: c 180:* rwm
Code: Select all
lxc.cgroup2.devices.allow: c 195:* rwm
lxc.cgroup2.devices.allow: c 236:* rwm
lxc.cgroup2.devices.allow: c 510:* rwm
The error I was getting was 'ManagedPTR', exact error ->
Code: Select all
cv2.error: OpenCV(4.5.1) /opt/opencv-4.5.1/modules/dnn/src/cuda4dnn/csl/memory.hpp:54: error: (-217:Gpu API call) unknown error in function 'ManagedPtr'
My old Nvidia drivers wouldn't work (450.82) with the newer 5.11 kernel (known issue at Nvidia).
Hope this helps someone in the future,