Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: ShivanSpS on March 26, 2018, 12:18:38 am
-
I compiled a .exe from source today, VS 2017 compiled it by default on AVX2, and at first i did notice less fps drops while playing, i did a test and i was right, altrought this may not be the best test escenario it will have to do.
I ran this test 3 more times, always with the same result, less fps drops and more memory usage on AVX2.
I did notice the light is not exactly the same altrought it has the same launcher config, maybe there is something else on 3.8.1 that could be causing this?
-
The difference in lighting is likely due to the move from Blinn-Phong to GGX shading.
We've actually been aware of the fact that AVX2 has fewer fps drops than AVX, there are multiple reasons for this, and some of them also coincide with increased memory, but that's a fairly normal tradeoff for better performance (ie. better performance can mean more memory usage).
-
Oh this is nice, for a moment i trought it was a "placebo" effect, but you can notice the change in game.
-
DahBlount was actually the first person to notice the performance difference when I gave him an AVX2 build for testing something else; the resulting graph (of the FPS differences) was included in the GitHub PR (https://github.com/scp-fs2open/fs2open.github.com/pull/1372) adding AVX2 support.
-
That testing looks nice, but the GPU-Usage on AVX2 drops a few time to 0% ?! It also uses less gpu-memory, but more RAM. Is AVX2 using more Cache-like mechanics ?