Realtek RTL8822BE HP Notebook 15 wifi problem

Questions about WIFI networks and devices
Forum rules
Before you post please read how to get help
Post Reply
S3by
Level 1
Level 1
Posts: 34
Joined: Thu Feb 01, 2018 6:56 am

Realtek RTL8822BE HP Notebook 15 wifi problem

Post by S3by »

I have same problem .
Wifi on this laptop does not work or work very slow .
This --> https://easylinuxtipsproject.blogspot.c ... k.html#ID8 does not help .
Also tryed to install kernel 5.6 from kernel.org still no help.

Code: Select all

System:
  Host: HP Kernel: 5.3.0-46-generic x86_64 bits: 64 compiler: gcc v: 7.5.0 
  Desktop: MATE 1.22.2 Distro: Linux Mint 19.3 Tricia 
  base: Ubuntu 18.04 bionic 
Machine:
  Type: Laptop System: HP product: HP Laptop 15-db0xxx 
  v: Type1ProductConfigId serial: <filter> 
  Mobo: HP model: 84AE v: 86.21 serial: <filter> UEFI: Insyde v: F.17 
  date: 01/16/2019 
Battery:
  ID-1: BAT1 charge: 40.9 Wh condition: 40.9/41.9 Wh (98%) 
  model: Hewlett-Packard PABAS0241231 status: Full 
CPU:
  Topology: Quad Core model: AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx 
  bits: 64 type: MT MCP arch: Zen L2 cache: 2048 KiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
  bogomips: 31941 
  Speed: 1370 MHz min/max: 1600/2000 MHz Core speeds (MHz): 1: 1368 2: 1405 
  3: 1436 4: 1399 5: 1410 6: 1422 7: 1509 8: 1536 
Graphics:
  Device-1: AMD Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] 
  vendor: Hewlett-Packard driver: amdgpu v: kernel bus ID: 05:00.0 
  Display: x11 server: X.Org 1.19.6 driver: amdgpu 
  resolution: 1920x1080~60Hz 
  OpenGL: renderer: AMD RAVEN (DRM 3.33.0 5.3.0-46-generic LLVM 9.0.0) 
  v: 4.5 Mesa 19.2.8 direct render: Yes 
Audio:
  Device-1: AMD vendor: Hewlett-Packard driver: snd_hda_intel v: kernel 
  bus ID: 05:00.1 
  Device-2: AMD vendor: Hewlett-Packard driver: N/A bus ID: 05:00.5 
  Device-3: AMD vendor: Hewlett-Packard driver: snd_hda_intel v: kernel 
  bus ID: 05:00.6 
  Sound Server: ALSA v: k5.3.0-46-generic 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Hewlett-Packard driver: r8169 v: kernel port: 3000 bus ID: 02:00.0 
  IF: eno1 state: down mac: <filter> 
  Device-2: Realtek RTL8822BE 802.11a/b/g/n/ac WiFi adapter 
  vendor: Hewlett-Packard driver: rtw_pci v: N/A port: 2000 bus ID: 03:00.0 
  IF: wlo1 state: up mac: <filter> 
Drives:
  Local Storage: total: 238.47 GiB used: 46.69 GiB (19.6%) 
  ID-1: /dev/nvme0n1 vendor: SK Hynix model: BC501 HFM256GDJTNG-8310A 
  size: 238.47 GiB 
Partition:
  ID-1: / size: 233.24 GiB used: 46.68 GiB (20.0%) fs: ext4 
  dev: /dev/nvme0n1p2 
Sensors:
  System Temperatures: cpu: 53.8 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 241 Uptime: 13m Memory: 7.50 GiB used: 1.32 GiB (17.5%) 
  Init: systemd runlevel: 5 Compilers: gcc: 7.5.0 Shell: bash v: 4.4.20 
  inxi: 3.0.32 

Code: Select all

rfkill list all
0: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
1: hci0: Bluetooth
	Soft blocked: yes
	Hard blocked: no

Code: Select all

