Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: Takeshi_Kovacs on June 06, 2013, 10:43:37 AM



Title: Adding a second card to an xubuntu rig - card not recognised - new 1LTC reward
Post by: Takeshi_Kovacs on June 06, 2013, 10:43:37 AM
Hi,

I have been LTC mining on two GPUs for a couple of weeks.

I have a 7970 and a 7850 in two separate PCs.

To avoid wasting power, I wanted to put them into a single PC.

So, I put the two cards into a system with a Gigabyte GA-EP45-DS3P mobo and a 750W PSU and booted xubuntu.

I have a monitor attached to each card.

I tried to configure the drivers with:

sudo aticonfig --lsa

sudo aticonfig --adapter=all --initial

That appeared to work - no error messages and both adapters were seen.

I then rebooted and tried:

sudo aticonfig --adapter=all --ocgt

That would always give me the temp for the default card but report an error for the other card thus:

ERROR - Get temperature failed for Adapter <n> - AMD Radeon HD 7800/7900 Series

<n> is 0 or 1 and the adapter type corresponds to the adapter that is not configured as the primary adapter by the mobo BIOS settings.

I have tried swapping the GPUs between slots and tweaking which one is set as the primary by the BIOS but nothing helps. Whichever gpu is not the primary just does not register.

I am sure that the PSU is adequate - I can get both adapters running and showing an image at the same time but not in xubuntu - I cannot even get it to give me two displays - one on each GPU.

I will pay a reward of 1 LTC to the first solution that works and is stable for 24 hours.


Title: Re: Adding a second card to an xubuntu rig - card not recognised - 1LTC reward
Post by: suryc on June 06, 2013, 10:58:53 AM
Hi,

I have been LTC mining on two GPUs for a couple of weeks.

I have a 7970 and a 7850 in two separate PCs.

To avoid wasting power, I wanted to put them into a single PC.

So, I put the two cards into a system with a Gigabyte GA-EP45-DS3P mobo and a 750W PSU and booted xubuntu.

I have a monitor attached to each card.

I tried to configure the drivers with:

sudo aticonfig --lsa

sudo aticonfig --adapter=all --initial

That appeared to work - no error messages and both adapters were seen.

I then rebooted and tried:

sudo aticonfig --adapter=all --ocgt

That would always give me the temp for the default card but report an error for the other card thus:

ERROR - Get temperature failed for Adapter <n> - AMD Radeon HD 7800/7900 Series

<n> is 0 or 1 and the adapter type corresponds to the adapter that is not configured as the primary adapter by the mobo BIOS settings.

I have tried swapping the GPUs between slots and tweaking which one is set as the primary by the BIOS but nothing helps. Whichever gpu is not the primary just does not register.

I am sure that the PSU is adequate - I can get both adapters running and showing an image at the same time but not in xubuntu - I cannot even get it to give me two displays - one on each GPU.

I will pay a reward of 1 LTC to the first solution that works and is stable for 24 hours.

When you add a new card, all you should need is:
sudo aticonfig --adapter=all --initial

But, I have had this problem with Xubuntu and the following steps have worked for me:

update/reinstall driver:
sudo apt-get install fglrx-updates fglrx-amdcccle-updates fglrx-updates-dev

configure drivers:
sudo aticonfig --lsa
sudo aticonfig --adapter=all --initial
sudo reboot

sudo aticonfig --adapter=all --odgt

Note, its odgt, not ocgt, don't know if you made a typo or

Make sure both cards are plugged in to a monitor or have a dummy plug during this whole process.

Let me know how it works for you.


Title: Re: Adding a second card to an xubuntu rig - card not recognised - 1LTC reward
Post by: Takeshi_Kovacs on June 06, 2013, 11:17:14 AM


When you add a new card, all you should need is:
sudo aticonfig --adapter=all --initial

But, I have had this problem with Xubuntu and the following steps have worked for me:

update/reinstall driver:
sudo apt-get install fglrx-updates fglrx-amdcccle-updates fglrx-updates-dev

configure drivers:
sudo aticonfig --lsa
sudo aticonfig --adapter=all --initial
sudo reboot

sudo aticonfig --adapter=all --odgt

Note, its odgt, not ocgt, don't know if you made a typo or

Make sure both cards are plugged in to a monitor or have a dummy plug during this whole process.

Let me know how it works for you.


Thanks for that, I just tried it but with the same results as before.


Title: Re: Adding a second card to an xubuntu rig - card not recognised - 1LTC reward
Post by: induktor on June 06, 2013, 11:25:34 AM
Hi
the problem is the 7850, I had that problem too.
the solution I found is the following:

download drivers (12.8 or 12.4) from amd
I used the following command to unpack the drivers

./ati-driver-installer-12-4-x86_64.run --extract

I then copied the new control file into the old place

cp /etc/ati/control /etc/ati/control-old
cp common/etc/ati/control /etc/ati/control

