Graphics Settings & Overall game smoothness

This is for troubleshooting of problems with the FAF client and Forged Alliance game.

Moderator: PhilipJFry

Graphics Settings & Overall game smoothness

Postby Franck83 » 28 Jun 2018, 01:09

Hi,

Does graphics settings from individual players impacts global smoothness of a multiplayer game ?

I just played a game with 0 sim speed but some complains about lack of smoothness.
Alliance of Heroes Mod is out ! Try it ! It's in the Mod Vault !
User avatar
Franck83
Evaluator
 
Posts: 538
Joined: 30 Dec 2016, 11:59
Location: France
Has liked: 114 times
Been liked: 122 times
FAF User Name: Franck83

Re: Graphics Settings & Overall game smoothness

Postby JoonasTo » 28 Jun 2018, 09:45

Yes
Depending on their setup it may even affect others if their cpu starts bottlenecking the game.
Fa runs two heavy main threads: simulation and render. Aside from those there are a bunch of other threads, sound being most prominent, because of it’s nature. Now if the sim thread hogs all the cpu time there won’t be enough for the others and the render thread will struggle each time another thread wants cpu time(such as sound.) This will manifest as choppiness.

Worst case scenario the user is too heavily loaded that his game can’t keep up the network traffic properly(usually also involves priority problems.) This will mean tha game will lag for everyone involved, even if his connection is fine.
User avatar
JoonasTo
Priest
 
Posts: 498
Joined: 08 Feb 2015, 01:11
Has liked: 18 times
Been liked: 81 times
FAF User Name: JoonasTo

Re: Graphics Settings & Overall game smoothness

Postby speed2 » 28 Jun 2018, 10:26

Only if someone plays on a single core CPU
User avatar
speed2
Contributor
 
Posts: 3189
Joined: 05 Jan 2013, 15:11
Has liked: 636 times
Been liked: 1119 times
FAF User Name: speed2

Re: Graphics Settings & Overall game smoothness

Postby JoonasTo » 28 Jun 2018, 13:31

Incorrect.
Windows scheduling is shit. Fa scheduling is worse.
You can have 16 cores and Fa will happily wait on all of them at the same time. It is less likely to happen, not impossible. I, for example, am on an 8 core and if I don’t force anything most windows stuff and interrupts go to core 0. Fa will also happily priorize the same core for all it’s threads and wait on it first. This is why force disabling core 0 and forcing Fa threads to different cores actually improves performance, even if you’re technically limiting computing power. Fa threads are all linearly dependent so cpu output is less important than latency.
User avatar
JoonasTo
Priest
 
Posts: 498
Joined: 08 Feb 2015, 01:11
Has liked: 18 times
Been liked: 81 times
FAF User Name: JoonasTo

Re: Graphics Settings & Overall game smoothness

Postby speed2 » 28 Jun 2018, 17:52

it wont run both ren and sim on the same core
User avatar
speed2
Contributor
 
Posts: 3189
Joined: 05 Jan 2013, 15:11
Has liked: 636 times
Been liked: 1119 times
FAF User Name: speed2

Re: Graphics Settings & Overall game smoothness

Postby JoonasTo » 29 Jun 2018, 07:55

Try it. Windows scheduling doesn’t care.
It will put them to wait on any core it fancies, usually that ends up going from 0 to F and the first one that’s ready gets it. It doesn’t lock threads to cores. They jump around as they like. So at some points ren and sim do end up on the same core. Forcing them on different cores gives a noticeable improvement in the late game.
User avatar
JoonasTo
Priest
 
Posts: 498
Joined: 08 Feb 2015, 01:11
Has liked: 18 times
Been liked: 81 times
FAF User Name: JoonasTo

Re: Graphics Settings & Overall game smoothness

Postby ZLO_RD » 29 Jun 2018, 08:52

i don't know about simspeed or how it affects other players but on the side of smoothness and framerate for you: it is so great to set highest priority on FA process
https://www.youtube.com/watch?v=eDlzn9SnUsA
on athlon II x3 440 with unlocked core (meaning 4 core CPU) it boosts FPS from 5-8 to 35-60. pretty insane.

Edit: i thought that usually lack of smoothnes is due to net lag, cause lag can often happen in the beginning of game
Last edited by ZLO_RD on 29 Jun 2018, 11:56, edited 1 time in total.
http://www.youtube.com/user/dimatularus
http://www.twitch.tv/zlo_rd
TA4Life: "At the very least we are not slaves to the UI"
User avatar
ZLO_RD
Supreme Commander
 
Posts: 2265
Joined: 27 Oct 2011, 13:57
Location: Russia, Tula
Has liked: 303 times
Been liked: 400 times
FAF User Name: ZLO

Re: Graphics Settings & Overall game smoothness

Postby Franck83 » 29 Jun 2018, 11:31

Ty for your answers.

Interesting, If the CPU is bottlenecked, it may impact network speed too.

As Zlo says, using Process hacker and putting FA put in 'Time Critical' mode really add smoothness at same sim speed. I tested it too, and it's true.
That seems to be partially a windows scheduler behaviour problem.

I wonder if we could add measures ingame of CPU and Network responsiveness called periodically.
Alliance of Heroes Mod is out ! Try it ! It's in the Mod Vault !
User avatar
Franck83
Evaluator
 
Posts: 538
Joined: 30 Dec 2016, 11:59
Location: France
Has liked: 114 times
Been liked: 122 times
FAF User Name: Franck83

Re: Graphics Settings & Overall game smoothness

Postby JoonasTo » 29 Jun 2018, 11:33

I’m not 100% on this but I think they are there already.

Don’t remember the names of the console commands though.
User avatar
JoonasTo
Priest
 
Posts: 498
Joined: 08 Feb 2015, 01:11
Has liked: 18 times
Been liked: 81 times
FAF User Name: JoonasTo

Re: Graphics Settings & Overall game smoothness

Postby ZLO_RD » 29 Jun 2018, 12:08

Process hacker is only needed if you want to manually assign cores for individual FA threads. to just set a priority you can use regular task manager.
also i don't think it really impacts sim speed. i even tested it with replay and timer and saw no improvement. but PC was not loaded with other tasks so that is not a big surprise.
Setting that priority just increases you FPS, and may increase sim speed in case of CPU being loaded by many other heavy tasks
http://www.youtube.com/user/dimatularus
http://www.twitch.tv/zlo_rd
TA4Life: "At the very least we are not slaves to the UI"
User avatar
ZLO_RD
Supreme Commander
 
Posts: 2265
Joined: 27 Oct 2011, 13:57
Location: Russia, Tula
Has liked: 303 times
Been liked: 400 times
FAF User Name: ZLO

Next

Return to Tech Support

Who is online

Users browsing this forum: No registered users and 1 guest