Low download speed and system freezes when on wifi

Questions about WIFI networks and devices
Forum rules
Before you post please read how to get help
Post Reply
georgios
Level 1
Level 1
Posts: 11
Joined: Mon Jul 25, 2016 4:12 am

Low download speed and system freezes when on wifi

Post by georgios »

Hi all,
I installed Tricia (dual boot with W10) in my new Dell XPS 15 7590 and I have issues with the wireless driver (I think). When I use Ethernet everything works fine and I get download and upload speeds of 70-90mbps. When I switch to wireless connection, I get intermittent system freezes (I can see the cursor movement freezing for about 0.5 seconds) which sometimes turn permanent and only a forced shut down works. In addition, the download speed stays below 6mbps (although another laptop nearby still gives 70-90) while the upload remains unaffected (70-90mbps). Before installing Tricia, I tried Ubuntu 19.10 and I had the same issue there as well. My search so far has concluded that this is a wireless driver issue, but I cannot find the golden hardware/software combination to solve it. Does anyone have any idea?

Here are my specs:

inxi -Fxz

Code: Select all

System:    Host: effi-XPS-15-7590 Kernel: 5.3.0-40-generic x86_64 bits: 64 compiler: gcc v: 7.4.0 Desktop: Cinnamon 4.4.8 
           Distro: Linux Mint 19.3 Tricia base: Ubuntu 18.04 bionic 
Machine:   Type: Laptop System: Dell product: XPS 15 7590 v: N/A serial: <filter> 
           Mobo: Dell model: 0VYV0G v: A00 serial: <filter> UEFI: Dell v: 1.5.0 date: 12/25/2019 
Battery:   ID-1: BAT0 charge: 66.8 Wh condition: 87.4/97.0 Wh (90%) model: SMP DELL GPM0365 status: Discharging 
CPU:       Topology: 6-Core model: Intel Core i7-9750H bits: 64 type: MT MCP arch: Kaby Lake rev: A L2 cache: 12.0 MiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 62399 
           Speed: 800 MHz min/max: 800/4500 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 4: 800 5: 800 6: 800 7: 800 8: 800 
           9: 800 10: 800 11: 800 12: 800 
Graphics:  Device-1: Intel vendor: Dell driver: i915 v: kernel bus ID: 00:02.0 
           Device-2: NVIDIA vendor: Dell driver: nvidia v: 435.21 bus ID: 01:00.0 
           Display: x11 server: X.Org 1.20.5 driver: modesetting,nvidia unloaded: fbdev,nouveau,vesa 
           resolution: 1920x1080~60Hz 
           OpenGL: renderer: GeForce GTX 1650/PCIe/SSE2 v: 4.6.0 NVIDIA 435.21 direct render: Yes 
Audio:     Device-1: Intel Cannon Lake PCH cAVS vendor: Dell driver: snd_hda_intel v: kernel bus ID: 00:1f.3 
           Sound Server: ALSA v: k5.3.0-40-generic 
Network:   Device-1: Intel vendor: Bigfoot Networks driver: iwlwifi v: iwlwifi-stack-public:master:8324:9176b151 port: 3000 
           bus ID: 3b:00.0 
           IF: wlp59s0 state: up mac: <filter> 
           Device-2: Realtek type: USB driver: r8152 bus ID: 4-1:2 
           IF: enx00e04c6806bb state: up speed: 100 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 953.87 GiB used: 10.47 GiB (1.1%) 
           ID-1: /dev/nvme0n1 vendor: Samsung model: PM981a NVMe 1024GB size: 953.87 GiB 
Partition: ID-1: / size: 527.68 GiB used: 10.37 GiB (2.0%) fs: ext4 dev: /dev/nvme0n1p7 
Sensors:   System Temperatures: cpu: 53.0 C mobo: N/A gpu: nvidia temp: 47 C 
           Fan Speeds (RPM): N/A 
Info:      Processes: 291 Uptime: 20m Memory: 15.28 GiB used: 1.18 GiB (7.7%) Init: systemd runlevel: 5 Compilers: gcc: 7.5.0 
           Shell: bash v: 4.4.20 inxi: 3.0.32 
rfkill list all

Code: Select all

0: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no
1: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
iwconfig

Code: Select all

lo        no wireless extensions.
wlp59s0   no wireless extensions.
enx00e04c6806bb  no wireless extensions.
lspci

Code: Select all

00:00.0 Host bridge: Intel Corporation 8th Gen Core Processor Host Bridge/DRAM Registers (rev 07)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) (rev 07)
00:02.0 VGA compatible controller: Intel Corporation Device 3e9b
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 07)
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th Gen Core Processor Gaussian Mixture Model
00:12.0 Signal processing controller: Intel Corporation Cannon Lake PCH Thermal Controller (rev 10)
00:14.0 USB controller: Intel Corporation Cannon Lake PCH USB 3.1 xHCI Host Controller (rev 10)
00:14.2 RAM memory: Intel Corporation Cannon Lake PCH Shared SRAM (rev 10)
00:15.0 Serial bus controller [0c80]: Intel Corporation Device a368 (rev 10)
00:15.1 Serial bus controller [0c80]: Intel Corporation Device a369 (rev 10)
00:16.0 Communication controller: Intel Corporation Cannon Lake PCH HECI Controller (rev 10)
00:17.0 SATA controller: Intel Corporation Device a353 (rev 10)
00:1b.0 PCI bridge: Intel Corporation Device a340 (rev f0)
00:1c.0 PCI bridge: Intel Corporation Device a338 (rev f0)
00:1c.4 PCI bridge: Intel Corporation Device a33c (rev f0)
00:1d.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port 9 (rev f0)
00:1f.0 ISA bridge: Intel Corporation Device a30e (rev 10)
00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
00:1f.4 SMBus: Intel Corporation Cannon Lake PCH SMBus Controller (rev 10)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH SPI Controller (rev 10)
01:00.0 3D controller: NVIDIA Corporation Device 1f91 (rev a1)
02:00.0 PCI bridge: Intel Corporation JHL6340 Thunderbolt 3 Bridge (C step) [Alpine Ridge 2C 2016] (rev 02)
03:00.0 PCI bridge: Intel Corporation JHL6340 Thunderbolt 3 Bridge (C step) [Alpine Ridge 2C 2016] (rev 02)
03:01.0 PCI bridge: Intel Corporation JHL6340 Thunderbolt 3 Bridge (C step) [Alpine Ridge 2C 2016] (rev 02)
03:02.0 PCI bridge: Intel Corporation JHL6340 Thunderbolt 3 Bridge (C step) [Alpine Ridge 2C 2016] (rev 02)
04:00.0 System peripheral: Intel Corporation JHL6340 Thunderbolt 3 NHI (C step) [Alpine Ridge 2C 2016] (rev 02)
3a:00.0 USB controller: Intel Corporation Device 15db (rev 02)
3b:00.0 Network controller: Intel Corporation Device 2723 (rev 1a)
3c:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader (rev 01)
3d:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981
lsusb

Code: Select all

Bus 004 Device 002: ID 0bda:8153 Realtek Semiconductor Corp. 
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 27c6:5395  
Bus 001 Device 003: ID 8087:0029 Intel Corp. 
Bus 001 Device 005: ID 0c45:6723 Microdia 
Bus 001 Device 002: ID 3938:1031  
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
HAWR
Level 6
Level 6
Posts: 1299
Joined: Thu Jun 06, 2019 1:15 pm

Re: Low download speed and system freezes when on wifi

Post by HAWR »

Hello georgios,

you have an Intel Wi-Fi 6 AX200, which should be supported from kernels 5.1 and newer. Maybe it helps to use the right firmware from Intel:

https://www.intel.com/content/www/us/en ... rking.html

Download the firmware file (the second line is your device), unzip the archive and
To install firmware:

Copy the files into the distribution-specific firmware directory, /lib/firmware.
Last edited by HAWR on Sun Mar 15, 2020 3:34 pm, edited 1 time in total.
georgios
Level 1
Level 1
Posts: 11
Joined: Mon Jul 25, 2016 4:12 am

Re: Low download speed and system freezes when on wifi

Post by georgios »

Hi HAWR,
Thank you for the reply. I already have tried this. This firmware file is already saved in /lib/firmware/.
HAWR
Level 6
Level 6
Posts: 1299
Joined: Thu Jun 06, 2019 1:15 pm

Re: Low download speed and system freezes when on wifi

Post by HAWR »

Hello georgios,

then I suggest, that you try with backporting the iwlwifi driver:

Code: Select all

sudo add-apt-repository ppa:canonical-hwe-team/backport-iwlwifi
sudo apt-get update
sudo apt-get install backport-iwlwifi-dkms
Then reboot.
georgios
Level 1
Level 1
Posts: 11
Joined: Mon Jul 25, 2016 4:12 am

Re: Low download speed and system freezes when on wifi

Post by georgios »

I have also tried with and without the backporting as you note and nothing changed. The problem persists. One possibly interesting thing is that sometimes when I power on the laptop the download speed is fine. But then suddenly it drops and stays forever (until the whole system freezes) at below 6mbps.
User avatar
kelebek333
Level 4
Level 4
Posts: 270
Joined: Sat Jun 25, 2011 11:57 am
Location: Türkiye
Contact:

Re: Low download speed and system freezes when on wifi

Post by kelebek333 »

What happens when you run following temporary commands?

Code: Select all

sudo rmmod iwldvm
sudo rmmod iwlmvm
sudo rmmod iwlwifi
sudo modprobe iwlwifi 11n_disable=1 swcrypto=1
georgios
Level 1
Level 1
Posts: 11
Joined: Mon Jul 25, 2016 4:12 am

Re: Low download speed and system freezes when on wifi

Post by georgios »

Thanks for the reply kelebek333.

Code: Select all

sudo rmmod iwldvm

gives: "rmmod: ERROR: Module iwldvm is not currently loaded"

Running then the following:

Code: Select all

sudo rmmod iwlmvm
sudo rmmod iwlwifi
sudo modprobe iwlwifi 11n_disable=1 swcrypto=1
results in the following:
-- Download speed increases from 4-6mbps to 8-9mbps (nearby laptop gives 50mbps or more)
-- Upload speed decreases from above 50mbps to 8-9mbps.
-- Intermittent system freezes seem to go away.
User avatar
kelebek333
Level 4
Level 4
Posts: 270
Joined: Sat Jun 25, 2011 11:57 am
Location: Türkiye
Contact:

Re: Low download speed and system freezes when on wifi

Post by kelebek333 »

Could you try following commands.

Code: Select all

sudo rmmod iwlmvm
sudo rmmod iwlwifi
sudo modprobe iwlwifi 11n_disable=8 swcrypto=1
georgios
Level 1
Level 1
Posts: 11
Joined: Mon Jul 25, 2016 4:12 am

Re: Low download speed and system freezes when on wifi

Post by georgios »

This sequence of commands have decreased the internet speed to almost 0. Basically, I could no longer load pages (although wifi signal was ON).
User avatar
kelebek333
Level 4
Level 4
Posts: 270
Joined: Sat Jun 25, 2011 11:57 am
Location: Türkiye
Contact:

Re: Low download speed and system freezes when on wifi

Post by kelebek333 »

Could You try following commands. https://bugzilla.kernel.org/show_bug.cgi?id=206067

Code: Select all

sudo rmmod iwlmvm
sudo rmmod iwlwifi
sudo modprobe iwlwifi 11n_disable=4 swcrypto=1
georgios
Level 1
Level 1
Posts: 11
Joined: Mon Jul 25, 2016 4:12 am

Re: Low download speed and system freezes when on wifi

Post by georgios »

It is a bit better now; Download: 17mbps, Upload: 24mbps, which are still not the speeds that I should have. Something keeps the speeds down and I don't get what is that and why it acts in a fairly advanced and clean system. May I ask what is this modprobe command really doing? Is it some sort of a temporary workaround?
User avatar
kelebek333
Level 4
Level 4
Posts: 270
Joined: Sat Jun 25, 2011 11:57 am
Location: Türkiye
Contact:

Re: Low download speed and system freezes when on wifi

Post by kelebek333 »

In addition, you can try to disable network manager's power management with the following command.

Code: Select all

echo -e '[connection]\nwifi.powersave = 2' | sudo tee /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf

Code: Select all

sudo systemctl restart NetworkManager
Then you can re-try following commands. These commands allows to temporarily unload the driver module and reload it with the module variables. iwlmvm and iwldvm depends of iwlwifi module. Some devices uses iwlmvm, some devices uses iwldvm. It is necessary to unload iwldwm or iwldvm module before unloading the iwlwifi module.

Code: Select all

sudo rmmod iwlmvm
sudo rmmod iwlwifi
sudo modprobe iwlwifi 11n_disable=4 swcrypto=1
Is it some sort of a temporary workaround?
Yes. when you reboot the system, you must run the commands again. When it provides solutions with commands, a configuration file can be created to make it permanent.
georgios
Level 1
Level 1
Posts: 11
Joined: Mon Jul 25, 2016 4:12 am

Re: Low download speed and system freezes when on wifi

Post by georgios »

Thank you for following up on the issue.
Unfortunately, switching off the powersave option of the network manager had little to no effect.
User avatar
kelebek333
Level 4
Level 4
Posts: 270
Joined: Sat Jun 25, 2011 11:57 am
Location: Türkiye
Contact:

Re: Low download speed and system freezes when on wifi

Post by kelebek333 »

Is your connection 5 Ghz band? If so, you can try changing the connecting band to 2.4 Ghz.

To do this, open the network connections tool with the command below.
Double click your network connection.
You can make the change from the band option on the wifi tab.

network-connection.png
georgios
Level 1
Level 1
Posts: 11
Joined: Mon Jul 25, 2016 4:12 am

Re: Low download speed and system freezes when on wifi

Post by georgios »

I am not sure I understand the question. I have a TP-LINK TL-WR841N router and the BAND option in my network connections manager was set to "Automatic". I tried changing it to 5GHz and 2.4GHz specifically, but the problem did not go away in either case. When I reboot the machine the download speed is good (above 60Mbps) and after 3-4 minutes it goes down to 3-5Mbps. It then typically stays like that for 10-15 minutes with 0.5s system freezes until the point when the system freezes entirely for good. No such problem occurs in the W10 boot of the same machine.

I am afraid the problem is more fundamental than the solutions we tried so far, which makes me feel that I shouldn't buy a new laptop model and aim to use Linux right away.
Post Reply

Return to “Wireless”