Bug 2221166 - AMD Radeon 6800 seemingly running in pci-e gen4 x1 not pci-e gen4 x16
Summary: AMD Radeon 6800 seemingly running in pci-e gen4 x1 not pci-e gen4 x16
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 38
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-07 10:15 UTC by Stuart
Modified: 2024-05-28 13:24 UTC (History)
16 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-05-28 13:24:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Stuart 2023-07-07 10:15:02 UTC
I run windows as a VM and pass my GPU though, the pass through bit is working, the performance however is not what I was expecting, in fact its crap, I mean no better than GTX1070. The fps is all over the place there are very large lags spikes even in older games like subnautica which shouldn’t tax a RX6800 even at 1440p. The system shock remake with vsync off can’t manage more than 60fps at any detail level and the gpu barely pulls more than 75watts. Running furmark it’ll happily pull more than 200watts so I know its not power delivery. I also know its not poor disk performance. In the Radeon windows drivers the card is reported to be running at PCI-E Gen 4 x1 rather than x16, now I know nvidia cards report lower pci-e gen usage when idle so I'm going to assume AMD's do too, however when applying a load like a game you'd expect it to be running at gen 4 x16, 

kernel: 6.3.11-200.fc38.x86_64

I should note everything is set correctly in the bios too, no bifurcation of the x16 slot

I also have a Radeon WX2100 is running as pci-e gen 3 x1 has the amdgpu driver accidentally configured my RX6800 to use a single lane or am I barking mad? The RX6800 is using vfio-pci as its kernel driver. I know the drivers in windows are able to read the PCI-E widths and speeds, as my old 1070 would display as PCi-E 3.0 x16.

I'm unable to know whether it worked in earlier versions of the kernel as this is a new piece of hardware. Is there anyway to verify which pci-e mode the card is actually running in rather than just its capability?

System Specs:

Ryzen 5900X
32GB ECC RAM
Gigabyte Aorus X570 Pro
Radeon RX6800 [Guest Passthrough GPU] (in main PCI-E x16, PCI-E slot 1)
Radeon WX2100 [Host GPU] (in PCI-E x1 PCI-E slot 3) This card is set as the first display in the bios so it displays post
Random PCI-E Usb card (Guest Passthrough)
Adata SX8200 ssd in the main m.2 slot.

Comment 1 Aoife Moloney 2024-05-28 13:24:02 UTC
Fedora Linux 38 entered end-of-life (EOL) status on 2024-05-21.

Fedora Linux 38 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.