xmrig / xmrig-cuda

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

CUDA disabled in Xmrig #132

Open JerkyChew899 opened 2 years ago

JerkyChew899 commented 2 years ago

I'm new to XMRIG so bear with me a bit.

Windows 10 latest version, RTX 3090. xmrig and cuda plugin downloaded today (xmrig-6.15.2-gcc-win64.zip and xmrig-cuda-6.15.1-cuda11_4-win64.zip). xmrig-cuda.dll and all other files extracted to same directory as xmrig.exe. My config.json has the following: `
"cuda": { "enabled": true, "loader": "C:/Users/me/Documents/xmrig-cuda.dll", "nvml": true, "cn-lite/0": false, "cn/0": false },

Launching xmrig it shows CUDA as disabled. What am I doing wrong?

Update - Moving the folder to a different location that OneDrive doesn't have its hooks in seems to help. If I run the xmrig.exe by double-clicking it it now shows:

But, if I run it via commandline it still shows disabled. Do I need to add some sort of switch in the CLI to enable GPU? I've edited the pool_mine_example to be: xmrig.exe -o ethash.unmineable.com:3333 -u bunchastuff.pcname#e4xd-wmzl -p x

Edit 2: Amazing what one can find when one reads the documentation. The --cuda switch fixed my issues. You can close this issue and mark as PEBCAK.

MrRaja23 commented 4 months ago

Have you tried to run it with --cuda