Title: TP-Link TL-WN8200ND (RTL8192EU) with 8192eu-dkms: 144 Mbps link but only ~20 KB/s real throughput (EndeavourOS, kernel 7.2)
Hey everyone, how are you? I'm here because I recently switched to Arch Linux (EndeavourOS) with Hyprland and I've been having a big problem with my internet. I've tried to solve it with Claude and Gemini Pro, but I haven't been able to find the answer. I should say I'm not a developer or anything like that. I love the aesthetics and the philosophy of Linux, and 100% of what I do, I do with the help of AI. I've learned a little, but it's just a drop in the ocean. If anyone could help me, I'd be very grateful. Here are my specs:
Hardware
- Adapter: TP-Link TL-WN8200ND v2.20 (300 Mbps, two external antennas), Realtek RTL8192EU chip, USB ID 2357:0126, 2.4 GHz only
- Motherboard: MSI A520M-A PRO (MS-7C96). The adapter was on the AMD Matisse USB 3.0 controller (25:00.3), the same one as my 1 TB external USB 3.0 drive, which is also my system disk
- GPU: GTX 1650
Software
- EndeavourOS, kernel 7.2.14-arch1-1 (I also tried linux-lts 6.18.60), systemd-boot, dracut, Hyprland, nvidia-open 615.78.08
- Driver: 8192eu-dkms-git from the AUR (Mange/rtl8192eu-linux-driver fork), dkms 8192eu/r342.c629cc9, internal version v5.6.4_35685.20191108
- The in-kernel driver (rtl8xxxu) loads but doesn't see any networks (it's blacklisted now)
The problem
It connects fine: iw reports 144.4 Mbit/s, signal between -58 and -68 dBm, no tx failures and 0% ping loss. But real throughput is only ~15-28 KB/s:
- curl --interface wlan0 to speed.cloudflare.com: 14-28 KB/s
- A phone on the same 2.4 GHz network: ~31 Mbps download (measured separately, not at the same time)
- The same PC using my phone's USB tethering: ~10 Mbps
- Ping to the router: 4-20 ms with small packets, but 58-400 ms average with 1400-byte packets (spikes up to ~1 s), with no packet loss
- MTU is fine (ping -M do -s 1400 works)
This same adapter worked perfectly on this same PC and USB port under Kali Linux (I don't know which kernel or driver it used, and I've since wiped it).
What I've already tried
- Power save off (iw) and module options rtw_power_mgnt=0 rtw_ips_mode=0 rtw_en_napi=0 rtw_usb_rxagg_mode=0 rtw_dynamic_agg_enable=0 (verified in /sys/module/8192eu/parameters after rebuilding the initramfs): no change
- iw reg set CO: no change
- USB autosuspend (power/control is on), Bluetooth off, other download servers, IPv4 only: no change
- No driver errors in dmesg during normal operation (just a "Runtime PM usage count underflow" when I manually unloaded the module)
- linux-lts 6.18.60 with nvidia-open-lts: inconclusive, the adapter barely received anything (-99 dBm), maybe a physical issue
- Moving the adapter to the other USB controller (the A520 chipset one, not shared with my disk): it saw networks with normal signal and got ~95 KB/s on a single measurement, so maybe 4-5x better, but still far from the phone's 31 Mbps. It wasn't a controlled test (different time of day), and one 1400-byte ping to the router showed 100% loss, which I can't explain
- The 2.4 GHz band is very crowded (~17 networks) and my router is on channel 10
Questions
1. Is this a known issue with this fork on recent kernels? Is there a better-maintained fork?
2. Could the USB controller (AMD Matisse xHCI) be a factor, or is there any xHCI/USB setting worth trying?
3. Are there other module parameters worth trying? Or is the realistic answer to switch to an adapter with an in-kernel driver (MT7612U, MT7921AU)?
Happy to run any diagnostics you suggest. Thanks!