Ricks-Lab / gpu-utils

A set of utilities for monitoring and customizing GPU performance
GNU General Public License v3.0
137 stars 23 forks source link

Provided detail on card indexes #21

Closed csecht closed 5 years ago

csecht commented 5 years ago

On line 217 I added a couple sentences explaining how cards are numbered. At least that's how it works on my system. I thought it worth mentioning because it took me a while to figure out why there was a card0 on one host but not the other.

Ricks-Lab commented 5 years ago

From my experience, I don't think that card 0 is always the one with the monitor attached. You can actually plug the monitor into any card, and the system doesn't alter the card numbering. I have made a few errors by assuming something about card numbering...

csecht commented 5 years ago

Hmmm. On my host with a Pentium G5600 (Intel HD Graphics) and two RX570s, when I boot with the monitor connected to the motherboard DVI-D, the two AMD cards come up as card1 and card2, but when I boot with the monitor connected to the top RX570 DVI-D port, the cards come up as card0 and card1. (It seems that with Ubuntu a second graphics PCIe card is never recognized for video output). On my old host without onboard graphics, the monitor is connected to the top RX460 card, and that lists card0 and card1.

On Apr 22, 2019, at 5:37 PM, Rick notifications@github.com wrote:

From my experience, I don't think that card 0 is always the one with the monitor attached. You can actually plug the monitor into any card, and the system doesn't alter the card numbering. I have made a few errors by assuming something about card numbering...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Ricks-Lab/amdgpu-utils/pull/21#issuecomment-485576314, or mute the thread https://github.com/notifications/unsubscribe-auth/ALMVCQWCVEB7DW5ZZIOXSVTPRY43RANCNFSM4HHSPZPA.

Ricks-Lab commented 5 years ago

I have just confirmed that my system with 3 RX Vega64's enabled on a x399 MB, the card with a monitor plugged into it is identified as Card 2 by amdgpu-utils and device 0 by BOINC. On my systems, BOINC numbering is opposite of what the driver uses. Perhaps this behavior is platform dependent. Since we can not make such a precise statement as in your pull request, I suggest we close without merging it. Let me know of any concerns.

csecht commented 5 years ago

Yes, I agree, close and don’t merge.

On Apr 23, 2019, at 5:44 AM, Rick notifications@github.com wrote:

I have just confirmed that my system with 3 RX Vega64's enabled on a x399 MB, the card with a monitor plugged into it is identified as Card 2 by amdgpu-utils and device 0 by BOINC. On my systems, BOINC numbering is opposite of what the driver uses. Perhaps this behavior is platform dependent. Since we can not make such a precise statement as in your pull request, I suggest we close without merging it. Let me know of any concerns.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Ricks-Lab/amdgpu-utils/pull/21#issuecomment-485751812, or mute the thread https://github.com/notifications/unsubscribe-auth/ALMVCQUTMUKRHQIXD3TCCXTPR3SB3ANCNFSM4HHSPZPA.

Ricks-Lab commented 5 years ago

Agreed to be less specific about card numbering as it appears to be inconsistent across various platforms.