Decreased Wi-Fi signal, especially 2.4GHz, after updating to 20

Questions about WIFI networks and devices
Forum rules
Before you post please read how to get help
gekid83
Level 1
Level 1
Posts: 11
Joined: Wed Mar 17, 2021 12:41 pm

Decreased Wi-Fi signal, especially 2.4GHz, after updating to 20

Post by gekid83 »

Hello everybody,
after switching to 20 I noticed a decreased wifi signal, especially 2.4GHz. Before that it was fine. I tried with Windows and the wifi works correctly

inxi -Fxz

Code: Select all

[System:
  Kernel: 5.4.0-67-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 
  Desktop: Xfce 4.14.2 Distro: Linux Mint 20.1 Ulyssa 
  base: Ubuntu 20.04 focal 
Machine:
  Type: Laptop System: HP product: HP Pavilion Gaming Laptop 15-dk0xxx 
  v: Type1ProductConfigId serial: <filter> 
  Mobo: HP model: 85FC v: 42.34 serial: <filter> UEFI: Insyde v: F.20 
  date: 11/22/2019 
Battery:
  ID-1: BAT1 charge: 39.5 Wh condition: 39.5/52.5 Wh (75%) 
  model: Hewlett-Packard PABAS0241231 status: Full 
CPU:
  Topology: 6-Core model: Intel Core i7-9750H bits: 64 type: MT MCP 
  arch: Kaby Lake rev: A L2 cache: 12.0 MiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 62399 
  Speed: 800 MHz min/max: 800/4500 MHz Core speeds (MHz): 1: 800 2: 800 
  3: 800 4: 801 5: 800 6: 800 7: 800 8: 801 9: 800 10: 801 11: 800 12: 800 
Graphics:
  Device-1: Intel UHD Graphics 630 vendor: Hewlett-Packard driver: i915 
  v: kernel bus ID: 00:02.0 
  Device-2: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q] 
  vendor: Hewlett-Packard driver: nvidia v: 460.39 bus ID: 01:00.0 
  Display: x11 server: X.Org 1.20.9 driver: modesetting,nvidia 
  unloaded: fbdev,nouveau,vesa resolution: 1920x1080~60Hz, 1600x900~60Hz 
  OpenGL: renderer: GeForce GTX 1650/PCIe/SSE2 v: 4.6.0 NVIDIA 460.39 
  direct render: Yes 
Audio:
  Device-1: Intel Cannon Lake PCH cAVS vendor: Hewlett-Packard 
  driver: snd_hda_intel v: kernel bus ID: 00:1f.3 
  Device-2: NVIDIA vendor: Hewlett-Packard driver: snd_hda_intel v: kernel 
  bus ID: 01:00.1 
  Sound Server: ALSA v: k5.4.0-67-generic 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Hewlett-Packard driver: r8169 v: kernel port: 4000 bus ID: 03:00.0 
  IF: eno1 state: down mac: <filter> 
  Device-2: Realtek RTL8822BE 802.11a/b/g/n/ac WiFi adapter 
  vendor: Hewlett-Packard driver: rtw_pci v: N/A port: 3000 bus ID: 05:00.0 
  IF: wlo1 state: up mac: <filter> 
Drives:
  Local Storage: total: 1.36 TiB used: 313.25 GiB (22.4%) 
  ID-1: /dev/nvme0n1 vendor: Crucial model: CT1000P2SSD8 size: 931.51 GiB 
  ID-2: /dev/sda vendor: Samsung model: SSD 850 EVO 500GB size: 465.76 GiB 
RAID:
  Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci 
  v: 3.0 bus ID: 00:17.0 
Partition:
  ID-1: / size: 45.58 GiB used: 15.64 GiB (34.3%) fs: ext4 
  dev: /dev/nvme0n1p6 
  ID-2: /home size: 464.56 GiB used: 142.03 GiB (30.6%) fs: ext4 
  dev: /dev/nvme0n1p5 
  ID-3: swap-1 size: 18.63 GiB used: 0 KiB (0.0%) fs: swap 
  dev: /dev/nvme0n1p7 
Sensors:
  System Temperatures: cpu: 43.0 C mobo: 29.8 C gpu: nvidia temp: 34 C 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 293 Uptime: 8m Memory: 15.48 GiB used: 2.72 GiB (17.6%) 
  Init: systemd runlevel: 5 Compilers: gcc: 9.3.0 Shell: bash v: 5.0.17 
  inxi: 3.0.38 
Can you help me?

Regards,
Giacomo
Last edited by gekid83 on Sun Apr 04, 2021 11:05 am, edited 2 times in total.
sleeper12
Level 16
Level 16
Posts: 6146
Joined: Thu May 25, 2017 3:22 pm

Re: Decreased Wi-Fi signal, especially 2.4GHz, after updating to 20

Post by sleeper12 »

Check iwconfig. IF it says power management is on, turn it off:

Code: Select all

 sudo sed -i 's/3/2/' /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf 
Reboot
gekid83
Level 1
Level 1
Posts: 11
Joined: Wed Mar 17, 2021 12:41 pm

Re: Decreased Wi-Fi signal, especially 2.4GHz, after updating to 20

Post by gekid83 »

Code: Select all

wlo1      IEEE 802.11  ESSID:"TTHMvigne5"  
          Mode:Managed  Frequency:5.18 GHz  Access Point: B0:BE:76:88:10:CE   
          Bit Rate=175.5 Mb/s   Tx-Power=20 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=70/70  Signal level=-34 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:31   Missed beacon:0
I had already done it, but the signal has not improved, now I am writing from a meter from the router, I do the tests from my room which is 10 meters away and until before I was able to connect but now not ... Only with windows I can.

Giacomo
sleeper12
Level 16
Level 16
Posts: 6146
Joined: Thu May 25, 2017 3:22 pm

Re: Decreased Wi-Fi signal, especially 2.4GHz, after updating to 20

Post by sleeper12 »

Did you try Disable IPv6?
https://easylinuxtipsproject.blogspot.c ... html#ID2.2

If that doesn't help, maybe try the 5.8 kernel on that newer machine.
gekid83
Level 1
Level 1
Posts: 11
Joined: Wed Mar 17, 2021 12:41 pm

Re: Decreased Wi-Fi signal, especially 2.4GHz, after updating to 20

Post by gekid83 »

Yes, I had already disabled it.

Giacomo
sleeper12
Level 16
Level 16
Posts: 6146
Joined: Thu May 25, 2017 3:22 pm

Re: Decreased Wi-Fi signal, especially 2.4GHz, after updating to 20

Post by sleeper12 »

Ok, all I can suggest is try the 5.8 kernel. You can always return to the 5.4 in Grub, Advanced Options if needed.
User avatar
hglee
Level 5
Level 5
Posts: 727
Joined: Fri Jun 22, 2018 4:31 pm

Re: Decreased Wi-Fi signal, especially 2.4GHz, after updating to 20

Post by hglee »

gekid83 wrote: after switching to 20 I noticed a decreased wifi signal, especially 2.4GHz. Before that it was fine. I tried with Windows and the wifi works correctly

Need more system wifi info:

Open a Terminal (Ctrl-Alt-T), then copy-and-paste the following command-line...

Code: Select all

sudo apt-get install -y sysfsutils>/dev/null&&systool -vm rtw_pci
Copy and paste the output of that command-line in a reply here.


Linux Mint 20.1 Ulyssa, MATE 1.24.0, kernel 5.8.0-hwe, Dell 2-in-1
AMD Ryzen 7 4700U / Renoir GPU - 1920x1080 Touchscreen
Intel AX200 WiFi-6 BT-5.1 driver: iwlwifi; 32GB DDR4; 2TB SSD
gekid83
Level 1
Level 1
Posts: 11
Joined: Wed Mar 17, 2021 12:41 pm

Re: Decreased Wi-Fi signal, especially 2.4GHz, after updating to 20

Post by gekid83 »

Code: Select all

Error opening module rtw_pci
User avatar
hglee
Level 5
Level 5
Posts: 727
Joined: Fri Jun 22, 2018 4:31 pm

Re: Decreased Wi-Fi signal, especially 2.4GHz, after updating to 20

Post by hglee »

gekid83 wrote:
Fri Mar 19, 2021 3:51 pm

Code: Select all

Error opening module rtw_pci

Which means the wifi module isn't loaded at that moment, though inxi saw it earlier.


For Realtek RTL8822BE chipsets, a wifi regression was reported for Ubuntu-signed kernels 5.4 and 5.6. You have 5.4.

Instead of using Update Manager, install a kernel with the Mainline Kernel Installer, which also tracks updates. You currently have kernel 5.4, so don't install one lower than that:

Open a Terminal (Ctrl-Alt-T), then copy-and-paste the following two command-lines, one at a time...

Code: Select all

sudo add-apt-repository ppa:cappelikan/ppa && sudo apt update
sudo apt install mainline
The mainline installer can remove kernels as easily as it installs them.


Kernels above 5.8 may not be widely supported by some apps, especially those that install a proprietary or out-of-tree kernel module.


If you later wish to remove the Mainline Kernel Installer and its PPA (this doesn't remove your installed kernels) ...

Code: Select all

sudo add-apt-repository --remove ppa:cappelikan/ppa && sudo apt update
sudo apt remove mainline


Unsigned kernels are incompatible with Secure Boot, so it should be disabled in your BIOS.



Linux Mint 20.1 Ulyssa, MATE 1.24.0, kernel 5.8.0-hwe, Dell 2-in-1
AMD Ryzen 7 4700U / Renoir GPU - 1920x1080 Touchscreen
Intel AX200 WiFi-6 BT-5.1 driver: iwlwifi; 32GB DDR4; 2TB SSD
gekid83
Level 1
Level 1
Posts: 11
Joined: Wed Mar 17, 2021 12:41 pm

Re: Decreased Wi-Fi signal, especially 2.4GHz, after updating to 20

Post by gekid83 »

Thanks guys, it seems that with the 5.8 the situation has improved a little.

Giacomo
gekid83
Level 1
Level 1
Posts: 11
Joined: Wed Mar 17, 2021 12:41 pm

Re: Decreased Wi-Fi signal, especially 2.4GHz, after updating to 20

Post by gekid83 »

Hi guys, the 5.8 is still not enought...

With Windows i can connect really good from my bedroom but linux can't connect due to poor signal.

Before the upgrade to 20.1 i can connect very good with linux from the same spot...

Please help me.

Giacomo
User avatar
hglee
Level 5
Level 5
Posts: 727
Joined: Fri Jun 22, 2018 4:31 pm

Re: Decreased Wi-Fi signal, especially 2.4GHz, after updating to 20

Post by hglee »

gekid83 wrote:
Sun Apr 04, 2021 11:09 am
Hi guys, the 5.8 is still not enought...

Try this:


Open a Terminal (Ctrl-Alt-T), then copy-and-paste the following command-line...

Code: Select all

echo "options r8822be aspm=0" | sudo tee /etc/modprobe.d/r8822be.conf
Reboot.



Linux Mint 20.1 Ulyssa, MATE 1.24.0, kernel 5.8.0-hwe, Dell 2-in-1
AMD Ryzen 7 4700U / Renoir GPU - 1920x1080 Touchscreen
Intel AX200 WiFi-6 BT-5.1 driver: iwlwifi; 32GB DDR4; 2TB SSD
gekid83
Level 1
Level 1
Posts: 11
Joined: Wed Mar 17, 2021 12:41 pm

Re: Decreased Wi-Fi signal, especially 2.4GHz, after updating to 20

Post by gekid83 »

hglee wrote:
Sun Apr 04, 2021 1:50 pm
gekid83 wrote:
Sun Apr 04, 2021 11:09 am
Hi guys, the 5.8 is still not enought...

Try this:


Open a Terminal (Ctrl-Alt-T), then copy-and-paste the following command-line...

Code: Select all

echo "options r8822be aspm=0" | sudo tee /etc/modprobe.d/r8822be.conf
Reboot.



No changes, windows can connect, linux no.

Giacomo
User avatar
hglee
Level 5
Level 5
Posts: 727
Joined: Fri Jun 22, 2018 4:31 pm

Re: Decreased Wi-Fi signal, especially 2.4GHz, after updating to 20

Post by hglee »

gekid83 wrote:
Tue Apr 06, 2021 11:43 am
No changes, windows can connect, linux no.

Giacomo


If you're dual-booting, disable Fast StartUp in Windows power management, so Windows will fully release your PC's resources when it shuts down.

Also confirm that Secure Boot is disabled in your BIOS, as it's known to interfere with device drivers.



Linux Mint 20.1 Ulyssa, MATE 1.24.0, kernel 5.8.0-hwe, Dell 2-in-1
AMD Ryzen 7 4700U / Renoir GPU - 1920x1080 Touchscreen
Intel AX200 WiFi-6 BT-5.1 driver: iwlwifi; 32GB DDR4; 2TB SSD
gekid83
Level 1
Level 1
Posts: 11
Joined: Wed Mar 17, 2021 12:41 pm

Re: Decreased Wi-Fi signal, especially 2.4GHz, after updating to 20

Post by gekid83 »

hglee wrote:
Tue Apr 06, 2021 4:19 pm
gekid83 wrote:
Tue Apr 06, 2021 11:43 am
No changes, windows can connect, linux no.

Giacomo


If you're dual-booting, disable Fast StartUp in Windows power management, so Windows will fully release your PC's resources when it shuts down.

Also confirm that Secure Boot is disabled in your BIOS, as it's known to interfere with device drivers.



Thanks for your support guys! Fast Startup and Secure boot are already disabled... :(

Giacomo
User avatar
hglee
Level 5
Level 5
Posts: 727
Joined: Fri Jun 22, 2018 4:31 pm

Re: Decreased Wi-Fi signal, especially 2.4GHz, after updating to 20

Post by hglee »

gekid83 wrote:
Wed Apr 07, 2021 9:40 am
Thanks for your support guys! Fast Startup and Secure boot are already disabled... :(

Giacomo


Let's see the output of this Terminal command-line...

Code: Select all

(dmesg;lsmod)|egrep -i "firm|wire|wif|rtw|rtl|r88|882";systool -vm r8822be


Linux Mint 20.1 Ulyssa, MATE 1.24.0, kernel 5.8.0-hwe, Dell 2-in-1
AMD Ryzen 7 4700U / Renoir GPU - 1920x1080 Touchscreen
Intel AX200 WiFi-6 BT-5.1 driver: iwlwifi; 32GB DDR4; 2TB SSD
gekid83
Level 1
Level 1
Posts: 11
Joined: Wed Mar 17, 2021 12:41 pm

Re: Decreased Wi-Fi signal, especially 2.4GHz, after updating to 20

Post by gekid83 »

hglee wrote:
Wed Apr 07, 2021 11:40 am
gekid83 wrote:
Wed Apr 07, 2021 9:40 am
Thanks for your support guys! Fast Startup and Secure boot are already disabled... :(

Giacomo


Let's see the output of this Terminal command-line...

Code: Select all

(dmesg;lsmod)|egrep -i "firm|wire|wif|rtw|rtl|r88|882";systool -vm r8822be


Code: Select all

[    0.084742] Spectre V2 : Enabling Restricted Speculation for firmware calls
[    0.627908] [Firmware Bug]: Invalid critical threshold (0)
[    1.166191] r8169 0000:03:00.0 eth0: RTL8168h/8111h, e8:d8:d1:86:13:37, XID 541, IRQ 130
[    1.227112] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)
[    1.349031] [Firmware Bug]: ACPI(PEGP) defines _DOD but not _DOS
[    3.834554] input: HP Wireless hotkeys as /devices/virtual/input/input17
[    4.056490] rtw_8822be 0000:05:00.0: Firmware version 27.2.0, H2C version 13
[    4.337738] rtw_8822be 0000:05:00.0 wlo1: renamed from wlan0
[    4.337882] input: ELAN0710:01 04F3:30ED Mouse as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-1/i2c-ELAN0710:01/0018:04F3:30ED.0001/input/input20
[    4.397432] Bluetooth: hci0: RTL: examining hci_ver=07 hci_rev=000b lmp_ver=07 lmp_subver=8822
[    4.398075] Bluetooth: hci0: RTL: rom_version status=0 version=2
[    4.398077] Bluetooth: hci0: RTL: loading rtl_bt/rtl8822b_fw.bin
[    4.398965] Bluetooth: hci0: RTL: loading rtl_bt/rtl8822b_config.bin
[    4.399092] Bluetooth: hci0: RTL: cfg_sz 14, total sz 20270
[    5.142167] Bluetooth: hci0: RTL: fw version 0xab6b705c
[    5.516326] rtw_8822be 0000:05:00.0: start vif 40:5b:d8:ac:e0:15 on port 0
[   10.614165] rtw_8822be 0000:05:00.0: sta b0:be:76:88:10:ce joined with macid 0
btrtl                  24576  1 btusb
bluetooth             626688  31 btrtl,btintel,btbcm,bnep,btusb,rfcomm
rtw88_8822be           16384  0
rtw88_8822b           225280  1 rtw88_8822be
rtw88_pci              24576  1 rtw88_8822be
rtw88_core            172032  2 rtw88_pci,rtw88_8822b
mac80211              917504  2 rtw88_pci,rtw88_core
cfg80211              782336  2 rtw88_core,mac80211
hp_wireless            16384  0
Error opening module r8822be
i don't know if it can help but when the system boot i have this error:

Code: Select all

[0.587520] Initramfs unpacking failed: Decoding failed
Giacomo
User avatar
hglee
Level 5
Level 5
Posts: 727
Joined: Fri Jun 22, 2018 4:31 pm

Re: Decreased Wi-Fi signal, especially 2.4GHz, after updating to 20

Post by hglee »

gekid83 wrote:
Wed Apr 07, 2021 3:31 pm
i don't know if it can help but when the system boot i have this error:
[0.587520] Initramfs unpacking failed: Decoding failed

Giacomo


That's a known bug. Among other things, it can occur in Focal Fossa when Secure Boot is enabled.

The bug report reads, "Note that in most cases the affected system is still able to proceed with the boot process to completion". Basically, it's harmless.

There is a way to prevent the warning: change the initramfs compression util from lz4 to gzip. Though gzip isn't quite as fast as lz4, which means your boot-ups will be somewhat slower.

Some testers report that you only need to switch from lz4 to gzip, then back to lz4, and the warning goes away. This can be done easily with the Terminal commands below.


To manually change the initramfs compression from lz4 to gzip, to stop the warning: Edit the file /etc/initramfs-tools/initramfs.conf and change the COMPRESS=lz4 to COMPRESS=gzip, then run sudo update-initramfs -c -k all. Or, run the two Terminal command-lines below.


To switch the compression from lz4 to gzip, to stop the warning:
Open a Terminal (Ctrl-Alt-T), then copy-and-paste the following two command-lines, one by one...

Code: Select all

M=/etc/initramfs-tools/initramfs.conf;sudo cp $M{,-`date +%Y%m%d-%H%M%S`} # switch from lz4 to gzip
sudo sed -i 's/COMPRESS=lz4/COMPRESS=gzip/' $M&&sudo update-initramfs -c -k all
Reboot.


If you later wish to undo the above modification, to switch the compression from gzip back to lz4:
Open a Terminal (Ctrl-Alt-T), then copy-and-paste the following two command-lines, one by one...

Code: Select all

M=/etc/initramfs-tools/initramfs.conf;sudo cp $M{,-`date +%Y%m%d-%H%M%S`} # switch from gzip to lz4
sudo sed -i 's/COMPRESS=gzip/COMPRESS=lz4/' $M&&sudo update-initramfs -c -k all
Reboot.



Linux Mint 20.1 Ulyssa, MATE 1.24.0, kernel 5.8.0-hwe, Dell 2-in-1
AMD Ryzen 7 4700U / Renoir GPU - 1920x1080 Touchscreen
Intel AX200 WiFi-6 BT-5.1 driver: iwlwifi; 32GB DDR4; 2TB SSD
gekid83
Level 1
Level 1
Posts: 11
Joined: Wed Mar 17, 2021 12:41 pm

Re: Decreased Wi-Fi signal, especially 2.4GHz, after updating to 20

Post by gekid83 »

hglee wrote:
Wed Apr 07, 2021 11:42 pm
gekid83 wrote:
Wed Apr 07, 2021 3:31 pm
i don't know if it can help but when the system boot i have this error:
[0.587520] Initramfs unpacking failed: Decoding failed

Giacomo
Some testers report that you only need to switch from lz4 to gzip, then back to lz4, and the warning goes away. This can be done easily with the Terminal commands below.

If i go back to lz4 after the switch the warning turn back again. I set gzip forever.

Giacomo
User avatar
hglee
Level 5
Level 5
Posts: 727
Joined: Fri Jun 22, 2018 4:31 pm

Re: Decreased Wi-Fi signal, especially 2.4GHz, after updating to 20

Post by hglee »

gekid83 wrote:
Thu Apr 08, 2021 3:38 pm
If i go back to lz4 after the switch the warning turn back again. I set gzip forever.

Giacomo


Did you reboot between the switch?


Like, change from lz4 to gzip, and reboot. Then switch back from gzip to lz4, and reboot.


To see which initramfs compression is currently set ...

Code: Select all

echo -e "\nCurrent "`grep COMPRESS= /etc/initramfs-tools/initramfs.conf`"\n"
... will display either Current COMPRESS=lz4, or Current COMPRESS=gzip. This command doesn't change anything.



Linux Mint 20.1 Ulyssa, MATE 1.24.0, kernel 5.8.0-hwe, Dell 2-in-1
AMD Ryzen 7 4700U / Renoir GPU - 1920x1080 Touchscreen
Intel AX200 WiFi-6 BT-5.1 driver: iwlwifi; 32GB DDR4; 2TB SSD
Post Reply

Return to “Wireless”