FPS & Ping settings..?

What do you want to see in Armagetron soon? Any new feature ideas? Let's ponder these ground breaking ideas...
User avatar
danger89
Average Program
Posts: 54
Joined: Thu May 14, 2009 9:12 pm
Location: The Netherlands
Contact:

FPS & Ping settings..?

Post by danger89 »

I got 2 "simple" questions... :?:

1) how to set max FPS (if vsync is disabled) for client on Windows 7/Nvidia GTX275
2) how to set max ping setting for server?


No solution at:
http://forums3.armagetronad.net/viewtopic.php?p=171771

Thx,

Melroy van den Berg
WILD CAT EX-Owner
Website: http://www.joinmyserver.com
User avatar
Z-Man
God & Project Admin
Posts: 11736
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: FPS & Ping settings..?

Post by Z-Man »

danger89 wrote:1) how to set max FPS (if vsync is disabled) for client on Windows 7/Nvidia GTX275
If the driver doesn't offer a solution, you can't, apart from enabling VSync, of course. What would be the point? Now, I would see the point of a mode where VSync is effectively enabled as long as you can maintain 60FPS or whatever the refresh rate of your monitor is and only disabling it when you drop below that, but sadly, there's not enough control over the sync to implement that reliably. Triple buffering with one max frame rendered ahead and VSync enabled gives a reasonable enough approximation, with the added bonus of avoiding tearing. I have that as my defaults, and turn down the max frame rendered ahead setting for games that manage to maintain 60FPS where the potential 17 ms latency matter.
danger89 wrote:2) how to set max ping setting for server?
You mean, kick everyone with a ping higher than 200ms, for example? Why would you want that? Disable ping charity (there's a setting for that on the server, now) if instakills bug you and you don't want to reduce rubber.
User avatar
danger89
Average Program
Posts: 54
Joined: Thu May 14, 2009 9:12 pm
Location: The Netherlands
Contact:

Re: FPS & Ping settings..?

Post by danger89 »

Thx for the fast reply.
Z-Man wrote:
danger89 wrote:1) how to set max FPS (if vsync is disabled) for client on Windows 7/Nvidia GTX275
If the driver doesn't offer a solution, you can't, apart from enabling VSync, of course. What would be the point? Now, I would see the point of a mode where VSync is effectively enabled as long as you can maintain 60FPS or whatever the refresh rate of your monitor is and only disabling it when you drop below that, but sadly, there's not enough control over the sync to implement that reliably. Triple buffering with one max frame rendered ahead and VSync enabled gives a reasonable enough approximation, with the added bonus of avoiding tearing. I have that as my defaults, and turn down the max frame rendered ahead setting for games that manage to maintain 60FPS where the potential 17 ms latency matter.
danger89 wrote:2) how to set max ping setting for server?
You mean, kick everyone with a ping higher than 200ms, for example? Why would you want that? Disable ping charity (there's a setting for that on the server, now) if instakills bug you and you don't want to reduce rubber.
I know for example in CoD4 you got a max FPS option set at 95 as default. I know its better with a First Person Shooter game you can have better 95 instead of 60 (Even if my monitor has a refresh rate of 60ms). Lower cg/ms results to better "response" of the player, I know it's a hard theory its never proofed. >_<

Ping charity algorithme is a good option however I got still some lagg problems, it could be just a wrong network setting with Armagetron. I does know for sure it's not the server or the internet connection. In that case, I need a armagetron expert with good knowledge about network settings of arma...
WILD CAT EX-Owner
Website: http://www.joinmyserver.com
User avatar
Z-Man
God & Project Admin
Posts: 11736
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: FPS & Ping settings..?

Post by Z-Man »

Yeah, in shooters in particular, you can get better responses with VSync disabled, because there, the main action is in the center of the screen, where your gun points at. With VSync enabled, the information displayed there is at least half a frame (8 ms) old. However, you don't want to limit your FPS for that, you want maximum FPS then or the tearing and stuttering you get instead (especially if your framerate is only slightly above the monitor's refresh rate), and of course you also want to up your mouse input refresh rate. And get a 120Hz LCD, or a 150+Hz CRT. The FPS limit of COD and other games is that they bloody can't get their game physics to work framerate independently and are afraid that uber-framerates allow cheating. It has nothing to do with a better user experience :)

So what do you want the max ping setting to do? We can't magically make ping spikes disappear. We could include settings that tell the lag compensation that every lag event above <X> is a one time fluke and should be ignored, but that's not a good idea in a vastly diverse environment.

What you can do is increase the network rate settings, the defaults are still dimensioned for dialup/ISDN.
User avatar
danger89
Average Program
Posts: 54
Joined: Thu May 14, 2009 9:12 pm
Location: The Netherlands
Contact:

Re: FPS & Ping settings..?

Post by danger89 »

Z-Man wrote:Yeah, in shooters in particular, you can get better responses with VSync disabled, because there, the main action is in the center of the screen, where your gun points at. With VSync enabled, the information displayed there is at least half a frame (8 ms) old. However, you don't want to limit your FPS for that, you want maximum FPS then or the tearing and stuttering you get instead (especially if your framerate is only slightly above the monitor's refresh rate), and of course you also want to up your mouse input refresh rate. And get a 120Hz LCD, or a 150+Hz CRT. The FPS limit of COD and other games is that they bloody can't get their game physics to work framerate independently and are afraid that uber-framerates allow cheating. It has nothing to do with a better user experience :)
I see thx, lol if I disable vsync I got 3000 FPS :lol:
Z-Man wrote: So what do you want the max ping setting to do? We can't magically make ping spikes disappear. We could include settings that tell the lag compensation that every lag event above <X> is a one time fluke and should be ignored, but that's not a good idea in a vastly diverse environment.
Even before a player joined the game gives the message "Server is for low ping only". The client will be able to find out waht the ping (ms) is with the server before they join.
CoD4 is a master example :roll:
Z-Man wrote: What you can do is increase the network rate settings, the defaults are still dimensioned for dialup/ISDN.
I think I got something already.
Cfg:
MAX_IN_RATE 16 # network bandwidth limitation, incoming ( useless right now )
MAX_OUT_RATE 25 # per client network bandwidth limitation

PING_CHARITY 50
PING_CHARITY_MAX 80

MAX_CLIENTS 10

CYCLE_DELAY .001
CYCLE_RUBBER 20.0


This config will be deleted then I got an answer.
WILD CAT EX-Owner
Website: http://www.joinmyserver.com
User avatar
Z-Man
God & Project Admin
Posts: 11736
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: FPS & Ping settings..?

Post by Z-Man »

Well, we display the ping, allow to sort by it, and it enters the server's score. It's up to the player to decide on that. What if I'm in Antarctica and can't get pings below 300ms? I think I should be allowed to play where I want, a bad ping is mostly my own problem.

*cringes at the delay and rubber settings* You know those allow practically infinite survival by just doublebind 180ing repeatedly against even moderately long walls?

And yeah, the others look OK. Is it on the server? Then MAX_IN_RATE and PING_CHARITY have no effect.
User avatar
danger89
Average Program
Posts: 54
Joined: Thu May 14, 2009 9:12 pm
Location: The Netherlands
Contact:

Re: FPS & Ping settings..?

Post by danger89 »

Server is always on, and no its not only the problem of the player with a high ping, the whole server will be f* :< K up.
If I removed the players who are laggy or ping >160 it will be OK again.

EDIT:
Let's I if I can record the problem.
WILD CAT EX-Owner
Website: http://www.joinmyserver.com
User avatar
Z-Man
God & Project Admin
Posts: 11736
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: FPS & Ping settings..?

Post by Z-Man »

