Wifi networking only works for a few minutes before stalling on GPD Win 2
Closed this issue · 3 comments
Batocera build version
40 2024/08/01 01:28
Your architecture
GPD Win 2
Your Graphic Processor Unit(s) (GPU)
Integrated Intel(R) Core(TM) m3-8100Y CPU @ 1.10GHz
Issue description
The included /lib/firmware/iwlwifi-7265D-29.ucode in Batocera seems to be very unstable on the GPD Win 2 handheld, wifi drops out permanently after a few minutes and only comes back after a reboot.
Detailed reproduction steps
Fresh install of batocera-x86_64-40-20240801.img.gz on a GPD Win 2. I'm not sure if all of them have the exact same wifi chip but this one has 01:00.0 Network controller: Intel Corporation Wireless 7265 (rev 59)
Details of any attempts to fix this yourself
After troubleshooting various options to the iwlwifi module I stumbled over this discussion describing similar symptoms. https://bbs.archlinux.org/viewtopic.php?id=265762
I tried downloading iwlwifi-7265D-22.ucode from the linux-firmware package and replacing the existing -29 version in /lib/firmware, then did batocera-save-overlay and that seems to have fixed it and made wifi reliable. I just wanted to share in case other GPD Win 2 users are facing the same issue. Maybe both versions should be bundled and batocera have some method of selecting the active version?
Details of any modifications you have made to Batocera.
Replaced firmware with iwlwifi-7265D-22.ucode to work around the issue. dmesg now displays:
[ 2.817196] iwlwifi 0000:01:00.0: loaded firmware version 22.391740.0 7265D-22.ucode op_mode iwlmvm
[ 2.872342] iwlwifi 0000:01:00.0: Detected Intel(R) Dual Band Wireless AC 7265, REV=0x210
Logs and data
No response
It looks like the older firmware is not entirely stable either, but -22 at least works for a lot longer at a time than -29
dmesg fills up with messages that sound like a unreliable pcie link to the wifi controller...
[ 520.122586] pcieport 0000:00:1d.0: AER: Multiple Correctable error message received from 0000:01:00.0
[ 520.122617] iwlwifi 0000:01:00.0: PCIe Bus Error: severity=Correctable, type=Physical Layer, (Receiver ID)
[ 520.122619] iwlwifi 0000:01:00.0: device [8086:095a] error status/mask=00000001/00002000
[ 520.122621] iwlwifi 0000:01:00.0: [ 0] RxErr (First)
I never noticed wifi dropouts on windows but supposedly some batches of the GPD Win 2 have wifi hardware issues, maybe this device is affected by that.
try v41 beta, it has updated firmware for iwlwifi devices.
Closing this, after further experimentation with v41 beta that made it worse at first, I think the problem is some weird incompatibility with my modern Unifi 7 wifi access point running in mixed 2.4/5/6ghz mode. Setting up a dedicated 2.4ghz IoT compatibility mode network made it reliable. If anyone else runs into the same problem I think that should be a reasonable workaround.