Bitcoin Forum

Bitcoin => Mining => Topic started by: eleuthria on April 14, 2011, 04:01:07 PM



Title: Building a multi GPU system
Post by: eleuthria on April 14, 2011, 04:01:07 PM
When building a computer specifically for mining BitCoins, with ATI/AMD cards, is it neccessary to match the cards up like you would in a gaming machine, or can I simply plug in whatever card I have available at the time?

Right now I have a 6990 on the way, and I already have a 5970.  Can I just plug in those two cards without any special setup?  Additionally, could I add a 5870 to the mix as long as the motherboard / PSU can support all 3?


Title: Re: Building a multi GPU system
Post by: Garrett Burgwardt on April 14, 2011, 04:15:02 PM
Doesn't have to be matched, but thermals will be a problem with those two cards.


Title: Re: Building a multi GPU system
Post by: FoS on April 14, 2011, 05:02:08 PM
I have also a question about that. I have a 5850 and a 5770 in a mobo Asus m2n-e sli. It has 2 pci-e slots so I can plug both cards but when I use the miner it only shows me the first one and in GPU-Z only the card that is in the primary slot has OPENCL. There is some way to use both to miner? At least I will have to use only 5850 but it would be great if I could use both.


Title: Re: Building a multi GPU system
Post by: eleuthria on April 14, 2011, 05:12:49 PM
Doesn't have to be matched, but thermals will be a problem with those two cards.

Yeah, I'm interested in seeing the temperature interaction between the two cards.  I'm using a Cooler Master HAF 932 for the rig, which in my experience with gaming rigs is able to very easily run multiple hot GPUs without much issue.


Title: Re: Building a multi GPU system
Post by: TenthReality on April 14, 2011, 06:04:18 PM
I have also a question about that. I have a 5850 and a 5770 in a mobo Asus m2n-e sli. It has 2 pci-e slots so I can plug both cards but when I use the miner it only shows me the first one and in GPU-Z only the card that is in the primary slot has OPENCL. There is some way to use both to miner? At least I will have to use only 5850 but it would be great if I could use both.

Do you have a monitor plugged into it?  If not, plug one in.  Stupid quirk of the system requires it to have a monitor.  If you lack a 2nd monitor you can search around on how to create a DVI->VGA null monitor adaptor (takes 3 75ohm resistors from radio shack to make it happen).


Title: Re: Building a multi GPU system
Post by: mrjones on April 14, 2011, 06:20:53 PM
Right now I have a 6990 on the way, and I already have a 5970.  Can I just plug in those two cards without any special setup?
I've got that exact configuration and it doesn't work at all I'm afraid.  At least not with 64-bit Windows 7 and Catalyst 11.3 or Catalyst 11.4 (beta), and the 2.4 Stream SDK.

What happens is that if you have both cards enabled in Windows (i.e. with monitors connected, and your desktop expanded onto them), any OpenCL program you try to launch will simply freeze when it tries to initialize the OpenCL subsystem.

If you disable the 5970, then you are able to start OpenCL programs but they can only see the 6990.  AMD says they know about the problem and are "looking into it" but I'm not hopeful for a resolution anytime soon.

The 6990 is also frankly a bit annoying for everyday use, because if a program is using the first GPU for OpenCL calculations and you watch a video (YouTube, Windows Media Player, etc.) the video driver freezes and you have to reboot. This is also a "known issue," although I'm more hopeful for this one to be fixed.

But as far as the two cards working together ... I wouldn't hold out hope.  If you can figure out a way to make it work, I'd love to know how you did it.  :-)


Title: Re: Building a multi GPU system
Post by: Meni Rosenfeld on April 14, 2011, 06:46:33 PM
If it's a machine just for mining, put Linux on it. It handles multi-card configurations much better. There are guides available.


Title: Re: Building a multi GPU system
Post by: FoS on April 14, 2011, 08:22:15 PM
I have also a question about that. I have a 5850 and a 5770 in a mobo Asus m2n-e sli. It has 2 pci-e slots so I can plug both cards but when I use the miner it only shows me the first one and in GPU-Z only the card that is in the primary slot has OPENCL. There is some way to use both to miner? At least I will have to use only 5850 but it would be great if I could use both.

