rtl8821ce icon indicating copy to clipboard operation
rtl8821ce copied to clipboard

Sometimes no reconnect after wake in Ubuntu 19.10

Open JRDetwiler opened this issue 5 years ago • 11 comments

I have an issue where sometimes I'll bring my laptop back from sleep and the WiFi can't connect at all. I can't ask it to reconnect and toggling WiFi or airplane mode doesn't work either. It's hit and miss whether I experience it after every time it goes to sleep.

I'm not sure which logs to look at, but I'll provide them if you can point me in the right direction.

JRDetwiler avatar Jan 15 '20 18:01 JRDetwiler

I am traveling and face this or a similar problem with many wifis while my phone connects quickly. My laptop will take 1 to several minutes until it manages to connect. Then the connection is stable however.

belugame avatar Jan 19 '20 00:01 belugame

I am also facing the same problem, After sleep not reconnecting most of the times, requires restart of the system to fix it. Again not sure where to look logs, directions required

Those who find this problem one solution is to restart the network-manager sudo service network-manager restart instead of restarting the system

shivashanmugam avatar Feb 06 '20 13:02 shivashanmugam

This is a known issue and won't be addressed until Realtek delivers RTW88.

tomaspinho avatar Feb 06 '20 14:02 tomaspinho

@tomaspinho I see. I wasn't aware this was a known bug. Do you perchance have any more information about RTW88? Like a date? I just saw this thread where you were talking about it and other drivers. I'm not sure what to make of it and I'm thinking about settling on flaky stability for the time being.

JRDetwiler avatar Feb 09 '20 06:02 JRDetwiler

There isn't a known release date. RTW88 will be a universal driver for all the 88xx chips that has already been mainlained, already supporting 2 chips, I believe. Support for 8821ce will be added in the future, but no date yet.

tomaspinho avatar Feb 09 '20 08:02 tomaspinho

Where can one follow the development of this universal driver? Is it this bug report? https://bugs.launchpad.net/ubuntu/bionic/+source/linux/+bug/1829220 If so, we should all add us as being affected.

And thank you very much for your work here, much appreciated! :+1:

belugame avatar Feb 09 '20 09:02 belugame

On the Linux Kernel Mailing List: https://www.google.com/search?q=rtw88+site%3Alkml.org

tomaspinho avatar Feb 09 '20 09:02 tomaspinho

Hi! I had this issue before and it seems like it fixed itself when I installed the linux-amd-raven kernel in my Arch Linux installation since I have about a month without having this issue. I don't know if this info can be useful to anyone but I think it's worth mentioning.

cyanhydrous avatar May 29 '20 05:05 cyanhydrous

I also have not faced it recently anymore.

Correction: still happens

belugame avatar May 29 '20 06:05 belugame

I'm using the stable kernel from Arch and it seems like it works just fine. However, I had to disable the TLP service cause otherwise I face the same issue than before. Maybe there's some conflict with TLP.

cyanhydrous avatar Jul 29 '20 22:07 cyanhydrous

It might be helpful for some users of rtl8821ce to add a simple workaround for https://github.com/tomaspinho/rtl8821ce#wi-fi-and-bluetooth-dont-work-after-suspend

With distros like Debian that use Gnome it is possible to go to...

  • (Gnome) 'Settings' > 'Power' > 'Suspend & Power button' > 'Automatic suspend' and disable the 'Plugged In' setting. After doing this, when plugged into power, the computer will not suspend itself, and therefore will not need to come out of a suspended state, and therefore will not lose it's wifi connection.
    • (Gnome) 'Settings' > 'Power' > 'Suspend & Power button' > 'Automatic suspend' also has a setting for when 'On Battery Power'. You can disable this too, and avoid the loss of wifi network after suspend issue, but you have to weigh up the possible downside of leaving your laptop so long on battery that it runs completely out of power and you lose any unsaved work.

denniz-j avatar Jul 29 '21 00:07 denniz-j