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
RTW89 buggy with Realtek 8852 #8
Comments
|
I have no idea about the BT problem, but some Lenovo BIOS code are a little funky. Try setting the following option for rtw89pci: disable_aspm_l1=y Other options are disable_aspm_l1ss=y |
|
This is the one part of the guide I didn't understand. How do I set this
exactly - not sure what to put in the brackets?
My laptop is Lenovo Slim 7 Pro AMD
…On Fri, Jul 2, 2021, 19:32 lwfinger ***@***.***> wrote:
I have no idea about the BT problem, but some Lenovo BIOS code are a
little funky. Try setting the following option for rtw89pci:
disable_aspm_l1=y
Other options are
disable_aspm_l1ss=y
disable_clkreq=y
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#8 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJ7P5OMJ254Z7VOUNKZV4E3TVXZ4DANCNFSM47XBHTWQ>
.
|
|
You need to create a file /etc/modprobe.d/50-rtw89.conf. Your editor needs to be called in 'sudo' mode. In that file add a line that says options rtw89pci disable_aspm_l1=y Then unload and reload the driver with sudo modprobe -rv rtw89pci |
|
Done. Still disconnects at times and has trouble reconnecting. Do you need any logs? |
|
Tried 'disable_aspm_l1ss=y' seems to do the trick. Will keep testing |
|
I have just uploaded v5 of the driver, which has a number of improvements. Please do a git pull and test that version. |
|
Have pulled v5. Not working well. Can't connect to any wifi now. Tried the different options too. Any ideas? On Pop OS 21.04 Tried to forget network and reconnect. After trying for a while it asks me for password again (it's correct) |
|
All I can say is that it works for me. If you want v4, do 'git checkout 8f6b38f'. |
|
Tried v4 and v5 now, and can't connect to anything. It tries, then prompts med for wifi password again (even if it is correct). How can I remove it all and retry install? Can you make anything out of my logs?: |
|
If you do a 'sudo make install', all the old stuff is replaced. One possibility, which has been seen quite a bit, is that your BIOS is buggy. Try creating file /etc/modprobe.d/50-rtw89.conf with a line that says 'options rtw89pci disable_aspm_l1=y'. If that does not help, then change disable_aspm_l1 to disable_aspm_l1ss. |
|
I have got it working sketchily with disable_aspm_l1ss. Takes a l,ong time to connect, sometimes not at all until rebooting. Even when connected will drop randomly but come back up soon after. Next I will try Ubuntu 21.04 live and see if it works on a fresh install. |
|
All I can say is that it never drops for me. What does the dmesg output say about the disconnect? A fresh install may not help. The fact that disable_aspm_l1ss is needed means that your BIOS is buggy. Just in case your AP is somewhat strange, add 'options rtw89core disable_ps_mode=y' to the file you created earlier. |
|
Yepp, same issue here. Fequent disconnects, then it takes a reboot or sometimes a power off to connect again. I also see the "No TXBD consumed after DMA kicked off" shortly before disconnect but I also get real crashes: Powersave or PCI parameter don't improve the behavior. It looks like the disconnect only occurs I a complex WLAN environment (Mesh network with three receivable stations). When I use the device in an environment with a singe access point only, then it works fine. |
You want me to add both options - one on each line? DMESG here: |
|
My preliminary test corroborates lunameras finding - connecting to my company mesh wifi is a mesh of dropouts and resets. Connecting to my phone hotspot is almost perfect, with no dropouts. Bluetooth however is sketchy, and only working when running 'sudo systemctl restart bluetooth' |
|
Yes, add both options, one line for each. I will pass on the problems with a mesh network to Realtek. |
|
I just noticed the "rtw89pci: unknown parameter 'disable_ps_mode' ignored". That parameter is for rtw89core, not rtw89pci. ' |
|
Okay I will test this. Do you have any idea of how fast a realtek addresses
these issues? My Laptop is pretty useless without wifi. Even to the point
where I'm considering reinstalling win10
…On Fri, Jul 9, 2021, 20:39 lwfinger ***@***.***> wrote:
I just noticed the "rtw89pci: unknown parameter 'disable_ps_mode'
ignored". That parameter is for rtw89core, not rtw89pci.
'
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#8 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJ7P5OMJTRIYN57Q5QLHINLTW464NANCNFSM47XBHTWQ>
.
|
|
It will depend on how much other work they have, if they can duplicate the problem, and how difficult it will be to fix. What did you expect me to say? |
rybber78, have you tried some other linux distos? I have Lenovo Thinkbook 14 g2 with this 8852 wifi chip & Ubuntu Gnome 21.04 works really fine with v5, no dropouts. |
Well, your previous answer could indicate that you have experience contacting Realtek. Anyway, your effort is appreciated since the alternative is Windows. I will keep testing, and also try other distros as suggested. |
|
I do, and my answer is based on previous contacts. |
Just to add, I'm using Ubuntu 20.4 LTS. Edit: added plain vanilla |
|
I tried both |
|
Actually, these kinds of errors are the result of a buggy BIOS that is not handling the PCIe devices correctly. How "similar" was that other computer? Try add "disable_clkreq=y" to your options. |
It was in the same product line After I added that and the other lines it worked, my bad sorry about that. For future reference anyone looking at this post you have to add a file called Just to have all the info in one place on the page. |
Hi
Got a new latop with Realtek 8852 WIFI/BT module. I installed RTW89 using readme guide. It does work and I can connect to wifi, but wifi drops frequently/restarting. Bluetooth only works after running 'sudo systemctl restart bluetooth' after startup. This chip does not work OOB, so I really want to help finetune the code to make it work fully.
Some log output:
LSPCI OUTPUT:
01:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device 8852
Subsystem: Lenovo Device 4852
Flags: bus master, fast devsel, latency 0, IRQ 74, IOMMU group 7
I/O ports at 2000 [size=256]
Memory at fd500000 (64-bit, non-prefetchable) [size=1M]
Capabilities:
Kernel driver in use: rtw89_pci
Kernel modules: rtw89pci
DMESG | GREP RTW89:
[ 10.362499] rtw89_pci 0000:01:00.0: enabling device (0000 -> 0003)
[ 10.367071] rtw89_pci 0000:01:00.0: Firmware version 0.13.8.0, cmd version 0, type 1
[ 10.367076] rtw89_pci 0000:01:00.0: Firmware version 0.13.8.0, cmd version 0, type 3
[ 10.384436] rtw89_pci 0000:01:00.0: chip rfe_type is 1
[ 10.389697] rtw89_pci 0000:01:00.0 wlp1s0: renamed from wlan0
[ 10.733585] rtw89_pci 0000:01:00.0: No TXBD consumed after DMA kicked off
[ 43.973068] rtw89_pci 0000:01:00.0: failed to setup BA session for 44:ad:d9:c7:f6:06: 4: -16
[ 45.041288] rtw89_pci 0000:01:00.0: failed to setup BA session for 44:ad:d9:c7:f6:06: 4: -16
[ 45.041301] rtw89_pci 0000:01:00.0: failed to setup BA session for 44:ad:d9:c7:f6:06: 4: -16
[ 45.041311] rtw89_pci 0000:01:00.0: failed to setup BA session for 44:ad:d9:c7:f6:06: 4: -16
[ 45.435174] rtw89_pci 0000:01:00.0: failed to setup BA session for 44:ad:d9:c7:f6:06: 4: -16
[ 45.437382] rtw89_pci 0000:01:00.0: failed to setup BA session for 44:ad:d9:c7:f6:06: 4: -16
[ 45.437398] rtw89_pci 0000:01:00.0: failed to setup BA session for 44:ad:d9:c7:f6:06: 4: -16
[ 45.580277] rtw89_pci 0000:01:00.0: failed to setup BA session for 44:ad:d9:c7:f6:06: 4: -16
[ 45.584068] rtw89_pci 0000:01:00.0: failed to setup BA session for 44:ad:d9:c7:f6:06: 4: -16
[ 45.584090] rtw89_pci 0000:01:00.0: failed to setup BA session for 44:ad:d9:c7:f6:06: 4: -16
[ 362.477044] rtw89_pci 0000:01:00.0: failed to release fwcmd
[ 724.253056] rtw89_pci 0000:01:00.0: failed to setup BA session for 44:ad:d9:c7:f6:06: 4: -11
[ 725.348590] rtw89_pci 0000:01:00.0: failed to setup BA session for 44:ad:d9:c7:f6:06: 4: -11
[ 728.225625] rtw89_pci 0000:01:00.0: failed to setup BA session for 44:ad:d9:c7:f6:06: 4: -16
The text was updated successfully, but these errors were encountered: