Slow wifi connection

I can’t connect to the 5gz signal and the 2.5gz is quite slow (reaches about 2mbps). I have dual boot with windows and there it works normally (reaches more than 100mbps).

inxi -N:

Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8168 
           Device-2: Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter driver: rtw_8821ce 

inxi -v7azy

  Kernel: 5.10.102-1-MANJARO x86_64 bits: 64 compiler: N/A 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.10-x86_64 
  root=UUID=f2fe6683-cd78-4121-9bb4-25daa5b1ab25 rw quiet apparmor=1 
  security=apparmor udev.log_priority=3 
  Desktop: KDE Plasma 5.19.5 tk: Qt 5.15.1 info: latte-dock wm: kwin_x11 
  dm: SDDM Distro: Manjaro Linux 
  Type: Laptop System: ASUSTeK product: TUF Gaming FX705DT_FX705DT v: 1.0 
  serial: <filter> 
  Mobo: ASUSTeK model: FX705DT v: 1.0 serial: <filter> 
  UEFI: American Megatrends v: FX705DT.316 date: 01/28/2021 
  ID-1: BAT0 charge: 46.6 Wh condition: 48.3/64.1 Wh (75%) volts: 16.8/15.6 
  model: FX70542 type: Li-ion serial: N/A status: Charging 
  Device-1: apple_mfi_fastcharge model: N/A serial: N/A charge: N/A 
  status: N/A 
  RAM: total: 7.64 GiB used: 3.41 GiB (44.7%) 
  RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
  Topology: Quad Core model: AMD Ryzen 5 3550H with Radeon Vega Mobile Gfx 
  bits: 64 type: MT MCP arch: Zen+ family: 17 (23) model-id: 18 (24) 
  stepping: 1 microcode: 8108102 L2 cache: 2048 KiB bogomips: 33551 
  Speed: 1267 MHz min/max: 1400/2100 MHz boost: enabled Core speeds (MHz): 
  1: 1242 2: 1252 3: 1695 4: 1444 5: 1249 6: 1298 7: 1316 8: 1281 
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1 
  bmi2 bpext clflush clflushopt clzero cmov cmp_legacy constant_tsc cpb cpuid 
  cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid f16c flushbyasid 
  fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb irperf lahf_lm lbrv lm mca 
  mce misalignsse mmx mmxext monitor movbe msr mtrr mwaitx nonstop_tsc nopl 
  npt nrip_save nx osvw overflow_recov pae pat pausefilter pclmulqdq pdpe1gb 
  perfctr_core perfctr_llc perfctr_nb pfthreshold pge pni popcnt pse pse36 
  rdrand rdseed rdtscp rep_good sep sev sev_es sha_ni skinit smap smca sme 
  smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 succor svm svm_lock syscall tce 
  topoext tsc tsc_scale v_vmsave_vmload vgif vmcb_clean vme vmmcall wdt 
  xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves 
  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 and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, STIBP: 
  disabled, RSB filling 
  Type: srbds status: Not affected 
  Type: tsx_async_abort status: Not affected 
  Device-1: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q] vendor: ASUSTeK 
  driver: nvidia v: 510.54 alternate: nouveau,nvidia_drm bus ID: 01:00.0 
  chip ID: 10de:1f91 
  Device-2: AMD Picasso vendor: ASUSTeK driver: amdgpu v: kernel 
  bus ID: 05:00.0 chip ID: 1002:15d8 
  Device-3: IMC Networks USB2.0 HD UVC WebCam type: USB driver: uvcvideo 
  bus ID: 3-1:2 chip ID: 13d3:56a2 serial: <filter> 
  Display: x11 server: X.Org 1.20.9 compositor: kwin_x11 driver: amdgpu,nvidia 
  FAILED: ati unloaded: modesetting,nouveau alternate: fbdev,nv,vesa 
  display ID: :0 screens: 1 
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") 
  s-diag: 582mm (22.9") 
  Monitor-1: eDP res: 1920x1080 hz: 60 dpi: 128 size: 382x215mm (15.0x8.5") 
  diag: 438mm (17.3") 
  OpenGL: renderer: AMD RAVEN (DRM 3.40.0 5.10.102-1-MANJARO LLVM 10.0.1) 
  v: 4.6 Mesa 20.1.8 direct render: Yes 
  Device-1: NVIDIA vendor: ASUSTeK driver: snd_hda_intel v: kernel 
  bus ID: 01:00.1 chip ID: 10de:10fa 
  Device-2: AMD Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel 
  v: kernel bus ID: 05:00.6 chip ID: 1022:15e3 
  Sound Server: ALSA v: k5.10.102-1-MANJARO 
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: ASUSTeK driver: r8168 v: 8.049.02-NAPI modules: r8169 port: e000 
  bus ID: 02:00.0 chip ID: 10ec:8168 
  IF: enp2s0 state: down mac: <filter> 
  Device-2: Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter 
  vendor: AzureWave driver: rtw_8821ce v: N/A modules: rtw88_8821ce port: d000 
  bus ID: 04:00.0 chip ID: 10ec:c821 
  IF: wlp4s0 state: up mac: <filter> 
  IP v4: <filter> type: dynamic noprefixroute scope: global 
  broadcast: <filter> 
  IP v6: <filter> type: dynamic noprefixroute scope: global 
  IP v6: <filter> type: dynamic noprefixroute scope: global 
  IP v6: <filter> type: noprefixroute scope: link 
  IF-ID-1: enp5s0f3u3c4i2 state: down mac: <filter> 
  WAN IP: <filter> 
  Local Storage: total: 476.94 GiB used: 34.81 GiB (7.3%) 
  SMART Message: Unable to run smartctl. Root privileges required. 
  ID-1: /dev/nvme0n1 vendor: Intel model: SSDPEKNW512G8 size: 476.94 GiB 
  block size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 
  serial: <filter> rev: 002C scheme: GPT 
  Message: No Optical or Floppy data was found. 
  Message: No RAID data was found. 
  ID-1: / raw size: 81.80 GiB size: 80.02 GiB (97.82%) used: 34.78 GiB (43.5%) 
  fs: ext4 dev: /dev/nvme0n1p5 label: N/A 
  uuid: f2fe6683-cd78-4121-9bb4-25daa5b1ab25 
  ID-2: /boot/efi raw size: 260.0 MiB size: 256.0 MiB (98.46%) 
  used: 28.0 MiB (11.0%) fs: vfat dev: /dev/nvme0n1p1 label: SYSTEM 
  uuid: E851-1186 
  Alert: No Swap data was found. 
  ID-1: /dev/nvme0n1p2 size: 16.0 MiB fs: <superuser/root required> label: N/A 
  uuid: N/A 
  ID-2: /dev/nvme0n1p3 size: 394.03 GiB fs: ntfs label: OS 
  uuid: E08852F28852C726 
  ID-3: /dev/nvme0n1p4 size: 850.0 MiB fs: ntfs label: RECOVERY 
  uuid: D07C3FAD7C3F8D6A 
  Hub: 1-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 speed: 480 Mb/s 
  chip ID: 1d6b:0002 
  Device-1: 1-2:2 info: Razer USA DeathAdder Elite type: Mouse,Keyboard 
  driver: hid-generic,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s 
  chip ID: 1532:005c 
  Device-2: 1-3:3 info: Apple iPhone 5/5C/5S/6/SE type: Still Imaging 
  driver: ipheth,usbfs interfaces: 3 rev: 2.0 speed: 480 Mb/s 
  chip ID: 05ac:12a8 serial: <filter> 
  Device-3: 1-4:4 info: IMC Networks Bluetooth Radio type: Bluetooth 
  driver: N/A interfaces: 2 rev: 1.1 speed: 12 Mb/s chip ID: 13d3:3530 
  serial: <filter> 
  Hub: 2-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 speed: 10 Gb/s 
  chip ID: 1d6b:0003 
  Hub: 3-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 speed: 480 Mb/s 
  chip ID: 1d6b:0002 
  Device-1: 3-1:2 info: IMC Networks USB2.0 HD UVC WebCam type: Video 
  driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s chip ID: 13d3:56a2 
  serial: <filter> 
  Device-2: 3-2:3 info: Logitech Wireless Receiver type: Mouse 
  driver: hid-generic,usbhid interfaces: 1 rev: 1.1 speed: 12 Mb/s 
  chip ID: 046d:c542 
  Hub: 4-0:1 info: Full speed (or root) Hub ports: 1 rev: 3.1 speed: 10 Gb/s 
  chip ID: 1d6b:0003 
  System Temperatures: cpu: 51.1 C mobo: N/A gpu: amdgpu temp: 51 C 
  Fan Speeds (RPM): cpu: 2400 
  Processes: 291 Uptime: 16m Init: systemd v: 246 Compilers: gcc: 10.2.0 
  clang: N/A Packages: 1274 pacman: 1265 lib: 348 flatpak: 0 snap: 9 
  Shell: Bash v: 5.0.18 running in: konsole inxi: 3.1.05 

New Manjaro user :slight_smile:

Your wifi adapter is RTL8821CE. My laptop has the same one. You need to install the alternate RTL8821CE driver from AUR.

Install linux510-headers. This is required to build the driver for your installed kernel.

sudo pacman -Syu linux510-headers

Install the driver from AUR. Don’t be alarmed if it takes a while to compile the driver.

pamac build rtl8821ce-dkms-git

Next, we need to block the kernel from using its built-in RTL8821CE driver, which will allow the alternate driver to load. Open Kate text editor, and create a file containing the line:

blacklist rtw88_8821ce

Save it as /etc/modprobe.d/disable-rtw88_8821ce.conf

Reboot your system, and you should have wifi.

I did all the steps and now I don’t have wifi at all, it only shows the wire connections, the inxi -N returns N/A on the device two now.

Thank you! The solution was to do all these steps, but I had to remove rtw88_8821ce from the blacklist

Then you’re using the kernel’s built-in driver, not rtl8821ce-dkms-git.

So in this case what should I do? when I tried to move the rtl8821ce to the blacklist no wifi was available for me

Did you install the correct headers for your kernel before installing rtl8821ce-dkms-git?

Are you sure?
Where is the DKMS built module put when it was built and installed?
Does it have a different name?
Or is it simply put where the one provided by the kernel was?

I’m asking this mainly out of my own curiosity
and because he spoke of a solution - meaning to me that it works.

… if it works - why try to investigate and adapt things?

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