Asch wrote:On any distro my wifi works much better with
IWD. This applies to old out-of-tree drivers and the newer in-kernel drivers for my Realtek USB wifi card.
BTW, what device are you using to connect to wifi? Is it an external USB adapter or is it embedded into the laptop?
Care to share the output of lsusb, lspci and lsmod?
Newer laptops often have compatibility issues with wifi, I'm afraid.

thanks for the pointer!!
everything is working flawlessly now. really, it is flawless now! I rebuilt NetworkManager with USE flag iwd, in order to use iwd instead of wpa_supplicant. initially, it failed to reuse existing password for existing WiFi network, but I erased all known passwords, restarted NetworkManager (sudo rc-service NetworkManager restart), and reentered passwords, then things worked better.
it's WiFi from "inside" the laptop.
furthermore, net-wirelesss/wpa_supplicant was also a dependency of gnome-extra/gnome-network-displays, which I had installed the other day, but failed to make work with my dad's LG TV with WebOS. I saw that media-video/miraclecast would also pull wpa_supplicant, but I didn't come to ever install it. I dunno if wpa_supplicant and iwd can coexist, but I uninstalled gnome-network-displays and I will research alternatives to stream stuff to TV (to be discussed in different thread).
for completeness, here is output you asked:
I don't have lsusb command.
Code: Select all
lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
00:01.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:02.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 51)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 7
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller (rev 15)
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8852BE PCIe 802.11ax Wireless Network Controller
03:00.0 Non-Volatile memory controller: Shenzhen Longsys Electronics Co., Ltd. FORESEE XP2000, Lexar NM760 NVME SSD (DRAM-less) (rev 03)
04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Barcelo (rev c1)
04:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Renoir/Cezanne HDMI/DP Audio Controller
04:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Raven/Raven2/FireFlight/Renoir/Cezanne Platform Security Processor
04:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1
04:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1
04:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] Audio Coprocessor (rev 01)
04:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h/1ah HD Audio Controller
04:00.7 Signal processing controller: Advanced Micro Devices, Inc. [AMD] Sensor Fusion Hub
Code: Select all
lsmod
Module Size Used by
qrtr 49152 2
des3_ede_x86_64 45056 0
des_generic 12288 0
libdes 32768 2 des_generic,des3_ede_x86_64
md4 12288 0
binfmt_misc 24576 1
vfat 20480 1
fat 102400 1 vfat
uvcvideo 155648 0
uvc 12288 1 uvcvideo
videobuf2_vmalloc 16384 1 uvcvideo
videobuf2_memops 16384 1 videobuf2_vmalloc
videobuf2_v4l2 36864 1 uvcvideo
btusb 73728 0
videobuf2_common 86016 4 videobuf2_vmalloc,videobuf2_v4l2,uvcvideo,videobuf2_memops
btrtl 36864 1 btusb
btintel 61440 1 btusb
btbcm 20480 1 btusb
videodev 356352 2 videobuf2_v4l2,uvcvideo
btmtk 32768 1 btusb
mc 81920 4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
bluetooth 884736 6 btrtl,btmtk,btintel,btbcm,btusb
amd_atl 61440 1
intel_rapl_msr 16384 0
intel_rapl_common 45056 1 intel_rapl_msr
joydev 28672 0
snd_sof_amd_acp70 12288 0
snd_sof_amd_acp63 12288 0
snd_soc_acpi_amd_match 8192 1 snd_sof_amd_acp63
snd_sof_amd_vangogh 12288 0
snd_sof_amd_rembrandt 12288 0
snd_sof_amd_renoir 12288 0
snd_sof_amd_acp 61440 5 snd_sof_amd_acp70,snd_sof_amd_rembrandt,snd_sof_amd_vangogh,snd_sof_amd_acp63,snd_sof_amd_renoir
snd_sof_pci 20480 5 snd_sof_amd_acp70,snd_sof_amd_rembrandt,snd_sof_amd_vangogh,snd_sof_amd_acp63,snd_sof_amd_renoir
snd_sof_xtensa_dsp 16384 1 snd_sof_amd_acp
snd_sof 389120 2 snd_sof_amd_acp,snd_sof_pci
snd_sof_utils 16384 1 snd_sof
snd_pci_ps 24576 0
snd_amd_sdw_acpi 16384 2 snd_sof_amd_acp,snd_pci_ps
soundwire_amd 40960 2 snd_sof_amd_acp,snd_pci_ps
rtw89_8852be 12288 0
soundwire_generic_allocation 12288 1 soundwire_amd
rtw89_8852b 339968 1 rtw89_8852be
soundwire_bus 114688 2 soundwire_generic_allocation,soundwire_amd
edac_mce_amd 32768 0
amdgpu 18096128 11
rtw89_8852b_common 69632 1 rtw89_8852b
snd_soc_core 425984 2 snd_sof,soundwire_amd
rtw89_pci 90112 1 rtw89_8852be
kvm_amd 212992 0
snd_hda_codec_conexant 28672 1
snd_compress 24576 1 snd_soc_core
rtw89_core 909312 3 rtw89_8852b,rtw89_pci,rtw89_8852b_common
snd_hda_codec_generic 118784 1 snd_hda_codec_conexant
snd_hda_codec_hdmi 81920 1
ac97_bus 12288 1 snd_soc_core
snd_pcm_dmaengine 16384 1 snd_soc_core
kvm 1241088 1 kvm_amd
snd_hda_intel 61440 1
snd_intel_dspcfg 40960 2 snd_hda_intel,snd_sof
amdxcp 12288 1 amdgpu
snd_intel_sdw_acpi 16384 1 snd_intel_dspcfg
mac80211 1552384 2 rtw89_core,rtw89_pci
gpu_sched 57344 1 amdgpu
snd_rpl_pci_acp6x 16384 0
i2c_algo_bit 20480 1 amdgpu
irqbypass 12288 1 kvm
snd_hda_codec 196608 4 snd_hda_codec_generic,snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_intel
snd_acp_pci 12288 0
drm_suballoc_helper 12288 1 amdgpu
drm_ttm_helper 12288 2 amdgpu
snd_acp_legacy_common 12288 1 snd_acp_pci
crct10dif_pclmul 12288 1
snd_hda_core 135168 5 snd_hda_codec_generic,snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
ttm 102400 2 amdgpu,drm_ttm_helper
snd_pci_acp6x 16384 0
crc32_pclmul 12288 0
snd_hwdep 16384 1 snd_hda_codec
crc32c_intel 16384 0
drm_exec 12288 1 amdgpu
libarc4 12288 1 mac80211
ee1004 16384 0
r8168 675840 0
snd_pci_acp5x 16384 0
polyval_clmulni 12288 0
snd_pcm 172032 13 snd_sof_amd_acp,snd_hda_codec_hdmi,snd_pci_acp6x,snd_hda_intel,snd_hda_codec,snd_sof,snd_compress,snd_soc_core,snd_sof_utils,soundwire_amd,snd_hda_core,snd_pci_ps,snd_pcm_dmaengine
drm_display_helper 258048 1 amdgpu
polyval_generic 12288 1 polyval_clmulni
ghash_clmulni_intel 12288 0
sp5100_tco 16384 0
snd_rn_pci_acp3x 20480 0
vhba 32768 0
snd_timer 49152 1 snd_pcm
sha512_ssse3 53248 0
cec 90112 1 drm_display_helper
snd_acp_config 20480 10 snd_rn_pci_acp3x,snd_sof_amd_acp70,snd_pci_acp6x,snd_pci_acp5x,snd_sof_amd_rembrandt,snd_sof_amd_vangogh,snd_sof_amd_acp63,snd_acp_pci,snd_pci_ps,snd_sof_amd_renoir
sha256_ssse3 32768 0
cfg80211 1150976 3 rtw89_core,mac80211,rtw89_8852b_common
snd_soc_acpi 16384 3 snd_sof_amd_acp,snd_acp_config,snd_pci_ps
i2c_piix4 32768 0
r8169 110592 0
sha1_ssse3 32768 0
snd 139264 13 snd_hda_codec_generic,snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_sof,snd_timer,snd_compress,snd_soc_core,snd_pcm
hid_multitouch 32768 0
drm_buddy 28672 1 amdgpu
pkcs8_key_parser 12288 0
rfkill 36864 4 rtw89_core,bluetooth,cfg80211
soundcore 12288 1 snd
video 73728 1 amdgpu
rapl 16384 0
k10temp 12288 0
serio_raw 16384 0
pcspkr 12288 0
realtek 40960 1
snd_pci_acp3x 16384 0
i2c_smbus 16384 1 i2c_piix4
wmi_bmof 12288 0
soc_button_array 20480 0
wmi 24576 2 video,wmi_bmof
cm32181 12288 0
i2c_hid_acpi 12288 0
i2c_hid 40960 1 i2c_hid_acpi
industrialio 131072 1 cm32181
[Administrator edit: broke long whitespace-free lines in code tags to fix thread layout. -Hu]