You are not logged in.

#1 2021-04-25 16:47:41

Allexj
Member
Registered: 2015-07-11
Posts: 73

[SOLVED] My laptop disconnects from WiFi randomly

I have this VERY annoying problem. WiFi disconnects randomly and this gives me a lot of problems.

I have this problem in all the distros that I have tried. I can't find a distro where I have a normal wifi experience.

My laptop is a Huawei Matebook D 14.
More infos:
https://i.imgur.com/StBStlp.png

I have this network card:

02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8822CE 802.11ac PCIe Wireless Network Adapter

These are the wifi modules:

$ lsmod | grep rtw
rtw88_8822ce           16384  0
rtw88_8822c           331776  1 rtw88_8822ce
rtw88_pci              28672  1 rtw88_8822ce
rtw88_core            217088  2 rtw88_pci,rtw88_8822c
mac80211             1167360  2 rtw88_pci,rtw88_core
cfg80211             1036288  2 rtw88_core,mac80211

This is a dmesg when I have the problem:

[dom apr 25 18:36:15 2021] wlp2s0: disconnect from AP c8:54:4b:e0:0a:b9 for new auth to c8:54:4b:e0:0a:ba
[dom apr 25 18:36:15 2021] rtw_8822ce 0000:02:00.0: sta c8:54:4b:e0:0a:b9 with macid 0 left
[dom apr 25 18:36:15 2021] wlp2s0: authenticate with c8:54:4b:e0:0a:ba
[dom apr 25 18:36:15 2021] wlp2s0: send auth to c8:54:4b:e0:0a:ba (try 1/3)
[dom apr 25 18:36:15 2021] wlp2s0: send auth to c8:54:4b:e0:0a:ba (try 2/3)
[dom apr 25 18:36:15 2021] wlp2s0: send auth to c8:54:4b:e0:0a:ba (try 3/3)
[dom apr 25 18:36:15 2021] wlp2s0: authentication with c8:54:4b:e0:0a:ba timed out
[dom apr 25 18:36:16 2021] wlp2s0: authenticate with c8:54:4b:e0:0a:b9
[dom apr 25 18:36:16 2021] ------------[ cut here ]------------
[dom apr 25 18:36:16 2021] purge skb(s) not reported by firmware
[dom apr 25 18:36:16 2021] WARNING: CPU: 0 PID: 0 at drivers/net/wireless/realtek/rtw88/tx.c:161 rtw_tx_report_purge_timer+0x20/0x50 [rtw88_core]
[dom apr 25 18:36:16 2021] Modules linked in: ccm rfcomm cmac algif_hash algif_skcipher af_alg amdgpu snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi snd_hda_intel snd_intel_dspcfg soundwire_intel soundwire_generic_allocation soundwire_cadence bnep snd_hda_codec snd_hda_core btusb gpu_sched uvcvideo i2c_algo_bit snd_hwdep drm_ttm_helper btrtl soundwire_bus btbcm ttm btintel videobuf2_vmalloc snd_soc_core drm_kms_helper videobuf2_memops bluetooth videobuf2_v4l2 intel_rapl_msr videobuf2_common intel_rapl_common snd_compress ecdh_generic videodev ecc cec ac97_bus snd_pcm_dmaengine mc snd_pcm syscopyarea edac_mce_amd sysfillrect snd_timer rtw88_8822ce sysimgblt snd_rn_pci_acp3x fb_sys_fops rtw88_8822c kvm_amd snd snd_pci_acp3x rtw88_pci soundcore joydev ccp mousedev rtw88_core kvm squashfs vfat mac80211 irqbypass fat crct10dif_pclmul usbhid hid_multitouch loop crc32_pclmul huawei_wmi wmi_bmof ghash_clmulni_intel ledtrig_audio sparse_keymap aesni_intel crypto_simd sp5100_tco tpm_crb cfg80211
[dom apr 25 18:36:16 2021]  cryptd glue_helper i2c_piix4 rapl k10temp pcspkr rfkill i2c_hid libarc4 tpm_tis wmi tpm_tis_core bridge pinctrl_amd tpm mac_hid video rng_core acpi_cpufreq stp llc vboxnetflt(OE) vboxnetadp(OE) vboxdrv(OE) drm sg fuse crypto_user agpgart bpf_preload ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 serio_raw atkbd libps2 crc32c_intel i8042 xhci_pci xhci_pci_renesas serio
[dom apr 25 18:36:16 2021] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G           OE     5.11.16-arch1-1 #1
[dom apr 25 18:36:16 2021] Hardware name: HUAWEI NBLK-WAX9X/NBLK-WAX9X-PCB, BIOS 1.11 12/04/2020
[dom apr 25 18:36:16 2021] RIP: 0010:rtw_tx_report_purge_timer+0x20/0x50 [rtw88_core]
[dom apr 25 18:36:16 2021] Code: 0f 1f 84 00 00 00 00 00 66 90 0f 1f 44 00 00 8b 47 f0 85 c0 75 01 c3 41 54 55 53 48 89 fb 48 c7 c7 08 26 51 c1 e8 00 5e f2 d0 <0f> 0b 4c 8d 63 d8 4c 89 e7 e8 f2 2c f8 d0 48 8d 7b e0 48 89 c5 e8
[dom apr 25 18:36:16 2021] RSP: 0018:ffffb10c00003ec8 EFLAGS: 00010282
[dom apr 25 18:36:16 2021] RAX: 0000000000000000 RBX: ffff95228b3c6468 RCX: ffff95238ea18be8
[dom apr 25 18:36:16 2021] RDX: 00000000ffffffd8 RSI: 0000000000000027 RDI: ffff95238ea18be0
[dom apr 25 18:36:16 2021] RBP: ffff95228b3c6468 R08: 0000000000000000 R09: ffffb10c00003d00
[dom apr 25 18:36:16 2021] R10: ffffb10c00003cf8 R11: ffffffff934cba08 R12: ffffffffc14fa8c0
[dom apr 25 18:36:16 2021] R13: ffffffffc14fa8c0 R14: ffff95228b3c6468 R15: ffff95238ea1cfc0
[dom apr 25 18:36:16 2021] FS:  0000000000000000(0000) GS:ffff95238ea00000(0000) knlGS:0000000000000000
[dom apr 25 18:36:16 2021] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[dom apr 25 18:36:16 2021] CR2: 00007fda62e5e7e0 CR3: 000000015f596000 CR4: 00000000003506f0
[dom apr 25 18:36:16 2021] Call Trace:
[dom apr 25 18:36:16 2021]  <IRQ>
[dom apr 25 18:36:16 2021]  ? rtw_tx_write_data_h2c_get+0x90/0x90 [rtw88_core]
[dom apr 25 18:36:16 2021]  call_timer_fn+0x29/0x130
[dom apr 25 18:36:16 2021]  __run_timers+0x1ed/0x280
[dom apr 25 18:36:16 2021]  run_timer_softirq+0x19/0x30
[dom apr 25 18:36:16 2021]  __do_softirq+0xcf/0x2c1
[dom apr 25 18:36:16 2021]  asm_call_irq_on_stack+0x12/0x20
[dom apr 25 18:36:16 2021]  </IRQ>
[dom apr 25 18:36:16 2021]  do_softirq_own_stack+0x37/0x40
[dom apr 25 18:36:16 2021]  irq_exit_rcu+0x9e/0xd0
[dom apr 25 18:36:16 2021]  sysvec_apic_timer_interrupt+0x36/0x80
[dom apr 25 18:36:16 2021]  asm_sysvec_apic_timer_interrupt+0x12/0x20
[dom apr 25 18:36:16 2021] RIP: 0010:cpuidle_enter_state+0xc7/0x380
[dom apr 25 18:36:16 2021] Code: 8b 3d ed 8f e1 6d e8 b8 58 8d ff 49 89 c5 0f 1f 44 00 00 31 ff e8 d9 65 8d ff 45 84 ff 0f 85 da 01 00 00 fb 66 0f 1f 44 00 00 <45> 85 f6 0f 88 11 01 00 00 49 63 c6 4c 2b 2c 24 48 8d 14 40 48 8d
[dom apr 25 18:36:16 2021] RSP: 0018:ffffffff93403e50 EFLAGS: 00000246
[dom apr 25 18:36:16 2021] RAX: ffff95238ea2c400 RBX: 0000000000000001 RCX: 000000000000001f
[dom apr 25 18:36:16 2021] RDX: 0000000000000000 RSI: 000000003d0347b1 RDI: 0000000000000000
[dom apr 25 18:36:16 2021] RBP: ffff9522836b9800 R08: 0000010f55bb7aa3 R09: 0000000000000018
[dom apr 25 18:36:16 2021] R10: 00000000000002a3 R11: 00000000000000cd R12: ffffffff93548fa0
[dom apr 25 18:36:16 2021] R13: 0000010f55bb7aa3 R14: 0000000000000001 R15: 0000000000000000
[dom apr 25 18:36:16 2021]  cpuidle_enter+0x29/0x40
[dom apr 25 18:36:16 2021]  do_idle+0x1e3/0x280
[dom apr 25 18:36:16 2021]  cpu_startup_entry+0x19/0x20
[dom apr 25 18:36:16 2021]  start_kernel+0x86e/0x893
[dom apr 25 18:36:16 2021]  secondary_startup_64_no_verify+0xc2/0xcb
[dom apr 25 18:36:16 2021] ---[ end trace 5857a220246650bf ]---
[dom apr 25 18:36:16 2021] wlp2s0: send auth to c8:54:4b:e0:0a:b9 (try 1/3)
[dom apr 25 18:36:16 2021] wlp2s0: authenticated
[dom apr 25 18:36:16 2021] wlp2s0: associate with c8:54:4b:e0:0a:b9 (try 1/3)
[dom apr 25 18:36:16 2021] wlp2s0: RX AssocResp from c8:54:4b:e0:0a:b9 (capab=0x11 status=30 aid=12)
[dom apr 25 18:36:16 2021] wlp2s0: c8:54:4b:e0:0a:b9 rejected association temporarily; comeback duration 196 TU (200 ms)
[dom apr 25 18:36:16 2021] wlp2s0: associate with c8:54:4b:e0:0a:b9 (try 2/3)
[dom apr 25 18:36:16 2021] wlp2s0: RX AssocResp from c8:54:4b:e0:0a:b9 (capab=0x11 status=30 aid=12)
[dom apr 25 18:36:16 2021] wlp2s0: c8:54:4b:e0:0a:b9 rejected association temporarily; comeback duration 196 TU (200 ms)
[dom apr 25 18:36:16 2021] wlp2s0: associate with c8:54:4b:e0:0a:b9 (try 3/3)
[dom apr 25 18:36:17 2021] wlp2s0: RX AssocResp from c8:54:4b:e0:0a:b9 (capab=0x11 status=30 aid=12)
[dom apr 25 18:36:17 2021] wlp2s0: c8:54:4b:e0:0a:b9 rejected association temporarily; comeback duration 196 TU (200 ms)
[dom apr 25 18:36:17 2021] wlp2s0: association with c8:54:4b:e0:0a:b9 timed out
[dom apr 25 18:36:21 2021] wlp2s0: authenticate with c8:54:4b:e0:0a:ba
[dom apr 25 18:36:21 2021] wlp2s0: send auth to c8:54:4b:e0:0a:ba (try 1/3)
[dom apr 25 18:36:21 2021] wlp2s0: send auth to c8:54:4b:e0:0a:ba (try 2/3)
[dom apr 25 18:36:21 2021] wlp2s0: send auth to c8:54:4b:e0:0a:ba (try 3/3)
[dom apr 25 18:36:21 2021] wlp2s0: authentication with c8:54:4b:e0:0a:ba timed out
[dom apr 25 18:36:23 2021] wlp2s0: authenticate with c8:54:4b:e0:0a:b9
[dom apr 25 18:36:23 2021] wlp2s0: send auth to c8:54:4b:e0:0a:b9 (try 1/3)
[dom apr 25 18:36:23 2021] wlp2s0: authenticated
[dom apr 25 18:36:23 2021] wlp2s0: associate with c8:54:4b:e0:0a:b9 (try 1/3)
[dom apr 25 18:36:23 2021] wlp2s0: RX AssocResp from c8:54:4b:e0:0a:b9 (capab=0x11 status=0 aid=12)
[dom apr 25 18:36:23 2021] rtw_8822ce 0000:02:00.0: sta c8:54:4b:e0:0a:b9 joined with macid 0
[dom apr 25 18:36:23 2021] wlp2s0: associated
[dom apr 25 18:36:23 2021] audit: type=1130 audit(1619368584.812:114): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[dom apr 25 18:36:34 2021] audit: type=1131 audit(1619368595.128:115): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'

Mod Edit - Replaced oversized image with link.
CoC - Pasting pictures and code

Last edited by Allexj (2021-05-13 08:08:33)

Offline

#2 2021-04-26 10:58:34

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: [SOLVED] My laptop disconnects from WiFi randomly

Many people have problems with that chipset under linux, there are some reports that disabling powersaving helps.


see https://github.com/rtlwifi-linux/rtk_wi … e/issues/3


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2021-04-28 13:56:20

Allexj
Member
Registered: 2015-07-11
Posts: 73

Re: [SOLVED] My laptop disconnects from WiFi randomly

Lone_Wolf wrote:

Many people have problems with that chipset under linux, there are some reports that disabling powersaving helps.


see https://github.com/rtlwifi-linux/rtk_wi … e/issues/3

I disabled powersaving, let's see if it helps.

Offline

#4 2021-04-29 11:25:36

Allexj
Member
Registered: 2015-07-11
Posts: 73

Re: [SOLVED] My laptop disconnects from WiFi randomly

Allexj wrote:
Lone_Wolf wrote:

Many people have problems with that chipset under linux, there are some reports that disabling powersaving helps.


see https://github.com/rtlwifi-linux/rtk_wi … e/issues/3

I disabled powersaving, let's see if it helps.

No, it didn't help.
Here are the logs of another disconnection:

