Slow WiFi on Realtek RTL8188EU on Manjaro. OK on Windows

System:
  Kernel: 5.10.42-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.10-x86_64 
  root=UUID=4df65d5b-74ea-4eac-bbf2-1b4fa9a68030 rw quiet apparmor=1 
  security=apparmor resume=UUID=090a160c-6f0b-4e12-a91b-f3099c6d35f8 
  udev.log_priority=3 
  Desktop: Xfce 4.16.0 tk: Gtk 3.24.29 info: xfce4-panel wm: xfwm4 vt: 7 
  dm: LightDM 1.30.0 Distro: Manjaro Linux base: Arch Linux 
Machine:
  Type: Desktop Mobo: MSI model: Z97 PC Mate(MS-7850) v: 1.0 serial: <filter> 
  UEFI-[Legacy]: American Megatrends v: 4.11 date: 02/16/2016 
Battery:
  Message: No system battery data found. Is one present? 
Memory:
  RAM: total: 7.66 GiB used: 3.29 GiB (43.0%) 
  RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:
  Info: Quad Core model: Intel Core i5-4460 bits: 64 type: MCP arch: Haswell 
  family: 6 model-id: 3C (60) stepping: 3 microcode: 28 cache: L2: 6 MiB 
  bogomips: 25604 
  Speed: 1296 MHz min/max: 800/3400 MHz Core speeds (MHz): 1: 1296 2: 1299 
  3: 1265 4: 1293 
  Flags: abm acpi aes aperfmperf apic arat arch_perfmon avx avx2 bmi1 bmi2 bts 
  clflush cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm 
  dts ept ept_ad erms est f16c flexpriority flush_l1d fma fpu fsgsbase fxsr ht 
  ibpb ibrs ida invpcid invpcid_single lahf_lm lm mca mce md_clear mmx monitor 
  movbe msr mtrr nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm pdpe1gb 
  pebs pge pln pni popcnt pse pse36 pti pts rdrand rdtscp rep_good sdbg sep 
  smep ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow 
  tsc tsc_adjust tsc_deadline_timer vme vmx vnmi vpid x2apic xsave xsaveopt 
  xtopology xtpr 
  Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
  Type: l1tf 
  mitigation: PTE Inversion; VMX: conditional cache flushes, SMT disabled 
  Type: mds mitigation: Clear CPU buffers; SMT disabled 
  Type: meltdown mitigation: PTI 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, 
  IBRS_FW, STIBP: disabled, RSB filling 
  Type: srbds mitigation: Microcode 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics 
  vendor: Micro-Star MSI driver: i915 v: kernel bus-ID: 00:02.0 
  chip-ID: 8086:0412 class-ID: 0380 
  Device-2: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] 
  vendor: Micro-Star MSI driver: amdgpu v: kernel bus-ID: 01:00.0 
  chip-ID: 1002:67df class-ID: 0300 
  Display: x11 server: X.Org 1.20.11 driver: loaded: amdgpu,ati,intel 
  unloaded: modesetting alternate: fbdev,vesa display-ID: :0.0 screens: 1 
  Screen-1: 0 s-res: 3520x1200 s-dpi: 96 s-size: 931x318mm (36.7x12.5") 
  s-diag: 984mm (38.7") 
  Monitor-1: DVI-D-0 res: 1920x1080 dpi: 92 size: 531x299mm (20.9x11.8") 
  diag: 609mm (24") 
  Monitor-2: VGA1 res: 1600x1200 hz: 60 dpi: 99 size: 410x310mm (16.1x12.2") 
  diag: 514mm (20.2") 
  OpenGL: renderer: AMD Radeon RX 480 Graphics (POLARIS10 DRM 3.40.0 
  5.10.42-1-MANJARO LLVM 12.0.0) 
  v: 4.6 Mesa 21.1.2 direct render: Yes 
Audio:
  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio 
  vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus-ID: 00:03.0 
  chip-ID: 8086:0c0c class-ID: 0403 
  Device-2: Intel 9 Series Family HD Audio vendor: Micro-Star MSI 
  driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:8ca0 
  class-ID: 0403 
  Device-3: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] 
  vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus-ID: 01:00.1 
  chip-ID: 1002:aaf0 class-ID: 0403 
  Sound Server-1: ALSA v: k5.10.42-1-MANJARO running: yes 
  Sound Server-2: JACK v: 0.125.0 running: no 
  Sound Server-3: PulseAudio v: 14.2 running: yes 
  Sound Server-4: PipeWire v: 0.3.30 running: no 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Micro-Star MSI driver: r8169 v: kernel port: d000 bus-ID: 03:00.0 
  chip-ID: 10ec:8168 class-ID: 0200 
  IF: enp3s0 state: down mac: <filter> 
  Device-2: Realtek RTL8188EUS 802.11n Wireless Network Adapter type: USB 
  driver: rtl8188eu bus-ID: 3-11:4 chip-ID: 0bda:8179 class-ID: 0000 
  serial: <filter> 
  IF: enp0s20u11 state: up mac: <filter> 
  IP v4: <filter> type: dynamic noprefixroute scope: global 
  broadcast: <filter> 
  IP v6: <filter> type: noprefixroute scope: link 
  WAN IP: <filter> 
Bluetooth:
  Message: No bluetooth data found. 
Logical:
  Permissions: Unable to run lvs. Root privileges required. 
RAID:
  Message: No RAID data found. 
Drives:
  Local Storage: total: 1.02 TiB used: 12.41 GiB (1.2%) 
  SMART Message: Required tool smartctl not installed. Check --recommends 
  ID-1: /dev/sda maj-min: 8:0 vendor: SanDisk model: SDSSDA120G 
  size: 111.79 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s 
  rotation: SSD serial: <filter> rev: 80RL scheme: MBR 
  ID-2: /dev/sdb maj-min: 8:16 vendor: Western Digital model: WD10EZEX-08WN4A0 
  size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s 
  rotation: 7200 rpm serial: <filter> rev: 1A01 scheme: GPT 
  Message: No optical or floppy data found. 
Partition:
  ID-1: / raw-size: 102.99 GiB size: 100.81 GiB (97.89%) 
  used: 12.41 GiB (12.3%) fs: ext4 dev: /dev/sda1 maj-min: 8:1 label: N/A 
  uuid: 4df65d5b-74ea-4eac-bbf2-1b4fa9a68030 
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) 
  ID-1: swap-1 type: partition size: 8.8 GiB used: 0 KiB (0.0%) priority: -2 
  dev: /dev/sda2 maj-min: 8:2 label: N/A 
  uuid: 090a160c-6f0b-4e12-a91b-f3099c6d35f8 
Unmounted:
  ID-1: /dev/sdb1 maj-min: 8:17 size: 450 MiB fs: <superuser required> 
  label: N/A uuid: EC4C507A4C50418E 
  ID-2: /dev/sdb2 maj-min: 8:18 size: 99 MiB fs: <superuser required> 
  label: N/A uuid: ACF7-24A7 
  ID-3: /dev/sdb3 maj-min: 8:19 size: 16 MiB fs: <superuser required> 
  label: N/A uuid: N/A 
  ID-4: /dev/sdb4 maj-min: 8:20 size: 930.96 GiB fs: <superuser required> 
  label: N/A uuid: E458F99B58F96CA4 
USB:
  Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Hub-2: 1-1:2 info: Intel ports: 6 rev: 2.0 speed: 480 Mb/s 
  chip-ID: 8087:8009 class-ID: 0900 
  Hub-3: 2-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Hub-4: 2-1:2 info: Intel Integrated Hub ports: 8 rev: 2.0 speed: 480 Mb/s 
  chip-ID: 8087:8001 class-ID: 0900 
  Hub-5: 3-0:1 info: Full speed (or root) Hub ports: 14 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Device-1: 3-2:2 info: Razer USA DeathAdder 2013 type: Mouse,HID,Keyboard 
  driver: hid-generic,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s 
  power: 100mA chip-ID: 1532:0037 class-ID: 0301 
  Device-2: 3-9:3 info: Corsair STRAFE Gaming Keyboard type: Keyboard,HID 
  driver: hid-generic,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s 
  power: 500mA chip-ID: 1b1c:1b15 class-ID: 0300 serial: <filter> 
  Device-3: 3-11:4 info: Realtek RTL8188EUS 802.11n Wireless Network Adapter 
  type: Network driver: rtl8188eu interfaces: 1 rev: 2.0 speed: 480 Mb/s 
  power: 500mA chip-ID: 0bda:8179 class-ID: 0000 serial: <filter> 
  Hub-6: 4-0:1 info: Full speed (or root) Hub ports: 6 rev: 3.0 speed: 5 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
Sensors:
  System Temperatures: cpu: 29.8 C mobo: 27.8 C gpu: amdgpu temp: 38.0 C 
  Fan Speeds (RPM): N/A gpu: amdgpu fan: 898 
Info:
  Processes: 240 Uptime: 33m wakeups: 0 Init: systemd v: 248 tool: systemctl 
  Compilers: gcc: 11.1.0 Packages: 1136 pacman: 1130 lib: 309 flatpak: 0 
  snap: 6 Shell: Bash v: 5.1.8 running-in: xfce4-terminal inxi: 3.3.04 

After switching to linux, I switched to a TL-WN725N wireless adapter and installed the rtl8188eu drivers. On windows I typically had anywhere from 2-15mb/s download speed and I am now getting around 100-300kb/s, what should I do?

The output to:

nmcli device wifi list | cut --characters=-8,26-

would give us more information about the channels in use and the speed at which they can operate so we can give you a more informed answer… (The BSSID which uniquely identifies you will be cut from the output)

:+1:

IN-USE    SSID                MODE   CHAN  RATE       SIGNAL  BARS  SECURITY  
*         b2174a              Infra  11    16 Mbit/s  82      β–‚β–„β–†β–ˆ  WPA1 WPA2 
*         b2174a              Infra  11    16 Mbit/s  62      β–‚β–„β–†_  WPA1 WPA2 
          b2174a_ext          Infra  11    16 Mbit/s  59      β–‚β–„β–†_  WPA1 WPA2 
          D5701C              Infra  1     16 Mbit/s  55      β–‚β–„__  WPA1 WPA2 
          artistplusheartist  Infra  6     16 Mbit/s  49      β–‚β–„__  WPA2      
          WM470014            Infra  2     54 Mbit/s  45      β–‚β–„__  --        
          MyAltice e546d0     Infra  11    16 Mbit/s  45      β–‚β–„__  WPA2   

This is the output, I am connected to b217a

You’re connected twice to the same SSID. Please change your router settings to have different bands use different SSIDs and connect to one only.

:thinking:

I noticed that, this is the current output

IN-USE    SSID        MODE   CHAN  RATE       SIGNAL  BARS  SECURITY  
*         b2174a      Infra  11    16 Mbit/s  81      β–‚β–„β–†β–ˆ  WPA1 WPA2 
          b2174a_ext  Infra  1     16 Mbit/s  59      β–‚β–„β–†_  WPA1 WPA2 
          D5701C      Infra  1     16 Mbit/s  57      β–‚β–„β–†_  WPA1 WPA2 

Would you care to share the output (screenshot, look here how to do that) of https://speedtest.net now then?

:thinking:

https://paste.pics/d0b19381f0848c1475b06021aaf2bdc8
Sure, here is the screenshot

That’s not good!

How exactly did you do that?

Have you tried kernel 5.13 before installing drivers?

:thinking:

I used the tutorial described here and referred to this post:
http://brilliantlyeasy.com/ubuntu-linux-tl-wn725n-tp-link-version-2-wifi-driver-install/
https://forum.manjaro.org/t/trying-to-install-drivers-for-tp-link-tl-wn725n/64287/2

I have not, I am unsure of how to do that. I attempted to install the driver a few times using this method and others, but I have not seen any improvements and I dont think its working properly

  • Print this page so you have it as a reference while in TTY2

  • Log off

  • Switch to TTY2 by pressing Ctrl+Alt+F2

  • Log in there

  • Execute:

    sudo mhwd-kernel --install linux513
    
  • to ensure grub is showing, execute:

    sudo nano --backup /etc/default/grub
    
  • Change (or add?) the following 3 lines:

    GRUB_TIMEOUT=3
    #GRUB_HIDDEN_TIMEOUT=0
    #GRUB_TIMEOUT_STYLE=hidden
    

    (3 or higher is fine, add the # before the lines above if those lines are present)

  • Ctrl+X Y Enter to save if there is anything to save

  • If you did save, execute:

    sudo update-grub
    
  • Reboot

  • Go to grub’s Advanced options

  • Choose the 5.13 kernels and see if that helps.

If that does not help,

  1. Undo the changes you’ve done first.

  2. Activate the AUR

  3. install the 8188eu-dkms driver

    pamac install 8188eu-dkms
    
  4. Reboot and see if that helps.

If that does not help, uninstall the 8188eu-dkms and try the 8188eu-dkms-git one next using the same methodology as above.

:crossed_fingers:

Note: For the future, don’t use instructions for Ubuntu, Gentoo, … Linux on Manjaro but use Manjaro instructions that have a Solved status or Arch instructions.

1 Like