Realtek rtl8822ce WiFi - No connection after suspend

As the title says, when I wake the laptop from sleep, the wifi is already disconnected and does not show any available connections in the wifi menu. One other user had the same problem and he used to solve it by going to the network manager and by restarting the wifi module but this does not seem to work for me.
I don't even get the options to turn wifi on or off after this until I reboot.
My MAC address randomization is also turned off since people have been commenting on other posts that it can causes issues with wifi connectivity.
I am using the kde dragonised gaming edition of the OS.

You have provided zero information on your hardware in use.

We cannot help you without this info.

Please read the Garuda wiki regarding filing bug reports. Specifically, we need your inxi output.

Generally this problem can be worked around by using an alternate kernel, using a kernel boot parameter, setting a different idle state in your bios, or writing a systemd suspend service.

We couldn't possibly advise you until we know your inxi output.

Welcome to Garuda.

1 Like

I ran the inxi -Fxxxza. Here is the output.

> System:    Kernel: 5.10.6-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 10.2.0 
           parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen root=UUID=7df3f49b-83b2-4ab8-927d-89adbe4c357f rw 
           [email protected] quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0 
           systemd.unified_cgroup_hierarchy=1 loglevel=3 
           Desktop: KDE Plasma 5.20.5 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11 dm: SDDM Distro: Garuda Linux 
Machine:   Type: Laptop System: ASUSTeK product: TUF Gaming FA506IV_FA566IV v: 1.0 serial: <filter> 
           Mobo: ASUSTeK model: FA506IV v: 1.0 serial: <filter> UEFI: American Megatrends v: FA506IV.313 date: 11/16/2020 
Battery:   ID-1: BAT1 charge: 64.4 Wh condition: 77.5/90.2 Wh (86%) volts: 4.9/15.9 model: ASUS A32-K55 type: Li-ion 
           serial: N/A status: Discharging 
CPU:       Info: 8-Core model: AMD Ryzen 7 4800H with Radeon Graphics bits: 64 type: MT MCP arch: Zen 2 family: 17 (23) 
           model-id: 60 (96) stepping: 1 microcode: 8600104 L2 cache: 4 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 92619 
           Speed: 1397 MHz min/max: 1400/2900 MHz boost: disabled Core speeds (MHz): 1: 1397 2: 1397 3: 1398 4: 1397 5: 1397 
           6: 1397 7: 1397 8: 1397 9: 1397 10: 1397 11: 1397 12: 1397 13: 1397 14: 1397 15: 1397 16: 1397 
           Vulnerabilities: Type: itlb_multihit status: Not affected 
           Type: l1tf status: Not affected 
           Type: mds status: Not affected 
           Type: meltdown status: Not affected 
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, IBRS_FW, STIBP: conditional, RSB filling 
           Type: srbds status: Not affected 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: NVIDIA TU106M [GeForce RTX 2060 Mobile] vendor: ASUSTeK driver: nvidia v: 460.32.03 
           alternate: nouveau,nvidia_drm bus ID: 01:00.0 chip ID: 10de:1f15 
           Device-2: Advanced Micro Devices [AMD/ATI] Renoir vendor: ASUSTeK driver: amdgpu v: kernel bus ID: 05:00.0 
           chip ID: 1002:1636 
           Device-3: IMC Networks USB2.0 HD UVC WebCam type: USB driver: uvcvideo bus ID: 3-4:2 chip ID: 13d3:56a2 
           serial: <filter> 
           Display: x11 server: X.Org 1.20.10 compositor: kwin_x11 driver: modesetting,nvidia 
           alternate: ati,fbdev,nouveau,nv,vesa display ID: :0 screens: 1 
           Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") s-diag: 582mm (22.9") 
           Monitor-1: eDP-1 res: 1920x1080 hz: 144 dpi: 142 size: 344x193mm (13.5x7.6") diag: 394mm (15.5") 
           OpenGL: renderer: AMD RENOIR (DRM 3.40.0 5.10.6-zen1-1-zen LLVM 11.0.0) v: 4.6 Mesa 20.3.2 direct render: Yes 