[gio apr 29 13:23:10 2021] wlp2s0: disconnect from AP c8:54:4b:e0:0a:b9 for new auth to c8:54:4b:e0:0a:ba
[gio apr 29 13:23:10 2021] rtw_8822ce 0000:02:00.0: sta c8:54:4b:e0:0a:b9 with macid 0 left
[gio apr 29 13:23:10 2021] wlp2s0: authenticate with c8:54:4b:e0:0a:ba
[gio apr 29 13:23:10 2021] wlp2s0: send auth to c8:54:4b:e0:0a:ba (try 1/3)
[gio apr 29 13:23:10 2021] wlp2s0: send auth to c8:54:4b:e0:0a:ba (try 2/3)
[gio apr 29 13:23:10 2021] wlp2s0: send auth to c8:54:4b:e0:0a:ba (try 3/3)
[gio apr 29 13:23:10 2021] wlp2s0: authentication with c8:54:4b:e0:0a:ba timed out
[gio apr 29 13:23:11 2021] wlp2s0: authenticate with c8:54:4b:e0:0a:b9
[gio apr 29 13:23:11 2021] wlp2s0: send auth to c8:54:4b:e0:0a:b9 (try 1/3)
[gio apr 29 13:23:11 2021] wlp2s0: authenticated
[gio apr 29 13:23:11 2021] wlp2s0: associate with c8:54:4b:e0:0a:b9 (try 1/3)
[gio apr 29 13:23:11 2021] wlp2s0: RX AssocResp from c8:54:4b:e0:0a:b9 (capab=0x11 status=30 aid=9)
[gio apr 29 13:23:11 2021] wlp2s0: c8:54:4b:e0:0a:b9 rejected association temporarily; comeback duration 196 TU (200 ms)
[gio apr 29 13:23:11 2021] wlp2s0: associate with c8:54:4b:e0:0a:b9 (try 2/3)
[gio apr 29 13:23:11 2021] wlp2s0: RX AssocResp from c8:54:4b:e0:0a:b9 (capab=0x11 status=30 aid=9)
[gio apr 29 13:23:11 2021] wlp2s0: c8:54:4b:e0:0a:b9 rejected association temporarily; comeback duration 196 TU (200 ms)
[gio apr 29 13:23:12 2021] wlp2s0: associate with c8:54:4b:e0:0a:b9 (try 3/3)
[gio apr 29 13:23:12 2021] wlp2s0: RX AssocResp from c8:54:4b:e0:0a:b9 (capab=0x11 status=30 aid=9)
[gio apr 29 13:23:12 2021] wlp2s0: c8:54:4b:e0:0a:b9 rejected association temporarily; comeback duration 196 TU (200 ms)
[gio apr 29 13:23:12 2021] wlp2s0: association with c8:54:4b:e0:0a:b9 timed out
[gio apr 29 13:23:16 2021] wlp2s0: authenticate with c8:54:4b:e0:0a:ba
[gio apr 29 13:23:16 2021] wlp2s0: send auth to c8:54:4b:e0:0a:ba (try 1/3)
[gio apr 29 13:23:16 2021] wlp2s0: send auth to c8:54:4b:e0:0a:ba (try 2/3)
[gio apr 29 13:23:16 2021] wlp2s0: send auth to c8:54:4b:e0:0a:ba (try 3/3)
[gio apr 29 13:23:16 2021] wlp2s0: authentication with c8:54:4b:e0:0a:ba timed out
[gio apr 29 13:23:18 2021] wlp2s0: authenticate with c8:54:4b:e0:0a:b9
[gio apr 29 13:23:18 2021] wlp2s0: send auth to c8:54:4b:e0:0a:b9 (try 1/3)
[gio apr 29 13:23:18 2021] wlp2s0: authenticated
[gio apr 29 13:23:18 2021] wlp2s0: associate with c8:54:4b:e0:0a:b9 (try 1/3)
[gio apr 29 13:23:18 2021] wlp2s0: RX AssocResp from c8:54:4b:e0:0a:b9 (capab=0x11 status=0 aid=9)
[gio apr 29 13:23:18 2021] rtw_8822ce 0000:02:00.0: sta c8:54:4b:e0:0a:b9 joined with macid 0
[gio apr 29 13:23:18 2021] wlp2s0: associated
[gio apr 29 13:23:19 2021] audit: type=1130 audit(1619695399.965:925): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[gio apr 29 13:23:29 2021] audit: type=1131 audit(1619695410.291:926): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'

Offline

#5 2021-05-13 08:06:01

Allexj
Member
Registered: 2015-07-11
Posts: 73

Re: [SOLVED] My laptop disconnects from WiFi randomly

I think that the issue seems can be "fixed" by manually setting the wifi connection with NetworkManager to 2.4GHz.... that's because the problem happens when the driver switches between 2.4GHz to 5Ghz and viceversa.... So you set only one band (2.4GHz is better because signal propagates easily through obstacles, though is less faster than 5GHz..)

Last edited by Allexj (2021-05-16 07:29:58)

Offline

Board footer

Powered by FluxBB