Bitcoin Forum

Bitcoin => Mining support => Topic started by: ergou on August 24, 2013, 04:12:22 AM



Title: how to define which card is GPU 0, gpu 1, gpu 2 on linux?
Post by: ergou on August 24, 2013, 04:12:22 AM
i have 3 card, but i don't know which card is GPU 0, gpu 1, gpu 2.

how to define which card is  GPU 0, gpu 1, gpu 2.? i am using bamt. (linux)

thanks.


i tried this method.  seems it can not help me.

root@bamt-miner:/opt/miners/cgminer# ./cgminer -n
 [2013-08-24 03:44:08] CL Platform 0 vendor: Advanced Micro Devices, Inc.       
 [2013-08-24 03:44:08] CL Platform 0 name: AMD Accelerated Parallel Processing 
 [2013-08-24 03:44:08] CL Platform 0 version: OpenCL 1.2 AMD-APP (938.2)       
 [2013-08-24 03:44:08] Platform 0 devices: 3
 [2013-08-24 03:44:08]  0       Tahiti
 [2013-08-24 03:44:08]  1       Tahiti
 [2013-08-24 03:44:08]  2       Tahiti
 [2013-08-24 03:44:08] ADL Initialisation Error! Error -1!
 [2013-08-24 03:44:08] 3 GPU devices max detected


Title: Re: how to define which card is GPU 0, gpu 1, gpu 2 on linux?
Post by: crazyates on August 24, 2013, 04:18:23 AM
Run "lspci -tv" to see what cards are installed and recognized by your system. Typically your GPUs are recognized in order of how they are physically installed: your first (usually top) GPU will be #0, your middle one will be #1, and your last (usually bottom) one will be #2.


Title: Re: how to define which card is GPU 0, gpu 1, gpu 2 on linux?
Post by: ergou on August 24, 2013, 04:24:16 AM
Run "lspci -tv" to see what cards are installed and recognized by your system. Typically your GPUs are recognized in order of how they are physically installed: your first (usually top) GPU will be #0, your middle one will be #1, and your last (usually bottom) one will be #2.

it reconized 3 gpu. i need know whch physical card is gpu 0, gpu 1, gpu2.



"Typically your GPUs are recognized in order of how they are physically installed: your first (usually top) GPU will be #0, your middle one will be #1, and your last (usually bottom) one will be #2."
i do not agree with your point. but thanks



any idea?


Title: Re: how to define which card is GPU 0, gpu 1, gpu 2 on linux?
Post by: crazyates on August 24, 2013, 05:39:53 AM
"Typically your GPUs are recognized in order of how they are physically installed: your first (usually top) GPU will be #0, your middle one will be #1, and your last (usually bottom) one will be #2."
i do not agree with your point. but thanks
What do you mean you don't agree with it? You mean you don't believe me? Or you tested it and proved it not to be true?


Title: Re: how to define which card is GPU 0, gpu 1, gpu 2 on linux?
Post by: Buffer Overflow on August 24, 2013, 05:41:41 AM
--gpu-map <arg>     Map OpenCL to ADL device order manually, paired CSV (e.g. 1:0,2:1 maps OpenCL 1 to ADL 0, 2 to 1)


Title: Re: how to define which card is GPU 0, gpu 1, gpu 2 on linux?
Post by: -ck on August 24, 2013, 09:07:14 AM
Mine on one card at a time, disabling the others from the menu while it's running. See which one the fan speeds up on.

There is absolutely no way to tell from the operating system since it's up to the bios to enumerate them and there is no standard by which all manufacturers adhere to.