Audio:     Device-1: Advanced Micro Devices [AMD/ATI] vendor: ASUSTeK driver: snd_hda_intel v: kernel bus ID: 05:00.1 
           chip ID: 1002:1637 
           Device-2: Advanced Micro Devices [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor driver: N/A 
           alternate: snd_pci_acp3x, snd_rn_pci_acp3x bus ID: 05:00.5 chip ID: 1022:15e2 
           Device-3: Advanced Micro Devices [AMD] Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel 
           bus ID: 05:00.6 chip ID: 1022:15e3 
           Sound Server: ALSA v: k5.10.6-zen1-1-zen 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASUSTeK driver: r8169 v: kernel port: e000 
           bus ID: 02:00.0 chip ID: 10ec:8168 
           IF: enp2s0 state: down mac: <filter> 
           Device-2: Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter vendor: Lite-On driver: rtw_8822ce v: N/A 
           modules: rtw88_8822ce port: d000 bus ID: 03:00.0 chip ID: 10ec:c822 
           IF: wlp3s0 state: up mac: <filter> 
Drives:    Local Storage: total: 953.87 GiB used: 192.31 GiB (20.2%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital model: PC SN530 SDBPNPZ-1T00-1002 size: 953.87 GiB 
           block size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 serial: <filter> rev: 21106000 temp: 37.9 C 
Partition: ID-1: / raw size: 100.59 GiB size: 100.59 GiB (100.00%) used: 22.88 GiB (22.8%) fs: btrfs dev: /dev/nvme0n1p6 
           maj-min: 259:6 
           ID-2: /boot/efi raw size: 260 MiB size: 256 MiB (98.46%) used: 32.4 MiB (12.6%) fs: vfat dev: /dev/nvme0n1p1 
           maj-min: 259:1 
           ID-3: /home raw size: 100.59 GiB size: 100.59 GiB (100.00%) used: 22.88 GiB (22.8%) fs: btrfs dev: /dev/nvme0n1p6 
           maj-min: 259:6 
           ID-4: /var/log raw size: 100.59 GiB size: 100.59 GiB (100.00%) used: 22.88 GiB (22.8%) fs: btrfs 
           dev: /dev/nvme0n1p6 maj-min: 259:6 
           ID-5: /var/tmp raw size: 100.59 GiB size: 100.59 GiB (100.00%) used: 22.88 GiB (22.8%) fs: btrfs 
           dev: /dev/nvme0n1p6 maj-min: 259:6 
Swap:      Kernel: swappiness: 10 (default 60) cache pressure: 75 (default 100) 
           ID-1: swap-1 type: zram size: 967.6 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram0 
           ID-2: swap-2 type: zram size: 967.6 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram1 
           ID-3: swap-3 type: zram size: 967.6 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram2 
           ID-4: swap-4 type: zram size: 967.6 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram3 
           ID-5: swap-5 type: zram size: 967.6 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram4 
           ID-6: swap-6 type: zram size: 967.6 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram5 
           ID-7: swap-7 type: zram size: 967.6 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram6 
           ID-8: swap-8 type: zram size: 967.6 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram7 
           ID-9: swap-9 type: zram size: 967.6 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram8 
           ID-10: swap-10 type: zram size: 967.6 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram9 
           ID-11: swap-11 type: zram size: 967.6 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram10 
           ID-12: swap-12 type: zram size: 967.6 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram11 
           ID-13: swap-13 type: zram size: 967.6 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram12 
           ID-14: swap-14 type: zram size: 967.6 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram13 
           ID-15: swap-15 type: zram size: 967.6 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram14 
Sensors:   System Temperatures: cpu: 40.4 C mobo: N/A gpu: amdgpu temp: 39.0 C 
           Fan Speeds (RPM): cpu: 0 
Info:      Processes: 367 Uptime: 10m wakeups: 1 Memory: 15.12 GiB used: 2.99 GiB (19.8%) Init: systemd v: 247 Compilers: 
           gcc: 10.2.0 Packages: pacman: 1622 lib: 515 flatpak: 0 Shell: fish v: 3.1.2 running in: konsole inxi: 3.2.01

As you appear to have a very recent bios date I would assume your hardware is very new. I would suggest installing the linux-mainline kernel first to see if the newer kernel revisions help you.

2 Likes

Thanks for posting your inxi output.

If testing a few different kernels is no improvement I would suggest testing different idle states in your bios.

If you want a proper solution, such as an improved kernel boot parameter to address your suspend issue, then I'd suggest you search your laptop model and mobo number with the additional terms grub kernel boot parameter. This may turn up some promising leads. The Archwiki often contains information on specific laptop model issues, so be sure to also search the Arch Wiki for your laptops model number.

If none of the above helps, I'll help you write a service that may correct your issue if you're lucky.

4 Likes

after wake up is your wifi hardware active or not ???????

How about the output of nmcli dev wifi after resumed? If is empty, I'm afraid it's the driver issue or NetworkManager issue, and you should find some special error logs in journalctl -kb

2 Likes

Thank you. It was a kernel issue and updating to the mainline kernel, it has been sorted out.

2 Likes

It was active. It was a kernel issue and upgrading to the mainline kernel sorted it out. Thank you for the quick assistance!

3 Likes

If you had searched your adapter model on the forum more thoroughly you you would have found the service I'd already written to correct the same issue for your adapter with another user not that long ago.

Here is the post:

That service should work for you after you install the correct proprietary driver and then rmmod and modprobe rtw88_8822ce.

Test the following driver package if you have not already:

rtw88-dkms-git

There has been a lot of kernel problems recently with this driver, both on wifi and bluetooth.

Edit:

Sorry, just saw your posts that you'd solved this with my linux-mainline recommendation. You may want to install the driver I suggested, or simply leave as is. I don't think this will be the end of your driver problems though, because this driver is not exactly stable yet.

Glad that fixed things up for you, and welcome to Garuda.

PS.

I edited your inxi output for proper formatting. In the future please put three of these symbols ~~~ before and after your terminal outputs for proper code formatting on the forum:

~~~
paste your code here
~~~
4 Likes