Do you have a monitor plugged into it?  If not, plug one in.  Stupid quirk of the system requires it to have a monitor.  If you lack a 2nd monitor you can search around on how to create a DVI->VGA null monitor adaptor (takes 3 75ohm resistors from radio shack to make it happen).

Ok thanks, do you know if dvi-vga adaptor that comes with the graphic card would do the same use?


Title: Re: Building a multi GPU system
Post by: TenthReality on April 14, 2011, 08:29:28 PM
I have also a question about that. I have a 5850 and a 5770 in a mobo Asus m2n-e sli. It has 2 pci-e slots so I can plug both cards but when I use the miner it only shows me the first one and in GPU-Z only the card that is in the primary slot has OPENCL. There is some way to use both to miner? At least I will have to use only 5850 but it would be great if I could use both.

Do you have a monitor plugged into it?  If not, plug one in.  Stupid quirk of the system requires it to have a monitor.  If you lack a 2nd monitor you can search around on how to create a DVI->VGA null monitor adaptor (takes 3 75ohm resistors from radio shack to make it happen).

Ok thanks, do you know if dvi-vga adaptor that comes with the graphic card would do the same use?

No, you need to modify the one that comes with the PC.  Follow this guide: http://www.overclock.net/folding-home-guides-tutorials/384733-30-second-dummy-plug.html

But based on other folks replies here, it seems like this is just going to expose the next problem you're going to have.


Title: Re: Building a multi GPU system
Post by: mrjones on April 14, 2011, 08:33:49 PM
If it's a machine just for mining, put Linux on it. It handles multi-card configurations much better. There are guides available.
The 6990 is not supported under Linux yet, even with the 11.4b hotfix.

Probably will be fairly soon; all other 6900 series cards are.


Title: Re: Building a multi GPU system
Post by: FoS on April 14, 2011, 08:55:06 PM
Ok, thanks TenthReality, tomorrow I will go to buy some resistors and I will try that.


Title: Re: Building a multi GPU system
Post by: mrjones on April 14, 2011, 09:02:56 PM
... this is just going to expose the next problem you're going to have.

Damn, I should have that printed on a T-shirt after my 6990 upgrade fiasco.   :D


Title: Re: Building a multi GPU system
Post by: eleuthria on April 14, 2011, 10:04:48 PM
So since the 6990 might not be ready for full duty mining yet, should I swap my 5970 (currently in my gaming rig) with the 6990, and then plug in the 5970 and 5870 into my mining rig?


Title: Re: Building a multi GPU system
Post by: mrjones on April 14, 2011, 10:15:57 PM
So since the 6990 might not be ready for full duty mining yet, should I swap my 5970 (currently in my gaming rig) with the 6990, and then plug in the 5970 and 5870 into my mining rig?
If you're using the 6990 by itself, it will work fine for mining.  I'd leave the 5970 in your gaming rig (and do bitcoin mining in the background) since it won't lock up your system while mining if you watch a YouTube video, etc., like the 6990 will.


Title: Re: Building a multi GPU system
Post by: eleuthria on April 14, 2011, 10:32:12 PM
Alright, so it looks like the best way to utilize the 3 cards would be:

Mining Rig: 6990
Gaming Rig: 5970 mining when not in use.  5870 added to system, and mining 24/7.


Title: Re: Building a multi GPU system
Post by: mrjones on April 14, 2011, 10:41:33 PM
Alright, so it looks like the best way to utilize the 3 cards would be:

Mining Rig: 6990
Gaming Rig: 5970 mining when not in use.  5870 added to system, and mining 24/7.
Sounds perfect. The current drivers will also be very happy with that configuration.


Title: Re: Building a multi GPU system
Post by: allinvain on April 15, 2011, 12:42:35 AM
So since the 6990 might not be ready for full duty mining yet, should I swap my 5970 (currently in my gaming rig) with the 6990, and then plug in the 5970 and 5870 into my mining rig?
If you're using the 6990 by itself, it will work fine for mining.  I'd leave the 5970 in your gaming rig (and do bitcoin mining in the background) since it won't lock up your system while mining if you watch a YouTube video, etc., like the 6990 will.

