Realtek 8822ce randomly not available

I’m running OpenSUSE Tumbleweed on an ASUS TUF 15 with a Realtek RTL8822CE 802.11ac PCIe wifi card. Ever since I ran Ubuntu I’ve been having issues of random disconnectivity from internet/no wifi networks showing/wifi becoming unavailable altogether. My latest is, for example, the following:

NetworkManager not working

I’ve scoured the internet for some solutions to this - some Garuda/Arch forum implementations I’ve done, which have discussed issues relating to power saving:

  • add /etc/modprobe.d/rtw88_core.conf to fix wifi:
    options rtw88_core disable_lps_deep=y
    options rtw88_pci disable_msi=y disable_aspm=y
    use dracut -f --regenerate-all to reload all drivers
  • add /etc/modprobe.d/rtl2288ce.conf:
    options rtw_pci disable_aspm=1
    blacklist rtw88_8821ce
  • add /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf (later removed)
  • add pcie_aspm.policy=performance to /etc/default/grub:GRUB_CMDLINE_LINUX_DEFAULT

Even with all of these, I’m still experincing outages, as demonstrated by the above screenshot. The output of my dmesg:

yehuda@localhost:~> sudo dmesg | grep rtw_8822ce
[    7.796089] rtw_8822ce 0000:03:00.0: enabling device (0000 -> 0003)
[    7.809932] rtw_8822ce 0000:03:00.0: WOW Firmware version 9.9.4, H2C version 15
[    7.816692] rtw_8822ce 0000:03:00.0: Firmware version 9.9.15, H2C version 15
[    7.838915] rtw_8822ce 0000:03:00.0 wlp3s0: renamed from wlan0
[  203.030455] rtw_8822ce 0000:03:00.0: failed to dequeue 218 skb TX queue 1, BD=0x000e0033, rp 49 -> 14
[  203.033682] rtw_8822ce 0000:03:00.0: failed to dequeue 36 skb TX queue 1, BD=0x00330033, rp 14 -> 51
[  205.540328] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  205.643859] rtw_8822ce 0000:03:00.0: firmware failed to leave lps state
[  205.678186] rtw_8822ce 0000:03:00.0: failed to dequeue 186 skb TX queue 1, BD=0x0008004d, rp 76 -> 8
[  205.678459] rtw_8822ce 0000:03:00.0: failed to dequeue 50 skb TX queue 1, BD=0x003b004d, rp 8 -> 59
[  205.681680] rtw_8822ce 0000:03:00.0: failed to dequeue 17 skb TX queue 1, BD=0x004d004d, rp 59 -> 77
[  207.560574] rtw_8822ce 0000:03:00.0: firmware failed to leave lps state
[  207.563900] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  209.693863] rtw_8822ce 0000:03:00.0: firmware failed to leave lps state
[  209.697231] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  211.513411] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  211.613871] rtw_8822ce 0000:03:00.0: firmware failed to leave lps state
[  211.616936] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  212.220709] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  212.223796] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  212.327426] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  212.330507] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  213.003792] rtw_8822ce 0000:03:00.0: failed to dequeue 109 skb TX queue 1, BD=0x001200a4, rp 146 -> 18
[  213.006971] rtw_8822ce 0000:03:00.0: failed to dequeue 22 skb TX queue 1, BD=0x003200ad, rp 18 -> 50
[  213.433649] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  213.537219] rtw_8822ce 0000:03:00.0: firmware failed to leave lps state
[  213.540287] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  213.543371] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  213.546451] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  213.549509] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  213.552643] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  213.555720] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  215.453870] rtw_8822ce 0000:03:00.0: firmware failed to leave lps state
[  217.373922] rtw_8822ce 0000:03:00.0: firmware failed to leave lps state
[  219.507181] rtw_8822ce 0000:03:00.0: firmware failed to leave lps state
[  219.510511] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  221.540267] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  221.643853] rtw_8822ce 0000:03:00.0: firmware failed to leave lps state
[  221.646923] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  221.650006] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  221.653084] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  221.656143] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  221.659277] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  221.662356] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  223.460262] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  223.563842] rtw_8822ce 0000:03:00.0: firmware failed to leave lps state
[  223.566952] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  223.570033] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  223.573109] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  223.576227] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  223.579302] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  225.380067] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  225.480520] rtw_8822ce 0000:03:00.0: firmware failed to leave lps state
[  225.483589] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  225.486671] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  225.489751] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  225.492885] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  225.495961] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  227.513384] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  227.613628] rtw_8822ce 0000:03:00.0: firmware failed to leave lps state
[  227.616695] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  227.619777] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  227.622854] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  227.726163] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  227.729246] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  229.433580] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  229.540511] rtw_8822ce 0000:03:00.0: firmware failed to leave lps state
[  229.543582] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  229.546667] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  229.549748] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  229.552811] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  229.555945] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  229.559022] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  231.566942] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  231.670319] rtw_8822ce 0000:03:00.0: firmware failed to leave lps state
[  231.673431] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  231.676525] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  231.679599] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  231.682713] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  231.685787] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  233.486912] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  233.590520] rtw_8822ce 0000:03:00.0: firmware failed to leave lps state
[  233.593587] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  233.596672] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  233.599750] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  233.602881] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  233.605959] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  235.406927] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  235.510327] rtw_8822ce 0000:03:00.0: firmware failed to leave lps state
[  235.513395] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  235.516477] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  235.519555] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  235.522675] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  235.525751] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  237.540033] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  237.640518] rtw_8822ce 0000:03:00.0: firmware failed to leave lps state
[  237.643586] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  237.646669] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  237.649750] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  237.652808] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  237.655937] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  237.659013] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  239.460273] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  239.563632] rtw_8822ce 0000:03:00.0: firmware failed to leave lps state
[  239.566701] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  239.569782] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  239.572857] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  239.676417] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  239.679497] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  241.380278] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  241.483842] rtw_8822ce 0000:03:00.0: firmware failed to leave lps state
[  241.486915] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  241.490003] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  241.493084] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  241.496215] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  241.499292] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  243.513370] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  243.613869] rtw_8822ce 0000:03:00.0: firmware failed to leave lps state
[  243.616938] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  243.620023] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  243.623097] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  243.626215] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  243.629290] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  244.020190] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  244.120538] rtw_8822ce 0000:03:00.0: firmware failed to leave lps state
[  244.123607] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  244.203792] rtw_8822ce 0000:03:00.0: timed out to flush pci tx ring[0]
[  244.203885] rtw_8822ce 0000:03:00.0: timed out to flush pci tx ring[1]
[  244.203966] rtw_8822ce 0000:03:00.0: timed out to flush pci tx ring[2]
[  244.204047] rtw_8822ce 0000:03:00.0: timed out to flush pci tx ring[3]
[  244.204128] rtw_8822ce 0000:03:00.0: timed out to flush pci tx ring[5]
[  244.220603] rtw_8822ce 0000:03:00.0: timed out to flush pci tx ring[0]
[  244.220696] rtw_8822ce 0000:03:00.0: timed out to flush pci tx ring[1]
[  244.220778] rtw_8822ce 0000:03:00.0: timed out to flush pci tx ring[2]
[  244.220859] rtw_8822ce 0000:03:00.0: timed out to flush pci tx ring[3]
[  244.220940] rtw_8822ce 0000:03:00.0: timed out to flush pci tx ring[5]
[  244.224023] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  244.227085] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  244.227516] rtw_8822ce 0000:03:00.0: timed out to flush pci tx ring[0]
[  244.227597] rtw_8822ce 0000:03:00.0: timed out to flush pci tx ring[1]
[  244.227679] rtw_8822ce 0000:03:00.0: timed out to flush pci tx ring[2]
[  244.227760] rtw_8822ce 0000:03:00.0: timed out to flush pci tx ring[3]
[  244.227841] rtw_8822ce 0000:03:00.0: timed out to flush pci tx ring[5]
[  246.292426] rtw_8822ce 0000:03:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[  246.292579] rtw_8822ce 0000:03:00.0: timed out to flush pci tx ring[0]
[  246.292664] rtw_8822ce 0000:03:00.0: timed out to flush pci tx ring[1]
[  246.292742] rtw_8822ce 0000:03:00.0: timed out to flush pci tx ring[2]
[  246.292825] rtw_8822ce 0000:03:00.0: timed out to flush pci tx ring[3]
[  246.292905] rtw_8822ce 0000:03:00.0: timed out to flush pci tx ring[5]
[  246.393332] rtw_8822ce 0000:03:00.0: timed out to flush pci tx ring[0]
[  246.393424] rtw_8822ce 0000:03:00.0: timed out to flush pci tx ring[1]
[  246.393506] rtw_8822ce 0000:03:00.0: timed out to flush pci tx ring[2]
[  246.393638] rtw_8822ce 0000:03:00.0: timed out to flush pci tx ring[3]
[  246.393719] rtw_8822ce 0000:03:00.0: timed out to flush pci tx ring[5]
[  248.459710] rtw_8822ce 0000:03:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[  248.459740] rtw_8822ce 0000:03:00.0: mac power on failed
[  248.459747] rtw_8822ce 0000:03:00.0: failed to power on mac
[  248.459754] rtw_8822ce 0000:03:00.0: leave idle state failed
[  248.462811] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  249.066629] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  249.069695] rtw_8822ce 0000:03:00.0: failed to send h2c command
[  249.069845] rtw_8822ce 0000:03:00.0: failed to leave ips state
[  249.069856] rtw_8822ce 0000:03:00.0: failed to leave idle state
[  264.116718] rtw_8822ce 0000:03:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[  266.185086] rtw_8822ce 0000:03:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[  266.185115] rtw_8822ce 0000:03:00.0: mac power on failed
[  266.185124] rtw_8822ce 0000:03:00.0: failed to power on mac
[  268.842171] rtw_8822ce 0000:03:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[  268.842201] rtw_8822ce 0000:03:00.0: mac power on failed
[  268.842210] rtw_8822ce 0000:03:00.0: failed to power on mac
[  270.909738] rtw_8822ce 0000:03:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[  270.909763] rtw_8822ce 0000:03:00.0: mac power on failed
[  270.909767] rtw_8822ce 0000:03:00.0: failed to power on mac
[  370.454334] rtw_8822ce 0000:03:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[  370.454365] rtw_8822ce 0000:03:00.0: mac power on failed
[  370.454372] rtw_8822ce 0000:03:00.0: failed to power on mac
[  372.762154] rtw_8822ce 0000:03:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[  372.762185] rtw_8822ce 0000:03:00.0: mac power on failed
[  372.762192] rtw_8822ce 0000:03:00.0: failed to power on mac
[  374.827824] rtw_8822ce 0000:03:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[  374.827855] rtw_8822ce 0000:03:00.0: mac power on failed
[  374.827863] rtw_8822ce 0000:03:00.0: failed to power on mac
[  376.911000] rtw_8822ce 0000:03:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[  376.911031] rtw_8822ce 0000:03:00.0: mac power on failed
[  376.911039] rtw_8822ce 0000:03:00.0: failed to power on mac
[  378.977718] rtw_8822ce 0000:03:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[  378.977748] rtw_8822ce 0000:03:00.0: mac power on failed
[  378.977755] rtw_8822ce 0000:03:00.0: failed to power on mac
[  391.069315] rtw_8822ce 0000:03:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[  391.069346] rtw_8822ce 0000:03:00.0: mac power on failed
[  391.069354] rtw_8822ce 0000:03:00.0: failed to power on mac
[  393.136498] rtw_8822ce 0000:03:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[  393.136528] rtw_8822ce 0000:03:00.0: mac power on failed
[  393.136535] rtw_8822ce 0000:03:00.0: failed to power on mac
[  405.069385] rtw_8822ce 0000:03:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[  405.069416] rtw_8822ce 0000:03:00.0: mac power on failed
[  405.069423] rtw_8822ce 0000:03:00.0: failed to power on mac
[  407.137043] rtw_8822ce 0000:03:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[  407.137072] rtw_8822ce 0000:03:00.0: mac power on failed
[  407.137079] rtw_8822ce 0000:03:00.0: failed to power on mac
[  419.080385] rtw_8822ce 0000:03:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[  419.080415] rtw_8822ce 0000:03:00.0: mac power on failed
[  419.080422] rtw_8822ce 0000:03:00.0: failed to power on mac
[  421.146753] rtw_8822ce 0000:03:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[  421.146784] rtw_8822ce 0000:03:00.0: mac power on failed
[  421.146792] rtw_8822ce 0000:03:00.0: failed to power on mac
[  433.078563] rtw_8822ce 0000:03:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[  433.078597] rtw_8822ce 0000:03:00.0: mac power on failed
[  433.078606] rtw_8822ce 0000:03:00.0: failed to power on mac
[  435.145072] rtw_8822ce 0000:03:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[  435.145103] rtw_8822ce 0000:03:00.0: mac power on failed
[  435.145111] rtw_8822ce 0000:03:00.0: failed to power on mac
[  447.076291] rtw_8822ce 0000:03:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[  447.076321] rtw_8822ce 0000:03:00.0: mac power on failed
[  447.076329] rtw_8822ce 0000:03:00.0: failed to power on mac
[  449.143107] rtw_8822ce 0000:03:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[  449.143137] rtw_8822ce 0000:03:00.0: mac power on failed
[  449.143144] rtw_8822ce 0000:03:00.0: failed to power on mac

So at this point I’m flummoxed as to how to move forward. Any advice or recommendations?

Replacing the wifi card was my last resort, who knew it was the only solution. I’ve been running with a new Intel card for almost a week and it’s been perfect. Thanks for this.