How do I set up ethminer to use both amd and nvidia at once?

fj39fsnfj39fsn Member Posts: 2
Hi, I'm trying to get ethminer up and running to mine to ethermine.org. I'm running a r9 290 and a gtx 1070. My problem is with the bat file.

setx GPU_FORCE_64BIT_PTR 0
setx GPU_MAX_HEAP_SIZE 100
setx GPU_USE_SYNC_OBJECTS 1
setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_SINGLE_ALLOC_PERCENT 100
ethminer.exe --farm-recheck 200 -X --cuda-device 0 --opencl-device 1 -S us1.ethermine.org:4444 -FS us1.ethermine.org:4444 -O 0x322f383bb69480f6c684794067784A2C6D2b536f.worker1

Using ethminer -X --list-devices shows that my gtx 1070 is cuda 0 and my r9 290 is opencl 1. What I've used in my bat doesn't work and causes the console to close when I run it. How do I get both cards running?

Comments

  • rmhrmh Member Posts: 410 ✭✭✭
    If you run the command in a running console, then it wouldn't close when the miner exits and you can read the error message.
  • BigMaMaBigMaMa Member Posts: 19
    this is what I have with rx 470 + 1070:
    ethminer.exe --farm-recheck 2000 -X --opencl-platform 0 --opencl-device 0 --cl-global-work 16384 --cuda-grid-size 8192 --cuda-block-size 128 --cuda-schedule auto --cuda-devices 1 .....
    just replace the 0/1 - on my PC RX470 is GPU0 and CUDA 1070 is 1.
Sign In or Register to comment.