Finding wifi is unstable in this release

Bug #2051470 reported by Russell Harper
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
New
Undecided
Unassigned

Bug Description

After a recent upgrade noticing wifi disconnects randomly, speeds vary back and forth from 0.1Mbps to 100Mbps within a few seconds, can be up for a few seconds, or a few hours, not predictable.

This might be some relevant information, but I looked through the modules and don't see anything like `rtw_8821ce`, there are `rtw88_*` modules which might be relevant, but in any case I can't map these to any packages as far as I can tell.

```
Distributor ID: Ubuntu
Description: Ubuntu 23.10
Release: 23.10
Codename: mantic
```

```
  *-network
       description: Wireless interface
       product: Realtek Semiconductor Co., Ltd.
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: wlp2s0
       version: 00
       serial: b4:b0:24:d4:d7:ea
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=rtw_8821ce driverversion=6.5.0-15-generic firmware=N/A ip=192.168.2.52 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: irq:33 ioport:e000(size=256) memory:f7c00000-f7c0ffff
```

```
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device b821
        Subsystem: Realtek Semiconductor Co., Ltd. Device b821
        Flags: bus master, fast devsel, latency 0, IRQ 33
        I/O ports at e000 [size=256]
        Memory at f7c00000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [70] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [148] Device Serial Number 00-e0-4c-ff-fe-c8-21-01
        Capabilities: [158] Latency Tolerance Reporting
        Capabilities: [160] L1 PM Substates
        Capabilities: [170] Precision Time Measurement
        Capabilities: [17c] Vendor Specific Information: ID=0003 Rev=1 Len=054 <?>
        Kernel driver in use: rtw_8821ce
        Kernel modules: rtw88_8821ce
```

This was the best reference I can find: [WiFi frequently and randomly disconnects, rtw_8821ce driver][1], but even though it's in the "Newbie Corner" section, I'm not able to follow what they're doing. Like "Have you tried connecting with just wpa_supplicant (and a DHCP client if needed)?" is way over my skill level.

----

This is the relevant output from `iwconfig`, I had just rebooted, as that sometimes helps for a bit, so the stats might not be representative:

```
wlp2s0 IEEE 802.11 ESSID:"************"
          Mode:Managed Frequency:5.785 GHz Access Point: 0E:**:**:**:**:0F
          Bit Rate=13 Mb/s Tx-Power=30 dBm
          Retry short limit:7 RTS thr:off Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=50/70 Signal level=-60 dBm
          Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
          Tx excessive retries:92 Invalid misc:0 Missed beacon:0
```

----

And another output a few minutes later:

```
wlp2s0 IEEE 802.11 ESSID:"************"
          Mode:Managed Frequency:2.412 GHz Access Point: 0C:**:**:**:**:0D
          Bit Rate=58.5 Mb/s Tx-Power=30 dBm
          Retry short limit:7 RTS thr:off Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=62/70 Signal level=-48 dBm
          Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
          Tx excessive retries:9 Invalid misc:1 Missed beacon:0
```

----

And after a few hours, note the speed looks really good, but the connection isn't working. I'm running off a hot spot now.

```
wlp2s0 IEEE 802.11 ESSID:"************"
          Mode:Managed Frequency:5.785 GHz Access Point: 0E:**:**:**:**:0F
          Bit Rate=175.5 Mb/s Tx-Power=30 dBm
          Retry short limit:7 RTS thr:off Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=39/70 Signal level=-71 dBm
          Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
          Tx excessive retries:146 Invalid misc:66 Missed beacon:0
```

  [1]: https://bbs.archlinux.org/viewtopic.php?id=273440

ProblemType: Bug
DistroRelease: Ubuntu 23.10
Package: linux-image-6.5.0-15-generic 6.5.0-15.15
ProcVersionSignature: Ubuntu 6.5.0-15.15-generic 6.5.3
Uname: Linux 6.5.0-15-generic x86_64
ApportVersion: 2.27.0-0ubuntu5
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC2: russell 1179 F.... wireplumber
 /dev/snd/controlC1: russell 1179 F.... wireplumber
 /dev/snd/controlC0: russell 1179 F.... wireplumber
 /dev/snd/seq: russell 1176 F.... pipewire
CRDA: N/A
CasperMD5CheckResult: unknown
CurrentDesktop: LXQt
Date: Sun Jan 28 21:48:23 2024
InstallationDate: Installed on 2023-06-23 (219 days ago)
InstallationMedia: Lubuntu 23.04 "Lunar Lobster" - Release amd64 (20230417)
MachineType: {report['dmi.sys.vendor']} {report['dmi.product.name']}
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.5.0-15-generic root=UUID=ff2b9230-f3ac-4af5-ae27-88eae14765d1 ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-6.5.0-15-generic N/A
 linux-backports-modules-6.5.0-15-generic N/A
 linux-firmware 20230919.git3672ccab-0ubuntu2.5
SourcePackage: linux
UpgradeStatus: Upgraded to mantic on 2024-01-26 (3 days ago)
dmi.bios.date: 05/09/2017
dmi.bios.release: 2.71
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: L01 v02.71
dmi.board.asset.tag: 2UA4101ZMS
dmi.board.name: 18E7
dmi.board.vendor: Hewlett-Packard
dmi.chassis.asset.tag: 2UA4101ZMS
dmi.chassis.type: 4
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-Packard:bvrL01v02.71:bd05/09/2017:br2.71:svnHewlett-Packard:pnHPProDesk600G1SFF:pvr:rvnHewlett-Packard:rn18E7:rvr:cvnHewlett-Packard:ct4:cvr:skuE3S71UT#ABA:
dmi.product.family: 103C_53307F G=D
dmi.product.name: HP ProDesk 600 G1 SFF
dmi.product.sku: E3S71UT#ABA
dmi.sys.vendor: Hewlett-Packard

Revision history for this message
Russell Harper (russell-s-harper) wrote :
affects: ubuntu → linux (Ubuntu)
Revision history for this message
Russell Harper (russell-s-harper) wrote :

Research on StackOverflow suggested to restrict to just the 2.4GHz band because they noticed the issues might arise from switching bands. I did that but still seeing the connections drop randomly.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.