1. Summary of the Problem
The rtw89_8852be wireless adapter becomes unresponsive after a period of normal use (typically 10-30 minutes). The Wi-Fi connection drops completely and cannot be recovered without a full system reboot.
The failure is consistently triggered by an increase in system load, coinciding with the activation of the laptop's cooling fans. This strongly suggests a bug related to power management.
2. Hardware & Software Information
-
Laptop Model: HP Laptop 15-fc0xxx / 8B30 (from DMI)
-
CPU: AMD Ryzen 7 7730U with Radeon Graphics
-
Wireless Card: Realtek RTL8852BE
lspci -knn | grep -iA3 net output:
01:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8852BE PCIe 802.11ax Wireless Network Controller [10ec:b852]
DeviceName: Realtek Wireless LAN + BT
Subsystem: Hewlett-Packard Company Device [103c:88e3]
Kernel driver in use: rtw89_8852be
-
Distribution: Arch Linux
-
Kernel Version:
Linux forge 6.15.7-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 17 Jul 2025 21:05:29 +0000 x86_64 GNU/Linux
-
Firmware Package: linux-firmware (up-to-date as of 2025-07-08)
3. Steps to Reproduce
- Boot the system and connect to a Wi-Fi network.
- Use the system normally for web browsing, etc.
- After a while (I guess when starting a CPU-consuming task but not really sure)
- Within moments of the fans spinning up, the Wi-Fi connection drops.
- Checking
dmesg reveals the kernel log is being flooded with the errors detailed below.
4. Kernel Log Evidence
The kernel log shows the device repeatedly failing to exit a low-power state. The following messages appear in a tight loop, completely spamming the log until the system is rebooted:
rtw89_8852be 0000:01:00.0: failed to pre-release fwcmd
rtw89_8852be 0000:01:00.0: firmware failed to ack for leaving ps mode
rtw89_8852be 0000:01:00.0: rtw89: failed to leave lps state
rtw89_8852be 0000:01:00.0: write rf busy swsi
Additionally, I've observed related IOMMU page fault errors from the device at other times, which may point to general instability:
rtw89_8852be 0000:01:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000b address=0x0 flags=0x0000]
5. Code-level Analysis
Based on the error messages, I've examined the source code in drivers/net/wireless/realtek/rtw89/ps.c.
The failure appears to originate in the rtw89_fw_leave_lps_check() function. This function is called by __rtw89_leave_lps() immediately after sending the RTW89_MAC_AX_PS_MODE_ACTIVE command to the firmware via rtw89_fw_h2c_lps_parm().
The read_poll_timeout_atomic call within rtw89_fw_leave_lps_check() is timing out after 50ms while waiting for the hardware status register (R_AX_PWR_STATUS) to be updated. This strongly suggests that the firmware is receiving the H2C command but is failing to process it and acknowledge the transition out of power save mode in time.
This appears to be a firmware bug that is triggered under specific system load and power management conditions.
I am reporting this issue so the root cause in the driver/firmware interaction can be investigated and fixed.
1. Summary of the Problem
The
rtw89_8852bewireless adapter becomes unresponsive after a period of normal use (typically 10-30 minutes). The Wi-Fi connection drops completely and cannot be recovered without a full system reboot.The failure is consistently triggered by an increase in system load, coinciding with the activation of the laptop's cooling fans. This strongly suggests a bug related to power management.
2. Hardware & Software Information
Laptop Model: HP Laptop 15-fc0xxx / 8B30 (from DMI)
CPU: AMD Ryzen 7 7730U with Radeon Graphics
Wireless Card: Realtek RTL8852BE
lspci -knn | grep -iA3 netoutput:Distribution: Arch Linux
Kernel Version:
uname -aoutput:Firmware Package:
linux-firmware(up-to-date as of2025-07-08)3. Steps to Reproduce
dmesgreveals the kernel log is being flooded with the errors detailed below.4. Kernel Log Evidence
The kernel log shows the device repeatedly failing to exit a low-power state. The following messages appear in a tight loop, completely spamming the log until the system is rebooted:
Additionally, I've observed related IOMMU page fault errors from the device at other times, which may point to general instability:
5. Code-level Analysis
Based on the error messages, I've examined the source code in
drivers/net/wireless/realtek/rtw89/ps.c.The failure appears to originate in the
rtw89_fw_leave_lps_check()function. This function is called by__rtw89_leave_lps()immediately after sending theRTW89_MAC_AX_PS_MODE_ACTIVEcommand to the firmware viartw89_fw_h2c_lps_parm().The
read_poll_timeout_atomiccall withinrtw89_fw_leave_lps_check()is timing out after 50ms while waiting for the hardware status register (R_AX_PWR_STATUS) to be updated. This strongly suggests that the firmware is receiving the H2C command but is failing to process it and acknowledge the transition out of power save mode in time.This appears to be a firmware bug that is triggered under specific system load and power management conditions.
I am reporting this issue so the root cause in the driver/firmware interaction can be investigated and fixed.