Slow Wifi - ASUSTeK Vivobook

Hi,
I've seen quite a few recent topics like this one but never exactly the same issue.

Firstly, here is my garuda-inxi :

garuda-inxi
System:
  Kernel: 6.0.2-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=394702fa-734d-4ffe-be2e-fc60fa05f197 rw [email protected]
    quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
    systemd.unified_cgroup_hierarchy=1
    resume=UUID=6e50783f-d483-49d4-ae7f-6d21a4cb652d loglevel=3
  Desktop: KDE Plasma v: 5.26.1 tk: Qt v: 5.15.6 info: latte-dock
    wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Laptop System: ASUSTeK product: Vivobook_ASUSLaptop M3401QA_M3401QA
    v: 1.0 serial: <superuser required>
  Mobo: ASUSTeK model: M3401QA v: 1.0 serial: <superuser required>
    UEFI: American Megatrends LLC. v: M3401QA.303 date: 08/06/2021
Battery:
  ID-1: BAT0 charge: 55.6 Wh (100.0%) condition: 55.6/63.0 Wh (88.1%)
    volts: 12.0 min: 12.0 model: ASUSTeK ASUS Battery type: Li-ion serial: N/A
    status: not charging cycles: 25
  Device-1: hidpp_battery_0 model: Logitech MX Keys Wireless Keyboard
    serial: <filter> charge: 55% (should be ignored) rechargeable: yes
    status: discharging
  Device-2: hidpp_battery_1 model: Logitech Wireless Mouse MX Master 3
    serial: <filter> charge: 55% (should be ignored) rechargeable: yes
    status: discharging
