Latency issues/online gaming
Rog Ally z1e
Good evening! I tried out multiple mmos to test to see if it was a single game causing 10k ms while playing and it seems to be all of them. Power cycled modem and hard booted my device
I am not using a dual boot with windows just Solo installation of bazzite, and fast boot is turned off in my bios.
I also changed my Ipv4 dns to 8.8.8.8. and set to connect only to my wifi 6e protocal.
When running fast.com I am running 1gbs speeds and 300mbs upload.
I opened the steam ports 27000-27050 on my modem.
Every once in a while the steam server will disconnect.
Please and thank you in advance for any input
30 Replies
Reverting to previous version via HHD helped on 1 game thus far.
Still getting 100ms on the original culprit
I think you are going to need to provide more info
As in which games? Thrones of liberty, ESO, and New World.
Thrones and Liberty is the one where I would spike over 10k ms while I was in a dungeon.
Before reverting from latest bazzite update I wasn't able to connect to ESO's and new world servers.
I may have fixed my issue completely from reverting OS versions. Currently running a dungeon with 100ms instead of instantly getting punted by lag
Nvm
I am super tired and may not be explaining my issue clearly. What else do you need to know?
I almost think it is a driver issue with the wireless card. When I was running default windows 11 I didn't have the issues with connection. However the fps are wayyy higher with bazzite.
I just found this on my Ally Z1e. Could you try run the following in the terminal
ifconfig
and get the device name for your wifi, mine was wlp6s0, adjust the scripts below if your wifi device has a different name
Run sudo iw wlp6s0 get power_save
and see if you get "Power save: On"
Try turning off the powersaving feature for the wifi by running sudo iw wlp6s0 set power_save off
It halved my pings and ended up with lower lag spikes tooOh I disabled power save in developer mode but will try here too
cool. then run this and see if power save is on for your wifi
sudo iw wlp6s0 get power_save
If it is run sudo iw wlp6s0 set power_save off
and try your game again. The effect doesn't stay after a rebootOh it's on
Weird kk
Also the power save feature is on while my ally is docked. So it's weird that it's on at all.
Ok takes a bit for it to spike
So will let ya know
Ran a whole dungeon without a single spike
Is there a way to permanently turn that off?
Average was 88-120ms
@wolfyreload yea no issues at all now
Give it some more time before marking it as solved. But this might be the solution for others that are having latency issues on the ally
Yea. Is there a permanent way to turn off power saver? @wolfyreload
And should I update my OS back to latest?
Probably worth switching back to the latest version and check that this still solves the issue.
I'm sure there is a permanent way to fix it but I don't know how to do that. Let me ask an expert. @HikariKnight, sorry to ping you, it looks like I might have stumbled upon a fix for the internet latency issues on the Ally. Do you have any idea how you'd disable power saving mode on the wifi of the ally either permanently or when it's plugged into power?
Manually running
sudo iw wlp6s0 set power_save off
more than halves my latency when running a ping 8.8.8.8
Will let ya know
Running perfect
I mean 80-140ms isn't perfect but you know what I mean
@wolfyreload anyway thanks man
Ill give it until tomorrow and check this solved
idk about wireless cards but when it comes to wake on lan on ethernet cards, some cards self disable it after a boot and you have to make a service that re-enables it at boot.
but only some cards mess with their own settings again at boot
What would the command look like to disable the wireless card at boot with conditions?
As a service I mean
Disable the power save i mean not the card**
think something like this, change wl6s0 to your wifi card
put that in
/etc/systemd/system/disable-wifi-powersave.service
then do
not sure if this one will be grumpy if you dont have a wifi network to connect to at boot though, in that case change the targets to multi-user.target
and run sudo systemctl daemon-reload
againWill play with that when I get home. Thanks man
Looks promising so far. Just tested with my router off and it still disables the power_save mode
I can't wait to go home and test it my self
Does this get typed into a script editor? Sorry I be a windows user normally.
Notepad my old friend
yes any kind of notepad/text editor
Awesome! Thanks 🙂
Got the script to work. Still off after reboot. Thanks @HikariKnight & @wolfyreload
https://unix.stackexchange.com/a/315400 network manager can have power save disabled via a config file might be worth looking into setting it as a default in bazzite
Unix & Linux Stack Exchange
How to turn off Wireless power management permanently
In Linux Mint 17.3 / 18 iwconfig says the power management of my wireless card is turned on. I want to turn it off permanently or some workaround on this issue.
sudo iwconfig wlan0 power off works,
That would be bad for battery life, and not every piece of hardware sucks like this
Definite no
well i did say to look into it not do it
you would know better
Looked into file locations and it would seem i would need to create the config setting anyway xD in the config.d folder
Ill stick with the service Hitaki recommended.
Hikari sorry**
@Azema Viator I've tested your solution and it was much simpler and I've documented it but I agree with Kyle that we don't want to negatively impact other devices and change this as a default in Bazzite with an issue that is probably specific to the Rog Ally. I have a PR up for the Bazzite docs https://github.com/KyleGospo/docs.bazzite.gg/pull/116