-
Notifications
You must be signed in to change notification settings - Fork 194
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
PCIe Bus Errors with Realtek 8822BE when ASPM Enabled #296
Comments
Did you use the correct module name? It's rtw88_pci for the built-in driver, rtw_pci for this repository. |
It did do a full shutdown recently for a firmware update on my system after installing this driver. I'm pretty sure that I tried adding disable_aspm before this but I'm not 100% certain of the sequence of events now. I am definitely using the correct driver.
I can't shutdown right at the moment, but I will try removing |
I can now 100% confirm that adding the option I performed the following test :
After performing these steps, |
I have high chance to be wrong but. " internally disconnects the battery until the next time the charger is connected." Will this also clear the CMOS when the cell-battery is getting old resetting the BIOS back to default settings? Just curious, I might not be correct from first place. |
It's UEFI, not BIOS. The settings are stored in NVRAM and are not erased when power is lost. |
Okay now I understand. I am old man sorry, still stop at the 90s. |
Description of the issue:
I am experiencing PCIe Bus Errors with a Realtek 8822BE Wi-Fi card on my system when ASPM (Active State Power Management) is enabled. Disabling ASPM globally resolves the issue, but
lspci
still reports ASPM as enabled for the device, which seems inconsistent.Hardware and system configuration:
6.12.10
(Arch Linux)10ec:b822
Steps to reproduce the issue:
rtw88
driver or thertw_8822be
driver from this repo.dmesg
logs for PCIe Bus Errors.Observed behavior:
The following errors are observed repeatedly in the kernel log:
Disabling ASPM globally via kernel parameter (
pcie_aspm=off
) prevents these errors from appearing, but runninglspci -vvv -s 05:00.0
still reports :LnkCtl: ASPM L0s L1 Enabled
. This suggests that ASPM may still be enabled for the device, or thelspci
output is inaccurate.Driver options tested:
I tried setting the
disable_aspm
option in thertw_pci
driver, but this did not disable ASPM for the device. The errors persisted.Expected behavior:
When ASPM is disabled via driver options or globally (
pcie_aspm=off
),lspci
should not report ASPM as enabled for the device. Additionally, there should be no PCIe Bus Errors related to the device.Additional notes:
This issue is critical as it causes frequent, brief disconnects that interrupt workflow and disabling ASPM globally is not a proper solution for a laptop. I would appreciate guidance or a fix for properly disabling ASPM for the Realtek 8822BE device.
Thank you for your time and effort!
The text was updated successfully, but these errors were encountered: