More
referral
Increase your income with Hive. Invite your friends and earn real cryptocurrency!

GPU vendor/device visible

Hi, do you think it may be possible, without overloading the interface, to add GPU SVendor/SDevice somewhere? Can be useful to identify cards quickly for poor guys like me with mixed cards models. (maybe make info appear when we hover card number in detailled view)

Output we can get:

lspci -vmms 03:00.0

Slot: 03:00.0
Class: VGA compatible controller
Vendor: Advanced Micro Devices, Inc. [AMD/ATI]
Device: Ellesmere [Radeon RX 470/480/570/580]
SVendor: Sapphire Technology Limited
SDevice: Sapphire Radeon RX 580 Pulse 8GB
Rev: e7

That would be a nice feature. Slot number is very important.

If we could also have the option to spins fans to max that would be useful in finding the exact card.

I am currently only using Nvidia GPUs.

This command: lspci -vd 10DE:*
shows all of the Nvidia GPUs with great details:

root@dl580_g7_1:~# lspci -vd 10DE:*
0b:00.0 VGA compatible controller: NVIDIA Corporation GM107 [GeForce GTX 750] (rev a2) (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. GM107 [GeForce GTX 750]
Physical Slot: 9
Flags: bus master, fast devsel, latency 0, IRQ 50
Memory at 52000000 (32-bit, non-prefetchable) [size=16M]
Memory at 90000000 (64-bit, prefetchable) [size=256M]
Memory at 82000000 (64-bit, prefetchable) [size=32M]
I/O ports at 4000 [size=128]
[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Legacy Endpoint, MSI 00
Capabilities: [100] Virtual Channel
Capabilities: [250] Latency Tolerance Reporting
Capabilities: [258] L1 PM Substates
Capabilities: [128] Power Budgeting <?>
Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
Kernel driver in use: nvidia
Kernel modules: nvidiafb, nvidia_drm, nvidia

The script to find the card by spinning them are already there, gpu-find-fans I think is the name. gpu [tab tab] in shell :wink:

Does the script identify which PCIe slot though?

gpu-fans-find

Fri May 4 14:53:00 EDT 2018
================START Search GPU script===========
0 01:00.0 Radeon RX 580 (4096M, xxx-xxx-xxxx, SK Hynix H5GC4H24AJR)
1 03:00.0 Radeon RX 580 (4096M, xxx-xxx-xxxx, SK Hynix H5GC4H24AJR)
2 04:00.0 Radeon RX 570 (8192M, 113-V34122-X3, SK Hynix H5GQ8H24MJR)
3 05:00.0 Radeon RX 570 (4096M, MS-V34113-F4, Samsung K4G41325FE)
4 08:00.0 Radeon RX 570 (8192M, MS-V34113-F4, SK Hynix H5GQ8H24MJR)

Maybe adding a field info where we can keep some notes can be useful? LIke “Card bought on 02/02/18 at BestBuy, receipt #blxblxnxl

gpu-fans-find

================START Search GPU script===========
0 01:00.0 Radeon RX 580 (4096M, xxx-xxx-xxxx, SK Hynix H5GC4H24AJR)
1 03:00.0 Radeon RX 580 (4096M, xxx-xxx-xxxx, SK Hynix H5GC4H24AJR)
2 04:00.0 Radeon RX 570 (8192M, 113-V34122-X3, SK Hynix H5GQ8H24MJR)
3 05:00.0 Radeon RX 570 (4096M, MS-V34113-F4, Samsung K4G41325FE)
4 08:00.0 Radeon RX 570 (8192M, MS-V34113-F4, SK Hynix H5GQ8H24MJR)


0b:00.0 VGA compatible controller: NVIDIA Corporation GM107 [GeForce GTX 750] (rev a2)
Physical Slot: 9

As I stated earlier having the physical slot number in the gpu-fans-find list would be very helpful.

Please add Physical Slot to gpu-fans-find.

I’m notice what “Physical Slot” maybe not avaiable on some old motherboard / old BIOS / old PCI version or bad support

BTW it’s very helpful info.

This is good script, however when it try to spin the fan of my Powercolor’s card… I can’t hear or see differences as the sounds is very smooth even 100% full.

Had to check at home, but I think the easiest way is to stop miner, way a bit for cards to cool down, and run the script by specifying the card #

In case you don;t want to do it with the script, you can do it manually with wolfamdctrl -i CARD --set-fan-speed 0 for all cards but yours. Have mines stopped, because some control your fan speed (and I’m not responsible of what happen if you drop it a zero while mining is running… :))