Author

Topic: Help setting up a conf or bat for 2 cards! (R9 290 Tri-X and HD5850)(cg/sgminer) (Read 3736 times)

hero member
Activity: 528
Merit: 500
 try drop "-g" from the .bat file just use "gpu-threads" in the .conf file

+

if i get "Driver stopped responding and has recovered"


it tells me my clocks are to high
sr. member
Activity: 335
Merit: 250
Hi Tosca

I have the exact same setup as you and I have it get to working today
Make two different bat file

Mine is for the msi 290 card:

setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_USE_SYNC_OBJECTS 1
cgminer --scrypt --verbose -o stratum+tcp://middlecoin.com:3333 -T -u 1PvWSTDzvbN89iedFLEyScP4j5qFgvVDPs -d 0 -w 512 -p x -I 20 --thread-concurrency 32765 --gpu-powertune 25 

Core clock 1000 memory clock 1499 this put out 875Khs and WU between 780-850

Radeon hd 5850:

set GPU_MAX_ALLOC_PERCENT 100
set GPU_USE_SYNC_OBJECTS 1
cgminer --scrypt -o stratum+tcp://middlecoin.com:3333 -u 1PvWSTDzvbN89iedFLEyScP4j5qFgvVDPs -T -p x -g 1 -d 1 -I 19 --thread-concurrency 5824

Core clock 765 memory clock 1000 this put out 330Khs and WU 275


Notice the different in -d this is for what gpu you chose

I have running this setup all day without any issue and it is great if you want to use the computer to surf just change the intensity in my case on 5850 I 19 to a lower number and you get out little less but can still use the computer, or just shutdown this card Smiley

Hope this will help you





Hi!

Thanks for your advice. I tried doing this with your settings but the results were the same lol.

"Driver stopped responding and has recovered" whenever I try to run them both at the same time. I'm starting to think my 5850 is faulty or something.

Thanks anyway!
newbie
Activity: 1
Merit: 0
Hi Tosca

I have the exact same setup as you and I have it get to working today
Make two different bat file

Mine is for the msi 290 card:

setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_USE_SYNC_OBJECTS 1
cgminer --scrypt --verbose -o stratum+tcp://middlecoin.com:3333 -T -u 1PvWSTDzvbN89iedFLEyScP4j5qFgvVDPs -d 0 -w 512 -p x -I 20 --thread-concurrency 32765 --gpu-powertune 25 

Core clock 1000 memory clock 1499 this put out 875Khs and WU between 780-850

Radeon hd 5850:

set GPU_MAX_ALLOC_PERCENT 100
set GPU_USE_SYNC_OBJECTS 1
cgminer --scrypt -o stratum+tcp://middlecoin.com:3333 -u 1PvWSTDzvbN89iedFLEyScP4j5qFgvVDPs -T -p x -g 1 -d 1 -I 19 --thread-concurrency 5824

Core clock 765 memory clock 1000 this put out 330Khs and WU 275


Notice the different in -d this is for what gpu you chose

I have running this setup all day without any issue and it is great if you want to use the computer to surf just change the intensity in my case on 5850 I 19 to a lower number and you get out little less but can still use the computer, or just shutdown this card Smiley

Hope this will help you



sr. member
Activity: 335
Merit: 250
Have you tried mining with only the 5850? Does it work by itself? Maybe you could try running separate cgminer's for both cards with the flags -d 0/1 and --remove-disabled? When I mine scrypt-jane I use those, since one of my cards likes one thread and the other works better with two threads.
so one card uses:
-g 2 -d 0 --remove-disabled
and the other:
-g 1 -d 1 --remove-disabled

Alright, so I tried this, running two instances of sgminer with the two different settings.

I am able to run each card separately in their corresponding instances. But as soon I try to launch the other instance while the other one is running...BOOM: "Display driver stopped responding and has recovered" Sad

And it always seems to be my 5850 at fault. I have no idea what's going on. All my hardware is just a couple of weeks old except for the 5850 which I purchased in 2010. It works perfectly except when I try to mine it together with my R9 290.

ROFL, even tried to run one of the cards with cgminer and the other one with sgminer.

It's a damn shame, an extra 300-400 kh/s is always a plus. I will replace my 5850 with another R9 290 Tri-X in a couple of months, but until then I'd love to mine with my 5850 alongside my current R9 Sad
sr. member
Activity: 335
Merit: 250
Have you tried mining with only the 5850? Does it work by itself? Maybe you could try running separate cgminer's for both cards with the flags -d 0/1 and --remove-disabled? When I mine scrypt-jane I use those, since one of my cards likes one thread and the other works better with two threads.
so one card uses:
-g 2 -d 0 --remove-disabled
and the other:
-g 1 -d 1 --remove-disabled

Hi, thanks for your reply.

Yes, I've tried mining with the 5850 by itself, works great when using this configuration in a .bat-file. I get a solid 300-400 kh/s using either cgminer or sgminer.

Code:

set GPU_MAX_ALLOC_PERCENT 100
set GPU_USE_SYNC_OBJECTS 1sgminer.exe -o stratum+tcp://usde.pooligans.com:3331 -u user.worker -p pass -I 19 -g 1 -w 256 --thread-concurrency 5824


I'll try your method in a couple of hours. Thanks for the advice Cheesy
newbie
Activity: 7
Merit: 0
Have you tried mining with only the 5850? Does it work by itself? Maybe you could try running separate cgminer's for both cards with the flags -d 0/1 and --remove-disabled? When I mine scrypt-jane I use those, since one of my cards likes one thread and the other works better with two threads.
so one card uses:
-g 2 -d 0 --remove-disabled
and the other:
-g 1 -d 1 --remove-disabled
sr. member
Activity: 335
Merit: 250

