RTL8822be - no wifi adapter

Hello everyone,
I have problem with driver Realtek8822be.
I saw other issues similar to mine but still I have no wifi so I decided to write this post.
Before I was using Garuda and my wifi was working perfectly.
When I was installing Garuda the installer did not ask me to install Realtek driver or anything and I guess it did other time I installed it. So when I run system I have no wifi (no wifi settings either) .
What I did is :
sudo pacman -S rtw88-dkms-git and reboot with no result.. I am not very advanced in computers so I would appreciate some help with that.. I have to add that Bluetooth works fine.

Here is some output that would help:

dsmeg (I will post red flags):

[    0.086436] x86/cpu: SGX disabled by BIOS.

[    3.884234] rtw_8822be 0000:02:00.0: Firmware version 27.2.0, H2C version 13
[    3.892420] rtw_8822be 0000:02:00.0: can't change power state from D3cold to D0 (config space inaccessible)
[    3.894178] rtw_8822be 0000:02:00.0: mac power on failed
[    3.894182] rtw_8822be 0000:02:00.0: failed to power on mac
[    3.894184] rtw_8822be 0000:02:00.0: failed to setup chip efuse info
[    3.894185] rtw_8822be 0000:02:00.0: failed to setup chip information

[    3.936621] Error: Driver 'rtw_8822be' is already registered, aborting...

rfkill list

0: asus-wlan: Wireless LAN
	Soft blocked: no
	Hard blocked: no
1: asus-bluetooth: Bluetooth
	Soft blocked: no
	Hard blocked: no
2: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no

lsmod | sort

8250_dw                20480  0
ac97_bus               16384  1 snd_soc_core
acpi_pad               24576  0
acpi_tad               20480  0
acpi_thermal_rel       16384  1 int3400_thermal
aesni_intel           380928  4
af_alg                 36864  6 algif_hash,algif_skcipher
algif_hash             20480  1
algif_skcipher         16384  1
amdgpu               9269248  0
asus_nb_wmi            28672  0
asus_wmi               65536  1 asus_nb_wmi
atkbd                  36864  0
blake2b_generic        20480  0
bluetooth             778240  40 btrtl,hidp,btintel,btbcm,bnep,btusb,rfcomm
bnep                   32768  2
bpf_preload            16384  0
btbcm                  20480  1 btusb
btintel                49152  1 btusb
btrfs                1789952  1
btrtl                  28672  1 btusb
btusb                  69632  0
cdc_ether              24576  1 rndis_host
cfg80211             1097728  2 rtw_core,mac80211
cmac                   16384  3
coretemp               20480  0
crc16                  16384  1 bluetooth
crc32c_generic         16384  0
crc32c_intel           24576  2
crc32_pclmul           16384  0
crct10dif_pclmul       16384  1
cryptd                 28672  3 crypto_simd,ghash_clmulni_intel
crypto_simd            16384  1 aesni_intel
crypto_user            20480  0
dm_mod                192512  0
drm_ttm_helper         16384  3 amdgpu,radeon,nouveau
dw_dmac                16384  0
ecdh_generic           16384  2 bluetooth
fat                    90112  1 vfat
fuse                  184320  3
ghash_clmulni_intel    16384  0
gpu_sched              53248  1 amdgpu
hid_multitouch         32768  0
hidp                   36864  1
i2c_hid                45056  1 i2c_hid_acpi
i2c_hid_acpi           16384  0
i2c_i801               45056  0
i2c_smbus              20480  1 i2c_i801
i8042                  45056  1 asus_nb_wmi
i915                 3518464  19
idma64                 20480  0
int3400_thermal        24576  0
int3403_thermal        20480  0
int340x_thermal_zone    20480  2 int3403_thermal,processor_thermal_device
intel_agp              24576  0
intel_cstate           20480  0
intel_gtt              28672  2 intel_agp,i915
intel_lpss             16384  1 intel_lpss_pci
intel_lpss_pci         28672  2
intel_pch_thermal      20480  0
intel_pmc_bxt          16384  1 iTCO_wdt
intel_powerclamp       20480  0
intel_rapl_common      36864  2 intel_rapl_msr,processor_thermal_rapl
intel_rapl_msr         20480  0
intel_soc_dts_iosf     24576  1 processor_thermal_device_pci_legacy
intel_tcc_cooling      16384  0
intel_uncore          212992  0
ipmi_devintf           20480  0
ipmi_msghandler        81920  1 ipmi_devintf
ip_tables              32768  0
irqbypass              16384  1 kvm
iTCO_vendor_support    16384  1 iTCO_wdt
iTCO_wdt               16384  0
joydev                 28672  0
kvm                  1179648  1 kvm_intel
kvm_intel             364544  0
ledtrig_audio          16384  2 snd_hda_codec_generic,snd_sof
libarc4                16384  1 mac80211
libcrc32c              16384  1 btrfs
libps2                 24576  1 atkbd
mac80211             1306624  2 rtw_core,rtw_pci
mac_hid                16384  0
mc                     77824  4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
mii                    20480  1 usbnet
Module                  Size  Used by
mousedev               24576  0
mxm_wmi                16384  1 nouveau
nouveau              2904064  0
ns                     36864  1 qrtr
platform_profile       16384  1 asus_wmi
processor_thermal_device    20480  1 processor_thermal_device_pci_legacy
processor_thermal_device_pci_legacy    16384  0
processor_thermal_mbox    16384  2 processor_thermal_rfim,processor_thermal_device
processor_thermal_rapl    20480  1 processor_thermal_device
processor_thermal_rfim    20480  1 processor_thermal_device
qrtr                   24576  4
radeon               2002944  0
raid6_pq              122880  1 btrfs
rapl                   16384  0
rfcomm                 94208  4
rfkill                 32768  7 asus_wmi,bluetooth,cfg80211
rndis_host             24576  0
rng_core               20480  1 tpm
rtw_8822b             233472  1 rtw88_8822be
rtw88_8822be           16384  0
rtw_core              266240  2 rtw_8822b,rtw_pci
rtw_pci                36864  1 rtw88_8822be
serio                  28672  4 serio_raw,atkbd,i8042
serio_raw              20480  0
snd                   135168  16 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_pcm
snd_compress           28672  1 snd_soc_core
snd_hda_codec         192512  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda
snd_hda_codec_generic   110592  1 snd_hda_codec_realtek
snd_hda_codec_hdmi     90112  1
snd_hda_codec_realtek   180224  1
snd_hda_core          122880  10 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda
snd_hda_ext_core       36864  4 snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda
snd_hda_intel          61440  1
snd_hrtimer            16384  1
snd_hwdep              20480  1 snd_hda_codec
snd_intel_dspcfg       32768  3 snd_hda_intel,snd_sof_intel_hda_common,snd_soc_skl
snd_intel_sdw_acpi     20480  2 snd_sof_intel_hda_common,snd_intel_dspcfg
snd_pcm               180224  11 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_compress,snd_soc_core,snd_soc_skl,snd_hda_core,snd_pcm_dmaengine
snd_pcm_dmaengine      16384  1 snd_soc_core
snd_seq                98304  7 snd_seq_dummy
snd_seq_device         16384  1 snd_seq
snd_seq_dummy          16384  0
snd_soc_acpi           16384  3 snd_soc_acpi_intel_match,snd_sof_intel_hda_common,snd_soc_skl
snd_soc_acpi_intel_match    57344  3 snd_sof_intel_hda_common,snd_soc_skl,snd_sof_pci_intel_cnl
snd_soc_core          409600  5 soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl
snd_soc_hdac_hda       28672  2 snd_sof_intel_hda_common,snd_soc_skl
snd_soc_skl           233472  0
snd_soc_sst_dsp        40960  1 snd_soc_skl
snd_soc_sst_ipc        20480  1 snd_soc_skl
snd_sof               204800  2 snd_sof_pci,snd_sof_intel_hda_common
snd_sof_intel_hda      20480  1 snd_sof_intel_hda_common
snd_sof_intel_hda_common   131072  1 snd_sof_pci_intel_cnl
snd_sof_pci            20480  2 snd_sof_intel_hda_common,snd_sof_pci_intel_cnl
snd_sof_pci_intel_cnl    16384  0
snd_sof_xtensa_dsp     20480  1 snd_sof_intel_hda_common
snd_timer              49152  3 snd_seq,snd_hrtimer,snd_pcm
soundcore              16384  1 snd
soundwire_bus         126976  3 soundwire_intel,soundwire_generic_allocation,soundwire_cadence
soundwire_cadence      45056  1 soundwire_intel
soundwire_generic_allocation    16384  1 soundwire_intel
soundwire_intel        53248  1 snd_sof_intel_hda_common
sparse_keymap          16384  1 asus_wmi
spi_pxa2xx_platform    40960  0
tpm                   102400  3 tpm_tis,tpm_crb,tpm_tis_core
tpm_crb                24576  0
tpm_tis                16384  0
tpm_tis_core           32768  1 tpm_tis
ttm                    90112  5 amdgpu,radeon,drm_ttm_helper,i915,nouveau
uinput                 24576  0
usbnet                 61440  2 rndis_host,cdc_ether
uvcvideo              151552  0
vfat                   24576  1
video                  57344  3 asus_wmi,i915,nouveau
videobuf2_common       94208  4 videobuf2_vmalloc,videobuf2_v4l2,uvcvideo,videobuf2_memops
videobuf2_memops       20480  1 videobuf2_vmalloc
videobuf2_v4l2         40960  1 uvcvideo
videobuf2_vmalloc      20480  1 uvcvideo
videodev              319488  3 videobuf2_v4l2,uvcvideo,videobuf2_common
wmi                    40960  4 asus_wmi,wmi_bmof,mxm_wmi,nouveau
wmi_bmof               16384  0
x86_pkg_temp_thermal    20480  0
xhci_pci               24576  0
xhci_pci_renesas       24576  1 xhci_pci
xor                    24576  1 btrfs
x_tables               61440  1 ip_tables
zram                   40960  2

inxi -SMa; hwinfo --netcard --bluetooth | grep -Ei "(hotplug|speed|model|status|cmd|file|detected|driver:)"

System:
  Host: julia Kernel: 5.15.10-zen1-1-zen x86_64 bits: 64 compiler: gcc
    v: 11.1.0 parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=83c9ca0f-5bbc-42e1-b5c5-ec24ec10be9b rw [email protected]
    quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
    systemd.unified_cgroup_hierarchy=1 loglevel=3
  Desktop: GNOME 41.2 tk: GTK 3.24.30 wm: gnome-shell dm: GDM 41.0
    Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Laptop System: ASUSTeK product: VivoBook_ASUSLaptop X430FA_S430FA
    v: 1.0 serial: <superuser required>
  Mobo: ASUSTeK model: X430FA v: 1.0 serial: <superuser required>
    UEFI: American Megatrends v: X430FA.308 date: 05/28/2019
  Model: "Realtek RTL8822BE 802.11a/b/g/n/ac WiFi adapter"
    Driver Status: rtw88_8822be is active
    Driver Activation Cmd: "modprobe rtw88_8822be"
    Driver Status: rtw_8822be is not active
    Driver Activation Cmd: "modprobe rtw_8822be"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Model: "IMC Networks Bluetooth Radio"
  Hotplug: USB
  Driver: "btusb"
  Speed: 12 Mbps
    Driver Status: btusb is active
    Driver Activation Cmd: "modprobe btusb"
  Config Status: cfg=new, avail=yes, need=no, active=unknown

inxi -Fxxxza

System:
  Kernel: 5.15.10-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 11.1.0
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=83c9ca0f-5bbc-42e1-b5c5-ec24ec10be9b rw [email protected]
    quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
    systemd.unified_cgroup_hierarchy=1 loglevel=3
  Desktop: GNOME 41.2 tk: GTK 3.24.30 wm: gnome-shell dm: GDM 41.0
    Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Laptop System: ASUSTeK product: VivoBook_ASUSLaptop X430FA_S430FA
    v: 1.0 serial: <superuser required>
  Mobo: ASUSTeK model: X430FA v: 1.0 serial: <superuser required>
    UEFI: American Megatrends v: X430FA.308 date: 05/28/2019
Battery:
  ID-1: BAT0 charge: 20.1 Wh (100.0%) condition: 20.1/42.2 Wh (47.8%)
    volts: 11.6 min: 11.6 model: ASUSTeK ASUS Battery type: Li-ion serial: N/A
    status: Not charging cycles: 306
  Device-1: hid-98:fd:b4:76:37:0a-battery
    model: ThinkPad Bluetooth Laser Mouse serial: N/A charge: N/A
    status: Discharging
CPU:
  Info: model: Intel Core i5-8265U bits: 64 type: MT MCP arch: Whiskey Lake
    family: 6 model-id: 0x8E (142) stepping: 0xB (11) microcode: 0xEA
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
    L3: 6 MiB desc: 1x6 MiB
  Speed (MHz): avg: 900 min/max: 400/3900 scaling: driver: intel_pstate
    governor: powersave cores: 1: 900 2: 900 3: 900 4: 900 5: 900 6: 900 7: 900
    8: 900 bogomips: 28800
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf status: Not affected
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  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: Full generic retpoline, IBPB: conditional,
    IBRS_FW, STIBP: conditional, RSB filling
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel WhiskeyLake-U GT2 [UHD Graphics 620] vendor: ASUSTeK
    driver: i915 v: kernel bus-ID: 00:02.0 chip-ID: 8086:3ea0 class-ID: 0300
  Device-2: IMC Networks USB2.0 HD UVC WebCam type: USB driver: uvcvideo
    bus-ID: 1-6:3 chip-ID: 13d3:56c1 class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org 1.21.1.2 compositor: gnome-shell driver:
    loaded: intel unloaded: modesetting alternate: fbdev,vesa display-ID: :1
    screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2")
    s-diag: 582mm (22.9")
  Monitor-1: eDP1 res: 1920x1080 hz: 60 dpi: 157
    size: 310x170mm (12.2x6.7") diag: 354mm (13.9")
  Message: Unable to show advanced data. Required tool glxinfo missing.
Audio:
  Device-1: Intel Cannon Point-LP High Definition Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel
    alternate: snd_soc_skl,snd_sof_pci_intel_cnl bus-ID: 00:1f.3
    chip-ID: 8086:9dc8 class-ID: 0403
  Sound Server-1: ALSA v: k5.15.10-zen1-1-zen running: yes
  Sound Server-2: JACK v: 1.9.19 running: no
  Sound Server-3: PulseAudio v: 15.0 running: no
  Sound Server-4: PipeWire v: 0.3.42 running: yes
Network:
  Device-1: Realtek RTL8822BE 802.11a/b/g/n/ac WiFi adapter driver: N/A
    modules: rtw88_8822be, rtw_8822be bus-ID: 02:00.0 chip-ID: 10ec:b822
    class-ID: 0280
  IF-ID-1: enp0s20f0u1 state: unknown speed: -1 duplex: half mac: <filter>
Bluetooth:
  Device-1: Huawei RNE-L21 type: USB driver: rndis_host v: kernel
    bus-ID: 1-1:2 chip-ID: 12d1:108a class-ID: 0a00 serial: <filter>
  Device-2: IMC Networks Bluetooth Radio type: USB driver: btusb v: 0.8
    bus-ID: 1-8:4 chip-ID: 13d3:3526 class-ID: e001 serial: <filter>
  Report: ID: hci0 rfk-id: 2 state: up address: <filter>
Drives:
  Local Storage: total: 238.47 GiB used: 13.46 GiB (5.6%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital
    model: PC SN520 SDAPNUW-256G-1002 size: 238.47 GiB block-size:
    physical: 512 B logical: 512 B speed: 15.8 Gb/s lanes: 2 type: SSD
    serial: <filter> rev: 20110000 temp: 40.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 238.17 GiB size: 238.17 GiB (100.00%)
    used: 13.46 GiB (5.7%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 576 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 238.17 GiB size: 238.17 GiB (100.00%)
    used: 13.46 GiB (5.7%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-4: /var/log raw-size: 238.17 GiB size: 238.17 GiB (100.00%)
    used: 13.46 GiB (5.7%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-5: /var/tmp raw-size: 238.17 GiB size: 238.17 GiB (100.00%)
    used: 13.46 GiB (5.7%) 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: 7.62 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 50.0 C pch: 48.0 C mobo: N/A
  Fan Speeds (RPM): cpu: 0
Info:
  Processes: 289 Uptime: 2m wakeups: 3 Memory: 7.62 GiB
  used: 2.17 GiB (28.5%) Init: systemd v: 249 tool: systemctl Compilers:
  gcc: 11.1.0 clang: 13.0.0 Packages: pacman: 1070 lib: 297 Shell: fish
  v: 3.3.1 default: Bash v: 5.1.12 running-in: gnome-terminal inxi: 3.3.11

Please send help or I will throw this laptop throught the window :smiley:

Have a good flight and see, in edit mode, how to format terminal outputs here.

Welcome :slight_smile:

You have two conflicting driver modules available.

You should blacklist the one that didn't work (i.e. the one you didn't install) then reboot:

The other thread with an awful lot of troubleshooting is here:

I don't think there's any value in repeating those ideas here, but if blacklisting doesn't work then you can have a read through.

4 Likes

Ok, I did it I guess

 ╭─[email protected] in ~ 
 ╰─λ inxi -SMa; hwinfo --netcard --bluetooth | grep -Ei "(hotplug|speed|model|status|cmd|file|detected|driver:)"
System:
  Host: julia Kernel: 5.15.10-zen1-1-zen x86_64 bits: 64 compiler: gcc
    v: 11.1.0 parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=83c9ca0f-5bbc-42e1-b5c5-ec24ec10be9b rw [email protected]
    quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
    systemd.unified_cgroup_hierarchy=1 loglevel=3
  Desktop: GNOME 41.2 tk: GTK 3.24.31 wm: gnome-shell dm: GDM 41.0
    Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Laptop System: ASUSTeK product: VivoBook_ASUSLaptop X430FA_S430FA
    v: 1.0 serial: <superuser required>
  Mobo: ASUSTeK model: X430FA v: 1.0 serial: <superuser required>
    UEFI: American Megatrends v: X430FA.308 date: 05/28/2019
  Model: "Realtek RTL8822BE 802.11a/b/g/n/ac WiFi adapter"
    Driver Status: rtw_8822be is active
    Driver Activation Cmd: "modprobe rtw_8822be"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Model: "IMC Networks Bluetooth Radio"
  Hotplug: USB
  Driver: "btusb"
  Speed: 12 Mbps
    Driver Status: btusb is active
    Driver Activation Cmd: "modprobe btusb"
  Config Status: cfg=new, avail=yes, need=no, active=unknown

 ╭─[email protected] in ~ took 1s
 ╰─λ modprobe rtw_8822be
libkmod: conf_files_filter_out: Directories inside directories are not supported: /etc/modprobe.d/rtl8822be.conf
libkmod: conf_files_filter_out: Directories inside directories are not supported: /etc/modprobe.d/50-rtw_pci.conf
libkmod: conf_files_filter_out: Directories inside directories are not supported: /etc/modprobe.d/blacklist.conf

 ╭─[email protected] in ~ took 4ms
 ╰─λ sudo modprobe rtw_8822be
[sudo] hasło użytkownika julia:          
libkmod: conf_files_filter_out: Directories inside directories are not supported: /etc/modprobe.d/rtl8822be.conf
libkmod: conf_files_filter_out: Directories inside directories are not supported: /etc/modprobe.d/50-rtw_pci.conf
libkmod: conf_files_filter_out: Directories inside directories are not supported: /etc/modprobe.d/blacklist.conf

 ╭─[email protected] in ~ took 2s
 ╰─λ lsmod | grep rtw
rtw_8822be             16384  0
rtw_8822b             233472  1 rtw_8822be
rtw_pci                36864  1 rtw_8822be
rtw_core              266240  2 rtw_8822b,rtw_pci
mac80211             1306624  2 rtw_core,rtw_pci
cfg80211             1097728  2 rtw_core,mac80211


It says as you suggested and along the github link -> only one working (the one from github) but it gives me the error above now

Have you already tried with a different kernel?
I'd start from linux-lts

1 Like

I like your style. Usually dissidents threaten to install Ubuntu, say, or go back to Windows.

3 Likes

See:

https://bbs.archlinux.org/viewtopic.php?id=260589

https://bbs.archlinux.org/viewtopic.php?id=267653

Are you dual booting Windows?

Do you have Fast Boot disabled?

Have you disabled WiFi power saving in Windows (if used) and Linux?

I would try rebuilding the driver on the LTS kernel and perform all testing using the lts kernel.

Try blacklisting the modules below by creating the file /etc/modprobe.d/rtl8822be.conf with the following contents:

blacklist btrtl
blacklist btusb
blacklist r8822be
blacklist rtw_8822be

Remove or comment out any other realtek WiFi modules you may have tried blacklisting. This file will also blacklist your rtl8822be Bluetooth modules as a troubleshooting test. If there is no improvement you can remove the blacklist on btusb and btrtl. Be sure to restart your computer and router after any network configuration changes.

BTW, congratulations on your well documented and researched opening post, and welcome to the Garuda community as well.

3 Likes

What did you do to create the blacklist file? Are these three files the same thing?

I think that's the in-kernel driver, so you may have blacklisted the driver you just installed to try and fix the non-working device.

3 Likes

Yes, I think the incorrect driver is blacklisted. That is why I wrote:

2 Likes

long story short:
i created only one /etc/modprobe.d/blacklist.conf

blacklist rwt_8822be
blacklist r8822be

with commands as you recommended -> no bluetooth working (as expected) but wifi works only for a minute. It connects and then disconnect and if I want to turn off and turn on the wifi it shows again that no wifi adapter found
When I remove

blacklist btrtl
blacklist btusb

I does not show any wifi - just no wifi adapter found

the working module is rtw88_8822be
I also have rtw_8822be still installed (modinfo shows me it and I guess it supposed to be like this but i think it would be better to delete it? I do not know if it is even possible and good for laptop)
I tried to blacklist it with sudo modprobe -r rtw_8822be but seems to do nothing

ipdate on
lsmod | grep rtw

rtw_8822b             233472  1 rtw88_8822be
rtw_pci                36864  1 rtw88_8822be
rtw_core              266240  2 rtw_8822b,rtw_pci
mac80211             1306624  2 rtw_core,rtw_pci
cfg80211             1097728  2 rtw_core,mac80211

I think there is something wrong with rtw_core? I guess it should read the rtw88_8822be?


It seems Bluetooth is indeed causing issues for your wifi. This is quite common with Wifi/BT combo chips. Leave BT disabled for now, (until troubleshooting is complete)..


This symptom almost sounds as if MAC address randomization is still enabled.

Disable MAC Address Randomization with the following command:

echo -e "[device]\nwifi.scan-rand-mac-address=no" | sudo tee /etc/NetworkManager/conf.d/disable-random-mac.conf

Try adding the GRUB kernel boot parameter aspm=0 to /etc/default/grub with the following command:

sudo cp /etc/default/grub /etc/default/grub.bak && sudo sed '/^GRUB_CMDLINE_LINUX_DEFAULT=/s/"$/ aspm=0"/g' -i /etc/default/grub

After adding the boot parameter with the above command, run:

sudo update-grub 

Then reboot.


If there is no improvement you can easily revert the grub changes with:

sudo cp /etc/default/grub.bak /etc/default/grub

Then:

sudo update-grub 

Then reboot.


After performing the above actions, execute the following commands:

nmcli networking off
sleep 1
sudo systemctl stop NetworkManager
sleep 1
sudo rmmod rtw_core
sleep 1
sudo rmmod rtw_pci
sleep 1
sudo rmmod rtw_8822b
sleep 1
sudo rmmod rtw88_8822be
sleep 3
sudo modprobe rtw88_8822be
sleep 2
sudo systemctl start NetworkManager
sleep 1
nmcli networking on
sleep 1
nmcli r wifi off
sleep 1
nmcli r wifi on

Please post all inputs, and all outputs of that sequence of commands once they are finished being run.

Test your wifi after execution is complete.


Also, please post:

sudo dmesg | grep "rtw|8822"

Is your bios up to date?


4 Likes

Shows nothing with
sudo dmesg | grep "rtw|8822"

this is sudo dmesg | grep 8822

[    3.877732] Bluetooth: hci0: RTL: examining hci_ver=07 hci_rev=000b lmp_ver=07 lmp_subver=8822
[    3.878703] Bluetooth: hci0: RTL: loading rtl_bt/rtl8822b_fw.bin
[    3.879651] Bluetooth: hci0: RTL: loading rtl_bt/rtl8822b_config.bin
[    3.996719] rtw_8822be 0000:02:00.0: can't change power state from D3cold to D0 (config space inaccessible)
[    3.997660] rtw_8822be 0000:02:00.0: Firmware version 27.2.0, H2C version 13
[    3.998743] rtw_8822be 0000:02:00.0: mac power on failed
[    3.998746] rtw_8822be 0000:02:00.0: failed to power on mac
[    3.998748] rtw_8822be 0000:02:00.0: failed to setup chip efuse info
[    3.998749] rtw_8822be 0000:02:00.0: failed to setup chip information
[    4.013448] rtw_8822be: probe of 0000:02:00.0 failed with error -114

what do you mean bios up to date?

A computers bios sometimes requires updating. Are you dual booting Windows? Updating your bios is fairly simple in Windows, as most bios update utilities are created for Windows. Look on your computer manufacturers website for a bios update for your specific model of motherboard.

You did not post the outputs from all the commands I asked you to run!!!

Did you update the grub kernel boot parameters as I suggested?

You must provide full feedback and terminal outputs for all suggestions assistants give you. Without feedback we have no idea whether the action was performed or what the outcome was.

Please provide full feedback on all suggestions given to you.

3 Likes

Hi, sorry. I forgot to do it ( the output off all the commands you wrote to me).but it worked I guess.
Everywhere you put rtw88_8822be i wrote rtw_8822be instead because I cant see the rtw88_8822be any ore and rtw_8822be seems to be the coreect one.
Now the Network works, WiFi is available and I could connect to my home WiFi But when I open any webpage it disconnects, prompt from above the screen shows that the connection could not have been done.
I did

sudo dmesg | grep rtw
[    3.852142] rtw_core: loading out-of-tree module taints kernel.
[    3.852239] rtw_core: module verification failed: signature and/or required key missing - tainting kernel
[    3.948136] rtw_8822be 0000:02:00.0: enabling device (0000 -> 0003)
[    3.948594] rtw_8822be 0000:02:00.0: Firmware version 27.2.0, H2C version 13
[    4.001151] rtw_8822be 0000:02:00.0 wlo1: renamed from wlan0
[    4.656605] rtw_8822be 0000:02:00.0: start vif dc:f5:05:99:07:2f on port 0
[    4.658041] rtw_8822be 0000:02:00.0: stop vif dc:f5:05:99:07:2f on port 0
[    5.111377] rtw_8822be 0000:02:00.0: start vif 72:1b:18:ee:23:21 on port 0
[    9.506206] rtw_8822be 0000:02:00.0: stop vif 72:1b:18:ee:23:21 on port 0
[    9.956829] rtw_8822be 0000:02:00.0: start vif dc:f5:05:99:07:2f on port 0
[   14.848808] rtw_8822be 0000:02:00.0: sta 70:0b:01:c2:2c:95 joined with macid 0
[   36.802260] WARNING: CPU: 0 PID: 147 at /home/julia/rtw88/pci.c:1302 rtw_dbi_read8.constprop.0+0xa6/0xc0 [rtw_pci]
[   36.802266] Modules linked in: ccm rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device cmac algif_hash algif_skcipher af_alg snd_sof_pci_intel_cnl qrtr snd_sof_intel_hda_common ns soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp joydev snd_sof mousedev soundwire_bus snd_soc_skl snd_soc_hdac_hda bnep snd_hda_ext_core snd_hda_codec_hdmi intel_tcc_cooling snd_soc_sst_ipc snd_soc_sst_dsp x86_pkg_temp_thermal snd_soc_acpi_intel_match intel_powerclamp snd_soc_acpi snd_hda_codec_realtek hid_multitouch coretemp snd_hda_codec_generic snd_soc_core snd_compress ledtrig_audio ac97_bus rtw_8822be(OE) kvm_intel rtw_8822b(OE) snd_pcm_dmaengine rtw_pci(OE) spi_pxa2xx_platform kvm irqbypass iTCO_wdt dw_dmac rtw_core(OE) intel_pmc_bxt crct10dif_pclmul snd_hda_intel snd_intel_dspcfg 8250_dw crc32_pclmul iTCO_vendor_support ghash_clmulni_intel snd_intel_sdw_acpi btusb intel_rapl_msr mac80211 btrtl snd_hda_codec aesni_intel crypto_simd
[   36.802340] Workqueue: phy0 rtw_watch_dog_work [rtw_core]
[   36.802349] RIP: 0010:rtw_dbi_read8.constprop.0+0xa6/0xc0 [rtw_pci]
[   36.802366]  rtw_pci_link_ps.part.0+0x87/0xc0 [rtw_pci 055abd66a98a08f61ab5238c78d89d5ce97de333]
[   36.802369]  rtw_leave_lps+0x7e/0x1c0 [rtw_core 78586446ec83d9f915e0bec1f1a854ab9c5f9b50]
[   36.802378]  rtw_watch_dog_work+0x1c6/0x240 [rtw_core 78586446ec83d9f915e0bec1f1a854ab9c5f9b50]
[   36.802403] rtw_8822be 0000:02:00.0: failed to read ASPM, ret=-5
[   36.805477] rtw_8822be 0000:02:00.0: failed to send h2c command
[   36.915577] rtw_8822be 0000:02:00.0: firmware failed to leave lps state
[   36.918554] rtw_8822be 0000:02:00.0: failed to send h2c command
[   36.921633] rtw_8822be 0000:02:00.0: failed to send h2c command
[   36.924697] rtw_8822be 0000:02:00.0: failed to send h2c command
[   36.927776] rtw_8822be 0000:02:00.0: failed to send h2c command
[   36.928025] WARNING: CPU: 0 PID: 147 at /home/julia/rtw88/pci.c:1302 rtw_dbi_read8.constprop.0+0xa6/0xc0 [rtw_pci]
[   36.928031] Modules linked in: ccm rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device cmac algif_hash algif_skcipher af_alg snd_sof_pci_intel_cnl qrtr snd_sof_intel_hda_common ns soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp joydev snd_sof mousedev soundwire_bus snd_soc_skl snd_soc_hdac_hda bnep snd_hda_ext_core snd_hda_codec_hdmi intel_tcc_cooling snd_soc_sst_ipc snd_soc_sst_dsp x86_pkg_temp_thermal snd_soc_acpi_intel_match intel_powerclamp snd_soc_acpi snd_hda_codec_realtek hid_multitouch coretemp snd_hda_codec_generic snd_soc_core snd_compress ledtrig_audio ac97_bus rtw_8822be(OE) kvm_intel rtw_8822b(OE) snd_pcm_dmaengine rtw_pci(OE) spi_pxa2xx_platform kvm irqbypass iTCO_wdt dw_dmac rtw_core(OE) intel_pmc_bxt crct10dif_pclmul snd_hda_intel snd_intel_dspcfg 8250_dw crc32_pclmul iTCO_vendor_support ghash_clmulni_intel snd_intel_sdw_acpi btusb intel_rapl_msr mac80211 btrtl snd_hda_codec aesni_intel crypto_simd
[   36.928102] Workqueue: phy0 rtw_watch_dog_work [rtw_core]
[   36.928110] RIP: 0010:rtw_dbi_read8.constprop.0+0xa6/0xc0 [rtw_pci]
[   36.928125]  rtw_pci_link_ps.part.0+0x87/0xc0 [rtw_pci 055abd66a98a08f61ab5238c78d89d5ce97de333]
[   36.928129]  rtw_enter_lps+0x7d/0x110 [rtw_core 78586446ec83d9f915e0bec1f1a854ab9c5f9b50]
[   36.928138]  rtw_watch_dog_work+0x217/0x240 [rtw_core 78586446ec83d9f915e0bec1f1a854ab9c5f9b50]
[   36.928162] rtw_8822be 0000:02:00.0: failed to read ASPM, ret=-5
[   36.928418] WARNING: CPU: 0 PID: 147 at /home/julia/rtw88/pci.c:1302 rtw_dbi_read8.constprop.0+0xa6/0xc0 [rtw_pci]
[   36.928446] Modules linked in: ccm rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device cmac algif_hash algif_skcipher af_alg snd_sof_pci_intel_cnl qrtr snd_sof_intel_hda_common ns soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp joydev snd_sof mousedev soundwire_bus snd_soc_skl snd_soc_hdac_hda bnep snd_hda_ext_core snd_hda_codec_hdmi intel_tcc_cooling snd_soc_sst_ipc snd_soc_sst_dsp x86_pkg_temp_thermal snd_soc_acpi_intel_match intel_powerclamp snd_soc_acpi snd_hda_codec_realtek hid_multitouch coretemp snd_hda_codec_generic snd_soc_core snd_compress ledtrig_audio ac97_bus rtw_8822be(OE) kvm_intel rtw_8822b(OE) snd_pcm_dmaengine rtw_pci(OE) spi_pxa2xx_platform kvm irqbypass iTCO_wdt dw_dmac rtw_core(OE) intel_pmc_bxt crct10dif_pclmul snd_hda_intel snd_intel_dspcfg 8250_dw crc32_pclmul iTCO_vendor_support ghash_clmulni_intel snd_intel_sdw_acpi btusb intel_rapl_msr mac80211 btrtl snd_hda_codec aesni_intel crypto_simd
[   36.928630] RIP: 0010:rtw_dbi_read8.constprop.0+0xa6/0xc0 [rtw_pci]
[   36.928651]  rtw_pci_link_ps.part.0+0x87/0xc0 [rtw_pci 055abd66a98a08f61ab5238c78d89d5ce97de333]
[   36.928656]  rtw_leave_lps+0x7e/0x1c0 [rtw_core 78586446ec83d9f915e0bec1f1a854ab9c5f9b50]
[   36.928670]  rtw_ops_config+0xb2/0xc0 [rtw_core 78586446ec83d9f915e0bec1f1a854ab9c5f9b50]
[   36.928828] rtw_8822be 0000:02:00.0: failed to read ASPM, ret=-5
[   36.931896] rtw_8822be 0000:02:00.0: failed to send h2c command
[   37.043251] rtw_8822be 0000:02:00.0: firmware failed to leave lps state
[   37.046267] rtw_8822be 0000:02:00.0: failed to send h2c command
[   37.584689] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[0]
[   37.584762] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[1]
[   37.584828] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[2]
[   37.584892] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[3]
[   37.584957] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[5]
[   37.585046] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[6]
[   37.588147] rtw_8822be 0000:02:00.0: failed to send h2c command
[   37.588153] rtw_8822be 0000:02:00.0: sta 70:0b:01:c2:2c:95 with macid 0 left
[   37.588592] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[0]
[   37.588658] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[1]
[   37.588722] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[2]
[   37.588786] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[3]
[   37.588850] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[5]
[   37.588921] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[6]
[   39.570253] rtw_8822be 0000:02:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[   39.570545] WARNING: CPU: 7 PID: 143 at /home/julia/rtw88/pci.c:1302 rtw_dbi_read8.constprop.0+0xa6/0xc0 [rtw_pci]
[   39.570551] Modules linked in: ccm rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device cmac algif_hash algif_skcipher af_alg snd_sof_pci_intel_cnl qrtr snd_sof_intel_hda_common ns soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp joydev snd_sof mousedev soundwire_bus snd_soc_skl snd_soc_hdac_hda bnep snd_hda_ext_core snd_hda_codec_hdmi intel_tcc_cooling snd_soc_sst_ipc snd_soc_sst_dsp x86_pkg_temp_thermal snd_soc_acpi_intel_match intel_powerclamp snd_soc_acpi snd_hda_codec_realtek hid_multitouch coretemp snd_hda_codec_generic snd_soc_core snd_compress ledtrig_audio ac97_bus rtw_8822be(OE) kvm_intel rtw_8822b(OE) snd_pcm_dmaengine rtw_pci(OE) spi_pxa2xx_platform kvm irqbypass iTCO_wdt dw_dmac rtw_core(OE) intel_pmc_bxt crct10dif_pclmul snd_hda_intel snd_intel_dspcfg 8250_dw crc32_pclmul iTCO_vendor_support ghash_clmulni_intel snd_intel_sdw_acpi btusb intel_rapl_msr mac80211 btrtl snd_hda_codec aesni_intel crypto_simd
[   39.570653] RIP: 0010:rtw_dbi_read8.constprop.0+0xa6/0xc0 [rtw_pci]
[   39.570667]  rtw_pci_link_ps.part.0+0x87/0xc0 [rtw_pci 055abd66a98a08f61ab5238c78d89d5ce97de333]
[   39.570670]  rtw_enter_ips+0x38/0x40 [rtw_core 78586446ec83d9f915e0bec1f1a854ab9c5f9b50]
[   39.570681]  rtw_ops_config+0xbc/0xc0 [rtw_core 78586446ec83d9f915e0bec1f1a854ab9c5f9b50]
[   39.570894] rtw_8822be 0000:02:00.0: failed to read ASPM, ret=-5
[   39.581641] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[0]
[   39.581692] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[1]
[   39.581741] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[2]
[   39.581787] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[3]
[   39.581833] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[5]
[   39.581879] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[6]
[   39.671932] WARNING: CPU: 5 PID: 1078 at /home/julia/rtw88/pci.c:1302 rtw_dbi_read8.constprop.0+0xa6/0xc0 [rtw_pci]
[   39.671940] Modules linked in: ccm rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device cmac algif_hash algif_skcipher af_alg snd_sof_pci_intel_cnl qrtr snd_sof_intel_hda_common ns soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp joydev snd_sof mousedev soundwire_bus snd_soc_skl snd_soc_hdac_hda bnep snd_hda_ext_core snd_hda_codec_hdmi intel_tcc_cooling snd_soc_sst_ipc snd_soc_sst_dsp x86_pkg_temp_thermal snd_soc_acpi_intel_match intel_powerclamp snd_soc_acpi snd_hda_codec_realtek hid_multitouch coretemp snd_hda_codec_generic snd_soc_core snd_compress ledtrig_audio ac97_bus rtw_8822be(OE) kvm_intel rtw_8822b(OE) snd_pcm_dmaengine rtw_pci(OE) spi_pxa2xx_platform kvm irqbypass iTCO_wdt dw_dmac rtw_core(OE) intel_pmc_bxt crct10dif_pclmul snd_hda_intel snd_intel_dspcfg 8250_dw crc32_pclmul iTCO_vendor_support ghash_clmulni_intel snd_intel_sdw_acpi btusb intel_rapl_msr mac80211 btrtl snd_hda_codec aesni_intel crypto_simd
[   39.672032] RIP: 0010:rtw_dbi_read8.constprop.0+0xa6/0xc0 [rtw_pci]
[   39.672053]  rtw_pci_link_ps.part.0+0x87/0xc0 [rtw_pci 055abd66a98a08f61ab5238c78d89d5ce97de333]
[   39.672057]  rtw_leave_ips+0x1a/0x80 [rtw_core 78586446ec83d9f915e0bec1f1a854ab9c5f9b50]
[   39.672071]  rtw_ops_config+0x95/0xc0 [rtw_core 78586446ec83d9f915e0bec1f1a854ab9c5f9b50]
[   39.672358] rtw_8822be 0000:02:00.0: failed to read ASPM, ret=-5
[   41.658173] rtw_8822be 0000:02:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[   41.658181] rtw_8822be 0000:02:00.0: mac power on failed
[   41.658182] rtw_8822be 0000:02:00.0: failed to power on mac
[   41.658183] rtw_8822be 0000:02:00.0: leave idle state failed
[   41.658303] rtw_8822be 0000:02:00.0: failed to leave ips state
[   41.658304] rtw_8822be 0000:02:00.0: failed to leave idle state
[   41.658362] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[0]
[   41.658428] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[1]
[   41.658474] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[2]
[   41.658519] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[3]
[   41.658565] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[5]
[   41.658611] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[6]
[   41.658662] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[0]
[   41.658707] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[1]
[   41.658753] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[2]
[   41.658799] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[3]
[   41.658845] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[5]
[   41.658891] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[6]
[   41.721930] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[0]
[   41.721998] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[1]
[   41.722058] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[2]
[   41.722119] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[3]
[   41.722178] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[5]
[   41.722238] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[6]
[   43.711492] rtw_8822be 0000:02:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[   43.711789] WARNING: CPU: 7 PID: 155 at /home/julia/rtw88/pci.c:1302 rtw_dbi_read8.constprop.0+0xa6/0xc0 [rtw_pci]
[   43.711795] Modules linked in: ccm rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device cmac algif_hash algif_skcipher af_alg snd_sof_pci_intel_cnl qrtr snd_sof_intel_hda_common ns soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp joydev snd_sof mousedev soundwire_bus snd_soc_skl snd_soc_hdac_hda bnep snd_hda_ext_core snd_hda_codec_hdmi intel_tcc_cooling snd_soc_sst_ipc snd_soc_sst_dsp x86_pkg_temp_thermal snd_soc_acpi_intel_match intel_powerclamp snd_soc_acpi snd_hda_codec_realtek hid_multitouch coretemp snd_hda_codec_generic snd_soc_core snd_compress ledtrig_audio ac97_bus rtw_8822be(OE) kvm_intel rtw_8822b(OE) snd_pcm_dmaengine rtw_pci(OE) spi_pxa2xx_platform kvm irqbypass iTCO_wdt dw_dmac rtw_core(OE) intel_pmc_bxt crct10dif_pclmul snd_hda_intel snd_intel_dspcfg 8250_dw crc32_pclmul iTCO_vendor_support ghash_clmulni_intel snd_intel_sdw_acpi btusb intel_rapl_msr mac80211 btrtl snd_hda_codec aesni_intel crypto_simd
[   43.711921] RIP: 0010:rtw_dbi_read8.constprop.0+0xa6/0xc0 [rtw_pci]
[   43.711935]  rtw_pci_link_ps.part.0+0x87/0xc0 [rtw_pci 055abd66a98a08f61ab5238c78d89d5ce97de333]
[   43.711939]  rtw_enter_ips+0x38/0x40 [rtw_core 78586446ec83d9f915e0bec1f1a854ab9c5f9b50]
[   43.711950]  rtw_ops_config+0xbc/0xc0 [rtw_core 78586446ec83d9f915e0bec1f1a854ab9c5f9b50]
[   43.712044] rtw_8822be 0000:02:00.0: failed to read ASPM, ret=-5
[   43.712400] WARNING: CPU: 4 PID: 1078 at /home/julia/rtw88/pci.c:1302 rtw_dbi_read8.constprop.0+0xa6/0xc0 [rtw_pci]
[   43.712405] Modules linked in: ccm rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device cmac algif_hash algif_skcipher af_alg snd_sof_pci_intel_cnl qrtr snd_sof_intel_hda_common ns soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp joydev snd_sof mousedev soundwire_bus snd_soc_skl snd_soc_hdac_hda bnep snd_hda_ext_core snd_hda_codec_hdmi intel_tcc_cooling snd_soc_sst_ipc snd_soc_sst_dsp x86_pkg_temp_thermal snd_soc_acpi_intel_match intel_powerclamp snd_soc_acpi snd_hda_codec_realtek hid_multitouch coretemp snd_hda_codec_generic snd_soc_core snd_compress ledtrig_audio ac97_bus rtw_8822be(OE) kvm_intel rtw_8822b(OE) snd_pcm_dmaengine rtw_pci(OE) spi_pxa2xx_platform kvm irqbypass iTCO_wdt dw_dmac rtw_core(OE) intel_pmc_bxt crct10dif_pclmul snd_hda_intel snd_intel_dspcfg 8250_dw crc32_pclmul iTCO_vendor_support ghash_clmulni_intel snd_intel_sdw_acpi btusb intel_rapl_msr mac80211 btrtl snd_hda_codec aesni_intel crypto_simd
[   43.712471] RIP: 0010:rtw_dbi_read8.constprop.0+0xa6/0xc0 [rtw_pci]
[   43.712485]  rtw_pci_link_ps.part.0+0x87/0xc0 [rtw_pci 055abd66a98a08f61ab5238c78d89d5ce97de333]
[   43.712488]  rtw_leave_ips+0x1a/0x80 [rtw_core 78586446ec83d9f915e0bec1f1a854ab9c5f9b50]
[   43.712498]  rtw_ops_config+0x95/0xc0 [rtw_core 78586446ec83d9f915e0bec1f1a854ab9c5f9b50]
[   43.712839] rtw_8822be 0000:02:00.0: failed to read ASPM, ret=-5
[   45.704638] rtw_8822be 0000:02:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[   45.704646] rtw_8822be 0000:02:00.0: mac power on failed
[   45.704647] rtw_8822be 0000:02:00.0: failed to power on mac
[   45.704648] rtw_8822be 0000:02:00.0: leave idle state failed
[   45.704769] rtw_8822be 0000:02:00.0: failed to leave ips state
[   45.704770] rtw_8822be 0000:02:00.0: failed to leave idle state
[   52.322354] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[0]
[   52.322409] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[1]
[   52.322459] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[2]
[   52.322509] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[3]
[   52.322578] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[5]
[   52.322627] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[6]
[   54.320078] rtw_8822be 0000:02:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[   54.320371] WARNING: CPU: 2 PID: 155 at /home/julia/rtw88/pci.c:1302 rtw_dbi_read8.constprop.0+0xa6/0xc0 [rtw_pci]
[   54.320377] Modules linked in: ccm rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device cmac algif_hash algif_skcipher af_alg snd_sof_pci_intel_cnl qrtr snd_sof_intel_hda_common ns soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp joydev snd_sof mousedev soundwire_bus snd_soc_skl snd_soc_hdac_hda bnep snd_hda_ext_core snd_hda_codec_hdmi intel_tcc_cooling snd_soc_sst_ipc snd_soc_sst_dsp x86_pkg_temp_thermal snd_soc_acpi_intel_match intel_powerclamp snd_soc_acpi snd_hda_codec_realtek hid_multitouch coretemp snd_hda_codec_generic snd_soc_core snd_compress ledtrig_audio ac97_bus rtw_8822be(OE) kvm_intel rtw_8822b(OE) snd_pcm_dmaengine rtw_pci(OE) spi_pxa2xx_platform kvm irqbypass iTCO_wdt dw_dmac rtw_core(OE) intel_pmc_bxt crct10dif_pclmul snd_hda_intel snd_intel_dspcfg 8250_dw crc32_pclmul iTCO_vendor_support ghash_clmulni_intel snd_intel_sdw_acpi btusb intel_rapl_msr mac80211 btrtl snd_hda_codec aesni_intel crypto_simd
[   54.320480] RIP: 0010:rtw_dbi_read8.constprop.0+0xa6/0xc0 [rtw_pci]
[   54.320496]  rtw_pci_link_ps.part.0+0x87/0xc0 [rtw_pci 055abd66a98a08f61ab5238c78d89d5ce97de333]
[   54.320499]  rtw_enter_ips+0x38/0x40 [rtw_core 78586446ec83d9f915e0bec1f1a854ab9c5f9b50]
[   54.320515]  rtw_ops_config+0xbc/0xc0 [rtw_core 78586446ec83d9f915e0bec1f1a854ab9c5f9b50]
[   54.320703] rtw_8822be 0000:02:00.0: failed to read ASPM, ret=-5
[   54.421366] WARNING: CPU: 0 PID: 1078 at /home/julia/rtw88/pci.c:1302 rtw_dbi_read8.constprop.0+0xa6/0xc0 [rtw_pci]
[   54.421389] Modules linked in: ccm rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device cmac algif_hash algif_skcipher af_alg snd_sof_pci_intel_cnl qrtr snd_sof_intel_hda_common ns soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp joydev snd_sof mousedev soundwire_bus snd_soc_skl snd_soc_hdac_hda bnep snd_hda_ext_core snd_hda_codec_hdmi intel_tcc_cooling snd_soc_sst_ipc snd_soc_sst_dsp x86_pkg_temp_thermal snd_soc_acpi_intel_match intel_powerclamp snd_soc_acpi snd_hda_codec_realtek hid_multitouch coretemp snd_hda_codec_generic snd_soc_core snd_compress ledtrig_audio ac97_bus rtw_8822be(OE) kvm_intel rtw_8822b(OE) snd_pcm_dmaengine rtw_pci(OE) spi_pxa2xx_platform kvm irqbypass iTCO_wdt dw_dmac rtw_core(OE) intel_pmc_bxt crct10dif_pclmul snd_hda_intel snd_intel_dspcfg 8250_dw crc32_pclmul iTCO_vendor_support ghash_clmulni_intel snd_intel_sdw_acpi btusb intel_rapl_msr mac80211 btrtl snd_hda_codec aesni_intel crypto_simd
[   54.421675] RIP: 0010:rtw_dbi_read8.constprop.0+0xa6/0xc0 [rtw_pci]
[   54.421744]  rtw_pci_link_ps.part.0+0x87/0xc0 [rtw_pci 055abd66a98a08f61ab5238c78d89d5ce97de333]
[   54.421759]  rtw_leave_ips+0x1a/0x80 [rtw_core 78586446ec83d9f915e0bec1f1a854ab9c5f9b50]
[   54.421833]  rtw_ops_config+0x95/0xc0 [rtw_core 78586446ec83d9f915e0bec1f1a854ab9c5f9b50]
[   54.422903] rtw_8822be 0000:02:00.0: failed to read ASPM, ret=-5
[   56.420979] rtw_8822be 0000:02:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[   56.421007] rtw_8822be 0000:02:00.0: mac power on failed
[   56.421008] rtw_8822be 0000:02:00.0: failed to power on mac
[   56.421009] rtw_8822be 0000:02:00.0: leave idle state failed
[   56.421127] rtw_8822be 0000:02:00.0: failed to leave ips state
[   56.421128] rtw_8822be 0000:02:00.0: failed to leave idle state
[   56.421186] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[0]
[   56.421233] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[1]
[   56.421277] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[2]
[   56.421322] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[3]
[   56.421366] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[5]
[   56.421411] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[6]
[   56.421467] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[0]
[   56.421544] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[1]
[   56.421595] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[2]
[   56.421659] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[3]
[   56.421728] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[5]
[   56.421774] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[6]
[   56.422065] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[0]
[   56.422128] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[1]
[   56.422196] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[2]
[   56.422245] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[3]
[   56.422310] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[5]
[   56.422359] rtw_8822be 0000:02:00.0: timed out to flush pci tx ring[6]
[   58.420932] rtw_8822be 0000:02:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[   58.421226] WARNING: CPU: 6 PID: 453 at /home/julia/rtw88/pci.c:1302 rtw_dbi_read8.constprop.0+0xa6/0xc0 [rtw_pci]
[   58.421232] Modules linked in: ccm rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device cmac algif_hash algif_skcipher af_alg snd_sof_pci_intel_cnl qrtr snd_sof_intel_hda_common ns soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp joydev snd_sof mousedev soundwire_bus snd_soc_skl snd_soc_hdac_hda bnep snd_hda_ext_core snd_hda_codec_hdmi intel_tcc_cooling snd_soc_sst_ipc snd_soc_sst_dsp x86_pkg_temp_thermal snd_soc_acpi_intel_match intel_powerclamp snd_soc_acpi snd_hda_codec_realtek hid_multitouch coretemp snd_hda_codec_generic snd_soc_core snd_compress ledtrig_audio ac97_bus rtw_8822be(OE) kvm_intel rtw_8822b(OE) snd_pcm_dmaengine rtw_pci(OE) spi_pxa2xx_platform kvm irqbypass iTCO_wdt dw_dmac rtw_core(OE) intel_pmc_bxt crct10dif_pclmul snd_hda_intel snd_intel_dspcfg 8250_dw crc32_pclmul iTCO_vendor_support ghash_clmulni_intel snd_intel_sdw_acpi btusb intel_rapl_msr mac80211 btrtl snd_hda_codec aesni_intel crypto_simd
[   58.421341] RIP: 0010:rtw_dbi_read8.constprop.0+0xa6/0xc0 [rtw_pci]
[   58.421360]  rtw_pci_link_ps.part.0+0x87/0xc0 [rtw_pci 055abd66a98a08f61ab5238c78d89d5ce97de333]
[   58.421364]  rtw_enter_ips+0x38/0x40 [rtw_core 78586446ec83d9f915e0bec1f1a854ab9c5f9b50]
[   58.421376]  rtw_ops_config+0xbc/0xc0 [rtw_core 78586446ec83d9f915e0bec1f1a854ab9c5f9b50]
[   58.421642] rtw_8822be 0000:02:00.0: failed to read ASPM, ret=-5
[   58.421662] rtw_8822be 0000:02:00.0: stop vif dc:f5:05:99:07:2f on port 0
[   60.420572] rtw_8822be 0000:02:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[   62.420761] rtw_8822be 0000:02:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[   62.420766] rtw_8822be 0000:02:00.0: mac power on failed
[   62.420767] rtw_8822be 0000:02:00.0: failed to power on mac

I do not know if everything is needed but I will post in anyway. I think it is about the ASPM now.
After disconnection it does not show any wifis but at least does not scream 'no wifi adapter found' :smiley:

edit:
I found this link (someone before left it here) [SOLVED] Realtek RTL8822BE WiFi Chipset Issue [SOLVED] / Kernel & Hardware / Arch Linux Forums
I think it is a key but I do not know how to use it correctly
Just type it in bash?

Yes, I had read that thread before. I chose to use the GRUB kernel boot parameter aspm=0 instead. If you'd prefer, you can test the pcie_aspm.policy=performance boot parameter easily by doing the following:

Revert your prior grub changes with:

sudo cp /etc/default/grub.bak /etc/default/grub

Then:

sudo update-grub 

Then reboot (and check your wifi operation).


After restarting, run the following command to test the new kernel parameter:

sudo sed '/^GRUB_CMDLINE_LINUX_DEFAULT=/s/"$/ pcie_aspm.policy=performance"/g' -i /etc/default/grub

After adding the new boot parameter with the above command, run:

sudo update-grub 

Then reboot again.


3 Likes

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