config file

bdm8181 avatar
bdm8181
Archived posts: 7
Joined: Nov 24, 2021

config file

by bdm8181 · · Post #32425

im trying to figure out how to update/change the config,json file for xmrig so that my gpu and cpu both mine, if i use the xmrig Config Wizard i get the following
{
"autosave": true,
"cpu": true,
"opencl": false,
"cuda": true,
"pools": [
{
"coin": "monero",
"algo": "rx/0",
"url": "prohashing.com:3359",
"user": "bdm8181",
"pass": "n=CryptoBDM",
"tls": false,
"keepalive": true,
"nicehash": false
}
]
}

on the config.json file the section to load cude looks like this

"cuda": {
"enabled": false,
"loader": null,
"nvml": true,
"cn-lite/0": false,
"cn/0": false


other then changing false to true on the enabled line what should i put for the next couple? the "loader" and "nvml" and are the last two lines a coin algor?

thanks
bMeister1 avatar
bMeister1
Archived posts: 51
Joined: Jun 01, 2021

Re: config file

by bMeister1 · · Post #32426

Assuming you downloaded the CUDA plugin for XMRig and added the dll files to the same folder as the xmrig.exe executable, all you have to change in the config file is changing "enabled" from false to true and it will handle the rest. Don't expect amazing hashrates though. RandomX was specifically designed to be anti-GPU but given enough power it can almost be like having another CPU core.
Sarah Manter avatar
Sarah Manter
Archived posts: 639
Joined: Aug 13, 2021

Re: config file

by Sarah Manter · · Post #32432

bdm8181 wrote: im trying to figure out how to update/change the config,json file for xmrig so that my gpu and cpu both mine, if i use the xmrig Config Wizard i get the following
{
"autosave": true,
"cpu": true,
"opencl": false,
"cuda": true,
"pools": [
{
"coin": "monero",
"algo": "rx/0",
"url": "prohashing.com:3359",
"user": "bdm8181",
"pass": "n=CryptoBDM",
"tls": false,
"keepalive": true,
"nicehash": false
}
]
}

on the config.json file the section to load cude looks like this

"cuda": {
"enabled": false,
"loader": null,
"nvml": true,
"cn-lite/0": false,
"cn/0": false


other then changing false to true on the enabled line what should i put for the next couple? the "loader" and "nvml" and are the last two lines a coin algor?

thanks
Is there a reason you're trying to use xmrig for both CPU and GPU rather than using xmrig for CPU and gminer (or another software like that one) for GPU?