I recently purchased 2 GPUs (R9700) to install into my system.
Somehow when installing them, I had problems with getting both of them detected in the system, but after checking a bunch of things, reseating them seemed to resolve it and I moved on.
Some days later though, I noticed that the second card only ran at PCIe gen5 4x.
I was unsure if it was a GPU issue, so I swapped them and the result was the same. Suspecting there is a chance it could be an overall CPU connectivity issue I tried running with only one GPU, and it ran x16 on the top slot, but still only 4x in the bottom slot.
So it seems like it might be a motherboard connectivity issue? Looking at the lspci, it seemed like the hardware was offered 8 lanes so it shouldnt be a configuration problem.
I tried reseating and even lightly cleaning the slot with a brush, but to no avail.
I do have a second SSD installed, but it is in one of the 2 lower chipset slots, so it shouldnt steal any lanes.
Is it surely a hardware issue? Going for a replacement would be a pain… My bios is 1804 version. How impactful would 4x be vs 8x for such a GPU in various workloads?
If you have some ideas on what I could further check or some ways to debug, I would appreciate it.
I assume you’re OK with “When you use both PCIEX16(G5)_1 and PCIEX16(G5)_2, they will run at x8 each.” I don’t think that you’d be constrained by PCIe 5.0 x8 (~32GB/s) vs x16 for a 32GB accelerator – other bottlenecks will slow you down sooner.
The only combination of options that makes sense is that you’ve not put the NVMe into a chipset slot but into (CPU-attached) M2_2 and cut the bandwidth to PCIEX(G5)_2 to x4 lanes.
Definitely check the PCIe slot configuration in the BIOS. The board may default to x8 x4 x4 unless you explicitly disable the second CPU connected M.2 port.
Maybe I should have been clearer on the points I have checked:
Here is the connection graph (lspci -tv) to show how everything is laid out. You can see the Samsung is on the CPU lanes (01.2) and the Crucial is way down on the chipset (02.1), so nothing should be stealing lanes from that second GPU (01.3):
[kuba@kuba-pc ~]$ lspci -tv
-[0000:00]-+-00.0 Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Root Complex
+-00.2 Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge IOMMU
+-01.0 Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Dummy Host Bridge
+-01.1-[01-03]----00.0-[02-03]----00.0-[03]--+-00.0 Advanced Micro Devices, Inc. [AMD/ATI] Navi 48 [Radeon AI PRO R9700]
| \-00.1 Advanced Micro Devices, Inc. [AMD/ATI] Navi 48 HDMI/DP Audio Controller
+-01.2-[04]----00.0 Samsung Electronics Co Ltd NVMe SSD 9100 PRO [PM9E1]
+-01.3-[05-07]----00.0-[06-07]----00.0-[07]--+-00.0 Advanced Micro Devices, Inc. [AMD/ATI] Navi 48 [Radeon AI PRO R9700]
| \-00.1 Advanced Micro Devices, Inc. [AMD/ATI] Navi 48 HDMI/DP Audio Controller
+-02.0 Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Dummy Host Bridge
+-02.1-[08-15]----00.0-[09-15]--+-00.0-[0a]----00.0 Micron/Crucial Technology P1 NVMe PCIe SSD[Frampton2]
| +-08.0-[0b-13]----00.0-[0c-13]--+-00.0-[0d]----00.0 Intel Corporation Wi-Fi 6E(802.11ax)
[... truncated networking/usb for brevity ...]
Here is what I found checking the CPU root ports directly. For the bottom slot, the bios is actually trying to give it 8 lanes (LnkCap), but the physical connection is only negotiating 4x (LnkSta):
=== CPU Root Port for GPU 2 (00:01.3) ===
LnkCap: Port #1, Speed 32GT/s, Width x8, ASPM L1, Exit Latency L1 <64us
LnkSta: Speed 32GT/s, Width x4
Which made me think that it probably is not a mobo config thing, but I will continue checking.
Right now the bifurcation is set to auto, and according to the description it should have provided the card with the 8 lanes.