nanominer
nanominer copied to clipboard
Nanominer ignores "devices" in command line

Is this a bug or am I giving something wrong? I cannot change the configuration file, because all this is controlled through the Awesome Miner (The startup string is generated by it.) Tested on 4 computers with Ubuntu 18, 20 and Windows 10
I can confirm this as well
$ ./nanominer -d
Detected 2 devices:
GPU 0 PCI 09:00.0 8111 MB GeForce GTX 1070 Ti
GPU 1 PCI 0a:00.0 5934 MB GeForce RTX 2060
$ head config.ini
; nanominer configuration file.
; LINES STARTING WITH ";" ARE COMMENTS WHICH ARE NOT PARSED BY MINER.
; Full configuration file description and examples can be
; found in README document.
coreClocks=+200
memClocks=+300
powerLimits=-20
; Restrict to only GTX 2060
devices=1

Sidenote. I just had some additional time to play around with this and found it only works in the configuration file if you set the devices= line within the block for the algorithm
However it's still being ignored on the command line. I tried moving the -devices=1 around and it didn't make any difference.
However it's still being ignored on the command line.
Any plans on fixing this?
I just don't use nanominer Fortunately, the teamredminer already has all the necessary algorithms and, most importantly, can run many copies with different devices and algorithms on ONE machine.
Some thing. The command argument "devices" ignores when specified. Tried with my two cards - this configuration options works only from config.