Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Low signal strength #322

Open
colossus73 opened this issue Apr 12, 2023 · 15 comments
Open

Low signal strength #322

colossus73 opened this issue Apr 12, 2023 · 15 comments

Comments

@colossus73
Copy link

Hi,

I'm using rtw_8821ce and I blacklisted the rtw88_8821

lsmod | grep 8821 8821ce 2023424 0 rtw_8821ce 16384 0 rtw_8821c 90112 1 rtw_8821ce rtw_pci 28672 1 rtw_8821ce rtw_core 258048 2 rtw_8821c,rtw_pci cfg80211 1134592 3 rtw_core,mac80211,8821ce

cat /etc/modprobe.d/rtw88_8821ce.conf blacklist rtw88_8821ce blacklist rtw_8821ce

But thw wifi still hangs, it's a matter of signal as when I get closer to my room's door it wakes up. The router is in the corridor.
I'm running 6.1.0-6-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.15-1 (2023-03-05) x86_64 GNU/Linux

Can anyone help please?

@dubhater
Copy link
Contributor

Assuming the two blacklists are on separate lines, like this:

blacklist rtw88_8821ce
blacklist rtw_8821ce

and that you installed the driver in this repository, you just need to reboot.

If the blacklists are on a single line, like we see in your message here, fix that and then reboot.

@colossus73
Copy link
Author

Hi mate, many thanks for your quick reply. Yes, they are on two separate lines, I don't know why the formatting got screwed. I actually rebooted but the wifi was not available at all. It happened when I added the second line in the blacklist file. I have only blacklist rtw88_8821ce now but it's still slow. I have this in dmesg:

47.183682] rtw_8821ce 0000:01:00.0: timed out to flush queue 2
[ 86.851098] rtw_8821ce 0000:01:00.0: timed out to flush queue 1
[ 87.382950] rtw_8821ce 0000:01:00.0: timed out to flush queue 1
[ 93.161495] rtw_8821ce 0000:01:00.0: timed out to flush queue 1
[ 93.645379] rtw_8821ce 0000:01:00.0: timed out to flush queue 1
[ 93.785408] rtw_8821ce 0000:01:00.0: timed out to flush queue 1
[ 125.410165] rtw_8821ce 0000:01:00.0: timed out to flush queue 2

Hope it can help, thanks.

@dubhater
Copy link
Contributor

You have to decide which driver you want to use.

  1. The one in this repository is called „8821ce”
  2. The one from lwfinger/rtw88 is called „rtw_8821ce”
  3. The one in the kernel is called „rtw88_8821ce” - this is an older version of 2.

1 and 2 have to be installed, otherwise you always have to load them manually. You install them by „make install” or with dkms. Based on what you said above, you installed 2 but not 1.

Hope this helps.

@colossus73
Copy link
Author

t@Teclast-F7-Plus:$ cd rtl8821ce/
gt@Teclast-F7-Plus:
/rtl8821ce$ sudo ./dkms-install.sh
[sudo] password for gt:
About to run dkms install steps...
Error! DKMS tree already contains: rtl8821ce-v5.5.2_34066.20200325
You cannot add the same module/version combo more than once.
Module rtl8821ce/v5.5.2_34066.20200325 already built for kernel 6.1.0-6-amd64 (x86_64), skip. You may override by specifying --force.
Module rtl8821ce/v5.5.2_34066.20200325 already installed on kernel 6.1.0-6-amd64 (x86_64), skip. You may override by specifying --force.
Finished running dkms install steps.
gt@Teclast-F7-Plus:~/rtl8821ce$

This is really weird.

@colossus73
Copy link
Author

Actually I did install 8821ce. Look at last line

lsmod|grep 8821
rtw_8821ce 16384 0
8821ce 2023424 0
rtw_8821c 90112 1 rtw_8821ce
rtw_pci 28672 1 rtw_8821ce
rtw_core 258048 2 rtw_8821c,rtw_pci
cfg80211 1134592 3 rtw_core,mac80211,8821ce
gt@Teclast-F7-Plus:~/rtl8821ce$

@dubhater
Copy link
Contributor

Maybe 8821ce doesn't recognise your card. What does lspci -nn say?

@dubhater
Copy link
Contributor

Nevermind, it knows all the device IDs which rtw_8821ce knows.

@dubhater
Copy link
Contributor

Anyway, you have to blacklist two of the three drivers, so that only one can load. Otherwise you never know which driver will be in charge.

@colossus73
Copy link
Author

colossus73 commented Apr 13, 2023

If I blacklist rtw_8821ce I don't get WIFI at all, in the bottom right system tray I see the icon with X

sudo rmmod rtw_8821ce

gt@Teclast-F7-Plus: rtl8821ce$ lsmod|grep 8821
8821ce 2023424 0
rtw_8821c 90112 0
rtw_core 258048 2 rtw_8821c,rtw_pci
cfg80211 1134592 3 rtw_core,mac80211,8821ce
gt@Teclast-F7-Plus:~/rtl8821ce$ lspci -nn | grep Real

01:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter [10ec:c821]

@dubhater
Copy link
Contributor

As a test:

rmmod rtw_8821ce
rmmod 8821ce
modprobe 8821ce

Do you have wifi now?

@colossus73
Copy link
Author

Nope. I have WIFI only if I modprobe rtw_8821ce

@dubhater
Copy link
Contributor

Did modprobe 8821ce run without errors?

@colossus73
Copy link
Author

Yep, no errors. In the dmesg output I got this:

[Thu Apr 13 12:11:40 2023] wlp1s0: deauthenticating from c0:05:c2:ca:09:97 by local choice (Reason: 3=DEAUTH_LEAVING)
[Thu Apr 13 12:11:56 2023] DMAR: DRHD: handling fault status reg 3
[Thu Apr 13 12:11:56 2023] DMAR: [DMA Read NO_PASID] Request device [01:00.0] fault addr 0xfe803000 [fault reason 0x06] PTE Read access is not set

@dubhater
Copy link
Contributor

Okay. So the driver from this repository is not working for you.

You have some options:

  • Ask Larry Finger to update the newer version of this driver so it can be compiled for kernel 6.1. Or fix the compilation errors yourself. There is no guarantee it will work better.
  • Report your problems with rtw_8821ce and hope they will be fixed.
  • Replace the wifi card.

@colossus73
Copy link
Author

colossus73 commented Apr 13, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants