-
Notifications
You must be signed in to change notification settings - Fork 154
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
Wi-Fi works for few seconds or minutes and then disconnects indefinitely (RTL8852BE) #263
Comments
Experiencing the same issue here with rtl8852be. This should probably be taken to the maintainer and/or mailing list: |
@chm46e - are you asking me to report this to maintainers or have you done it already? EDIT: I sent email and it was not delivered to linux-wireless@vger.kernel.org as my mail was considered as spam. |
It's better to be sent to the maintainer imo, less chance to be ignored. |
I act as triage for the maintainer. You can go to him directly if you want, but he and I would prefer to have tested all options before you do. The first thing to test is if the problem is related to the PCIe bus in your machine. Note that no one has ever reported this problem before, thus I am suspicious, particularly when the issue seems to suddenly be a problem in communicating with the device. Vendors are shipping horrible BIOS code that causes all sorts of problems. Create a file (as root) named /lib/modules.d/70-rtw8852be.conf and add the following: Then reboot. Note, there are two versions - one for the in-kernel driver, and one for the driver from this repo. If the wifi still has the same problem, then run the command 'sudo dmesg > dmesg.txt' and attach the resulting dmesg.txt to this issue. |
"Vendors are shipping horrible BIOS code that causes all sorts of problems." - True and we need to live with it until businessmen and businesses exists. I created /lib/modules.d/70-rtw8852be.conf and added those 2 lines. Rebooted and no change. Attached the dmesg logs:
|
I know the Hrex39 repo. It contains the vendor driver, which is really awful. One main difference, besides crappy code, is that it uses really old firmware. If you do a 'ls /lib/firmware/rtw89/', you will see two different files for rtw8852b. On my system I get rtw8851b_fw.bin.xz rtw8852a_fw.bin.xz rtw8852b_fw-1.bin.xz rtw8852b_fw.bin.xz rtw8852c_fw.bin.xz Your system is using rtw8852b_fw-1.bin or its compressed version as shown by in the dmesg output: [ 3.611449] rtw89_8852be 0000:01:00.0: loaded firmware rtw89/rtw8852b_fw-1.bin Run the command, That will save the newer firmware file in your current directory, and force the driver to use the older version (without the -1). Unload and reload the driver, or reboot. Does that help? |
In my system ls And voila, Wifi works now after a reboot!But there is a caveat. Log when Wifi is gone: Please suggest... |
Hello, I am using ASUS B650m Wifi Plus mother board and rtw89 from latest linux-firmware. With default settings, it just refuses to connect to my 5G WPA3 WIFI network. Setting
makes it connect 1~3 minutes after a fresh reboot. Removing |
Before I push this problem upstream, I would like you to try one more thing. Today, I upgraded this repo to match what will be in kernel 6.6. Please do a 'git pull', 'make', and 'sudo make install'. Then restore the rtw8852b_fw-1 firmware in whatever form you have, and retry the wifi. Let me know the results. Thanks. |
Updated the repo & installed. |
Yes. Until then, you will need to use this repo. |
Yesterday, I was updating Plymouth screen with
Somehow I feel rtw8852b_fw-1.bin is causing problem during laptop sleep/suspend/resume states. Note: I have added "options rtw89_core disable_ps_mode=y" in /lib/modules.d/70-rtw8852be.conf as h3fang suggested just to check if that solves the problem. Still testing it. |
The reference to rtw8852b_fw-1.bin is merely stating that it tried to load it first, but it was not available. Are you up tp date with the code? The command 'git log' should have commit a90a30a as the top entry. If not, then all your testing shows nothing. |
Sure - I'm up to date with the code.
Something is better than nothing. So, can we close the ticket? |
Just making some notes here - |
Certainly, a wifi disconnection by plugging in the charger is not a fault of the driver. The power supply in your laptop has some kind of fault, and the system might have all kinds of other problems. |
Very very unlikely. This is a brand new laptop with ZERO problems if I'm on Windows.
Yeah, same as above, Windows is fine again in all aspects. So, this might be related to Linux OS as a whole not the driver. |
The situation is that HP has modified Windows code and drivers to handle the quirks of their product. Windows is their market. They spend zero time doing the same for Linux. Yes, there may be quirks that need to be applied to Linux, but no one has the hardware, the expertise, and the inclination to solve such problems. Personally, I would never buy an HP or Lenovo laptop. My experience is that Dell or Toshiba are much better engineered. They "just work". |
Yeah, like I said before, it's a BIG yes. All I have to remember is not to do any payment activities while on Linux because God knows when Wifi will go off. Another quirk is that this F*g HP laptop cannot detect detect my mobile via USB, both in Linux and Windows. Due to which I cannot tether via USB. I always borrow somebody else's phone when Wifi is gone. I never understood why all phones work except my own mobile. |
Wifi is okay from the past 2 weeks. No disconnection issue so far. System: Zorin OS 16 Core based on Ubuntu 20.04 LTS |
I switched to Ubuntu 23.10 hoping that Wi-Fi driver will come prebuilt with no dropping issues, which is not the case. Then I understood that HP is complete sh!t of a laptop for Linux. The amazing file that solved my issue: What's inside the file: Wi-Fi was working absolutely fine after doing this. |
Hello Larry. Laptop's processor is AMD Ryzen™ 5-5625U. And laptop is HP Pavilion 14-ec1019au if it helps.
From Windows I could see wireless hardware details as Realtek RTL8852BE Wi-Fi 6 802.11ax PCIe Adapter.
I first tried Ubuntu 23.04 in which Wifi was working for a minute or two and then disconnects indefinitely (Kernel 6.2).
Faced system crashes in Ubuntu and hence I moved to Zorin OS (Kernel 5.15) and installed drivers from your repo.
Could not find success with signed driver so I installed a normal driver (SB turned off) using the instructions exactly as mentioned in the README. Everything goes fine and Wifi hardware was also detected. BUT in a minute or two it disconnects and won't come back. Same problem when using
"sudo apt install rtw89-dkms"
from a"ppa:kelebek333/kablosuz"
.Note: I tried a distro with 6.4 kernel hoping that Wifi driver will work flawlessly. Same behaviour Wifi comes and goes down indefinitely. Some other info that might help:
Note: Above commands prints out IP also if connected to internet but by the time I issued the command Wifi is gone.
Please let me know if any other information is required.
The text was updated successfully, but these errors were encountered: