Title: Need Help getting DUAL-GPU radeon's to mine in linux (resolved in centos) Post by: Viceroy on April 05, 2013, 10:13:53 PM The following issue resolved by reinstalling OS here (https://bitcointalk.org/index.php?topic=170516.0). I had cgminer working beautifully and then one day I went did something stupid... I "upgraded" my software. Now typically you want to patch your computer to make sure there are no known exploits available to hackers who might want to hijack your machine. That is NOT the case with fragile systems like these bitcoin mining 'rigs'. If you have a working system, do yourself a favor and leave it the F alone. Now, onto the problem. I cannot get OpenGL to work. I've tried several versions of Catalyst and they all seem to work fine but the OpenGL calls just seem to fail. So I started reading about Catalyst and found something very weird... looks like they took GPU support OUT of the SDK. Am I reading this correctly? If they took out the GPU support how do I now compile the miner software? Here's the beginning of my search for answers: https://bitcointalk.org/index.php?topic=28402.msg1711097#msg1711097 My current status remains the same... Code: $ ./cgminer -n Though under my current OS I can actually see multiple cards: Code: $ lspci -nn | grep VGA ATI *seems* fine: Code: $ aticonfig --lsa But fglrx just will not work: Code: $ fglrxinfo Oh yea, you think you figured it out? I wasn't setting my display? Code: $ fglrxinfo Here's one I haven't seen before: Code: ./cgminer -n After reading about SDK's after 12.8 not offering GPU support I checked and found indeed they are not there!: Code: $ ldconfig -p | grep AMD Compared to a known working system: Code: $ ldconfig -p | grep AMD Unfortunately getting those to match did not fix my problem: Code: Working: Now I've identified another mismatch between the working and non-working systems... Working: Code: $ glxinfo| grep -i version Not Working: Code: $ glxinfo| grep -i version Anyone have a good handle on What GLX version is tied to What Catalyst package? (https://bitcointalk.org/index.php?topic=168935.0) Happy to reformat and start again with any known working configuration of multiple GPU's operating cleanly under Linux. Working to set up some documentation and test ideas here (https://bitcointalk.org/index.php?topic=167413.0). Any and all help appreciated. The previous issue was resolved by reinstalling OS here (https://bitcointalk.org/index.php?topic=170516.0). Title: Re: Need Help getting DUAL GPU radeon's to mine in linux Post by: Gator-hex on April 05, 2013, 10:40:24 PM Quote I cannot get OpenGL to work. I think you mean OpenCL? Some OpenCL versions are specific to the Catalyst versions. Driver Conformance AMD APP SDK v2.8 AMD Catalyst™ 12.10 (8.961) onwards AMD APP SDK v2.7 AMD Catalyst™ 12.4 (8.961) AMD APP SDK v2.6 AMD Catalyst™ 11.12 (8.92) AMD APP SDK v2.5 AMD Catalyst™ 11.7 (8.872) http://developer.amd.com/tools/heterogeneous-computing/amd-accelerated-parallel-processing-app-sdk/downloads/ Some people claim the oldest one is actually the fastest. Title: Re: Need Help getting DUAL GPU radeon's to mine in linux Post by: Viceroy on April 05, 2013, 10:42:58 PM Quote I cannot get OpenGL to work. I think you mean OpenCL Some OpenCL versions are specific to the Catalyst versions. Driver Conformance AMD APP SDK v2.8 AMD Catalyst™ 12.10 (8.961) onwards AMD APP SDK v2.7 AMD Catalyst™ 12.4 (8.961) AMD APP SDK v2.6 AMD Catalyst™ 11.12 (8.92) AMD APP SDK v2.5 AMD Catalyst™ 11.7 (8.872) http://developer.amd.com/tools/heterogeneous-computing/amd-accelerated-parallel-processing-app-sdk/downloads/ Excellent observation, thank you. Suggested packages? README in cgminer states: The best version for Radeon 5xxx and 6xxx is v2.5, while 7xxx cards need v2.6 or later, 2.7 seems the best. So I guess I need 2.5. But since I have 2.4 working on my Centos 6, I'm gonna re-install that. Title: Re: Need Help getting DUAL GPU radeon's to mine in linux Post by: Gator-hex on April 05, 2013, 10:55:16 PM I'm still using Ye-olde LinuxCoin on a USB stick.
https://bitcointalk.org/index.php?topic=7374.0;all I haven't messed with it. We have a saying, "if it ain't broke, don't fix it!" :D There is a more up to date Bitcoin mining distro with a different name somewhere on BitcoinTalk. Title: Re: Need Help getting DUAL GPU radeon's to mine in linux Post by: Viceroy on April 05, 2013, 11:01:24 PM I'm still using LinuxCoin on a USB stick. https://bitcointalk.org/index.php?topic=7374.0;all We have a saying, "if it ain't broke, don't fix it!" :D Yea, I'm cautious about moving off Centos as I haven't found ANY other linux that lets me see multiple cards with lspci. Ubuntu based distros won't boot on my machine with two cards installed... screen goes black during install. Are you running dual gpu cards in your rigs? (That said, I do have a usb flash drive laying about if anyone has a link to the iso) Every time I try to install ubuntu/mint or debian I'm cool until the install begins. As soon as the system tries to 'turn on' my video cards I can't see a thing. Even when I was successful (remove second card... everything works fine) I put the second card in and the system locks up or refuses to boot or refuses to light up my screens. Centos/Fedora have been the only systems that let me see multiple 6870x2's with lspci and subsequently aticonfig. Title: Re: Need Help getting DUAL GPU radeon's to mine in linux Post by: Viceroy on April 06, 2013, 09:22:23 PM Can anyone help me understand this behavior?
I am connecting remotely through a putty ssh session. I have xming set up on my windows box so I can run x sessions. Before I set the display variable: Code: $ lspci | grep VGA Then I set the display variable: Code: $ export DISPLAY=:0 (system specifications can be found at the top of this post in the first link). Title: Re: Need Help getting DUAL GPU radeon's to mine in linux Post by: jspielberg on April 07, 2013, 02:48:50 AM Not sure it will help... but this is the thread I used way back to get my original 5780 and 5780Ares miner going.
https://bitcointalk.org/index.php?topic=3359.0 (https://bitcointalk.org/index.php?topic=3359.0) Warning though it is ubuntu based and not Redhat/centos/fedora... but maybe some of the ideas are independent of the packager. Best of luck - - jeff Title: Re: Need Help getting DUAL GPU radeon's to mine in linux Post by: Viceroy on April 08, 2013, 01:58:36 PM I just built a new machine with my step by step instruction guide to building a bitcoin miner under centos (https://bitcointalk.org/index.php?topic=170516.0)
Title: Re: Need Help getting DUAL GPU radeon's to mine in linux Post by: a1phanumrc on April 08, 2013, 04:21:51 PM I just built a new machine with my step by step instruction guide to building a bitcoin miner under centos (https://bitcointalk.org/index.php?topic=170373.msg1771559#msg1771559) Excellent guide. Does this mean you resolved the issue above? I've used CentOS for many years in production environments -- Esp. on VoIP boxes since any downtown will be immediately noticed by clients. Just curious, have you looked into the following project? A Raspberry Pi (or two for redundancy) on each Avalon seems an elegant solution. Could be ported to CentOS easily. https://bitcointalk.org/index.php?topic=137934.0 http://mineforeman.com/minepeon/ Title: Re: Need Help getting DUAL GPU radeon's to mine in linux Post by: Viceroy on April 08, 2013, 06:57:50 PM I just built a new machine with my step by step instruction guide to building a bitcoin miner under centos (https://bitcointalk.org/index.php?topic=170373.msg1771559#msg1771559) Excellent guide. Does this mean you resolved the issue above? I've used CentOS for many years in production environments -- Esp. on VoIP boxes since any downtown will be immediately noticed by clients. Just curious, have you looked into the following project? A Raspberry Pi (or two for redundancy) on each Avalon seems an elegant solution. Could be ported to CentOS easily. https://bitcointalk.org/index.php?topic=137934.0 http://mineforeman.com/minepeon/ Thank you for taking a look at the guide and thank you for that lead, looks like an interesting project... I'll definitely tune in. The previous issue was resolved by reinstalling OS here (https://bitcointalk.org/index.php?topic=170516.0). Thread locked. |