I was trying to figure out why one of my eGPUs worked with my Framework 13 Intel i7-1370p but doesn’t work with my new Framework 13 AMD 7840U, and noticed that I’m only getting an x1 link on AMD while I’m getting and x4 link on Intel. This is what I’m seeing in dmesg:
[ 134.193344] pci 0000:62:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:04.1 (capable of 31.504 Gb/s with 8.0 GT/s PCIe x4 link)
lspci for the thunderbolt tunnel also shows an x1 link:
Are the USB ports on the AMD Framework 13’s only 1-lane ports instead of 4 like on the Intels? If they are in fact 4-lane, is there some trick to make them run at full speed?
Note that this happens with a few Thunderbolt devices I have, not just with an eGPU.
Edit: I’m running an updated Arch install with the latest kernel:
Linux grazier 6.6.1-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 08 Nov 2023 16:05:38 +0000 x86_64 GNU/Linux
I guess I should have mentioned, the eGPU that “doesn’t work” does connect and shows up in lspci, it’s just the amdgpu driver that gives an error. I have two though, one works and one doesn’t.
I have a RX7800 in an Akitio Node Titan, which is the one that “doesn’t work”, and an RX6800 in a Razer Core X, which does, both however report x1 at 2.5GT/s; I thought maybe the newer card doesn’t like running with only that much bandwidth so it might be the problem. It’s not important enough for me to start swapping enclosures and whatnot to try and get it working, so I’ll just wait for this fix to go through which hopefully fixes it.
Thanks, I saw that in the thread I had posted. It’s not important enough right now for me to run a patched kernel so I’m just waiting for it to (hopefully) show up in kernel 6.7.
Might not be relevant to your problem, but you might give this solution a shot in order to force amdgpu driver to use x3 instead of x1 speeds. I had a similar issue but on 12th gen Intel and this fixed it.
I can get pretty much full bandwidth on a usb4 ssd so I suppose it probably is. Th reporting as 1 lane thing was still there last time I checked but it doesn’t actually effect performance.