FPS & Ping settings..?
-
epsy
- Adjust Outside Corner Grinder
- Posts: 2003
- Joined: Tue Nov 07, 2006 6:02 pm
- Location: paris
- Contact:
Re: FPS & Ping settings..?
High-ping bastard
Re: FPS & Ping settings..?
Humm. In that case, we'd need debug recordings. And you'd need to use one of the binaries we provide for the server, or they'd be useless. And AIs need to be disabled, they cause trouble too often.
- danger89
- Average Program
- Posts: 54
- Joined: Thu May 14, 2009 9:12 pm
- Location: The Netherlands
- Contact:
Re: FPS & Ping settings..?
Ok I will try that, however I found something. You see here that the armagetron server is set as default -2 (NI=nice).
So I think there could be also a priority issue, I set it now to +1 to see any differents.
So I think there could be also a priority issue, I set it now to +1 to see any differents.
Re: FPS & Ping settings..?
Yeah, of course, niceness -2 means it gets higher priority than anything else, and we do call select() every simulation frame, which should give the OS enough free time to actually do its thing. But it's worth a try.
- danger89
- Average Program
- Posts: 54
- Joined: Thu May 14, 2009 9:12 pm
- Location: The Netherlands
- Contact:
Re: FPS & Ping settings..?
Too bad, it didn't solve the problem.
But I do know you I got more then 8 players then the chance is big we gonna lagg. With lagg I mean: bikes transport over the field & the light line sometimes become invisible then visible :S So people die just because it's not realtime...
On the same machine I am running multiple COD4 servers without problems, its not releated with CPU or memory its also not an internet problem. We test also with a player who has 500ms ping but no problems at all.
It has something te do with the WC (WILDCAT) settings or Armagetron it self...
We got +/- 5,4 kb/s download each player & +/- 0,4 kb/s upload each player (so from the server perspective you need to flip "up" & "download").
EDIT:
In the log file, I did found:
But I do know you I got more then 8 players then the chance is big we gonna lagg. With lagg I mean: bikes transport over the field & the light line sometimes become invisible then visible :S So people die just because it's not realtime...
On the same machine I am running multiple COD4 servers without problems, its not releated with CPU or memory its also not an internet problem. We test also with a player who has 500ms ping but no problems at all.
It has something te do with the WC (WILDCAT) settings or Armagetron it self...
We got +/- 5,4 kb/s download each player & +/- 0,4 kb/s upload each player (so from the server perspective you need to flip "up" & "download").
EDIT:
In the log file, I did found:
(5 different names, marked as ***)Timeout! Reason:
[0] User 7 does not know about netobject 4801 ( gCycle nr. 4801 owned by ePlayerNetID nr. 12135, name ***).
[0] User 7 does not know about netobject 4800 ( gCycle nr. 4800 owned by ePlayerNetID nr. 9166, name ***).
[0] User 7 does not know about netobject 4799 ( gCycle nr. 4799 owned by ePlayerNetID nr. 5384, name ***).
[0] User 7 does not know about netobject 4798 ( gCycle nr. 4798 owned by ePlayerNetID nr. 14160, name *** ).
[0] User 7 does not know about netobject 4797 ( gCycle nr. 4797 owned by ePlayerNetID nr. 9521, name *** ).
- danger89
- Average Program
- Posts: 54
- Joined: Thu May 14, 2009 9:12 pm
- Location: The Netherlands
- Contact:
Re: FPS & Ping settings..?
I think a found something. I think the lagg is because of the high differents between the pings. I got a ping around 39ms. But other players has 100ms & 180ms. People with a ping > 200 is most of the time instant lagg.
That is a ping differents of round the 160ms! Anti-lag option in Armagetron can't handle that quite good
That is a ping differents of round the 160ms! Anti-lag option in Armagetron can't handle that quite good
Re: FPS & Ping settings..?
Again, if we should be able to do anything but tell you that this is just the way it is, we need debug recordings.
-
Luke-Jr
- Dr Z Level
- Posts: 2246
- Joined: Sun Mar 20, 2005 4:03 pm
- Location: IM: luke@dashjr.org
Re: FPS & Ping settings..?
Just wanted to note, that at least at some time, I had code for Arma to limit FPS. I used this to produce a consistent stream of 30 frames per second for later video generation. Not certain if the code was ever merged or what not..
Re: FPS & Ping settings..?
I would use a feature like this. My problem is that my frame rate jumps around too much (from +100 to almost nothing and back). It would be easier on my eyes if it was constant.Luke-Jr wrote:I used this to produce a consistent stream of 30 frames per second...
Re: FPS & Ping settings..?
Sometimes, your graphics driver has options to limit FPS. Enabling VSync would be a good first step. On Linux with the evil binary blob closed source driver, the variable __GL_SWAP_INTERVAL can be set to 2, which would limit FPS to 30. Or one can reduce the refresh rate (some LCD monitors take 30 or 24 Hz directly). It's a bit hard to implement a limit in the application in a good way, because OpenGL gives you no information at all about the state of the video signal.
Re: FPS & Ping settings..?
Yeah, tried that. I have the latest ATI drivers for my video chip and a vertical-sync option is in the openGL control panel - but doesn't have any effect. I assume the chip probably doesn't support it and the control panel is generic.Z-Man wrote:Sometimes, your graphics driver has options to limit FPS. Enabling VSync would be a good first step.
However, last night I increased my frame rate and general performance by uninstalling AVG anti-virus - the anti-virus software that runs like a virus. So now I don't have to play in a 640 x 480 window anymore! Hurray!
- compguygene
- Adjust Outside Corner Grinder
- Posts: 2346
- Joined: Thu Aug 21, 2008 12:09 pm
- Location: Cleveland, Ohio
- Contact:
Re: FPS & Ping settings..?
I have had much more success with Avast Antivirus[. It was the PC Magazine editor's choice, and I right click on it's icon in the windows tray and stop all protection while I am playing.sinewav wrote:
However, last night I increased my frame rate and general performance by uninstalling AVG anti-virus - the anti-virus software that runs like a virus. So now I don't have to play in a 640 x 480 window anymore! Hurray!
Armagetron: It's a video game that people should just play and enjoy 
https://bit.ly/2KBGYjvCheck out the simple site about TheServerPharm
https://bit.ly/2KBGYjvCheck out the simple site about TheServerPharm
- danger89
- Average Program
- Posts: 54
- Joined: Thu May 14, 2009 9:12 pm
- Location: The Netherlands
- Contact:
Re: FPS & Ping settings..?
In Linux v-sync only works using nVidia 
- danger89
- Average Program
- Posts: 54
- Joined: Thu May 14, 2009 9:12 pm
- Location: The Netherlands
- Contact:
Re: FPS & Ping settings..?
Hi,
Melroy van den Berg
- Months of research and debugging, I still found that the lagg (ghost lines & players jumping through the map) it's because of the game itself. Other servers suffers also with this phenomenon, even if I get a ping of 30ms. Even with ping charity disable (and default settings).
This is a serious bug
- Also, It is still a pain in the a*s that I can't login via a kind of private password, because there is no such thing as a rcon where I can manually change the MAX_CLIENTS of my server. That is because the server runs as a daemon on my linux, Ie via command line can not succeed without that I'm logged in-game.
Melroy van den Berg
Re: FPS & Ping settings..?
Instead of running the server as a service, you can also run it in the neat little program called 'screen', which allows you to attach a terminal to a running session.