Realtek RTL8822BE - WIFI unstable, dropping connection



How to get your RTL8822BE Wifi adapter working:



Create a combination rtl8821be driver option/blacklist configuration file with the following command:

sudo touch /etc/modprobe.d/rtl8822be.conf

Open the newly created /etc/modprobe.d/rtl8822be.conf file with your favorite text editor.

Add the following contents to the newly created /etc/modprobe.d/rtl8822be.conf file:

blacklist rtw88_8822be
options rtw_pci disable_aspm=1

Then save the file with your text editor, (using root authorization).



If you are unsure of how to create the configuration file yourself, you can instead generate the required /etc/modprobe.d/rtl8822be.conf file automatically with the following command:

echo -e "blacklist rtw88_8821be \noptions rtw_pci disable_aspm=1" | sudo tee /etc/modprobe.d/rtl8821be.conf


After creating the /etc/modprobe.d/rtl8822be.conf file, issue the following command:

sudo depmod -a && sudo mkinitcpio -P

The above command(s) will take a bit of time to complete, which is normal.

Once the operation has finished running, power off the computer completely, (do not reboot).



Install the rtw88-dkms-git driver from the Chaotic AUR.

If you have already installed the above Chaotic AUR driver (or any other driver version), uninstall that driver before proceeding. Once the driver has been uninstalled, then install the rtw88-dkms-git Chaotic AUR driver with the following command:

sudo  pacman -Syu rtw88-dkms-git

After the installation is complete, again run:

sudo depmod -a && sudo mkinitcpio -P

After the above command has finished running, power off completely. Then remove the computer's power plug and battery, (if possible). Wait for a minute or so, reconnect the power plug, then boot into Garuda.



Once booted into Garuda, your wifi and bluetooth should hopefully be working correctly.



Edited (to be more concise):

Portions regarding the disabling of Bluetooth have been relocated further below.

4 Likes