ethereum-mining / ethminer

Ethereum miner with OpenCL, CUDA and stratum support
GNU General Public License v3.0
5.96k stars 2.28k forks source link

CUDA error: Insufficient CUDA driver: 9020 #1640

Closed alienandroid closed 5 years ago

alienandroid commented 5 years ago

Describe the bug Cloning and compiling the source code produces the error: CUDA error: Insufficient CUDA driver: 9020

System Configuration: Cuda compilation tools, release 10.0, V10.0.130 NVRM version: NVIDIA UNIX x86_64 Kernel Module 396.54

Desktop (please complete the following information):

Additional context I was initially getting the 9010 error until I upgraded to nvidia-driver-396 No errors on compiling or building the installer The binary provided on the github site works just fine.

Any help would be appreciated.

Thank you

XhmikosR commented 5 years ago

You need to update to newer drivers in order to use CUDA 10. Not sure if they exist for Ubuntu yet.

alienandroid commented 5 years ago

Thanks for the suggestion! Installing nvidia-driver-410 from ppa fixed my issue. With the ppa repo enabled, I ran the following to install the 410 drivers: aptitude install nvidia-driver-410

By using aptitude, it uninstalled the previous drivers (nvidia-driver-396 in my case), and installed the new drivers.