linux-surface icon indicating copy to clipboard operation
linux-surface copied to clipboard

[Surface Book 2] slow/unreliable WiFi

Open nkkollaw opened this issue 6 years ago • 30 comments
trafficstars

This is the same as #324 which was closed even though the problem is still there.

I'm experiencing extremely slow and unreliable WiFi.

It goes at full speed (6MB/s) at times, but other times it won't go faster than 50KB/s.

It seems to be that the connection works normally if I use my bluetooth mouse (no idea how that's possible), and stops working a while after I stop using the mouse (maybe because the mouse goes into standby). Things don't improve if I turn bluetooth off.

It seems to be a problem with power saving, but although I have turned wifi power saving off the problem persists.

nkkollaw avatar Apr 06 '19 13:04 nkkollaw

@nkkollaw I had the same issue on the 5 kernel. If you install the 4.19 it will solve your issue in the short term.

scotty-c avatar Apr 07 '19 22:04 scotty-c

For me, 5 completely disabled wifi, even after "waking it up" by moving a bluetooth mouse. I reverted to 4.19 right after and on 4.19 I'm experiencing the problem described.

nkkollaw avatar Apr 07 '19 22:04 nkkollaw

Update: I have upgraded to the latest 5.x version and now it works, but still capped at 50 KB/s unless I move my mouse to "wake it up", then it goes into power saving mode again after a while.

nkkollaw avatar Apr 15 '19 22:04 nkkollaw

I also have this issue. I was originally on 4.19 and just recently upgraded to the 5.0.10 kernel, but the problem persists. Connecting my phone to the surface book via bluetooth will bump up the network speeds to expected levels. If the screen on my phone turns off from inactivity, speeds will usually drop back down again. Waking the phone will once again boost network speeds. For whatever reason, my bluetooth mouse does not seem to have an effect one way or the other.

reganface avatar May 11 '19 07:05 reganface

Seems a bit like this issue: https://bugzilla.redhat.com/show_bug.cgi?id=1505058 and https://www.spinics.net/lists/linux-wireless/msg168245.html.

Andy Shevchenko (a kernel dev) mentions that:

The behaviour is not changed for a while. The workaround is to disable power management for the Wi-Fi interface and don't allow system suspend.

I'm pretty sure it's a bug (or even bugs) in the firmware of Marvell products.

Can you try to disable power-saving, i.e. run sudo iw wlp1s0 set power_save off and see if that makes any difference (replace wlp1s0 with your wifi interface if necessary, you can get that via iw dev).

qzed avatar Jun 12 '19 00:06 qzed

Yes, but I already have power management disabled, and it doesn't have any effect.

nkkollaw avatar Jun 12 '19 07:06 nkkollaw

Hmm that's a bummer, I hoped that this would at least be a workaround. If it really is the firmware, we're screwed. I still want to have a look at this though when I got a bit more time.

qzed avatar Jun 12 '19 18:06 qzed

So I've finally managed to test that myself. Yeah... doesn't work for me either.

qzed avatar Jun 19 '19 15:06 qzed

SB2 user here and I notice a similar issue after installing this Kernel.

Before installing it, the wifi worked pretty well. Sounds like I installed the wrong wifi driver. Which driver are you using? I would take slow wifi over just not working.

For clarify, I should mention that the wifi works for a few minutes after boot, but eventually just stops working completely.

I'm using Kernel 5.1.15

mildmenace avatar Jun 28 '19 02:06 mildmenace

Is there anything further I can test to help move this issue along?

mildmenace avatar Jul 02 '19 13:07 mildmenace

For reference, my wifi issues were solved by fixing my bluetooth. Refer to issue #535

mildmenace avatar Jul 16 '19 13:07 mildmenace

Not really, it's just that moving the bluetooth mouse wakes up the wifi.

The problem persists.

nkkollaw avatar Jul 17 '19 09:07 nkkollaw

You're right, I spoke too soon. For a day, it worked completely reliably, but something change and it's back to just not working at all.

mildmenace avatar Jul 17 '19 17:07 mildmenace

It goes to sleep, then when you move the mouse it wakes up.

Very annoying.

nkkollaw avatar Jul 17 '19 19:07 nkkollaw

My wifi doesn't work at all after a few minutes at startup, so it's worse for me.

I've resolved to literally sticking a usb wifi dongle to the back of my surface book

mildmenace avatar Jul 17 '19 19:07 mildmenace

Yes, but did you try connecting a bluetooth mouse and moving it? It should wake wifi up.

nkkollaw avatar Jul 17 '19 19:07 nkkollaw

That does not solve my problem, unfortunately.

mildmenace avatar Jul 17 '19 20:07 mildmenace

Gotcha. Let's hope for a fix in the near future.

nkkollaw avatar Jul 17 '19 21:07 nkkollaw

Yes, I got it too. Weirdly enough it has been fine from the beginning. After installing some seemingly unrelated packages and doing some bluetooth sniffing (first time using bluetooth on the installation) on the Surface Dial, the wifi is unusable all of the sudden. Even after complete shotdowns. Weird!

Another weird thing. I bought an USB nano wifi dongle. And even before compiling drivers for it, the onboard works super good - provided the dongle is inserted. LOL.

runekaagaard avatar Aug 28 '19 17:08 runekaagaard

Heh. Mr. Stoll suggested on gitter to disable bluetooth in the bios. That completely fixes the problem on my SB2.

runekaagaard avatar Nov 16 '19 21:11 runekaagaard

@runekaagaard you don't have Bluetooth, though?

nkkollaw avatar Nov 17 '19 07:11 nkkollaw

Ah this is gold. Disabling bluetooth in the bios fixed it entirely for me. For ages I've just lived with using my phone as a usb tether to my wifi

LiamMorrow avatar Apr 27 '20 03:04 LiamMorrow

@LiamMorrow, does that mean that you can't use Bluetooth, though?

nkkollaw avatar Apr 27 '20 07:04 nkkollaw

Yeah I don't have bluetooth now. Definitely not ideal, but given the choices I'd prefer wifi and no bluetooth over unreliable wifi and bluetooth for my circumstance. Very strange behaviour for sure.

I should note I'm running Kubuntu 19.04 on the Surface Book 1

LiamMorrow avatar Apr 27 '20 07:04 LiamMorrow

Just wanted to add me to the list of sufferers. I can't do without Bluetooth so this issue is really annoying.

slaecker avatar May 01 '20 07:05 slaecker

Welcome, @slaecker!

nkkollaw avatar May 01 '20 08:05 nkkollaw

Yeah... I can too notice huge difference on speed just by switching bluetooth on and off...

Tested on Linux laptop 5.6.14-surface #1 SMP Thu May 21 11:09:43 UTC 2020 x86_64 x86_64 x86_64 GNU/

jaakkouu avatar May 25 '20 15:05 jaakkouu

Having the same issue with my SB2 here...

ZiyouZhang avatar Jun 20 '20 04:06 ZiyouZhang

It's such a hectic behaviour. I don't even know how they could be related

LiamMorrow avatar Jun 20 '20 22:06 LiamMorrow

I had this same issue, bluetooth mouse workaround and everything, on my SP4 running arch linux on the newer linux-surface repo's kernel. After replacing my distro's provided /usr/lib/firmware/mrvl and /usr/lib/firmware/mwlwifi contents with the firmware from this repo, I haven't had any problems relating to wifi or bluetooth in a week of testing.

spfanning avatar Mar 19 '21 21:03 spfanning