[HW Accel Support]: Nvidia drivers not installed properly in container #13458
Unanswered
ajw107
asked this question in
Hardware Acceleration Support
Replies: 2 comments
-
this is an issue with how nvidia toolkit or driver was installed, there are a number of issues that were similar that users solved, maybe one of their solutions works for you as well |
Beta Was this translation helpful? Give feedback.
0 replies
-
I started getting "libcuda.so.1 not found" in my logs after a container host kernel update. Not sure why that would matter though. Added this mapping to the docker-compose.yml "volumes": /usr/lib/x86_64-linux-gnu/nvidia/current/libcuda.so.1:/usr/lib/libcuda.so.1 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the problem you are having
The use of a nvidia card does not work in current containers as the drivers are not linked properly. If you run
nvidia-smi
it will report that it cannot findlibnvidia-ml.so
and the logs report that they cannot findlibcuda.so
Version
0.14.1-f4f3cfa
In which browser(s) are you experiencing the issue with?
Google Chrome 127.0.6533.120
Frigate config file
docker-compose file or Docker CLI command
Relevant Frigate log output
See description above, unfortunately I;ve deleted the log entries, sorry
Relevant go2rtc log output
See description above, unfortunately I've deleted the log entries, sorry
FFprobe output from your camera
Operating system
Debian
Install method
Docker Compose
Network connection
Wired
Camera make and model
Reolink Doorbell PoE, Unifi G4 Pro
Screenshots of the Frigate UI's System metrics pages
Any other information that may be helpful
To temporarily fix it (needs running after every container update until the drivers are fixed) run these commands:
NOTE: if it doesn't work, check the driver file version by
ls -alF /usr/lib/x86_64-linux-gnu
This will symlink all the
*so.560.35.03
driver files to their*.so
counterparts, which are missing. There are also*.so.1
, etc missing, but adding the*.so
ones seems to be suffient, although I am getting high CPU warnings, so it it may need further things doing to correct it.Beta Was this translation helpful? Give feedback.
All reactions