Can someone give me a terminal command line for pcie that shows mutiple gpu connections, i.e. 16x/8x, etc

Can someone give me a terminal command line for pcie that shows mutiple gpu connections, i.e. 16x/8x, etc.?

I want to know if I place 3 GPUs in my MB, how they are connected, i.e. how many PCIe lanes total are being used?

This is a discussion of commands, tools, and such, to get gpu info:
https://askubuntu.com/questions/5417/how-to-get-the-gpu-info

For example:

sudo lshw -numeric -C display

among -many- others. The detail you are after looks very detailed, though, and you might need the engineer’s tools!

1 Like

Depending on which Distro you are running you can use the command inxi -G also. in Ubuntu you would have to install inxi first sudo apt install inxi Most other distros include it it’s a very powerful tool for figuring out systems. see here.

1 Like

Thanks kgwoo, I’ll give it a try. BYW, I am running Ubuntu 20.04

Thanks kc1di, I will definitely give it a try. And yes, I am running Ubuntu 20.04, so I will install first.

Kim, your suggestion gives me the most information, but not quite what I’m looking for. Thanks anyway.

Dave, your suggestion does give me much information, but not quite what I’m looking for. Thanks anyway.