-
Notifications
You must be signed in to change notification settings - Fork 288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong PCIe generation and lane width for some amdgpus #138
Comments
I am genuinely confused to what the kernel/driver is reporting through sysfs. I'll investigate and try to come up with a fix. |
Could you please verify that the patch 28fdcd1, merged in the master branch, fixed this issue? |
Thanks for the quick patch. The PCIe generation is now correct for the three cards I tested but the link width is still wrong for one card connected as PCIe GEN 3@1x but shows as PCIe GEN 3@16x. But I suspect this could be a driver issue as the cat device/pp_dpm_pcie
0: 2.5GT/s, x8
1: 8.0GT/s, x16 * Where as Subsystem: Dell Ellesmere [Radeon Pro WX 5100]
Capabilities: [58] Express (v2) Legacy Endpoint, MSI 00
LnkCap: Port #0, Speed 8GT/s, Width x16, ASPM L1, Exit Latency L1 <1us
ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp+
LnkSta: Speed 8GT/s (ok), Width x1 (downgraded)
TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt- It seems the link capabilities are reported for this card in |
Nice. Either way the info in pp_dpm_pcie seems more trustworthy than the one reported by current_link_speed. |
Could be my own specific issue but posting here: the kernel I have (xanmod) does not load amdgpu fw by itself, after picking up the correct firmware |
My AMD Radeon Pro WX 5100 Graphics card reports PCIe GEN 6@1x which is not correct as the card only supports PCIe GEN 3.
I just quickly checked. The card reports
linkSpeed=8000
andlaneWidth=1
which results in alaneSpeed
of 8000 resulting inpcieGen
to be set to 6.In the hwmon file system I checked and the card reports correctly as 8.0 GT/s PCIe which is the correct speed for PCIe Gen 3@1x.
In another machine an amdgpu reports as PCIe GEN 3@16x but is actually PCIe GEN 3@1x and yet on another machine an amdgpu reported as PCIe GEN 3@16x is actually correct.
Maybe there is something off with the
pcieGen
andlaneWidth
detection?The text was updated successfully, but these errors were encountered: