Editing User:P.i./Lag Guide

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
Warning You aren't logged in. While it's not a requirement to create an account, doing so makes it a lot easier to keep track of your edits and a lot harder to confuse you with someone else. If you edit without being logged in, your IP address will be recorded in the page's edit history.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 3: Line 3:
==Terms==
==Terms==
<!--TODO: split these into their own article?-->
<!--TODO: split these into their own article?-->
'''Latency''', also known as '''lag''', is the delay between player input and display output. It's typically measured in milliseconds (ms) or [[frames]] (~16 ms). It commonly ranges from close to zero (playing offline on a CRT) to 200 ms (playing online with someone on the other side of the world). '''Ping time''' refers specifically to network latency.
'''Latency''', also known as '''lag''', is the delay between player input and display output. It's typically measured in milliseconds (ms) or [[frames]] (~16 ms).


'''Jitter''' is lag variability. Even if the average latency is low, occasional connection hiccups manifests as '''lag spikes'''.
'''Jitter''' is lag variability. Even if the average latency is low, occasional connection hiccups manifests as '''lag spikes'''.
Line 29: Line 29:
*[https://en-americas-support.nintendo.com/app/answers/detail/a_id/1676/kw/wii%20lan%20adapter Nintendo Support: How to Set up a Wired Internet Connection] (Wii U)
*[https://en-americas-support.nintendo.com/app/answers/detail/a_id/1676/kw/wii%20lan%20adapter Nintendo Support: How to Set up a Wired Internet Connection] (Wii U)
*[https://en-americas-support.nintendo.com/app/answers/detail/a_id/22374/~/how-to-connect-to-the-internet-using-a-wired-connection Nintendo Support: How to Connect to the Internet Using a Wired Connection] (Switch)
*[https://en-americas-support.nintendo.com/app/answers/detail/a_id/22374/~/how-to-connect-to-the-internet-using-a-wired-connection Nintendo Support: How to Connect to the Internet Using a Wired Connection] (Switch)
For the Nintendo Switch, the OLED Model Dock has a LAN port built-in, which is also compatible with the original Switch.<ref>[https://www.nintendolife.com/news/2021/07/nintendos_switch_oled_dock_can_be_purchased_separately Nintendo's Switch OLED Dock Can Be Purchased Separately - Nintendo Life]</ref>
*[https://store.nintendo.com/dock-oled-model-white-116471.html Dock - OLED Model - White] (Official, Nintendo Store)
*[https://store.nintendo.com/dock-oled-model-black-116470.html Dock - OLED Model - Black] (Official, Nintendo Store)


==Router==
==Router==
Line 41: Line 37:


==Game-specific techniques==
==Game-specific techniques==
===[[Super Smash Bros. Melee]]===
Use [[Slippi]], which has [[rollback netcode]], which is able to hide a degree of network latency.
===[[Super Smash Bros. Brawl]]===
===[[Super Smash Bros. Brawl]]===
Playing Brawl on [[Dolphin]] netplay has significantly less lag than [[Nintendo WFC]] (including [[Wiimmfi]]), over the same connection.
This is a [[Gecko code]] that eliminates zero to two frames of [[input lag]] that the game has built-in (even offline).{{fact}}
 
This is a [[Gecko code]] that eliminates zero to two frames of [[input lag]] that the game has built-in (even offline).{{fact}} This code isn't used on Dolphin, but it can put WFC on slightly more even footing.
  Controller Input Lag Fix [Magus]
  Controller Input Lag Fix [Magus]
  C202AD8C 00000002
  C202AD8C 00000002
Line 53: Line 44:
  60000000 00000000
  60000000 00000000


===[[Dolphin]] (Melee and Brawl)===
==Troubleshooting==
In the emulator [[Dolphin]], you need to set the "Minimum buffer" manually. It should be set to approximately ping (in ms) / 8. Setting it too high causes unnecessary lag, whereas setting it too low causes lag spikes (uneven framerate).
A long-distance connection (e.g. between America and Europe) will necessarily have high latency due to the {{s|wikipedia|speed of light}}. Latency can also be caused by {{s|wikipedia|buffer bloat}}.
 
Jitter can be caused by Wi-Fi (wireless interference), sharing an internet with other people, hardware problems, or problems with your ISP or specific internet routes ({{s|wikipedia|packet loss}}).


==Troubleshooting==
Check your internet connection with a [https://www.meter.net/ping-test/ ping test]. Details on ping testing by Brawl Bois member Four Sword:
First, try checking your internet connection with a [https://www.meter.net/ping-test/ ping test]. Details on ping testing by Brawl Bois member Four Sword:
<blockquote>
<blockquote>
Please try several tests, or on several servers (one close to your opponent)  
Please try several tests, or on several servers (one close to your opponent)  
Line 66: Line 58:
High jitter/ping might be caused by your internal network which you can exercise control over, or be caused by your ISP's network, which you have less control over.  
High jitter/ping might be caused by your internal network which you can exercise control over, or be caused by your ISP's network, which you have less control over.  
</blockquote>
</blockquote>
A long-distance connection will necessarily have some latency due to the {{s|wikipedia|speed of light}}. From east coast U.S. to Europe, or from east coast U.S. to west coast, about 100 ms ping time is standard and can't be fixed. Further distances will be even worse. The only way to reduce this is by playing people closer by.
Latency can also be caused by {{s|wikipedia|buffer bloat}}.
Jitter can be caused by Wi-Fi (wireless interference), sharing an internet with other people (without Quality of Service, see above), hardware problems, or problems with your ISP or specific internet routes ({{s|wikipedia|packet loss}}).
Sometimes if the game is running choppy it is due to your computer not being fast enough (in Slippi or Dolphin) or mods or codes slowing things down, rather than the network. Try testing offline or without mods. Try reducing the graphics settings in Dolphin, or using [[Diet Melee]] for Melee.
If you have one, turn off your {{s|wikipedia|VPN}}. Playing a realtime game through a VPN is never a good idea. If you can't connect without a VPN, you may need to [https://www.wikihow.com/Set-Up-Port-Forwarding-on-a-Router turn on port forwarding or DMZ on your router].


==See also==
==See also==
*[[Input lag]]
*[[Input lag]]
*[[Netplay]]
*[[Netplay]]
*[[Wi-Fi lag]]
*[[Frame delay]]
==References==
{{reflist}}

Please note that all contributions to SmashWiki are considered to be released under the Attribution-ShareAlike 3.0 Unported license (see SmashWiki:Copyrights for details). Your changes will be visible immediately. Please enter a summary of your changes above.

Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Templates used on this page:

This page is a member of 1 meta category: