Bitcoin Forum
November 06, 2024, 02:43:41 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to find out which GPU is which Adapter for Ubuntu 12.04  (Read 1949 times)
eurgbp2011 (OP)
Member
**
Offline Offline

Activity: 101
Merit: 10


View Profile
June 07, 2013, 02:32:06 PM
 #1

          Sensor 0: Temperature - 44.00 C
root@asrockh61del2:~/cgminer# aticonfig --lsa
* 0. 01:00.0 AMD Radeon HD 7900 Series
  1. 02:00.0 AMD Radeon HD 6900 Series
  2. 05:00.0 ATI Radeon HD 5900 Series
  3. 06:00.0 ATI Radeon HD 5900 Series
  4. 08:00.0 AMD Radeon HD 6900 Series
  5. 09:00.0 AMD Radeon HD 6900 Series
  6. 0a:00.0 AMD Radeon HD 6900 Series

13-06-07 15:23:51] 7 GPU devices max detected
root@asrockh61del2:~/cgminer# ^C
root@asrockh61del2:~/cgminer# aticonfig --adapter=all --odgt

Adapter 0 - AMD Radeon HD 7900 Series
            Sensor 0: Temperature - 82.00 C

Adapter 1 - AMD Radeon HD 6900 Series
            Sensor 0: Temperature - 86.50 C

Adapter 2 - ATI Radeon HD 5900 Series
            Sensor 0: Temperature - 88.50 C

Adapter 3 - ATI Radeon HD 5900 Series
            Sensor 0: Temperature - 86.50 C

Adapter 4 - AMD Radeon HD 6900 Series
            Sensor 0: Temperature - 76.50 C

Adapter 5 - AMD Radeon HD 6900 Series
            Sensor 0: Temperature - 67.50 C

Adapter 6 - AMD Radeon HD 6900 Series
            Sensor 0: Temperature - 79.00 C
root@asrockh61del2:~/cgminer#


* - Default adapter
root@asrockh61del2:~/cgminer# ./cgminer -n
 [2013-06-07 15:23:51] CL Platform 0 vendor: Advanced Micro Devices, Inc.
 [2013-06-07 15:23:51] CL Platform 0 name: AMD Accelerated Parallel Processing
 [2013-06-07 15:23:51] CL Platform 0 version: OpenCL 1.2 AMD-APP (1113.2)
 [2013-06-07 15:23:51] Platform 0 devices: 7
 [2013-06-07 15:23:51]  0       Tahiti
 [2013-06-07 15:23:51]  1       Cayman
 [2013-06-07 15:23:51]  2       Cypress
 [2013-06-07 15:23:51]  3       Cypress
 [2013-06-07 15:23:51]  4       Cayman
 [2013-06-07 15:23:51]  5       Cayman
 [2013-06-07 15:23:51]  6       Cayman
 [2013-06-07 15:23:51] GPU 0 AMD Radeon HD 7900 Series  hardware monitoring enabled
 [2013-06-07 15:23:51] GPU 1 AMD Radeon HD 6900 Series hardware monitoring enabled
 [2013-06-07 15:23:51] GPU 2 ATI Radeon HD 5900 Series hardware monitoring enabled
 [2013-06-07 15:23:51] GPU 3 ATI Radeon HD 5900 Series hardware monitoring enabled
 [2013-06-07 15:23:51] GPU 4 AMD Radeon HD 6900 Series hardware monitoring enabled
 [2013-06-07 15:23:51] GPU 5 AMD Radeon HD 6900 Series  hardware monitoring enabled
 [2013-06-07 15:23:51] GPU 6 AMD Radeon HD 6900 Series hardware monitoring enabled
 [2013-06-07 15:23:51] 7 GPU devices max detected


I have got six GPUS, 1 x 7950, 1 x 6950, 1 x 5970 and rest 6970 and those 6970s are having different Mhz as well

I have no clue which is which here and cgminer is producing unexpecteted hashes for each GPU so I cannot figure out on what Device ID is what GPU...

in Windows 7 there is GPU Shark utility and GPU-z so I can see where is what...
what about linux ubuntu 12.04?
milone
Sr. Member
****
Offline Offline

Activity: 434
Merit: 251


CGWatcher & CGRemote


View Profile WWW
June 07, 2013, 06:42:32 PM
 #2

Have you tried using --gpu-reorder to have cgminer sort the GPUs by PCI bus? This may or may not be helpful depending on how the motherboard's buses are numbered... but I think they are supposed to be numbered geographically starting at the CPU and moving away from it. (Please correct me if I'm wrong.)

I don't know a whole lot about Linux, but there are some Linux hardware monitors that may be helpful: http://alternativeto.net/software/gpu-z/?platform=linux

If you get a good hardware monitor and --gpu-reorder alone isn't helpful, you can enable one GPU at a time in cgminer and watch the temperatures and clock speeds in the hardware monitor to determine which GPU is mining. Although this may only be helpful if the hardware monitor provides enough information to identify which physical GPU is which displayed GPU.

As a last resort, you could enable one GPU at a time in cgminer and try to actually watch the fans on the GPUs to see which one is running at 100% (assuming you have cgminer set to control fan speed accordingly). I haven't tried this so I can't say for sure it will be possible, but I'm guessing with six GPUs you don't have them all mounted inside the case so you may be able to see or hear the one running at 100%.

Perhaps using it with the information here: http://superuser.com/questions/117239/how-can-i-get-multiple-video-cards-to-work-on-linux would be helpful? Again, not a Linux user so I may not know what I'm talking about... but since nobody has replied yet I figured I'd try to help.

CGWatcher, a GUI/monitor for CGMiner & BFGMiner: http://www.cgwatcher.com
CGRemote, a remote mining dashboard for all of your miners: http://www.minerremote.com
BTC: 12TAYjmSrdDHLNpmix2MG6y3R868SMM7Fx    LTC: LM6Un6hZvPzLBggJWiAVG6E6w2GfaHukXY
dentldir
Sr. Member
****
Offline Offline

Activity: 333
Merit: 250



View Profile
June 14, 2013, 05:34:13 AM
 #3

If you are open to a brute force solution:

1) Get them hashing.
2) Take all fans to 100%
3) Lightly touch each fan dead center and you will see the RPMs drop for an instant in the mining status.

Alternatively:

1) Get them hashing.
2) Take all the fans as low as you can get them.
3) One at a time, bring fans up to 100% and back down.  Write down which one is in which slot.

Your BIOS may have a PCI slot list that you can use to match up with lspci output and could save you some skin too.

YMMV.  Be safe.






1DentLdiRMv3dpmpmqWsQev8BUaty9vN3v
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!