Wow what a stupid bug to have. Does this happen with every Catalyst drivers package of only with certain ones? Also have you tried disabling GPU acceleration in flash? I heard that can cause the video card drivers to lock up. Also update flash to the latest version.


Title: Re: Building a multi GPU system
Post by: mrjones on April 15, 2011, 12:59:56 AM
Wow what a stupid bug to have. Does this happen with every Catalyst drivers package of only with certain ones? Also have you tried disabling GPU acceleration in flash? I heard that can cause the video card drivers to lock up. Also update flash to the latest version.
It seems to be every driver version, and GPU acceleration in Flash makes no difference (tried both ways).  But it's not Flash-related--it's a problem with any video overlay. There's the same problem playing video in any other applications (Windows Media Player, Media Player Classic, etc.).

See this thread on the Bitcoin Forum (http://bitcointalk.org/index.php?topic=4669.0) where it has been discussed extensively, along with the official "GPU lockup if running OpenCL and playing video at the same time" thread (http://forums.amd.com/forum/messageview.cfm?catid=390&threadid=128404&enterthread=y) on the AMD OpenCL forum.  It was a problem a year ago with different cards and different drivers, and then resurfaced again now with the 6900 series.


Title: Re: Building a multi GPU system
Post by: allinvain on April 15, 2011, 01:14:36 AM
Wow what a stupid bug to have. Does this happen with every Catalyst drivers package of only with certain ones? Also have you tried disabling GPU acceleration in flash? I heard that can cause the video card drivers to lock up. Also update flash to the latest version.
It seems to be every driver version, and GPU acceleration in Flash makes no difference (tried both ways).  But it's not Flash-related--it's a problem with any video overlay. There's the same problem playing video in any other applications (Windows Media Player, Media Player Classic, etc.).

See this thread on the Bitcoin Forum (http://bitcointalk.org/index.php?topic=4669.0) where it has been discussed extensively, along with the official "GPU lockup if running OpenCL and playing video at the same time" thread (http://forums.amd.com/forum/messageview.cfm?catid=390&threadid=128404&enterthread=y) on the AMD OpenCL forum.  It was a problem a year ago with different cards and different drivers, and then resurfaced again now with the 6900 series.

Hmm, interesting. I did run across that AMD thread when I ran into a similar problem with my 5970. The system blue screened while I was trying to load a youtube video from within facebook. At the time I was running 11.2. What I did was run driver cleaner and install 11.3 after and update flash, turn off gpu acceleration - so far no crashes. Not sure if it was 11.3 that fixed it or what, but I do think this problem can happen with 5970 too. Has anyone else had this with the 5970 or am I the only one? (win 7 64)


Title: Re: Building a multi GPU system
Post by: mrjones on April 15, 2011, 01:19:29 AM
Hmm, interesting. I did run across that AMD thread when I ran into a similar problem with my 5970. The system blue screened while I was trying to load a youtube video from within facebook. At the time I was running 11.2. What I did was run driver cleaner and install 11.3 after and update flash, turn off gpu acceleration - so far no crashes. Not sure if it was 11.3 that fixed it or what, but I do think this problem can happen with 5970 too. Has anyone else had this with the 5970 or am I the only one? (win 7 64)

I was using a 5970 until I got this 6990 on Monday, and I upgraded my drivers every month, through 11.3, on Win 7 64.  No crashes.  The only problem I had (which started long ago) was that with GPU acceleration turned on in Flash, the image on my second monitor would jump up momentarily when a video started (actually not the entire image; there would be a black bar about 1/4 of the way up the screen about 50 pixels tall, and the image above that bar would jump up and back down).  Other people had the same problem.  I simply turned off GPU acceleration months ago and forgot about it.  :)

Edit: The 6990 does not have that problem, which is nice.


Title: Re: Building a multi GPU system
Post by: allinvain on April 15, 2011, 01:24:37 AM
Hmm, interesting. I did run across that AMD thread when I ran into a similar problem with my 5970. The system blue screened while I was trying to load a youtube video from within facebook. At the time I was running 11.2. What I did was run driver cleaner and install 11.3 after and update flash, turn off gpu acceleration - so far no crashes. Not sure if it was 11.3 that fixed it or what, but I do think this problem can happen with 5970 too. Has anyone else had this with the 5970 or am I the only one? (win 7 64)

I was using a 5970 until I got this 6990 on Monday, and I upgraded my drivers every month, through 11.3, on Win 7 64.  No crashes.  The only problem I had (which started long ago) was that with GPU acceleration turned on in Flash, the image on my second monitor would jump up momentarily when a video started (actually not the entire image; there would be a black bar about 1/4 of the way up the screen about 50 pixels tall, and the image above that bar would jump up and back down).  Other people had the same problem.  I simply turned off GPU acceleration months ago and forgot about it.  :)

