RTL8821CE - Wifi keeps dropping

System:
Kernel: 5.17.5-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 11.2.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=2077d7dd-92d7-452a-abff-0496557f2c1c rw rootflags=subvol=@
quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0 loglevel=3
Desktop: KDE Plasma v: 5.24.5 tk: Qt v: 5.15.3 info: latte-dock
wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Laptop System: HP product: HP 255 G7 Notebook PC
v: Type1ProductConfigId serial: <superuser required> Chassis: type: 10
serial: <superuser required>
Mobo: HP model: 87CE v: 51.25 serial: <superuser required> UEFI: Insyde
v: F.34 date: 12/14/2020
Battery:
ID-1: BAT1 charge: 28.7 Wh (75.1%) condition: 38.2/40.9 Wh (93.3%)
volts: 11.8 min: 11.3 model: Hewlett-Packard PABAS0241231 type: Li-ion
serial: <filter> status: discharging
CPU:
Info: model: AMD Athlon Silver 3050U with Radeon Graphics bits: 64
type: MCP arch: Zen/Zen+ note: check family: 0x17 (23) model-id: 0x18 (24)
stepping: 1 microcode: 0x8108109
Topology: cpus: 1x cores: 2 smt: <unsupported> cache: L1: 192 KiB
desc: d-2x32 KiB; i-2x64 KiB L2: 1024 KiB desc: 2x512 KiB L3: 4 MiB
desc: 1x4 MiB
Speed (MHz): avg: 2145 high: 2324 min/max: 1400/2300 boost: enabled
scaling: driver: acpi-cpufreq governor: performance cores: 1: 2324 2: 1967
bogomips: 9182
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
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
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2
mitigation: Retpolines, IBPB: conditional, STIBP: disabled, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: AMD Picasso/Raven 2 [Radeon Vega Series / Radeon Mobile Series]
vendor: Hewlett-Packard driver: amdgpu v: kernel pcie: gen: 3 speed: 8 GT/s
lanes: 16 ports: active: eDP-1 empty: HDMI-A-1 bus-ID: 03:00.0
chip-ID: 1002:15d8 class-ID: 0300
Device-2: Chicony HP TrueVision HD Camera type: USB driver: uvcvideo
bus-ID: 1-6.1:3 chip-ID: 04f2:b67f class-ID: 0e02 serial: <filter>
Display: x11 server: X.Org v: 21.1.3 with: Xwayland v: 22.1.1
compositor: kwin_x11 driver: X: loaded: amdgpu unloaded: modesetting
alternate: fbdev,vesa gpu: amdgpu display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
s-diag: 582mm (22.93")
Monitor-1: eDP-1 mapped: eDP model: BOE Display 0x0687 built: 2015
res: 1920x1080 hz: 60 dpi: 142 gamma: 1.2 size: 344x193mm (13.54x7.6")
diag: 394mm (15.5") ratio: 16:9 modes: max: 1920x1080 min: 640x480
OpenGL: renderer: AMD RAVEN2 (LLVM 13.0.1 DRM 3.44 5.17.5-zen1-1-zen)
v: 4.6 Mesa 22.0.3 direct render: Yes
Audio:
Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio vendor: Hewlett-Packard
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
bus-ID: 03:00.1 chip-ID: 1002:15de class-ID: 0403
Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Hewlett-Packard
driver: snd_pci_acp3x v: kernel
alternate: snd_rn_pci_acp3x,snd_pci_acp5x,snd_pci_acp6x,snd_sof_amd_renoir
pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 03:00.5 chip-ID: 1022:15e2
class-ID: 0480
Device-3: AMD Family 17h/19h HD Audio vendor: Hewlett-Packard
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
bus-ID: 03:00.6 chip-ID: 1022:15e3 class-ID: 0403
Sound Server-1: ALSA v: k5.17.5-zen1-1-zen running: yes
Sound Server-2: sndio v: N/A running: no
Sound Server-3: PulseAudio v: 15.0 running: no
Sound Server-4: PipeWire v: 0.3.51 running: yes
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Hewlett-Packard driver: r8168 v: 8.049.02-NAPI modules: r8169 pcie:
gen: 1 speed: 2.5 GT/s lanes: 1 port: 3000 bus-ID: 01:00.0
chip-ID: 10ec:8168 class-ID: 0200
IF: eno1 state: down mac: <filter>
Device-2: Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter
vendor: Hewlett-Packard driver: rtw_8821ce v: N/A modules: rtw88_8821ce
pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: 2000 bus-ID: 02:00.0
chip-ID: 10ec:c821 class-ID: 0280
IF: wlo1 state: up mac: <filter>
Bluetooth:
Device-1: Realtek Bluetooth 4.2 Adapter type: USB driver: btusb v: 0.8
bus-ID: 1-6.3:4 chip-ID: 0bda:b00a class-ID: e001 serial: <filter>
Report: bt-adapter ID: hci0 rfk-id: 1 state: down
bt-service: enabled,running rfk-block: hardware: no software: yes
address: <filter>
Drives:
Local Storage: total: 238.47 GiB used: 133.74 GiB (56.1%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: MZNLH256HAJD-000H1
size: 238.47 GiB block-size: physical: 4096 B logical: 512 B
speed: 6.0 Gb/s type: SSD serial: <filter> rev: 2H0Q scheme: GPT
Partition:
ID-1: / raw-size: 238.17 GiB size: 238.17 GiB (100.00%)
used: 133.74 GiB (56.2%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 576 KiB (0.2%) fs: vfat dev: /dev/sda1 maj-min: 8:1
ID-3: /home raw-size: 238.17 GiB size: 238.17 GiB (100.00%)
used: 133.74 GiB (56.2%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
ID-4: /var/log raw-size: 238.17 GiB size: 238.17 GiB (100.00%)
used: 133.74 GiB (56.2%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
ID-5: /var/tmp raw-size: 238.17 GiB size: 238.17 GiB (100.00%)
used: 133.74 GiB (56.2%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 5.8 GiB used: 838.3 MiB (14.1%)
priority: 100 dev: /dev/zram0
Sensors:
System Temperatures: cpu: 20.0 C mobo: 10.0 C gpu: amdgpu temp: 53.0 C
Fan Speeds (RPM): N/A
Info:
Processes: 216 Uptime: 9h 39m wakeups: 1 Memory: 5.8 GiB
used: 2.52 GiB (43.5%) Init: systemd v: 250 tool: systemctl Compilers:
gcc: 11.2.0 clang: 13.0.1 Packages: pacman: 1645 lib: 401 Shell: fish
v: 3.4.1 default: Bash v: 5.1.16 running-in: konsole inxi: 3.3.15
Garuda (2.6.2-1):
System install date:     2022-01-20
Last full system update: 2022-05-15
Is partially upgraded:   No
Relevant software:       tlp NetworkManager
Windows dual boot:       No/Undetected
Snapshots:               Snapper
Failed units:

So i have had Garuda for a couple months now and since the start my laptops wifi keeps disconnecting despite me being right next to the router, i usually fix it by turning wifi off and then on again but like it's starting to be a bit annoying at this point. So is there some fix i can do other than changing the power settings which i've already done and by that i mean making a config file for Network Manager and then writing this wifi.powersave = 2

Hi there, welcome!
Your card often (not always) proved to be working better with the driver in this thread.
I think you could give it a try.

3 Likes

Hey thanks for the very quick reply i'll try it out and see if it works

well i took the steps detailed so if it works for an entire day i'll mark your answer as my solution!

1 Like

So it does not go down, marked, get in touch if it does not fit :slight_smile:

ok so after trying the fix for a day the wifi is still having problems

not sure what you mean


I remove the solution mark.
greetings SGS

What exactly did you do? We need a step by step account, preferably with terminal outputs for each stage of installation or config file creation.

Simply stating “still having problems” is pretty near useless to assistants half way around the globe from you.

If your connection is being dropped then:

How often?

Does it happen only if downloading large files?

Does it happen when there is no internet activity?

If it happens when the computer is idle, then does it have a usual time that it drops, say 10 mins?

Have you tried your laptop on other networks since your modifications, or only tested on your home network?

Do you have another router you can test?

Which band/channels are you using in your router?

We are not looking over your shoulder to be able to see what is happening, we need detailed information to be able to diagnose your issue.

It would also be a good idea to:

Reboot your router.

Disable IPv6.

Disable MAC Address randomization.

Post some logs from around connection drops.

Use the forums search engine if you are unsure how to accomplish those operations.

The entry should not be “2” in the above file, it should be “0”.

You need to show the contents of any/all config files you created by using the cat command.

I would also highly recommend uninstalling tlp. Tlp can often cause this type of issue. If uninstalling tlp corrects your wifi issue, then you can try reinstalling tlp and modifying the tlp configuration file.

3 Likes

I see you have marked my last post as your solution. Please clarify which step corrected your problem, as it was a rather lengthy post.

I'm glad to hear your issue has been corrected. However, please provide some details that will benefit other users of your adapter model.

3 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.