CPU:
  Info: model: AMD Ryzen 7 5800H with Radeon Graphics bits: 64 type: MT MCP
    arch: Zen 3 gen: 4 level: v3 note: check built: 2021-22 process: TSMC n7
    (7nm) family: 0x19 (25) model-id: 0x50 (80) stepping: 0
    microcode: 0xA50000C
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB
    L3: 16 MiB desc: 1x16 MiB
  Speed (MHz): avg: 1324 high: 3200 min/max: 1200/4462 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 3200 2: 1200
    3: 1200 4: 1200 5: 1200 6: 1200 7: 1200 8: 1200 9: 1197 10: 1200 11: 1200
    12: 1200 13: 1200 14: 1200 15: 1198 16: 1197 bogomips: 102202
  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: mmio_stale_data status: Not affected
  Type: retbleed 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, IBRS_FW,
    STIBP: always-on, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Cezanne vendor: ASUSTeK driver: amdgpu v: kernel
    arch: GCN-5.1 code: Vega-2 process: TSMC n7 (7nm) built: 2018-21 pcie:
    gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s ports:
    active: HDMI-A-1,eDP-1 empty: none bus-ID: 03:00.0 chip-ID: 1002:1638
    class-ID: 0300 temp: 48.0 C
  Device-2: IMC Networks USB2.0 HD UVC WebCam type: USB driver: uvcvideo
    bus-ID: 3-3:3 chip-ID: 13d3:5458 class-ID: fe01 serial: <filter>
  Display: x11 server: X.Org v: 21.1.4 with: Xwayland v: 22.1.3
    compositor: kwin_x11 driver: X: loaded: amdgpu unloaded: modesetting
    alternate: fbdev,vesa dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3840x1200 s-dpi: 96 s-size: 1015x317mm (39.96x12.48")
    s-diag: 1063mm (41.86")
  Monitor-1: HDMI-A-1 mapped: HDMI-A-0 pos: right model: AOC 27B2
    serial: <filter> built: 2020 res: 1920x1080 dpi: 82 gamma: 1.2
    size: 598x336mm (23.54x13.23") diag: 686mm (27") ratio: 16:9 modes:
    max: 1920x1080 min: 720x400
  Monitor-2: eDP-1 mapped: eDP pos: primary,left model: Samsung 0x4154
    built: 2020 res: 1920x1200 hz: 90 dpi: 161 gamma: 1.2
    size: 302x189mm (11.89x7.44") diag: 356mm (14") ratio: 16:10 modes:
    max: 2880x1800 min: 640x480
  OpenGL: renderer: RENOIR (renoir LLVM 14.0.6 DRM 3.48 6.0.2-zen1-1-zen)
    v: 4.6 Mesa 22.2.1 direct render: Yes
Audio:
  Device-1: AMD Renoir Radeon High Definition Audio driver: snd_hda_intel
    v: kernel bus-ID: 1-2:2 pcie: chip-ID: 0d8c:0102 gen: 3 speed: 8 GT/s
    class-ID: 0300 lanes: 16 link-max: gen: 4 speed: 16 GT/s bus-ID: 03:00.1
    chip-ID: 1002:1637 class-ID: 0403
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: ASUSTeK
    driver: N/A alternate: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x,
    snd_pci_acp6x, snd_acp_pci, snd_rpl_pci_acp6x, snd_sof_amd_renoir pcie:
    gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s
    bus-ID: 03:00.5 chip-ID: 1022:15e2 class-ID: 0480
  Device-3: AMD Family 17h/19h HD Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 03:00.6 chip-ID: 1022:15e3
    class-ID: 0403
  Device-4: C-Media CM106 Like Sound Device type: USB
    driver: hid-generic,snd-usb-audio,usbhid
  Sound API: ALSA v: k6.0.2-zen1-1-zen running: yes
  Sound Interface: sndio v: N/A running: no
  Sound Server-1: PulseAudio v: 16.1 running: no
  Sound Server-2: PipeWire v: 0.3.59 running: yes
Network:
  Device-1: MEDIATEK MT7921 802.11ax PCI Express Wireless Network Adapter
    vendor: AzureWave driver: mt7921e v: kernel pcie: gen: 2 speed: 5 GT/s
    lanes: 1 bus-ID: 01:00.0 chip-ID: 14c3:7961 class-ID: 0280
  IF: wlp1s0 state: up mac: <filter>
  IF-ID-1: enp3s0f3u4 state: unknown speed: -1 duplex: half mac: <filter>
Bluetooth:
  Device-1: IMC Networks Wireless_Device type: USB driver: btusb v: 0.8
    bus-ID: 3-2:2 chip-ID: 13d3:3563 class-ID: e001 serial: <filter>
  Report: bt-adapter ID: hci0 rfk-id: 2 state: down
    bt-service: enabled,running rfk-block: hardware: no software: yes
    address: <filter>
Drives:
  Local Storage: total: 953.87 GiB used: 80.55 GiB (8.4%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Intel model: SSDPEKNU010TZ
    size: 953.87 GiB block-size: physical: 512 B logical: 512 B
    speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: 002C
    temp: 30.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 936.96 GiB size: 936.96 GiB (100.00%) used: 80.55 GiB
    (8.6%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 592 KiB
    (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 936.96 GiB size: 936.96 GiB (100.00%) used: 80.55
    GiB (8.6%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-4: /var/log raw-size: 936.96 GiB size: 936.96 GiB (100.00%) used: 80.55
    GiB (8.6%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-5: /var/tmp raw-size: 936.96 GiB size: 936.96 GiB (100.00%) used: 80.55
    GiB (8.6%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 15.03 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
  ID-2: swap-2 type: partition size: 16.61 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:3
Sensors:
  System Temperatures: cpu: 57.1 C mobo: N/A gpu: amdgpu temp: 47.0 C
  Fan Speeds (RPM): cpu: 3100
Info:
  Processes: 405 Uptime: 23m wakeups: 22 Memory: 15.03 GiB used: 6.24 GiB
  (41.5%) Init: systemd v: 251 default: graphical tool: systemctl
  Compilers: gcc: 12.2.0 clang: 14.0.6 Packages: pm: pacman pkgs: 1895
  libs: 378 tools: octopi,pamac,paru Shell: Zsh v: 5.9
  running-in: xfce4-terminal inxi: 3.3.22
Garuda (2.6.8-1):
  System install date:     2022-01-04
  Last full system update: 2022-10-18
  Is partially upgraded:   No
  Relevant software:       NetworkManager
  Windows dual boot:       No/Undetected
  Snapshots:               Timeshift
  Failed units:

The problem is : after a system update with garuda-update, my wifi connection is very slow.
Speedtest with Ookla before the update : 30 Mbps / 100 Mbps.
After the update : 0.5 Mbps / Failed (lmao).

Network Manager is not starting properly : after boot, instantly says low connectivity, after some time it eventually connects to my wifi.

Tried this :

systemctl stop NetworkManager
systemctl start NetworkManager

This is only happening on this laptop : Asus Vivobook Pro 14 OLED, my HP Probook is doing fine.

It could be this kernel bug:
https://bugzilla.kernel.org/show_bug.cgi?id=216039
I think you'd better try to move to linux-lts and stay there for a while.

3 Likes

Tried with LTS & MainLine.
Even worse xD

Have you read all of these threads regarding your adapter:

https://forum.garudalinux.org/search?q=MEDIATEK%20MT7921%20asus%20wifi

I would suggest trying further kernels, and be sure your bios is up to date.

There are lots of general recommendations to correct a slow wifi connection, read these threads for common fixes:

https://forum.garudalinux.org/search?q=Slow%20wifi%20in%3Atitle

Not sure if anything will help you, as that is an extremely problematic wifi adapter. You might want to try installing the linux-frmware-git package. If that does not help, you might want to try downgrading the linix-firmware package as an alternative.

Good luck

3 Likes

Are you connecting to an AP or a WI-Fi router? Meshed? What's your NAT table look like? Routing policies? How many other ESSIDs on this BSSID are running Garuda, specifically?

I tried a weird 'fix' I found for a previous problem with this adapter, and it works for now...
Explained it on another thread :

I still can't explain why this is working.
Last time I just used this trick till everything worked again.

The trick :
poweroff > unplug charger > boot > plug in charger

1 Like

Check Wi-Fi power settings. Post output of iwconfig if you could..