Edit: The 6990 does not have that problem, which is nice.

I see. So the crash was most likely caused by something else and not necessarily related to this issue the 6990s are having. I was messing around with the mem clock and fan speed very frequently before the system blue screened. I had the fan locked at 60% and I kept on lowering and raising and lowering the mem clock - trying to find if lowering mem clock affected hashing performance and if there is a "sweet spot" .

But anyways, I hope AMD comes out with a fix, and most of all I hope it's not something that is hardware related.


Title: Re: Building a multi GPU system
Post by: mrb on April 15, 2011, 03:58:57 AM
No, you need to modify the one that comes with the PC.  Follow this guide: http://www.overclock.net/folding-home-guides-tutorials/384733-30-second-dummy-plug.html

30s? Why so complex? The 5-second VGA Dummy Plug (http://blog.zorinaq.com/?e=11) !


Title: Re: Building a multi GPU system
Post by: mrb on April 15, 2011, 04:00:51 AM
The 6990 is not supported under Linux yet, even with the 11.4b hotfix.
Probably will be fairly soon; all other 6900 series cards are.

Not true. I mine happily with multiple 6990s with the catalyst 11.411.3 driver on Linux.
To my surprise, even the older 11.311.2 works, if you write the xorg.conf manually.

That said I do use a custom CAL miner (http://bitcointalk.org/index.php?topic=2949), as opposed to OpenCL, so perhaps the problems preventing you guys from using the 6990 only affect OpenCL miners.


Edited to fix catalyst version numbers.


Title: Re: Building a multi GPU system
Post by: eleuthria on April 15, 2011, 04:19:34 AM
The 6990 is not supported under Linux yet, even with the 11.4b hotfix.
Probably will be fairly soon; all other 6900 series cards are.

Not true. I mine happily with multiple 6990s with the catalyst 11.4 driver on Linux.
To my surprise, even the older 11.3 works, if you write the xorg.conf manually.

That said I do use a custom CAL miner (http://bitcointalk.org/index.php?topic=2949), as opposed to OpenCL, so perhaps the problems preventing you guys from using the 6990 only affect OpenCL miners.

Would love a copy of that, but at that price I don't think I'd ever break even with the cost of 6990s and the insane cost of electricity in California.  At least not without a six figure investment in hardware capacity.


Title: Re: Building a multi GPU system
Post by: FoS on April 15, 2011, 11:56:23 AM
I could plug both cards(5850 & 5770) and now they work perfectly with dummy plug, thank you TenthReality.
It's better mining than have a card useless.


Title: Re: Building a multi GPU system
Post by: Syke on April 15, 2011, 05:21:51 PM
Not true. I mine happily with multiple 6990s with the catalyst 11.4 driver on Linux.
To my surprise, even the older 11.3 works, if you write the xorg.conf manually.

That said I do use a custom CAL miner (http://bitcointalk.org/index.php?topic=2949), as opposed to OpenCL, so perhaps the problems preventing you guys from using the 6990 only affect OpenCL miners.
What catalyst 11.4 Linux driver?


Title: Re: Building a multi GPU system
Post by: mrb on April 15, 2011, 05:26:06 PM
What catalyst 11.4 Linux driver?

Oops I meant 11.3. And it works with 11.2 if you write the xorg.conf manually.

https://i.imgur.com/5LQ9l.png
Single HD6990 mining with CAL 1.4.1332 (Catalyst 11.3) on Linux


Title: Re: Building a multi GPU system
Post by: mrjones on April 15, 2011, 06:21:16 PM
What catalyst 11.4 Linux driver?

There is this one (http://support.amd.com/us/kbarticles/Pages/AMDCatalyst114bhotfix.aspx), right?


Title: Re: Building a multi GPU system
Post by: foxmulder on April 16, 2011, 09:28:26 PM
The 11.4b linux driver seems not ready for prime time yet, i only get 250-301(averaging ~220) mhps per gpu on 6990, my setting is -v -f 0 -w 128.


Title: Re: Building a multi GPU system
Post by: Syke on April 16, 2011, 11:37:26 PM
The 11.4b linux driver seems not ready for prime time yet, i only get 250-301(averaging ~220) mhps per gpu on 6990, my setting is -v -f 0 -w 128.
Yes, very disappointing. I get about 275 per gpu with both 11.3 and 11.4b on my 6990s using DiabloMiner, all stock clocks/etc. I hoping for something more like 350.


Title: Re: Building a multi GPU system
Post by: mrb on April 17, 2011, 03:57:57 AM
Have you guys tried poclbm? So far, the best performance numbers I have heard about on the 6990 (with bios switch at position 2 = 830MHz) are:

o 683 Mhash/s using hdminer (http://bitcointalk.org/index.php?topic=2949.0)
o 550 Mhash/s using DiabloMiner (reported by Syke (http://bitcointalk.org/index.php?topic=5831.msg87681#msg87681))
o ? Mhash/s using poclbm


Title: Re: Building a multi GPU system
Post by: bitcoin_ent on April 17, 2011, 02:30:56 PM
Has anyone tried the Foxconn A7DA-S motherboard?  http://www.newegg.com/Product/Product.aspx?Item=N82E16813186168 (http://www.newegg.com/Product/Product.aspx?Item=N82E16813186168)

It supports two pci-e cards and has an onboard Radeon HD3300.  Just curious if anyone has setup a dual card mining rig using this motherboard plus utilizing the onboard gpu.


Title: Re: Building a multi GPU system
Post by: LMGTFY on April 17, 2011, 02:34:42 PM
Has anyone tried the Foxconn A7DA-S motherboard?  http://www.newegg.com/Product/Product.aspx?Item=N82E16813186168 (http://www.newegg.com/Product/Product.aspx?Item=N82E16813186168)

It supports two pci-e cards and has an onboard Radeon HD3300.  Just curious if anyone has setup a dual card mining rig using this motherboard plus utilizing the onboard gpu.
I don't think the 3300 could be used for GPU mining - 3XXX's don't support OpenCL (https://en.bitcoin.it/wiki/Mining_Hardware_Comparison).


Title: Re: Building a multi GPU system
Post by: bitcoin_ent on April 17, 2011, 02:38:54 PM
All Radeon HD 3xxx models support DirectX 10.1 and OpenGL 3.3[10]
http://en.wikipedia.org/wiki/Comparison_of_AMD_graphics_processing_units (http://en.wikipedia.org/wiki/Comparison_of_AMD_graphics_processing_units)


Title: Re: Building a multi GPU system
Post by: LMGTFY on April 17, 2011, 02:41:10 PM
All Radeon HD 3xxx models support DirectX 10.1 and OpenGL 3.3[10]
http://en.wikipedia.org/wiki/Comparison_of_AMD_graphics_processing_units (http://en.wikipedia.org/wiki/Comparison_of_AMD_graphics_processing_units)

OpenGL != OpenCL :-)


Title: Re: Building a multi GPU system
Post by: bitcoin_ent on April 17, 2011, 02:41:46 PM
sorry ... my bad