reboot and try again sudo aticonfig --lsa
if it is listed then try if you can get temps sudo aticonfig --adapter=all --odgt
if at this point you can get temps from BOTH cards, you are done, nothing else is required, if not, configure:

exit X (stop lightdm) then init 3

in command line sudo aticonfig --adapter=all --initial -f
sudo sync (if you are booting off usb)
sudo reboot

that should do it.
let me know if it worked for you :)
regards
Indkt

BTW: if it doesn't work for you, let me know, I will email you my control file that works with the 7850
if it works LTC: LaJQHWGMBcLqkBKNL8tjVYAKBtoYEBPVJA 
:D


Title: Re: Adding a second card to an xubuntu rig - card not recognised - 1LTC reward
Post by: Takeshi_Kovacs on August 09, 2013, 09:05:40 PM
Hi
the problem is the 7850, I had that problem too.
the solution I found is the following:

download drivers (12.8 or 12.4) from amd
I used the following command to unpack the drivers

./ati-driver-installer-12-4-x86_64.run --extract

I then copied the new control file into the old place

cp /etc/ati/control /etc/ati/control-old
cp common/etc/ati/control /etc/ati/control

reboot and try again sudo aticonfig --lsa
if it is listed then try if you can get temps sudo aticonfig --adapter=all --odgt
if at this point you can get temps from BOTH cards, you are done, nothing else is required, if not, configure:

exit X (stop lightdm) then init 3

in command line sudo aticonfig --adapter=all --initial -f
sudo sync (if you are booting off usb)
sudo reboot

that should do it.
let me know if it worked for you :)
regards
Indkt

BTW: if it doesn't work for you, let me know, I will email you my control file that works with the 7850
if it works LTC: LaJQHWGMBcLqkBKNL8tjVYAKBtoYEBPVJA 
:D

Great, thanks, that worked in the end.

I tried it and I could see both cards but I could not get them both to mine at a sensible hash rate. The best that I could get was both cards mining at 250khs which was worse than having the 7970 running by itself. I decided to shelve the problem until I had more time. I bought some more cards and then found myself with a 7950 in one machine and the original 7850 still in its own machine.

So, I repeated the control file copy and put the 7850 into the machine with the 7950 and after a little playing with cgminer settings, I now have both cards running well in the same machine. So, thanks again and your reward is on the way.


Title: Re: Adding a second card to an xubuntu rig - card not recognised - 1LTC reward
Post by: induktor on August 10, 2013, 05:17:00 AM
Hello
Glad it worked :D
thank you!


Title: Re: Adding a second card to an xubuntu rig - card not recognised - 1LTC reward
Post by: Takeshi_Kovacs on August 28, 2013, 04:41:42 AM
Well, all of that was working fine and then I found a second hand 5830 on a local auction site for a bargain price.

The story is pretty much the same as before - the 5830 card is seen and listed when I run

sudo aticonfig --adapter=all --initial

But when I reboot and try

sudo aticonfig --adapter=all --odgt

I get an error message that the temp on the 5830 cannot be read and the other 2 cards are fine.

Then the system will start mining with the 7950 and 7850 cards but cgminer does not show a third card.

Another litecoin is on offer for the first solution that gets me mining with all three cards


Title: Re: Adding a second card to an xubuntu rig - card not recognised - new 1LTC reward
Post by: 2Kool4Skewl on August 28, 2013, 05:17:42 AM
Add these lines to .bashrc and reboot. From your user directory run "sudo nano .bashrc"

export DISPLAY=:0
export GPU_MAX_ALLOC_PERCENT=100
export GPU_USE_SYNC_OBJECTS=1


LTC: Lg2w3DVTWRXX6J9UrRmEevBUGX6C4bpuMn


Title: Re: Adding a second card to an xubuntu rig - card not recognised - new 1LTC reward
Post by: Takeshi_Kovacs on August 28, 2013, 05:53:05 AM
Add these lines to .bashrc and reboot. From your user directory run "sudo nano .bashrc"

export DISPLAY=:0
export GPU_MAX_ALLOC_PERCENT=100
export GPU_USE_SYNC_OBJECTS=1


LTC: Lg2w3DVTWRXX6J9UrRmEevBUGX6C4bpuMn

Thanks but no prize.

That is all stuff to do with getting cgminer to run correctly not with getting the ati drivers to recognize the cards in the first place. Of course, the fact that I can mine with two cards already means that I have that sorted out anyway.


Title: Re: Adding a second card to an xubuntu rig - card not recognised - new 1LTC reward
Post by: Takeshi_Kovacs on August 28, 2013, 07:35:49 AM
Fixed it myself so I get the prize.

I put the 5830 on the mobo as the primary monitor.

It was picked up and I could then do the aticonfig stuff and all three cards were seen and are now mining! Yea!