You are not logged in.

#1 2024-03-30 01:25:55

bisarch
Member
Registered: 2020-04-07
Posts: 59

[SOLVED] WiFi connection keeps dropping on inactivity on Laptop

On my Acer Laptop running Arch Linux, the WiFi connection keeps dropping after a period of inactivity. Here are the system details

$ inxi -F
System:
  Host: myacer Kernel: 6.8.2-arch2-1 arch: x86_64 bits: 64
  Desktop: KDE Plasma v: 6.0.2 Distro: Arch Linux
Machine:
  Type: Laptop System: Acer product: Swift SFE16-43 v: V1.63
    serial: <superuser required>
  Mobo: PHX model: Ray_PEU v: V1.63 serial: <superuser required>
    UEFI: INSYDE v: 1.63 date: 02/16/2024
Battery:
  ID-1: BAT1 charge: 54.1 Wh (100.0%) condition: 54.1/54.2 Wh (99.9%)
CPU:
  Info: 8-core model: AMD Ryzen 7 7840U w/ Radeon 780M Graphics bits: 64
    type: MT MCP cache: L2: 8 MiB
  Speed (MHz): avg: 2064 min/max: 400/5289:6076:5447:5605:5760:5132:5918
    cores: 1: 3206 2: 400 3: 2766 4: 2022 5: 1876 6: 400 7: 2345 8: 2377 9: 1811
    10: 2344 11: 1872 12: 400 13: 2749 14: 2507 15: 2672 16: 3291
Graphics:
  Device-1: AMD Phoenix1 driver: amdgpu v: kernel
  Device-2: Chicony ACER QHD User Facing driver: hid-generic,usbhid,uvcvideo
    type: USB
  Display: wayland server: X.org v: 1.21.1.11 with: Xwayland v: 23.2.4
    compositor: kwin_wayland driver: X: loaded: amdgpu unloaded: modesetting
    dri: radeonsi gpu: amdgpu resolution: 1829x1143
  API: EGL v: 1.5 drivers: radeonsi,swrast
    platforms: wayland,x11,surfaceless,device
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.0.3-arch1.2
    renderer: AMD Radeon Graphics (radeonsi gfx1103_r1 LLVM 17.0.6 DRM 3.57
    6.8.2-arch2-1)
  API: Vulkan Message: No Vulkan data available.
Audio:
  Device-1: AMD Rembrandt Radeon High Definition Audio driver: snd_hda_intel
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor driver: snd_pci_acp6x
  Device-3: AMD Family 17h/19h HD Audio driver: snd_hda_intel
  API: ALSA v: k6.8.2-arch2-1 status: kernel-api
  Server-1: PipeWire v: 1.0.4 status: active
Network:
  Device-1: MEDIATEK MT7922 802.11ax PCI Express Wireless Network Adapter
    driver: mt7921e
  IF: wlan0 state: up mac: 74:97:79:5d:22:b5
Bluetooth:
  Device-1: MediaTek Wireless_Device driver: btusb type: USB
  Report: rfkill ID: hci0 rfk-id: 1 state: down bt-service: disabled
    rfk-block: hardware: no software: no address: see --recommends
Drives:
  Local Storage: total: 953.87 GiB used: 98.49 GiB (10.3%)
  ID-1: /dev/nvme0n1 vendor: Micron model: 3400 MTFDKBA1T0TFH
    size: 953.87 GiB
Partition:
  ID-1: / size: 844.35 GiB used: 98.27 GiB (11.6%) fs: ext4
    dev: /dev/nvme0n1p6
  ID-2: /boot size: 256 MiB used: 230.5 MiB (90.0%) fs: vfat
    dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: partition size: 20 GiB used: 0 KiB (0.0%)
    dev: /dev/nvme0n1p4
Sensors:
  System Temperatures: cpu: 54.4 C mobo: N/A gpu: amdgpu temp: 51.0 C
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 16 GiB note: est. available: 14.93 GiB used: 4.49 GiB (30.0%)
  Processes: 351 Uptime: 1h 15m Shell: Bash inxi: 3.3.33

Please help.

Last edited by bisarch (2024-04-03 02:49:27)

Offline

#2 2024-03-30 09:36:16

impossibleveins23
Member
Registered: 2022-06-18
Posts: 92

Re: [SOLVED] WiFi connection keeps dropping on inactivity on Laptop

Please attach logs and dmesg output.

Offline

#3 2024-03-30 10:35:03

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,771
Website

Re: [SOLVED] WiFi connection keeps dropping on inactivity on Laptop

Try this kernel parameter:

mt7921e.disable_aspm=Y

If that fixes things see https://wiki.archlinux.org/title/Kernel … odprobe.d/ for a way to set the option permanently.

Offline

#4 2024-04-01 23:44:14

bisarch
Member
Registered: 2020-04-07
Posts: 59

Re: [SOLVED] WiFi connection keeps dropping on inactivity on Laptop

It turned out that the issue was with my WiFi not with my laptop. Thanks.

Offline

#5 2024-04-02 07:49:59

impossibleveins23
Member
Registered: 2022-06-18
Posts: 92

Re: [SOLVED] WiFi connection keeps dropping on inactivity on Laptop

Great.
If possible please share your solution and mark the thread as solved.

Offline

Board footer

Powered by FluxBB