fireice-uk / xmr-stak-nvidia

Monero NVIDIA miner
GNU General Public License v3.0
249 stars 99 forks source link

Problem setting 'gpu_threads_conf' #141

Closed jsmallz3 closed 6 years ago

jsmallz3 commented 6 years ago

Hi there, I'm trying to set up a basic system using a single gtx 1070. When I go to launch the miner, I get the message:

'The configuration for 'gpu_threads_conf' in your config file is 'null'[...]'.

I have copied and pasted the 'block within the asterisks' to my config.txt file, and beyond that tried to play with some other thread/block configurations that would fit the specifications seen in the README. I even tried rebuilding after making these changes but still am given the output that the 'gpu_threads_conf' is null.

I'm trying to figure if I am missing some important step in attempting to run this. Is there some re-compiling step or something that I am missing? Any help would be greatly appreciated.

I don't know if it matters but my CUDA is up to date.

psychocrypt commented 6 years ago

Use the latest release and use the default config, add only the pool address, username and password. The miner will show you the best config.

jsmallz3 commented 6 years ago

I'm using the latest release, and have tried using the default config and the recommended one. I have populated the address, username/wallet address, and password appropriately, but am still facing this problem.

My CUDA works, as I have been able to run the CUDA samples along with Tensorflow for GPU. I've tried playing some more with the config.txt file's GPU configuration a bit more, but to no avail.

tlorens commented 6 years ago

Validate your config.json file. https://jsonlint.com/

 */
"gpu_threads_conf" : [
  { "index" : 0,
    "threads" : 16, "blocks" : 14,
    "bfactor" : 0, "bsleep" :  0,
    "affine_to_cpu" : false,
  },
],
/*