Chia-Network / bladebit

A high-performance k32-only, Chia (XCH) plotter supporting in-RAM and disk-based plotting
Apache License 2.0
340 stars 107 forks source link

CUDA driver version is insufficient for CUDA runtime version #431

Open bugxzhu opened 9 months ago

bugxzhu commented 9 months ago

NVIDIA-SMI 515.48.07 Driver Version: 515.48.07 CUDA Version: 11.7 | |-------------------------------+----------------------+----------------------+ | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | | | | MIG M. |

Failed to fetch CUDA devices.

CUDA error: 35 (0x23) cudaErrorInsufficientDriver : CUDA driver version is insufficient for CUDA runtime version

Panic!!! Fatal Error:
CUDA error cudaErrorInsufficientDriver : CUDA driver version is insufficient for CUDA runtime version. ./bladebit_cuda(_ZN7SysHost14DumpStackTraceEv+0x5b)[0x55e98c76d30b] ./bladebit_cuda(_Z9PanicExitv+0xf)[0x55e98c8f96df] ./bladebit_cuda(_Z17CudaFatalCheckMsg9cudaErrorPKcz+0x11f)[0x55e98c72146f] ./bladebit_cuda(+0x81d68)[0x55e98c71bd68] ./bladebit_cuda(main+0x939)[0x55e98c7156b9] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x7f6340499083] ./bladebit_cuda(_start+0x2e)[0x55e98c71702e]

why?? cuda of this version can run other progammer. Only this app show this error.

bugxzhu commented 9 months ago

NVIDIA-SMI 460.32.03 Driver Version: 460.32.03 CUDA Version: 11.2 | |-------------------------------+----------------------+----------------------+ | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | | | | MIG M.

this version also is error.

sobertram commented 8 months ago

I think you need 12 minimum but try 12.2 that is working for me. +---------------------------------------------------------------------------------------+ | NVIDIA-SMI 535.104.05 Driver Version: 535.104.05 CUDA Version: 12.2 |

What is your gpu and operating system?

I grab my drivers from here.