xenia icon indicating copy to clipboard operation
xenia copied to clipboard

optimization flags

Open chris-hawley opened this issue 6 years ago • 5 comments

Since I don't have a PR, here are the results and steps to reproduce of my first run at optimizations.

to optimize - ./xb premake open visual studio and highlight all of the projects under the src hierarchy. make the below changes to the compile flags image image

I tried several things out and AVX2 had some accuracy issues.

results - Halo 3 stutters are greatly reduced on my testing. NeiR showed a 7 fps increase Blue Dragon showed a 3 fps increase while in the town hall spot (shown below) image

Midnight club: LA showed a 4 FPS improvement.

negative side effects: the audio problem seems to be magnified by doing this optimization. This result tells me that the audio issue is that the audio processor goes too fast. Although, that could be wrong and only be a side effect of the real issue.

if AVX2 is enabled, things get interesting with the results. In Blue Dragon, the following happens to the sky. image

chris-hawley avatar Apr 08 '19 04:04 chris-hawley

great

Ghostotakoi avatar May 30 '19 00:05 Ghostotakoi

While optimizations are probably safe, I would not exactly trust blindly setting /fp:fast in a project like this. Unless it's set to such already?

CookiePLMonster avatar Jun 28 '19 13:06 CookiePLMonster

fp:fast under AVX works just fine so I was more so pointing out the problem under AVX2

chris-hawley avatar Jun 28 '19 13:06 chris-hawley

Performance being worsened by fiber-safe optimizations is fixed by #1494.

Margen67 avatar Oct 28 '19 09:10 Margen67

Hiya! What would I do in Virtual Studio to edit these options and increase performance? I am very new to Xenia/GitHub/Coding and I want to ensure I can run the games properly.

AnotherGuyGibby avatar Mar 15 '21 08:03 AnotherGuyGibby