Wifi only works for a few minutes in Manjaro, works fine in Windows

On my Assus TUF gaming laptop, Wifi stops working after a few minutes.
When I restart network manager (sudo systemctl restart NetworkManager), it either works again, or it does not detect any wifi SSIDs anymore, and the network interfaces become unavailable.
In the past, there also was a period of time that my wifi regularly stopped working, and it has been working good again afterwards, but now the problem re appears, and it is worse than before.

nmcli -show                                                                                                                                                                                   ✔  7s   
lo: connected (externally) to lo 
       "lo" 
       loopback (unknown), 00:00:00:00:00:00, sw, mtu 65536 
       inet4 127.0.0.1/8 
       inet6 ::1/128 
       route6 ::1/128 metric 256 

enp2s0: unavailable 
       "Realtek RTL8111/8168/8411" 
       ethernet (r8168), 3C:7C:3F:1A:FA:4A, hw, mtu 1500 

wlp3s0: unavailable 
       "Realtek RTL8822CE" 
       wifi (rtw_8822ce), D8:C0:A6:0E:EB:3F, hw, mtu 1500



nmcli connection show                                                                                                                                                                                ✔  
NAME                UUID                                  TYPE      DEVICE  
lo                  0ae91f9a-9875-4689-8e8f-5680f8d3c31b  loopback  lo      
aaa                 466bcb5c-789e-48b6-a3dc-796271fec3f9  wifi      --      
Armonea-Guest       a00eafb3-5bc3-4034-97c0-fe5794a62fc7  wifi      --      
MABO                322d6fdd-f604-4bf8-ad39-aac76823b45d  wifi      --      
Wired connection 1  1cc25d2d-9fff-30e6-b4ad-02a8054a5fe3  ethernet  -- 




nmcli device show                                                                                                                                                                                    ✔  
GENERAL.DEVICE:                         lo 
GENERAL.TYPE:                           loopback 
GENERAL.HWADDR:                         00:00:00:00:00:00 
GENERAL.MTU:                            65536 
GENERAL.STATE:                          100 (connected (externally)) 
GENERAL.CONNECTION:                     lo 
GENERAL.CON-PATH:                       /org/freedesktop/NetworkManager/ActiveConnection/1 
IP4.ADDRESS[1]:                         127.0.0.1/8 
IP4.GATEWAY:                            -- 
IP6.ADDRESS[1]:                         ::1/128 
IP6.GATEWAY:                            -- 
IP6.ROUTE[1]:                           dst = ::1/128, nh = ::, mt = 256 

GENERAL.DEVICE:                         enp2s0 
GENERAL.TYPE:                           ethernet 
GENERAL.HWADDR:                         3C:7C:3F:1A:FA:4A 
GENERAL.MTU:                            1500 
GENERAL.STATE:                          20 (unavailable) 
GENERAL.CONNECTION:                     -- 
GENERAL.CON-PATH:                       -- 
WIRED-PROPERTIES.CARRIER:               off 
IP4.GATEWAY:                            -- 
IP6.GATEWAY:                            -- 

GENERAL.DEVICE:                         wlp3s0 
GENERAL.TYPE:                           wifi 
GENERAL.HWADDR:                         D8:C0:A6:0E:EB:3F 
GENERAL.MTU:                            1500 
GENERAL.STATE:                          20 (unavailable) 
GENERAL.CONNECTION:                     -- 
GENERAL.CON-PATH:                       -- 
IP4.GATEWAY:                            -- 
IP6.GATEWAY:                            --


When I reboot in windows, which I normally don’t use, wifi does not work there either, but the windows troubleshooter fixes it, and when I then reboot in Manjaro, wifi works again for a few hours, and then it breaks again.

Not sure, but I am thinking it may be a driver bug that resurfaced after a Manjaro update.
Is there somewhere I can find older drivers to try if that solves the network problem, or any other way to troubleshoot and solve this issue ?

Any ideas on how to fix this ?

Another issue is that the pacman gui app does not update the system anymore.
I was able to do an update using the terminal command sudo pacman -Syyu
but a few AUR packages don’t get updated.
Pacman says "failed to prepare transaction and suggests to edit build files.
Failed to prepare transaction:
target not found:

I am running Manjaro for almost 4 years now on this laptop, and lately experimented with a number of install/uninstalls, and also installed a Brother printer driver using the Brother install script that required installing dpkg, which is a Debian package manager.
Do you think it is time for a complete re install of Manjaro and to start with a clean system to fix all of these problems ?

I forgot to mention I tried a number of different kernels, but that does not change anything.

I another forum post someone suggested using AUR package rtw88-dkms-git, but for anything from AUR I get the error message “target not found”, while AUR access is enabled in pacman.
Is there a problem with AUR at this moment ?

pacman does not provide custom package build.

I think you are mean Pamac and pamac caught a storm - the team is working out the kinks - that is why I linked you to the release topic.

I linked you to the search because there is so many issues with that device - it is impossible to know what is yours.

My guess is the card is powered off when the system idles to long - that is only a guess.

1 Like

:point_up:

you’ll have to wait a little bit until the manjaroteam has solved this serious problem actually. hopefully they get it fixed today.

while you’re running windows. boot to windows and DISABLE fastboot. this is one possible cause. make sure it is disabled for your wifi-device and report.

I disabled fastboot in windows, but now I no longer have any network available in linux, so I am posting this using windows now.

I rarely use windows, I left it on the PC just in case I would need a software that is not available on linux, like the application to update my car gps.

I’ll check if I have wifi access using the Manjaro live USB stick.

Try this solution: RTL8822CE Unable to enable Wifi - #4 by some_guy

Edit: Actually, scrap that for now and first post the output of:
inxi -Fazy

inxi -Fazy                                                                                                                                                                                    ✔  3s   
System: 
 Kernel: 6.1.38-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.1.1 
   parameters: BOOT_IMAGE=/boot/vmlinuz-6.1-x86_64 
   root=UUID=6a2ac9ce-0e4d-4698-ba63-21025411cf23 rw quiet apparmor=1 
   security=apparmor udev.log_priority=3 
 Desktop: KDE Plasma v: 5.27.6 tk: Qt v: 5.15.10 wm: kwin_x11 vt: 2 dm: SDDM 
   Distro: Manjaro Linux base: Arch Linux 
Machine: 
 Type: Laptop System: ASUSTeK product: ASUS TUF Gaming A17 FA706IU_FX706IU 
   v: 1.0 serial: <superuser required> 
 Mobo: ASUSTeK model: FA706IU v: 1.0 serial: <superuser required> 
   UEFI: American Megatrends v: FA706IU.316 date: 03/12/2021 
Battery: 
 ID-1: BAT1 charge: 35.9 Wh (50.8%) condition: 70.7/90.2 Wh (78.4%) 
   volts: 14.8 min: 15.9 model: ASUS A32-K55 type: Li-ion serial: N/A 
   status: discharging 
CPU: 
 Info: model: AMD Ryzen 7 4800H with Radeon Graphics bits: 64 type: MT MCP 
   arch: Zen 2 gen: 3 level: v3 note: check built: 2020-22 
   process: TSMC n7 (7nm) family: 0x17 (23) model-id: 0x60 (96) stepping: 1 
   microcode: 0x8600104 
 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: 8 MiB 
   desc: 2x4 MiB 
 Speed (MHz): avg: 1396 high: 1398 min/max: 1400/2900 boost: enabled 
   scaling: driver: acpi-cpufreq governor: powersave cores: 1: 1397 2: 1397 
   3: 1397 4: 1397 5: 1397 6: 1397 7: 1397 8: 1397 9: 1397 10: 1397 11: 1388 
   12: 1397 13: 1397 14: 1396 15: 1397 16: 1398 bogomips: 92657 
 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 mitigation: untrained return thunk; SMT enabled with STIBP 
   protection 
 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: 
   always-on, RSB filling, PBRSB-eIBRS: Not affected 
 Type: srbds status: Not affected 
 Type: tsx_async_abort status: Not affected 
