You are not logged in.

#1 2018-05-14 21:08:17

stealy64
Member
Registered: 2016-05-25
Posts: 5

Wifi is 4x slower on Arch than it is on Windows with Asus pce-ac51

I recently installed an Asus pce-ac51 wireless card in my desktop. I installed the manufacturer driver on Windows and was getting upwards of 100Mb/s on speedtest.net. On linux, I am getting less than 25Mb/s. Is there any way to get the speed up to what it is on windows. I tried to install the driver that Asus provides for linux, but I was getting a make error. The driver that I currenly have installed is rtl8821ae.
Here is my 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:04:00.0
       logical name: wlp4s0
       version: 01
       serial: 70:4d:7b:91:f1:67
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=rtl8821ae driverversion=4.14.39-1 firmware=N/A ip=192.168.1.99 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: irq:30 ioport:c000(size=256) memory:f7100000-f7103fff

Here is the error I get from when I run the install.sh file from the included Asus driver

 CC [M]  ~/.drivers/DR_PCE-AC51_20232801152016/linux_driver/driver/core/rtw_cmd.o
In file included from ~/.drivers/DR_PCE-AC51_20232801152016/linux_driver/driver/include/drv_types.h:32:0,
                 from ~/.drivers/DR_PCE-AC51_20232801152016/linux_driver/driver/core/rtw_cmd.c:22:
~/.drivers/DR_PCE-AC51_20232801152016/linux_driver/driver/include/osdep_service.h: In function ‘thread_enter’:
~/.drivers/DR_PCE-AC51_20232801152016/linux_driver/driver/include/osdep_service.h:343:2: error: implicit declaration of function ‘allow_signal’; did you mean ‘do_signal’? [-Werror=implicit-function-declaration]
  allow_signal(SIGTERM);
  ^~~~~~~~~~~~
  do_signal
~/.drivers/DR_PCE-AC51_20232801152016/linux_driver/driver/include/osdep_service.h: In function ‘flush_signals_thread’:
~/.drivers/DR_PCE-AC51_20232801152016/linux_driver/driver/include/osdep_service.h:353:6: error: implicit declaration of function ‘signal_pending’; did you mean ‘timer_pending’? [-Werror=implicit-function-declaration]
  if (signal_pending (current))
      ^~~~~~~~~~~~~~
      timer_pending
~/.drivers/DR_PCE-AC51_20232801152016/linux_driver/driver/include/osdep_service.h:355:3: error: implicit declaration of function ‘flush_signals’; did you mean ‘do_signal’? [-Werror=implicit-function-declaration]
   flush_signals(current);
   ^~~~~~~~~~~~~
   do_signal
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:329: ~/.drivers/DR_PCE-AC51_20232801152016/linux_driver/driver/core/rtw_cmd.o] Error 1
make[1]: *** [Makefile:1528: _module_~/.drivers/DR_PCE-AC51_20232801152016/linux_driver/driver] Error 2
make[1]: Leaving directory '/usr/lib/modules/4.14.39-1/build'
make: *** [Makefile:1656: modules] Error 2

Offline

#2 2018-05-14 21:34:11

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,849

Re: Wifi is 4x slower on Arch than it is on Windows with Asus pce-ac51

That driver package is 2 years old ...

Did you try
a) the mainline kernel (rather than the lts one)
b) disabling power saving by passing

ips=0 aspm=0 swlps=0 fwlps=0

to the rtl8821ae module?

Offline

Board footer

Powered by FluxBB