LostArtefacts / TR1X

Open source re-implementation of Tomb Raider 1 (1996), along with additional enhancements and bugfixes
https://lostartefacts.dev/
GNU General Public License v3.0
469 stars 32 forks source link

Slow performance on Apple Silicon, draw distance related? (M2 Pro Macbook Pro) #1360

Open ziaddemir opened 1 month ago

ziaddemir commented 1 month ago

Gameplay showcasing slow performance: https://www.youtube.com/watch?v=jNmhZ0kdhos

I don't have a way of measuring the exact frame rate, but performance tanks whenever you look out into the distance. The linked video shows the game going back to normal speed when looking at walls or the floor. I toggle Vsync On and Off in the footage as well. I've also tried lowering my desktop resolution/refresh rate to no apparent effect. I couldn't find a way to lower the draw distance to PS1 levels but that could serve as a temporary fix?

aredfan commented 1 month ago

F2 enables the FPS counter in-game.

The draw distance values can be changed by editing TR1X_gameflow.json5 and TR1X_gameflow_ub.json5, both found in the cfg folder, 14th and 15th line.

"draw_distance_fade": 72.0,
"draw_distance_max": 80.0,

Refer to https://github.com/LostArtefacts/TR1X/blob/stable/GAMEFLOW.md to see what values you can use.

I'm sure a maintainer will be along soon to help with your performance issue.