Skip to main content

How to fix RTL8821CE wifi issues on linux (until kernel 6.5)

Guide Linux

RealTek RTL8821CE is a wifi and bluetooth combo chip with 5G bandwith support but its poorly supported due to how the current builtin kernel driver for it (as of now) is buggy and cannot hold a connection for long.

To fix this you need to install rtw88 by lwfinger on github to your fav linux distro.

And blacklist any conflicting drivers installed if needed.

Fixing recovery problems after sleep or hiberation you may need to do the following:

sudo cp suspend_rtw8821ce /usr/lib/systemd/system-sleep/.

And to know how to disable and enable a kernel model you may to do the following:

sudo modprobe -r rtw_8821ce         #This unloads the module
sudo modprobe -r rtw_core

Due to some pecularities in the modprobe utility, two steps are required.

sudo modprobe rtw_8821ce            #This loads the module

Only a single modprobe call is required to load.

And if your system needs a configuration option(s) then do the following:

sudo nano /etc/modprobe.d/rtl8821ce.conf

Then enter and add following contents in said file into your preferred text editor:

options rtw_pci disable_aspm=1
blacklist rtw88_8821ce

Then reboot and add the pci=noaer kernel parameter to your bootloader.

make sure to backup your bootloader file if it does not fix the issue for u.