Code:
"gpu-threads" : "1,2",

What happened was that my R9 290 switched to status OFF, my 5850 didn't run at all, and I got a display driver error.

WTF?!?!?

R9 290 runs with -g 1 and you tried there to run it with 2.

Make it
Code:
"gpu-threads" : "1,1",



Thanks, I'll try this when I get home.

I run at it 2 when I run it and only it though; and it works fine. So I should switch to 1 gpu-thread when I run it together with another GPU then?
sr. member
Activity: 364
Merit: 250

Code:
"gpu-threads" : "1,2",

What happened was that my R9 290 switched to status OFF, my 5850 didn't run at all, and I got a display driver error.

WTF?!?!?

R9 290 runs with -g 1 and you tried there to run it with 2.

Make it
Code:
"gpu-threads" : "1,1",

sr. member
Activity: 335
Merit: 250
Quote
What happened was that my R9 290 switched to status OFF, my 5850 didn't run at all, and I got a display driver error.
use sgminer instead https://pay.reddit.com/r/litecoinmining/comments/1xanpt/ann_sgminer_410_release/

I am using sgminer already. It's the 4.0.0 version though. Would 4.1.0 make that much of a difference?

I'll try the latest version and hope for the best. This is incredibly frustrating Sad
QNX
newbie
Activity: 58
Merit: 0
Quote
What happened was that my R9 290 switched to status OFF, my 5850 didn't run at all, and I got a display driver error.
use sgminer instead https://pay.reddit.com/r/litecoinmining/comments/1xanpt/ann_sgminer_410_release/
sr. member
Activity: 335
Merit: 250
maybe you should lower th and int first for test for both cards mode

Hi, thanks for the quick reply. I will try this.

It is weird though. Separately, I can run the cards fine (when one of them is disabled btw!). In HD5850's case, however, I use this .bat rather than a .conf:

Code:
set GPU_MAX_ALLOC_PERCENT 100
set GPU_USE_SYNC_OBJECTS 1sgminer.exe -o stratum+tcp://usde.pooligans.com:3331 -u user.worker -p pass -I 19 -g 1 -w 256 --thread-concurrency 5824

And it works. How would this look as a.conf?



gpu threads should be one on the 5850, mine will not run with 2 threads.


Thanks, I tried this at once.

Code:
"gpu-threads" : "1,2",

What happened was that my R9 290 switched to status OFF, my 5850 didn't run at all, and I got a display driver error.

WTF?!?!?
sr. member
Activity: 434
Merit: 250


gpu threads should be one on the 5850, mine will not run with 2 threads.
QNX
newbie
Activity: 58
Merit: 0
maybe you should lower th and int first for test for both cards mode
sr. member
Activity: 335
Merit: 250
Hi!

I would like to use BOTH my R9 290 and HD5850 for mining. I prefer to use sgminer but cgminer works too.

I have successfully set up my R9 290 and a get a solid hashrate of 870 kh/s and 0 HW errors. However, whenever I try to use it together with my 5850, my 5850 always malfunctions (driver errors, sick/dead status or a lot of HW errors). I don't get what I'm doing wrong.

Here's my .config file for the R9 290 ALONE.

Code:
"api-allow" : "W:127.0.0.1",
"api-listen" : true,
"api-port" : "4028",
"expiry" : "120",
"failover-only" : true,
"kernel-path" : "/usr/local/bin",
"log" : "5",
"queue" : "1",
"scan-time" : "60",
"scrypt" : true,
"auto-fan" : true,
"gpu-threads" : "1",
"gpu-engine" : "1000",
"gpu-fan" : "50-90",
"gpu-memclock" : "1350",
"gpu-powertune" : "20",
"gpu-reorder" : true,
"intensity" : "20",
"temp-target" : "70",
"temp-overheat" : "95",
"temp-cutoff" : "99",
"temp-hysteresis" : "3",
"vectors" : "2",
"worksize" : "512",
"lookup-gap" : "2",
"thread-concurrency" : "32765"

Works like a charm!

But here's the combination of the R9 290 and HD5850 codes.

Code:
"api-allow" : "W:127.0.0.1",
"api-listen" : true,
"api-port" : "4028",
"expiry" : "120",
"failover-only" : true,
"kernel-path" : "/usr/local/bin",
"log" : "5",
"queue" : "1",
"scan-time" : "60",
"scrypt" : true,
"auto-fan" : true,
"gpu-threads" : "2",
"gpu-engine" : "725,1000",
"gpu-fan" : "0-100",
"gpu-memclock" : "1000,1350",
"gpu-memdiff" : "0",
"gpu-powertune" : "0",
"gpu-vddc" : "0.000",
"intensity" : "19,20",
"gpu-reorder" : true,
"temp-target" : "70",
"temp-overheat" : "95",
"temp-cutoff" : "99",
"vectors" : "2,2",
"worksize" : "256,512",
"lookup-gap" : "2",
"thread-concurrency" : "5824,32765"



The R9 290 still functions properly, but the 5850 is at a complete standstill, and I get a notification of a driver error.

My 5850 is connected to a second monitor and everything works fine until I start to mine with both cards. I use both these configs in sgminer.

What am I doing wrong? Any advice is much appreciated!

Thanks!
Jump to: