Huge lagspikes when playing Dota 2 on openSUSE Tumbleweed but not on Win 11

So I made the switch to Linux from Windows 11.
I like it so far. But a problem I have is when I play Dota 2; the WiFi seems to lag quite a bit. More so than when I used Windows 11.

I wish I could show you some “gameplay” of it happening. Instead, let me try to explain:

FPS is constant 144 with my AMD 7800XT card.
PING is constantly resting on the fine number of 25 ms. However, every 5 seconds or so, it spikes up to 120 or so, rendering the game unplayable. I do not have this problem on Windows.

really want to keep use Tumbleweed and be satisfied, but I don’t know what causes this problem. Any help is appreciated!

Pre-req:

  • Using a GIGABYTE Antenna: with an excellent signal strength of -54 dBm
  • Haven’t changed anything hardware wise since moving from Win 11 → Tumbleweed
  • Haven’t installed or changed anything package-wise or driver wise since installing Tumbleweed
  • I know how to open Terminal and paste stuff in, but I am not fluent in Terminal command structure at all.

Reading this thread (Unstable Wi-Fi connection) it seems there is a command on how to disable a “power saving” settings.

However, when I try to paste sudo iw dev wlan0 set power_save off in the Terminal I simply get “iw” is unknown. What do I do?

try sudo iw (without the arguments)

bild

“Command was not found”

Is iw actually installed?

I don’t think so because that command didn’t work. I just installed Tumbleweed, so if it doesn’t come prepackaged then I don’t have it.

How do I install iw?

Either via YaST Software or via command line
sudo zypper in iw

Thanks, I installed the package.

iw

now works.

Where do I go from here? :sweat_smile:

try the command from earlier, also are you using wicked or networkmanager? You should have had a choice at installation.
image

bild

“Command failed: No such device (-19)”

So I guess I have to find a correct device to point at for the sudo iw dev wlan0 set power_save off? is there a wlan1 maybe? IDK

try ifconfig, it should tell you which network you are on

which are you using?

bild

sudo iw dev wlp11s0 set power_save off

Check the packet loss + latency in the top right corner of the video I captured with OBS: Watch 2024-06-08 22-23-21 | Streamable


BTW Thank you @40476, I will try that command and see if it changes anything.

So far its working. Playing a new match and it’s been resting at 19 PING/Latency

Wonderful! Happy gaming!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.