xmrig / xmrig-cuda

NVIDIA CUDA plugin for XMRig miner
GNU General Public License v3.0
358 stars 155 forks source link

CUDA, RTX 3060, CryptonightR not compatible. #142

Closed waynoedm closed 2 years ago

waynoedm commented 2 years ago

Can't seem to get this algorythm to work with CUDA. Tried several versions of XMRIG and the CUDA plugin. Getting the following error.

thread #0 failed with error :204 "NVRTC_ERROR_INVALID_OPTION"

Spudz76 commented 2 years ago

Default build does not (yet) support arch 86 you have to build your own using at least CUDA Toolkit 11.1.1 (11.1.0 the first version to know about the arch 86 cards, had bugs)

Also ensure your driver contains the minimal version of the CUDA runtime to match the Toolkit. nvidia-smi shows in the upper right corner. If you're Windows the nvidia-smi.exe is hidden down in some NVIDIA folder somewhere I forget.

waynoedm commented 2 years ago

Thanks. That did the trick.

Spudz76 commented 2 years ago

I am composing some CMake changes which just poll the list of supported architectures directly from the nvcc --help output so it just follows exactly what each Toolkit supports (even brand new 90 series RTX4xxx it should just follow along when nvcc has new support...).

Currently the logic is a bit complicated and needs to be taught manually about new stuff, and it hasn't been re-updated since '86' came out. And would break again when '90' comes out... this should just work instantly.

waynoedm commented 2 years ago

Slick. Sounds like the way to go. :D Thanks.