:~$ iwconfig
wlo1      IEEE 802.11  ESSID:"PureJoy"  
          Mode:Managed  Frequency:2.427 GHz  Access Point: F4:F2:6D:6E:C6:FC   
          Bit Rate=6.5 Mb/s   Tx-Power=20 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=31/70  Signal level=-79 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:2  Invalid misc:177   Missed beacon:0

eno1      no wireless extensions.

lo        no wireless extensions.

Code: Select all

lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 005: ID 0bda:b00b Realtek Semiconductor Corp. 
Bus 003 Device 004: ID 04f2:b67f Chicony Electronics Co., Ltd 
Bus 003 Device 003: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 003 Device 002: ID 174c:1351 ASMedia Technology Inc. 
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 09da:2403 A4Tech Co., Ltd. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Code: Select all

lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15d0
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Device 15d1
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge
00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15d3
00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15d3
00:01.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15d3
00:01.5 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15d3
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15db
00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15dc
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 61)
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] Device 15e8
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15e9
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ea
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15eb
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ec
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ed
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ee
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ef
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8822BE 802.11a/b/g/n/ac WiFi adapter
04:00.0 Non-Volatile memory controller: SK hynix Device 1327
05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] (rev c4)
05:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 15de
05:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Device 15df
05:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15e0
05:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15e1
05:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] Device 15e2
05:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Device 15e3
06:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 61)
Thnx in advance.
Last edited by S3by on Mon May 11, 2020 10:45 am, edited 3 times in total.
sleeper12
Level 12
Level 12
Posts: 4160
Joined: Thu May 25, 2017 3:22 pm

Re: Another HP Notebook 15 wifi problem

Post by sleeper12 »

Have you tried this for your RTL8822BE, #2 here?:
https://easylinuxtipsproject.blogspot.c ... k.html#ID2
S3by
Level 1
Level 1
Posts: 34
Joined: Thu Feb 01, 2018 6:56 am

Re: Another HP Notebook 15 wifi problem

Post by S3by »

Code: Select all

[code]andreea@HP:~$ sudo modprobe -r rtl8723be
[sudo] password for andreea:         
andreea@HP:~$ sudo modprobe rtl8723be ant_sel=2
andreea@HP:~$ iwlist scan | egrep -i 'ssid|quality'
eno1      Interface doesn't support scanning.

lo        Interface doesn't support scanning.

                    Quality=29/70  Signal level=-81 dBm  
                    ESSID:"PureJoy"
andreea@HP:~$ sudo modprobe -r rtl8723be
andreea@HP:~$ sudo modprobe rtl8723be ant_sel=1
andreea@HP:~$ iwlist scan | egrep -i 'ssid|quality'
eno1      Interface doesn't support scanning.

lo        Interface doesn't support scanning.

                    Quality=29/70  Signal level=-81 dBm  
                    ESSID:"PureJoy"

Code: Select all

andreea@HP:~$ sudo modprobe -r rtl8822be
andreea@HP:~$ sudo modprobe rtl8722be ant_sel=2
modprobe: FATAL: Module rtl8722be not found in directory /lib/modules/5.3.0-46-generic
sleeper12
Level 12
Level 12
Posts: 4160
Joined: Thu May 25, 2017 3:22 pm

Re: Another HP Notebook 15 wifi problem

Post by sleeper12 »

My mistake, that was for RTL8723BE, not your RTL8822BE.
sleeper12
Level 12
Level 12
Posts: 4160
Joined: Thu May 25, 2017 3:22 pm

Re: Another HP Notebook 15 wifi problem

Post by sleeper12 »

Disable IPv6 & see if it helps:
https://easylinuxtipsproject.blogspot.c ... t.html#ID4

If it's been awhile, maybe this will give you an updated driver if you try it again:
https://easylinuxtipsproject.blogspot.c ... k.html#ID8
Last edited by sleeper12 on Sat Apr 11, 2020 9:13 pm, edited 1 time in total.
User avatar
kelebek333
Level 4
Level 4
Posts: 270
Joined: Sat Jun 25, 2011 11:57 am
Location: Türkiye
Contact:

