Bitcoin Forum
May 24, 2024, 06:05:39 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Adding a second card to an xubuntu rig - card not recognised - new 1LTC reward  (Read 2859 times)
Takeshi_Kovacs (OP)
Member
**
Offline Offline

Activity: 65
Merit: 10


View Profile
June 06, 2013, 10:43:37 AM
Last edit: August 28, 2013, 04:42:18 AM by Takeshi_Kovacs
 #1

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.
suryc
Sr. Member
****
Offline Offline

Activity: 298
Merit: 250


Play2Live pre-sale starts on January 25th


View Profile
June 06, 2013, 10:58:53 AM
 #2

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.

.
PLAY
            ▄██████████████▄
          ▄██▀▀██████████████▄
        ▄██▀    ▀██████████████▄
      ▄██▀        ▀██████████████▄
    ▄██▀   ██████▄  ▀██████████████▄
  ▄██▀          ██    ▀██████████████▄
 ███       ▄█████▀      ███████████████
  ▀██▄    ▐██         ▄██████████████▀
    ▀██▄  ▐██████▌  ▄██████████████▀
      ▀██▄        ▄██████████████▀
        ▀██▄    ▄██████████████▀
          ▀██▄▄██████████████▀
            ▀██████████████▀
.
LIVE
.
██████
███▀▀▀
███







███
███▄▄▄
██████
██████
▀▀▀███
███







███
▄▄▄███
██████
Takeshi_Kovacs (OP)
Member
**
Offline Offline

Activity: 65
Merit: 10


View Profile
June 06, 2013, 11:17:14 AM
 #3



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.
induktor
Hero Member
*****
Offline Offline

Activity: 710
Merit: 502



View Profile
June 06, 2013, 11:25:34 AM
Last edit: June 07, 2013, 02:17:02 PM by induktor
 #4

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 Smiley
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 
Cheesy

BTC addr: 1vTGnFgaM2WJjswwmbj6N2AQBWcHfimSc
Takeshi_Kovacs (OP)
Member
**
Offline Offline

Activity: 65
Merit: 10


View Profile
August 09, 2013, 09:05:40 PM
 #5

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 Smiley
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 
Cheesy

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.
induktor
Hero Member
*****
Offline Offline

Activity: 710
Merit: 502



View Profile
August 10, 2013, 05:17:00 AM
 #6

Hello
Glad it worked Cheesy
thank you!

BTC addr: 1vTGnFgaM2WJjswwmbj6N2AQBWcHfimSc
Takeshi_Kovacs (OP)
Member
**
Offline Offline

Activity: 65
Merit: 10


View Profile
August 28, 2013, 04:41:42 AM
 #7

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
2Kool4Skewl
Sr. Member
****
Offline Offline

Activity: 644
Merit: 250



View Profile WWW
August 28, 2013, 05:17:42 AM
 #8

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


                      ▄████████▄
                  ▄████████████████▄
             ▄██████████████████████████▄
      ▄███████████████████████████████████████▄
 ███████████████████████████████████████████████████
█████████████████████████████████████████████████████
█████████████████████████████████████████████████████
█████████████████████████████████████████████████████
█████████████████████████████████████████████████████
█████████████████████████████████████████████████████
█████████████████████████████████████████████████████
█████████████████████████████████████████████████████
 ███████████████████████████████████████████████████
 ███████████████████████████████████████████████████
 ███████████████████████████████████████████████████
  █████████████████████████████████████████████████
   ███████████████████████████████████████████████
   ███████████████████████████████████████████████
    █████████████████████████████████████████████
     ███████████████████████████████████████████
      █████████████████████████████████████████
       ███████████████████████████████████████
        █████████████████████████████████████
         ███████████████████████████████████
          █████████████████████████████████
           ▀█████████████████████████████▀
             ▀█████████████████████████▀
               ▀█████████████████████▀
                 ▀█████████████████▀
                   ▀█████████████▀
                      ▀███████▀
TRUSTEE 
Takeshi_Kovacs (OP)
Member
**
Offline Offline

Activity: 65
Merit: 10


View Profile
August 28, 2013, 05:53:05 AM
 #9

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.
Takeshi_Kovacs (OP)
Member
**
Offline Offline

Activity: 65
Merit: 10


View Profile
August 28, 2013, 07:35:49 AM
 #10

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!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!