Graphics: 
 Device-1: NVIDIA TU116M [GeForce GTX 1660 Ti Mobile] vendor: ASUSTeK 
   driver: N/A alternate: nouveau non-free: 535.xx+ 
   status: current (as of 2023-07) arch: Turing code: TUxxx 
   process: TSMC 12nm FF built: 2018-22 pcie: gen: 3 speed: 8 GT/s lanes: 8 
   link-max: lanes: 16 bus-ID: 01:00.0 chip-ID: 10de:2191 class-ID: 0300 
 Device-2: AMD Renoir vendor: ASUSTeK driver: amdgpu v: kernel arch: GCN-5 
   code: Vega process: GF 14nm built: 2017-20 pcie: gen: 4 speed: 16 GT/s 
   lanes: 16 ports: active: eDP-1 empty: HDMI-A-1 bus-ID: 05:00.0 
   chip-ID: 1002:1636 class-ID: 0300 temp: 41.0 C 
 Device-3: IMC Networks USB2.0 HD UVC WebCam driver: uvcvideo type: USB 
   rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-4:2 chip-ID: 13d3:56a2 
   class-ID: 0e02 serial: <filter> 
 Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.1.2 
   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: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22") 
   s-diag: 582mm (22.93") 
 Monitor-1: eDP-1 mapped: eDP model: BOE Display 0x08be built: 2019 
   res: 1920x1080 hz: 120 dpi: 128 gamma: 1.2 size: 382x215mm (15.04x8.46") 
   diag: 438mm (17.3") ratio: 16:9 modes: 1920x1080 
 API: OpenGL v: 4.6 Mesa 23.0.4 renderer: AMD Radeon Graphics (renoir LLVM 
   15.0.7 DRM 3.49 6.1.38-1-MANJARO) direct-render: Yes 
Audio: 
 Device-1: NVIDIA TU116 High Definition Audio vendor: ASUSTeK 
   driver: snd_hda_intel v: kernel pcie: speed: Unknown lanes: 63 link-max: 
   gen: 6 speed: 64 GT/s bus-ID: 01:00.1 chip-ID: 10de:1aeb class-ID: 0403 
 Device-2: AMD Renoir Radeon High Definition Audio vendor: ASUSTeK 
   driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16 
   bus-ID: 05:00.1 chip-ID: 1002:1637 class-ID: 0403 
 Device-3: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: DekTec Digital 
   Video B.V. 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_pci_ps, 
   snd_sof_amd_renoir, snd_sof_amd_rembrandt pcie: gen: 4 speed: 16 GT/s 
   lanes: 16 bus-ID: 05:00.5 chip-ID: 1022:15e2 class-ID: 0480 
 Device-4: AMD Family 17h/19h HD Audio vendor: ASUSTeK driver: snd_hda_intel 
   v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 05:00.6 
   chip-ID: 1022:15e3 class-ID: 0403 
 API: ALSA v: k6.1.38-1-MANJARO status: kernel-api with: aoss 
   type: oss-emulator tools: alsactl,alsamixer,amixer 
 Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl 
 Server-2: JACK v: 1.9.22 status: off tools: N/A 
 Server-3: PipeWire v: 0.3.73 status: off with: pipewire-media-session 
   status: active tools: pw-cli 
 Server-4: PulseAudio v: 16.1 status: active with: 1: pulseaudio-alsa 
   type: plugin 2: pulseaudio-jack type: module tools: pacat,pactl 
Network: 
 Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
   vendor: ASUSTeK driver: r8168 v: 8.050.03-NAPI modules: r8169 pcie: gen: 1 
   speed: 2.5 GT/s lanes: 1 port: e000 bus-ID: 02:00.0 chip-ID: 10ec:8168 
   class-ID: 0200 
 IF: enp2s0 state: down mac: <filter> 
 Device-2: Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter 
   vendor: AzureWave driver: rtw_8822ce v: N/A modules: rtw88_8822ce pcie: 
   speed: Unknown lanes: 63 link-max: gen: 6 speed: 64 GT/s port: d000 
   bus-ID: 03:00.0 chip-ID: 10ec:c822 class-ID: 0280 
 IF: wlp3s0 state: down mac: <filter> 
Bluetooth: 
 Device-1: IMC Networks Bluetooth Radio driver: btusb v: 0.8 type: USB 
   rev: 1.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 5-1:2 chip-ID: 13d3:3548 
   class-ID: e001 serial: <filter> 
 Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends 
Drives: 
 Local Storage: total: 953.87 GiB used: 431.71 GiB (45.3%) 
 SMART Message: Unable to run smartctl. Root privileges required. 
 ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital model: PC SN530 
   SDBPNPZ-1T00-1002 size: 953.87 GiB block-size: physical: 512 B 
   logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter> 
   fw-rev: 21106000 temp: 38.9 C scheme: GPT 
Partition: 
 ID-1: / raw-size: 290.3 GiB size: 284.68 GiB (98.06%) used: 95.02 GiB (33.4%) 
   fs: ext4 dev: /dev/nvme0n1p8 maj-min: 259:8 
 ID-2: /boot/efi raw-size: 500 MiB size: 499 MiB (99.80%) 
   used: 324 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p9 maj-min: 259:9 
Swap: 
 Kernel: swappiness: 60 (default) cache-pressure: 100 (default) 
 ID-1: swap-1 type: partition size: 35.64 GiB used: 0 KiB (0.0%) 
   priority: -2 dev: /dev/nvme0n1p5 maj-min: 259:5 
Sensors: 
 System Temperatures: cpu: 44.8 C mobo: N/A gpu: amdgpu temp: 42.0 C 
 Fan Speeds (RPM): cpu: 2200 
Info: 
 Processes: 354 Uptime: 1h 24m wakeups: 1 Memory: total: 16 GiB note: est. 
 available: 15.05 GiB used: 5.58 GiB (37.1%) Init: systemd v: 253 
 default: graphical tool: systemctl Compilers: gcc: 13.1.1 clang: 15.0.7 
 Packages: 2209 pm: pacman pkgs: 2196 libs: 498 tools: pamac,yay pm: flatpak 
 pkgs: 0 pm: snap pkgs: 13 Shell: Zsh v: 5.9 default: Bash v: 5.1.16 
 running-in: yakuake inxi: 3.3.28