Hmm, can you be more specific? That shouldn't happen. A high ping only influences the cycle of the player with the high ping and only in the presence of ping charity; then it will lag behind a bit on simulation. Other players not near that guy should not feel a thing.
User avatar
danger89
Average Program
Posts: 54
Joined: Thu May 14, 2009 9:12 pm
Location: The Netherlands
Contact:

Re: FPS & Ping settings..?

Post by danger89 »

I'm uploading the video right now with the problem. A player who has lagg & he have a ping +/- 170 other players got also lagg to balance it seems...

You will see that Fail.Lo and also other players in the game who has < 90 ping has lagg issues. This all ends when all high ping players left server.

Ps. not all players with +/- 160/170 I got the problem :?


Youtube link:

Click here!
Last edited by danger89 on Fri Mar 26, 2010 6:47 pm, edited 1 time in total.
WILD CAT EX-Owner
Website: http://www.joinmyserver.com
User avatar
sinewav
Graphic Artist
Posts: 6497
Joined: Wed Jan 23, 2008 3:37 am
Contact:

Re: FPS & Ping settings..?

Post by sinewav »

danger89 wrote:...other players got also lagg to balance it seems...
I didn't see any lag in the video. Then again, how can you tell with so much rubber? Anyway, I really think the extra lag is your imagination. I've been playing for over 2 years and have never seen a server become "laggy"
because a high-ping player joined.
User avatar
danger89
Average Program
Posts: 54
Joined: Thu May 14, 2009 9:12 pm
Location: The Netherlands
Contact:

Re: FPS & Ping settings..?

Post by danger89 »

sinewav wrote:the extra lag is your imagination
How could you, you don't believe me? I just see it with my own eyes.
WILD CAT EX-Owner
Website: http://www.joinmyserver.com
User avatar
Jonathan
A Brave Victim
Posts: 3391
Joined: Thu Feb 03, 2005 12:50 am
Location: Not really lurking anymore

Re: FPS & Ping settings..?

Post by Jonathan »

danger89 wrote:Ps. not all players with +/- 160/170 I got the problem :?
Maybe the server can't take the load of any 'extra' player at some point. Kicking anybody would help then, but obviously it's still the HPB's fault.
danger89 wrote:
Youtube link:

Click here!
Major WTH, and not because the lag isn't of loopback quality.
ˌɑrməˈɡɛˌtrɑn
Paladin
Average Program
Posts: 99
Joined: Tue Feb 26, 2008 11:04 pm
Location: Ontario

Re: FPS & Ping settings..?

Post by Paladin »

What if I'm in Antarctica and can't get pings below 300ms?
or near Toronto and on dial-up.

A single ping over 160 is causing your server problems? Out of curiosity, what is your server's upload/download speeds and how many clients does it allow for?

Also, what is the server so that I may gracefully avoid it in the future on your behalf?
User avatar
Z-Man
God & Project Admin
Posts: 11736
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: FPS & Ping settings..?

Post by Z-Man »

Yeah, I'm with Jonathan. It's definitely lag of the server overload sort, packets the clients send are not processed and broadcast to your client in a timely fashion. Sure, high ping players use more processing power on the server, but not so much more, and there's definitely no area of code that can reasonably cause an influence of that kind. Ping charity, for a bit, but you can already limit that (oh, and you want to lock out all clients < 0.2.8.3 if you do so, the presence of a single older client disables the limit because those can't cope).
User avatar
danger89
Average Program
Posts: 54
Joined: Thu May 14, 2009 9:12 pm
Location: The Netherlands
Contact:

Re: FPS & Ping settings..?

Post by danger89 »

Sorry, but I the server in a Quad-Core Server PC with 4Gb fast DDR3 Ram hosted & Gbit ethernet on glassfiber with a connection speed of +120Mbit/s Up & DOWN in Eindhoven (Holland).
Beside that I run also 3 CoD4 server on it, without any problems! :o

Check my attachment (htop command with SSH putty of the server)...

There is no swapping or CPU overload of any kind...

HPB??
Attachments
htop.png
WILD CAT EX-Owner
Website: http://www.joinmyserver.com
Post Reply