I’ve been struggling with the Mediatek wifi card for at least a month.
On a fresh boot, it takes 1-2 minutes before the card is recognized and I have access to wi-fi.
On reboot or suspend it usually comes up immediately.
On hibernate it sometimes comes up after I put the system into airplane mode, then take it out of airplane mode, but only if bluetooth is turned on. Sometimes it refuses to come up at all.
I’m running Manjaro GNOME (kernel 6.8.5-1), but got fed up enough that I installed a dual-boot with Ubuntu 24.04 (default kernel), which behaves as follows:
Always works immediately on fresh boot or reboot.
Sometimes works after hibernate, sometimes doesn’t.
On Manjaro after fresh boot, I get many copies of the following message in the log until it eventually works:
mt7921e 0000:01:00.0: not ready 1023ms after FLR; waiting
On both Manjaro and Ubuntu, I see many copies of the following when it fails after Hibernation:
mt7921e 0000:01:00.0: Message 00000010 (seq 9) timeout
mt7921e 0000:01:00.0: Failed to get patch semaphore
It would be really nice if my wifi worked consistently. Otherwise makes the laptop difficult to use. I’ve seen posts for this problem under Arch, but not yet seen a consistent solution.
Info:
BIOS 3.05
I’m currently in Manjaro, but I’ll be happy to debug from Ubuntu since it will make y’all happier.
I have similar issues on the latest Opensuse Tumbleweed and the latest bios (on a FW16). It looks like the build time is more recent unless I am reading it wrong:
Yeah that looks newer than what I have on Fedora. Not familiar with Opensuse, can you try downgrading to a previous version and see if issues reproduce?
Also if I’m reading timestamps and interpreting the release tags right from upstream (see my previous post) there may be an update from April 17th that hasn’t “released” yet to distros.
Opensuse is a rolling release distro and this has happened since I got my laptop in February… I have a bash code on my desktop that runs modprobe on the kernel module but its still somewhat annoying.
I don’t recognize any of these issues from my Ubuntu 24.04 AMD 13". Maybe it’s allergic to some WiFi configurations ? I generally have a strong signal - my Pixel phone reports never dropping lower than 50% as I move around the house.
Same behavior at home and at my shop, where my 11gen CoolerMaster works fine. Same router in both places though: ASUS RT-AC86U.
I decided I’ll use Ubuntu for debugging (wifi mostly works properly, except for after hibernating, but hibernating under Ubuntu is flaky anyway, at the moment.) In general, I’d rather get it working under Manjaro, which I prefer for everyday use.
Thanks. But not working for me. I just upgrade to kernel 6.8.8-2, but same behavior with wi-fi. My temporary fix is that I’ve reverted to suspend instead of hibernate. It’s not as efficient, but I don’t have to hassle with the wi-fi, either.
On a positive note, this issue doesn’t impact my opinion of Framework at all–I’m thrilled with my 11th Gen CoolerMaster, and really like my AMD. The Mediatek is putzy with linux, but I’ve been using Linux for decades, and the whole “everything works out of the box” concept is still kind of novel, so I’m rarely surprised when it doesn’t.
Well the proposed fix is for sleep/resume. The driver reload might work with hibernate as well, though that would need a bit different script to be placed in /usr/lib/systemd/systemd-hibernate-resume
I’ve tested against the Nov 2023 and Mar 2024 MediaTek 7922 firmware releases and the behavior is the same as the current release.
I’ve pinned this down to just Manjaro (and possibly OpenSUSE), and only after kernel 6.5. I’ve confirmed the mediatek wifi works properly on Manjaro 6.1, and on every other linux distro I’ve tried.
At this point, I figure it’s something introduced into the Manjaro kernels as of 6.6, and still fails up to 6.10. Just reported it on the Manjaro Forum, so we’ll see if anything turns up.
this doesn’t look like a Manjaro issue, but indeed rather a kernel ( or kernel module) problem, because I also have this issue running NixOS. Currently with kernel 6.9.6 it’s broken, on 6.1 everything was fine.
I opened an issue at the openwrt/mt76 repo if anyone wants to +1 this:
That’s sort of a relief, so thank you. I finally jumped from 6.1 to 6.10 and am just putting up with the problem. Suspending, rather than hibernating, etc. Not that convenient, but tolerable.