RTL8821CE - 5GHZ networks not working

Bug #1861278 reported by justcomplaining
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Incomplete
Undecided
Unassigned
rtl8821ce (Ubuntu)
Incomplete
Undecided
You-Sheng Yang
Bionic
Confirmed
Undecided
Unassigned
Eoan
Won't Fix
Undecided
Unassigned
Focal
Incomplete
Undecided
You-Sheng Yang

Bug Description

5 GHZ networks are not showing up

dmesg | grep 8821
[ 2.333385] rtl8821ce: loading out-of-tree module taints kernel.
[ 2.403456] rtl8821ce: module verification failed: signature and/or required key missing - tainting kernel
[ 2.435475] RTW: rtl8821ce v5.2.5.2.1_xxxx.20181112_beta
[ 2.435480] RTW: rtl8821ce BT-Coex version = COEX20170310-1212
[ 4.599321] rtl8821ce 0000:02:00.0 wlo1: renamed from wlan0

dmesg |grep -i firm
[ 0.147142] Spectre V2 : Enabling Restricted Speculation for firmware calls
[ 3.101456] [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)

iw list
returns nothing...

iwlist wlo1 freq
wlo1 22 channels in total; available frequencies :
          Channel 01 : 2.412 GHz
          Channel 02 : 2.417 GHz
          Channel 03 : 2.422 GHz
          Channel 04 : 2.427 GHz
          Channel 05 : 2.432 GHz
          Channel 06 : 2.437 GHz
          Channel 07 : 2.442 GHz
          Channel 08 : 2.447 GHz
          Channel 09 : 2.452 GHz
          Channel 10 : 2.457 GHz
          Channel 11 : 2.462 GHz
          Channel 12 : 2.467 GHz
          Channel 13 : 2.472 GHz
          Channel 36 : 5.18 GHz
          Channel 40 : 5.2 GHz
          Channel 44 : 5.22 GHz
          Channel 48 : 5.24 GHz
          Channel 149 : 5.745 GHz
          Channel 153 : 5.765 GHz
          Channel 157 : 5.785 GHz
          Channel 161 : 5.805 GHz
          Channel 165 : 5.825 GHz
          Current Frequency:2.437 GHz (Channel 6)

Related:
https://github.com/tomaspinho/rtl8821ce/issues/34
https://github.com/tomaspinho/rtl8821ce/issues/103
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu8.2
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: steven 2090 F.... pulseaudio
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 19.10
InstallationDate: Installed on 2019-11-17 (75 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 002: ID 0408:5321 Quanta Computer, Inc. HP Webcam
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: HP HP 250 G7 Notebook PC
Package: rtl8821ce
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-29-generic root=UUID=a0cdf605-0b72-4674-a76e-ad1dbae26043 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 5.3.0-29.31-generic 5.3.13
RelatedPackageVersions:
 linux-restricted-modules-5.3.0-29-generic N/A
 linux-backports-modules-5.3.0-29-generic N/A
 linux-firmware 1.183.3
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
Tags: eoan
Uname: Linux 5.3.0-29-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm audio cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 12/05/2018
dmi.bios.vendor: Insyde
dmi.bios.version: F.16
dmi.board.asset.tag: Type2 - Board Asset Tag
dmi.board.name: 8532
dmi.board.vendor: HP
dmi.board.version: 70.22
dmi.chassis.asset.tag: Chassis Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: HP
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnInsyde:bvrF.16:bd12/05/2018:svnHP:pnHP250G7NotebookPC:pvrType1ProductConfigId:rvnHP:rn8532:rvr70.22:cvnHP:ct10:cvrChassisVersion:
dmi.product.family: 103C_5336AN HP 200
dmi.product.name: HP 250 G7 Notebook PC
dmi.product.sku: 6MQ54EA#ABD
dmi.product.version: Type1ProductConfigId
dmi.sys.vendor: HP

Related branches

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1861278

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
justcomplaining (justcomplaining) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected eoan
description: updated
Revision history for this message
justcomplaining (justcomplaining) wrote : CRDA.txt

apport information

Revision history for this message
justcomplaining (justcomplaining) wrote : CurrentDmesg.txt

apport information

Revision history for this message
justcomplaining (justcomplaining) wrote : IwConfig.txt

apport information

Revision history for this message
justcomplaining (justcomplaining) wrote : Lspci.txt

apport information

Revision history for this message
justcomplaining (justcomplaining) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
justcomplaining (justcomplaining) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
justcomplaining (justcomplaining) wrote : ProcInterrupts.txt

apport information

Revision history for this message
justcomplaining (justcomplaining) wrote : ProcModules.txt

apport information

Revision history for this message
justcomplaining (justcomplaining) wrote : PulseList.txt

apport information

Revision history for this message
justcomplaining (justcomplaining) wrote : UdevDb.txt

apport information

Revision history for this message
justcomplaining (justcomplaining) wrote : WifiSyslog.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Changed in linux-oem (Ubuntu):
status: New → Confirmed
Changed in rtl8821ce (Ubuntu):
status: New → Confirmed
Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

We'll update the DKMS soon.

Once Realtek provides 8821ce support in rtw88, we can get rid of the DKMS altogether.

Changed in linux (Ubuntu):
status: Confirmed → Invalid
Changed in linux-oem (Ubuntu):
status: Confirmed → Invalid
You-Sheng Yang (vicamo)
no longer affects: linux (Ubuntu)
no longer affects: linux-oem (Ubuntu)
no longer affects: linux (Ubuntu Bionic)
no longer affects: linux (Ubuntu Eoan)
no longer affects: linux (Ubuntu Focal)
no longer affects: linux-oem (Ubuntu Bionic)
no longer affects: linux-oem (Ubuntu Eoan)
no longer affects: linux-oem (Ubuntu Focal)
Revision history for this message
You-Sheng Yang (vicamo) wrote :
Changed in rtl8821ce (Ubuntu Focal):
status: Confirmed → In Progress
assignee: nobody → You-Sheng Yang (vicamo)
Revision history for this message
You-Sheng Yang (vicamo) wrote :

So I can confirm with patch from https://github.com/tomaspinho/rtl8821ce/pull/50 built into ppa-1861278, some previously disabled entries from `iw list` output now become enabled but with comments "(no IR, radar detection)". Don't quite know what does this mean and I'd need verification with realy hardware before proceeding to land this patch.

Changed in rtl8821ce (Ubuntu Focal):
status: In Progress → Incomplete
Revision history for this message
justcomplaining (justcomplaining) wrote :

I installed the patched Version and could provide you with some tests if you could point me in the way of what you would need to know.

Revision history for this message
You-Sheng Yang (vicamo) wrote :

@justcomplaining, since this was reported by you stating some 5G network is not visible, does that kernel work for you now? If the result is positive, I'll continue to backport this patch.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in rtl8821ce (Ubuntu Bionic):
status: New → Confirmed
Changed in rtl8821ce (Ubuntu Eoan):
status: New → Confirmed
Revision history for this message
justcomplaining (justcomplaining) wrote :
Download full text (8.7 KiB)

My desired network is sadly still not detected. Not sure why.

iwlist wlo1 freq
wlo1 32 channels in total; available frequencies :
          Channel 01 : 2.412 GHz
          Channel 02 : 2.417 GHz
          Channel 03 : 2.422 GHz
          Channel 04 : 2.427 GHz
          Channel 05 : 2.432 GHz
          Channel 06 : 2.437 GHz
          Channel 07 : 2.442 GHz
          Channel 08 : 2.447 GHz
          Channel 09 : 2.452 GHz
          Channel 10 : 2.457 GHz
          Channel 11 : 2.462 GHz
          Channel 12 : 2.467 GHz
          Channel 13 : 2.472 GHz
          Channel 36 : 5.18 GHz
          Channel 40 : 5.2 GHz
          Channel 44 : 5.22 GHz
          Channel 48 : 5.24 GHz
          Channel 52 : 5.26 GHz
          Channel 56 : 5.28 GHz
          Channel 60 : 5.3 GHz
          Channel 64 : 5.32 GHz
          Channel 100 : 5.5 GHz
          Channel 104 : 5.52 GHz
          Channel 108 : 5.54 GHz
          Channel 112 : 5.56 GHz
          Channel 116 : 5.58 GHz
          Channel 120 : 5.6 GHz
          Channel 124 : 5.62 GHz
          Channel 128 : 5.64 GHz
          Channel 132 : 5.66 GHz
          Channel 136 : 5.68 GHz
          Channel 140 : 5.7 GHz
          Current Frequency:2.437 GHz (Channel 6)

iw list
Wiphy phy0
 max # scan SSIDs: 9
 max scan IEs length: 2304 bytes
 max # sched scan SSIDs: 0
 max # match sets: 0
 max # scan plans: 1
 max scan plan interval: -1
 max scan plan iterations: 0
 Retry short limit: 7
 Retry long limit: 4
 Coverage class: 0 (up to 0m)
 Supported Ciphers:
  * WEP40 (00-0f-ac:1)
  * WEP104 (00-0f-ac:5)
  * TKIP (00-0f-ac:2)
  * CCMP-128 (00-0f-ac:4)
 Available Antennas: TX 0 RX 0
 Supported interface modes:
   * IBSS
   * managed
   * AP
 Band 1:
  Capabilities: 0x1962
   HT20/HT40
   Static SM Power Save
   RX HT20 SGI
   RX HT40 SGI
   RX STBC 1-stream
   Max AMSDU length: 7935 bytes
   DSSS/CCK HT40
  Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
  Minimum RX AMPDU time spacing: 16 usec (0x07)
  HT Max RX data rate: 150 Mbps
  HT TX/RX MCS rate indexes supported: 0-7
  Bitrates (non-HT):
   * 1.0 Mbps
   * 2.0 Mbps
   * 5.5 Mbps
   * 11.0 Mbps
   * 6.0 Mbps
   * 9.0 Mbps
   * 12.0 Mbps
   * 18.0 Mbps
   * 24.0 Mbps
   * 36.0 Mbps
   * 48.0 Mbps
   * 54.0 Mbps
  Frequencies:
   * 2412 MHz [1] (20.0 dBm)
   * 2417 MHz [2] (20.0 dBm)
   * 2422 MHz [3] (20.0 dBm)
   * 2427 MHz [4] (20.0 dBm)
   * 2432 MHz [5] (20.0 dBm)
   * 2437 MHz [6] (20.0 dBm)
   * 2442 MHz [7] (20.0 dBm)
   * 2447 MHz [8] (20.0 dBm)
   * 2452 MHz [9] (20.0 dBm)
   * 2457 MHz [10] (20.0 dBm)
   * 2462 MHz [11] (20.0 dBm)
   * 2467 MHz [12] (20.0 dBm) (no IR)
   * 2472 MHz [13] (20.0 dBm) (no IR)
   * 2484 MHz [14] (disabled)
 Band 2:
  Capabilities: 0x1862
   HT20/HT40
   Static SM Power Save
   RX HT20 SGI
   RX HT40 SGI
   No RX STBC
   Max AMSDU length: 7935 bytes
   DSSS/CCK HT40
  Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
  Minimum RX AMPDU time spacing: 16 usec (0x07)
  HT Max RX data rate: 150 Mbps
  HT TX/RX MCS rate indexes supported: 0-7
  VHT Capabilities (0x03c00120):
   Max MPDU length: 3895
   Supported Channel Width: neither 160 nor 80+80
   short GI (80 MHz)
   +HTC-VHT
  VHT RX MCS set:
   ...

Read more...

Revision history for this message
You-Sheng Yang (vicamo) wrote :

Hi, I've just uploaded another version to my ppa in https://launchpad.net/~vicamo/+archive/ubuntu/ppa-1861278 . This version integrates both bug 1865147 and bug 1884648 as well.

Revision history for this message
justcomplaining (justcomplaining) wrote :

Thank you!

A few of the neighbour's 5GHz networks are shown, but my own is still missing. So it's probably not about 5 GHz networks in general anymore...

Any ideas on what could be the issue? The router broadcasts both a 2,4 Ghz as well as a 5 Ghz network and I can connect to the 2,4 but can not see the 5 Ghz. On the android phone it shows up and works fine.

Revision history for this message
justcomplaining (justcomplaining) wrote :

I checked some WiFi info via the Android phone. Of the 5 5G networks shown there, only two show up on the laptop.

The ones that do show up are on channels 48-42 (5240 MHz) and 36-42 (5180 MHz).

The ones that do not show up are on channels 100-106 (5500 MHz), 140-138 (5700 MHz) and 140-138 (5700 MHz).

Three additional networks show up on the laptop, one at channel 44 (5220 MHz), one at Channel 48 (5240 MHz) and one unnamed network without channel information at 5785 MHz.

Revision history for this message
justcomplaining (justcomplaining) wrote :

I tried changing the channel in the router configuration to 36, 44 and 48 but that did not help either.

Revision history for this message
justcomplaining (justcomplaining) wrote :

I have now also detected networks on channel 140 (5.7 Ghz) and channel 64 (5.32 GHz) at a different location.

Revision history for this message
You-Sheng Yang (vicamo) wrote :

Probably you Android phone is equipped with some other WiFi chip. Currently this RTL8821CE driver supports only 5G networks listed in `iw list`.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
You-Sheng Yang (vicamo) wrote :

Add linux package to affected for bug 1884513 is to backport 8821ce support in rtw88. Let's see if it will have better support for 5G networks.

Revision history for this message
You-Sheng Yang (vicamo) wrote :

Public bug 1885862 instead.

Revision history for this message
Brian Murray (brian-murray) wrote :

The Eoan Ermine has reached end of life, so this bug will not be fixed for that release

Changed in rtl8821ce (Ubuntu Eoan):
status: Confirmed → Won't Fix
Revision history for this message
justcomplaining (justcomplaining) wrote :
Download full text (6.9 KiB)

I have news: I can connect to my 5 GHZ network now. I am not sure why though.
(1) I changed the 5GHZ channel
(2) I changed the frequency band from 80mhz to 40mhz
(3) Maybe the last driver update from March did something?

Here are my current outputs (I don't think there's much change though):

dmesg | grep 8821
[ 2.503406] rtl8821ce: loading out-of-tree module taints kernel.
[ 2.506732] rtl8821ce: module verification failed: signature and/or required key missing - tainting kernel
[ 2.956481] rtl8821ce 0000:02:00.0 wlo1: renamed from wlan0

dmesg |grep -i firm
[ 0.131142] Spectre V2 : Enabling Restricted Speculation for firmware calls
[ 2.562917] [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)

iw list
Wiphy phy0
 max # scan SSIDs: 9
 max scan IEs length: 2304 bytes
 max # sched scan SSIDs: 0
 max # match sets: 0
 max # scan plans: 1
 max scan plan interval: -1
 max scan plan iterations: 0
 Retry short limit: 7
 Retry long limit: 4
 Coverage class: 0 (up to 0m)
 Supported Ciphers:
  * WEP40 (00-0f-ac:1)
  * WEP104 (00-0f-ac:5)
  * TKIP (00-0f-ac:2)
  * CCMP-128 (00-0f-ac:4)
 Available Antennas: TX 0 RX 0
 Supported interface modes:
   * IBSS
   * managed
   * AP
 Band 1:
  Capabilities: 0x1962
   HT20/HT40
   Static SM Power Save
   RX HT20 SGI
   RX HT40 SGI
   RX STBC 1-stream
   Max AMSDU length: 7935 bytes
   DSSS/CCK HT40
  Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
  Minimum RX AMPDU time spacing: 16 usec (0x07)
  HT Max RX data rate: 150 Mbps
  HT TX/RX MCS rate indexes supported: 0-7
  Bitrates (non-HT):
   * 1.0 Mbps
   * 2.0 Mbps
   * 5.5 Mbps
   * 11.0 Mbps
   * 6.0 Mbps
   * 9.0 Mbps
   * 12.0 Mbps
   * 18.0 Mbps
   * 24.0 Mbps
   * 36.0 Mbps
   * 48.0 Mbps
   * 54.0 Mbps
  Frequencies:
   * 2412 MHz [1] (20.0 dBm)
   * 2417 MHz [2] (20.0 dBm)
   * 2422 MHz [3] (20.0 dBm)
   * 2427 MHz [4] (20.0 dBm)
   * 2432 MHz [5] (20.0 dBm)
   * 2437 MHz [6] (20.0 dBm)
   * 2442 MHz [7] (20.0 dBm)
   * 2447 MHz [8] (20.0 dBm)
   * 2452 MHz [9] (20.0 dBm)
   * 2457 MHz [10] (20.0 dBm)
   * 2462 MHz [11] (20.0 dBm)
   * 2467 MHz [12] (20.0 dBm) (no IR)
   * 2472 MHz [13] (20.0 dBm) (no IR)
   * 2484 MHz [14] (disabled)
 Band 2:
  Capabilities: 0x1862
   HT20/HT40
   Static SM Power Save
   RX HT20 SGI
   RX HT40 SGI
   No RX STBC
   Max AMSDU length: 7935 bytes
   DSSS/CCK HT40
  Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
  Minimum RX AMPDU time spacing: 16 usec (0x07)
  HT Max RX data rate: 150 Mbps
  HT TX/RX MCS rate indexes supported: 0-7
  VHT Capabilities (0x03c00120):
   Max MPDU length: 3895
   Supported Channel Width: neither 160 nor 80+80
   short GI (80 MHz)
   +HTC-VHT
  VHT RX MCS set:
   1 streams: MCS 0-9
   2 streams: not supported
   3 streams: not supported
   4 streams: not supported
   5 streams: not supported
   6 streams: not supported
   7 streams: not supported
   8 streams: not supported
  VHT RX highest supported: 434 Mbps
  VHT TX MCS set:
   1 streams: MCS 0-9
   2 streams: not supported
   3 streams: not supported
   4 streams: not supported
   5 streams: not supported
   6 streams: not supported
   7 streams: not supported
   8 streams: not supported
  VHT ...

Read more...

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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