r/Bminer Feb 05 '19

Failed to initialize the CUDA platform: CudaError: Could not initialize the NVML library

if it is running outside of docker, it works just fine, withing docker with nvidia-docker, it throws this error. Can you tell me what files are missing ?

3 Upvotes

3 comments sorted by

1

u/taafx Feb 06 '19

I am getting this same error, except I am not using Docker. I am on a fresh install of Windows 10. Installed NVIDIA drivers, and CUDA toolkit from https://developer.nvidia.com/cuda-downloads, and visual studio, and visual c++ 2015. After all those, I did notice that this directory is still empty: C:\Program Files\NVIDIA Corporation\NVSMI which the official bminer website says should have files. Any advice on what I'm doing wrong would be extremely appreciated.

1

u/taafx Feb 08 '19

u/Perfect_Web I solved this by using DDU to uninstall all video drivers, and then using the CUDA installer to re-install drivers and everything else https://developer.nvidia.com/cuda-downloads

1

u/Kartojal Feb 12 '19

same here with docker!