You are not logged in.

#1 2018-03-14 20:33:20

AndyVoz
Member
Registered: 2018-03-14
Posts: 6

Windows vs Arch Wi-Fi connection

I have 2 operating systems on my desktop: windows 10 and arch. On windows download/upload speeds are about 20Mbit/10Mbit, but on Arch it's around 10Mbit/0.5Mbit. That is very annoying and seems like something wrong with my configuration.
lshw -C network output:

  *-network                 
       description: Wireless interface
       product: RTL8812AE 802.11ac PCIe Wireless Network Adapter
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:01:00.0
       logical name: wlp1s0
       version: 01
       serial: 80:26:89:6f:68:75
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=rtl8821ae driverversion=4.15.7-1-ARCH firmware=N/A ip=192.168.31.72 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: irq:125 ioport:e000(size=256) memory:f7100000-f7103fff

Can anyone give me advice how to speed up my connection?

Last edited by AndyVoz (2018-03-14 20:45:39)

Offline

#2 2018-03-14 20:41:52

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: Windows vs Arch Wi-Fi connection

Welcome to the forums AndyVoz smile

Please don't past pictures of text, post the actual text...
CoC - Pasting pictures and code

How are you testing the network speed?


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2018-03-14 20:54:37

AndyVoz
Member
Registered: 2018-03-14
Posts: 6

Re: Windows vs Arch Wi-Fi connection

Thanks for reply! I'm testing network speed on http://www.speedtest.net
I did a lot of tries, but the result is always the same. The most strange thing is an upload speed which is always about 0.5Mbit. I make reboot to windows, then test speed with the same server and tadaaa 10Mbits on upload

Offline

#4 2018-03-15 12:57:15

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: Windows vs Arch Wi-Fi connection

configuration: broadcast=yes driver=rtl8821ae driverversion=4.15.7-1-ARCH firmware=N/A ip=192.168.31.72 latency=0 link=yes multicast=yes wireless=IEEE 802.11

"firmware=N/A" this is weird, as modinfo rtl8821ae shows  :

filename:       /lib/modules/4.15.9-1-ARCH/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/rtl8821ae.ko.xz
firmware:       rtlwifi/rtl8821aefw_29.bin
firmware:       rtlwifi/rtl8821aefw.bin 

both firmware files are in the linux-firmware package.

Please post lspci -k , dmesg and/or journal log from a recent boot.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#5 2018-03-16 07:56:30

ther
Member
Registered: 2017-05-24
Posts: 1

Re: Windows vs Arch Wi-Fi connection

I think the those are two different adapters, right? Original post listed rtl8812ae.
But also when looking at List of Wi-Fi Device_IDs in Linux (a link from ArchWiki wireless network configuration) both rtl8812ae and rtl8821ae lists rtl8821ae in the Kernel Modules field is that a typo?

Offline

#6 2018-03-16 18:47:52

Abaddon
Member
From: Poland
Registered: 2004-05-03
Posts: 249

Re: Windows vs Arch Wi-Fi connection

I have the same card:

04:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8812AE 802.11ac PCIe Wireless Network Adapter (rev 01)

and I face very similar issue. Speed on Linux is way worse than on Windows (20-40 vs 100-150 Mbit). I tried firmware and drivers from https://github.com/lwfinger/rtlwifi_new some time ago but with no luck. I mean they work but speed is the same as when using stock drivers from kernel. I also tried various combinations of driver parameters, it didn't help.
Sorry to say that but there is probably is no solution for our issue currently. I'm thinking about buying card with Intel chipset (I have one in another computer, its performance is very good).


Gnome - The weakest link!
Linux, *not* GNU/Linux!

Offline

#7 2018-03-16 19:26:24

AndyVoz
Member
Registered: 2018-03-14
Posts: 6

Re: Windows vs Arch Wi-Fi connection

Yaahoooo! Thanks to everyone! smile
I installed rtl8821ae from https://github.com/lwfinger/rtlwifi_new and it works! Connection speed is the same as on windows cool
Thank you guys, u really helped me! Abaddon, maybe you should try to install these drivers now, there was a fix a month ago smile

Offline

#8 2018-03-16 20:53:13

Abaddon
Member
From: Poland
Registered: 2004-05-03
Posts: 249

Re: Windows vs Arch Wi-Fi connection

Really? That's awesome smile
I tried around 2 months ago so things must have changed in the meantime. I'll definetly try again. Did you use master or extended branch?

Last edited by Abaddon (2018-03-16 20:53:37)


Gnome - The weakest link!
Linux, *not* GNU/Linux!

Offline

#9 2018-03-17 10:05:14

AndyVoz
Member
Registered: 2018-03-14
Posts: 6

Re: Windows vs Arch Wi-Fi connection

I used a master branch, hope it will help you too smile

Last edited by AndyVoz (2018-03-17 10:05:28)

Offline

#10 2018-03-17 10:20:56

Abaddon
Member
From: Poland
Registered: 2004-05-03
Posts: 249

Re: Windows vs Arch Wi-Fi connection

I installed https://aur.archlinux.org/packages/rtlwifi_new-dkms
No changes unfortunately.


Gnome - The weakest link!
Linux, *not* GNU/Linux!

Offline

#11 2018-03-18 10:37:59

AndyVoz
Member
Registered: 2018-03-14
Posts: 6

Re: Windows vs Arch Wi-Fi connection

Maybe you should try

sudo modprobe -r rtl8821ae
sudo modprobe rtl8821ae

Offline

#12 2018-03-18 13:57:31

lo1
Member
Registered: 2017-09-25
Posts: 584

Re: Windows vs Arch Wi-Fi connection

Actually, you all should just change the options for antenna selection and powersaving. `modinfo` and `systool -avm module_name` will give you hints, which you can then add into your /etc/modprobe.d/module_name.conf

Oh, and newest rtl drivers should be already included with any 'linux' package, so there's no need to use those from github (which would need to be reinstalled after any kernel update by the way).

Last edited by lo1 (2018-03-18 13:59:52)

Offline

#13 2018-03-19 20:04:00

AndyVoz
Member
Registered: 2018-03-14
Posts: 6

Re: Windows vs Arch Wi-Fi connection

idk. I installed newest drivers from github and it works for me smile

Offline

Board footer

Powered by FluxBB