Re: Another HP Notebook 15 wifi problem

Post by kelebek333 »

Could you post outputs of following commands.

Code: Select all

lspci -nnk | grep -iA2 net
dkms status
lsmod
S3by
Level 1
Level 1
Posts: 34
Joined: Thu Feb 01, 2018 6:56 am

Re: Another HP Notebook 15 wifi problem

Post by S3by »

I Disable IPv6 but same crap connection .

I done the https://easylinuxtipsproject.blogspot.c ... k.html#ID8
And i allready got the same driver rtlwifi-new, 0.6 .

But i read on gifthub that the driver has been updated since 14 months ago .
Also at the bottom of the page it writes the fallowing :

Code: Select all

### Section for RTL8822BE and RTL8822CE

The drivers for these devices are found in the rtw88 branch. To get the codes, you need to do the following:

git clone http://github.com/lwfinger/rtlwifi_new.git -b rtw88
cd rtlwifi_new
make
sudo make install

When your kernel changes, then you need to do the following:
cd ~/rtlwifi_new
git pull
make
sudo make install

Remember, this MUST be done whenever you get a new kernel - no exceptions.

These drivers will not build for kernels older than 4.14. If you are using a kernel newer than 5.2,
I suggest that you use the driver built into the kernel!

Code: Select all

lspci -nnk | grep -iA2 net
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
	Subsystem: Hewlett-Packard Company RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [103c:84ae]
	Kernel driver in use: r8169
	Kernel modules: r8169
03:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8822BE 802.11a/b/g/n/ac WiFi adapter [10ec:b822]
	Subsystem: Hewlett-Packard Company Device [103c:831b]
	Kernel driver in use: rtw_pci

Code: Select all

dkms status
rtlwifi-new, 0.6, 5.3.0-46-generic, x86_64: installed (original_module exists)

Code: Select all

