lwfinger / rtw88

A backport of the Realtek Wifi 5 drivers from the wireless-next repo.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Testing rtw_8822bu, feed back. (Slow bitrate)

WallyZambotti opened this issue · comments

System information follows at end.

Testing the rtw_8822bu(Simplecom NW621 AC1200 USB2/3 Techkey Wifi Adapter) from rtw88 downstream.

Can confirm USB3 is now working.

Having a bit rate issue on all systems testing exhibiting slow bit rate after initial connection. The two systems:

  1. Intel - Ubuntu 22.04.4 Kernel 6.5.0-44 - with rtw88 downstream driver - to 40mhz router - USB3 (system info included)
  2. Intel - Ubuntu 22.04.4 Kernel 6.5.0-44 - with mainline rtw88 driver - 80mhz router - USB2

Both systems start with a high bite rate but after several seconds drop to around 135-180mbits and then never raise under net load.

Following is the system info for 1):

$ uname -a
Linux WZ-MS-7B51 6.5.0-44-generic #44~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Jun 18 14:36:16 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

$ lsusb
Bus 002 Device 003: ID 0bda:b812 Realtek Semiconductor Corp. RTL88x2bu [AC1200 Techkey]

$ lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/10p, 10000M
|__ Port 6: Dev 3, If 0, Class=Vendor Specific Class, Driver=rtw_8822bu, 5000M

$ mokutil --sb-state
SecureBoot disabled
Platform is in Setup Mode

$ rfkill list all
1: phy3: Wireless LAN
Soft blocked: no
Hard blocked: no

$ dkms status
nvidia/555.42.06, 5.15.0-116-generic, x86_64: installed
nvidia/555.42.06, 6.5.0-44-generic, x86_64: installed
rtl8812au/4.3.8.12175.20140902+dfsg, 5.15.0-116-generic, x86_64: installed
rtl8812au/4.3.8.12175.20140902+dfsg, 6.5.0-44-generic, x86_64: installed
rtl8821ce/5.5.2.1, 5.15.0-116-generic, x86_64: installed

$ iwconfig
lo no wireless extensions.

eno1 no wireless extensions.

wlxbcec4322ff20 IEEE 802.11 ESSID:"TCS"
Mode:Managed Frequency:5.2 GHz Access Point: 74:83:C2:B5:56:CA
Bit Rate=180 Mb/s Tx-Power=20 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:on
Link Quality=63/70 Signal level=-47 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:923 Missed beacon:0

$ iw reg get
global
country AU: DFS-ETSI
(2400 - 2483 @ 40), (N/A, 36), (N/A)
(5150 - 5250 @ 80), (N/A, 23), (N/A), NO-OUTDOOR, AUTO-BW
(5250 - 5350 @ 80), (N/A, 20), (0 ms), NO-OUTDOOR, DFS, AUTO-BW
(5470 - 5600 @ 80), (N/A, 27), (0 ms), DFS
(5650 - 5730 @ 80), (N/A, 27), (0 ms), DFS
(5730 - 5850 @ 80), (N/A, 36), (N/A)
(5925 - 6425 @ 160), (N/A, 24), (N/A), NO-OUTDOOR
(57000 - 66000 @ 2160), (N/A, 43), (N/A), NO-OUTDOOR

$ iw dev
phy#3
Interface wlxbcec4322ff20
ifindex 4
wdev 0x300000001
addr bc:ec:43:22:ff:20
ssid TCS
type managed
channel 40 (5200 MHz), width: 40 MHz, center1: 5190 MHz
txpower 20.00 dBm
multicast TXQ:
qsz-byt qsz-pkt flows drops marks overlmt hashcoltx-bytes tx-packets
0 0 0 0 0 0 0 00

$ iperf3 -c 192.168.10.152
Connecting to host 192.168.10.152, port 5201
[ 5] local 192.168.10.104 port 52594 connected to 192.168.10.152 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 3.86 MBytes 32.3 Mbits/sec 1 284 KBytes
[ 5] 1.00-2.00 sec 9.64 MBytes 80.9 Mbits/sec 0 672 KBytes
[ 5] 2.00-3.00 sec 7.50 MBytes 62.9 Mbits/sec 0 942 KBytes
[ 5] 3.00-4.00 sec 8.75 MBytes 73.4 Mbits/sec 0 1007 KBytes
[ 5] 4.00-5.00 sec 6.25 MBytes 52.4 Mbits/sec 0 1.03 MBytes
[ 5] 5.00-6.00 sec 7.50 MBytes 62.9 Mbits/sec 0 1.16 MBytes
[ 5] 6.00-7.00 sec 7.50 MBytes 62.9 Mbits/sec 0 1.23 MBytes
[ 5] 7.00-8.00 sec 7.50 MBytes 62.9 Mbits/sec 0 1.23 MBytes
[ 5] 8.00-9.00 sec 7.50 MBytes 62.9 Mbits/sec 2 980 KBytes
[ 5] 9.00-10.00 sec 6.25 MBytes 52.4 Mbits/sec 0 1.04 MBytes


[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 72.2 MBytes 60.6 Mbits/sec 3 sender
[ 5] 0.00-10.67 sec 69.4 MBytes 54.5 Mbits/sec receiver

$ cat /etc/modprobe.d/88x2bu.conf
blacklist rtw88_8822bu
blacklist rtw88_usb
blacklist rtw88_8822b
blacklist rtw88_core
options 88x2bu rtw_switch_usb_mode=1 rtw_led_ctrl=1

$ lsmod | grep rtw
rtw_8822bu 12288 0
rtw_usb 28672 1 rtw_8822bu
rtw_8822b 233472 1 rtw_8822bu
rtw_core 356352 2 rtw_usb,rtw_8822b
mac80211 1724416 2 rtw_usb,rtw_core
cfg80211 1323008 2 rtw_core,mac80211

Thank you for your detailed report. Something is still wrong with this chip. Unfortunately I don't have a device to test.