lsmod
Module                  Size  Used by
ccm                    20480  6
rfcomm                 81920  4
bnep                   24576  2
edac_mce_amd           32768  0
rtl8822be              69632  0
ccp                    90112  0
halmac                114688  1 rtl8822be
kvm                   655360  0
btcoexist             335872  1 rtl8822be
irqbypass              16384  1 kvm
phydm_mod             753664  1 rtl8822be
snd_hda_codec_realtek   118784  1
snd_hda_codec_generic    81920  1 snd_hda_codec_realtek
ledtrig_audio          16384  2 snd_hda_codec_generic,snd_hda_codec_realtek
snd_hda_codec_hdmi     57344  1
snd_hda_intel          53248  4
snd_intel_nhlt         20480  1 snd_hda_intel
crct10dif_pclmul       16384  1
rtl_pci                28672  1 rtl8822be
crc32_pclmul           16384  0
snd_hda_codec         131072  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
rtlwifi                94208  5 rtl8822be,rtl_pci,halmac,btcoexist,phydm_mod
snd_hda_core           90112  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
ghash_clmulni_intel    16384  0
snd_hwdep              20480  1 snd_hda_codec
snd_pcm               102400  4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
btusb                  57344  0
btrtl                  20480  1 btusb
uvcvideo               94208  0
btbcm                  16384  1 btusb
btintel                24576  1 btusb
videobuf2_vmalloc      20480  1 uvcvideo
snd_seq_midi           20480  0
videobuf2_memops       20480  1 videobuf2_vmalloc
snd_seq_midi_event     16384  1 snd_seq_midi
rtwpci                 24576  0
bluetooth             573440  33 btrtl,btintel,btbcm,bnep,btusb,rfcomm
nls_iso8859_1          16384  1
aesni_intel           372736  4
rtw88                 462848  1 rtwpci
snd_rawmidi            36864  1 snd_seq_midi
videobuf2_v4l2         24576  1 uvcvideo
videobuf2_common       49152  2 videobuf2_v4l2,uvcvideo
snd_seq                69632  2 snd_seq_midi,snd_seq_midi_event
aes_x86_64             20480  1 aesni_intel
videodev              208896  3 videobuf2_v4l2,uvcvideo,videobuf2_common
crypto_simd            16384  1 aesni_intel
ecdh_generic           16384  1 bluetooth
snd_seq_device         16384  3 snd_seq,snd_seq_midi,snd_rawmidi
cryptd                 24576  2 crypto_simd,ghash_clmulni_intel
mc                     53248  4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
ecc                    32768  1 ecdh_generic
glue_helper            16384  1 aesni_intel
snd_timer              36864  2 snd_seq,snd_pcm
mac80211              847872  4 rtl_pci,rtwpci,rtlwifi,rtw88
snd                    86016  19 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_pcm,snd_rawmidi
ip6t_REJECT            16384  1
input_leds             16384  0
joydev                 28672  0
nf_reject_ipv6         20480  1 ip6t_REJECT
k10temp                16384  0
wmi_bmof               16384  0
snd_pci_acp3x          16384  0
hp_wmi                 16384  0
soundcore              16384  1 snd
cfg80211              704512  3 rtlwifi,mac80211,rtw88
sparse_keymap          16384  1 hp_wmi
serio_raw              20480  0
nf_log_ipv6            16384  5
libarc4                16384  1 mac80211
xt_hl                  16384  22
ip6t_rt                20480  3
hp_wireless            16384  0
mac_hid                16384  0
ipt_REJECT             16384  1
nf_reject_ipv4         16384  1 ipt_REJECT
nf_log_ipv4            16384  5
nf_log_common          16384  2 nf_log_ipv4,nf_log_ipv6
xt_LOG                 20480  10
xt_limit               16384  13
xt_tcpudp              20480  18
xt_addrtype            16384  4
xt_conntrack           16384  16
ip6table_filter        16384  1
ip6_tables             32768  53 ip6table_filter
nf_conntrack_netbios_ns    16384  0
nf_conntrack_broadcast    16384  1 nf_conntrack_netbios_ns
nf_nat_ftp             20480  0
nf_nat                 40960  1 nf_nat_ftp
nf_conntrack_ftp       24576  1 nf_nat_ftp
nf_conntrack          139264  6 xt_conntrack,nf_nat,nf_nat_ftp,nf_conntrack_netbios_ns,nf_conntrack_broadcast,nf_conntrack_ftp
sch_fq_codel           20480  6
nf_defrag_ipv6         24576  1 nf_conntrack
nf_defrag_ipv4         16384  1 nf_conntrack
iptable_filter         16384  1
bpfilter               24576  0
parport_pc             40960  0
ppdev                  24576  0
lp                     20480  0
parport                53248  3 parport_pc,lp,ppdev
ip_tables              32768  9 iptable_filter
x_tables               40960  13 ip6table_filter,xt_conntrack,iptable_filter,xt_LOG,xt_tcpudp,xt_addrtype,ip6t_rt,ip6_tables,ipt_REJECT,ip_tables,xt_limit,xt_hl,ip6t_REJECT
autofs4                45056  2
btrfs                1232896  0
xor                    24576  1 btrfs
zstd_compress         163840  1 btrfs
raid6_pq              114688  1 btrfs
libcrc32c              16384  3 nf_conntrack,nf_nat,btrfs
dm_mirror              24576  0
dm_region_hash         20480  1 dm_mirror
dm_log                 20480  2 dm_region_hash,dm_mirror
uas                    24576  0
usb_storage            73728  1 uas
hid_generic            16384  0
usbhid                 53248  0
hid                   126976  2 usbhid,hid_generic
amdgpu               4112384  43
amd_iommu_v2           20480  1 amdgpu
gpu_sched              32768  1 amdgpu
i2c_algo_bit           16384  1 amdgpu
ttm                   102400  1 amdgpu
drm_kms_helper        180224  1 amdgpu
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
psmouse               151552  0
fb_sys_fops            16384  1 drm_kms_helper
nvme                   45056  2
drm                   491520  9 gpu_sched,drm_kms_helper,amdgpu,ttm
ahci                   40960  0
i2c_piix4              28672  0
libahci                32768  1 ahci
r8169                  81920  0
nvme_core             102400  4 nvme
realtek                20480  1
wmi                    32768  2 hp_wmi,wmi_bmof
video                  49152  0
i2c_scmi               20480  0
User avatar
kelebek333
Level 4
Level 4
Posts: 270
Joined: Sat Jun 25, 2011 11:57 am
Location: Türkiye
Contact:

Re: Another HP Notebook 15 wifi problem

Post by kelebek333 »

You can try to create a configuration file for rtl8822be driver module with following command. Then reboot your PC.

Code: Select all

echo "options rtl8822be swenc=1 ips=0 fwlps=0" | sudo tee  /etc/modprobe.d/rtl8822be.conf
sleeper12
Level 12
Level 12
Posts: 4160
Joined: Thu May 25, 2017 3:22 pm

Re: Another HP Notebook 15 wifi problem

Post by sleeper12 »

You can also try:

Code: Select all

 sudo service network-manager restart 
S3by
Level 1
Level 1
Posts: 34
Joined: Thu Feb 01, 2018 6:56 am

Re: Another HP Notebook 15 wifi problem

Post by S3by »

Code: Select all

sudo service network-manager restart 
Restarts the network manager and i am unable to connect to wifi sometimes , and other times it's get connected but with no wifi signal bars .
Strange that on my other laptop wifi works perfectly and i get 70 Mbps download speed , on this laptop download speed is 0.6 Mbps .

Code: Select all

echo "options rtl8822be swenc=1 ips=0 fwlps=0" | sudo tee  /etc/modprobe.d/rtl8822be.conf
This creates indeed the .conf file but there is no improbement on wifi connection .
sleeper12
Level 12
Level 12
Posts: 4160
Joined: Thu May 25, 2017 3:22 pm

Re: Another HP Notebook 15 wifi problem

Post by sleeper12 »

Try the 4.15 kernel & see if wifi works any better. You have to boot into Grub by holding the shift key down at boot. Once in Grub, choose Advanced options & boot into the highest 4.15 kernel. If wifi works, go to Update Manager, View, Linux kernels & remove the 5.3 kernel, then reboot.
S3by
Level 1
Level 1
Posts: 34
Joined: Thu Feb 01, 2018 6:56 am

Re: Another HP Notebook 15 wifi problem

Post by S3by »

I installed kernel 4.15 and downloaded from kernel.org latest kernel 5.6.4 .

Code: Select all

rtlwifi-new, 0.6, 4.15.0-96-generic, x86_64: installed (original_module exists)
rtlwifi-new, 0.6, 5.3.0-46-generic, x86_64: installed (original_module exists)
rtlwifi-new, 0.6, 5.6.4, x86_64: installed (original_module exists)
I rebooted and logged in with kernel 4.15 and no internet at all , unable to connect to nothing .

Code: Select all

02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
	Subsystem: Hewlett-Packard Company RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [103c:84ae]
	Kernel driver in use: r8169
	Kernel modules: r8169
03:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8822BE 802.11a/b/g/n/ac WiFi adapter [10ec:b822]
	Subsystem: Hewlett-Packard Company Device [103c:831b]
	Kernel driver in use: r8822be
S3by
Level 1
Level 1
Posts: 34
Joined: Thu Feb 01, 2018 6:56 am

[Fixed] Another HP Notebook 15 wifi problem

Post by S3by »

Code: Select all

sudo add-apt-repository ppa:kelebek333/kablosuz
sudo apt-get update
sudo apt install rtlwifi-new-extended-dkms 
This fixed my problem for some hours after that , youtube shows up like this

Code: Select all

This site can’t be reachedwww.youtube.com’s server IP address could not be found.
DNS_PROBE_FINISHED_NXDOMAIN

Code: Select all

andreea@HP:~$ dkms status
rtlwifi-new-extended, 0.6~ppa: added
Post Reply

Return to “Wireless”