GameMaker Weird FPS performance issues.

T

Tom Jackson

Guest
Hey folks, implemented a lighting system a few weeks ago and it's been causing some headaches over the last few days. It actually worked totally fine since I got it up and running but it's been tanking my FPS recently and I can't quite figure out why.

Here's my debug mode overlay along with the gamemaker debug overlay (game targets 60):
in game fps.png
As you can see I've got a ton of fps overhead but low regular fps.

My debugger & profiler for both my code and system code:
code debug.png engine debug.png

And my task manager performance:
task manager.png

I'm honestly stumped, game seems to run fine at 60fps if I disable my lightingmanager object but based on the stats I can't see why it would be tanking so hard.
 
T

Tom Jackson

Guest
Curveball, it's my GPU.
There's a shader running inside my lightingmanager, if I disable it the game runs fine otherwise my GPU is constantly maxed out:
gpu.png

Updated my nvidia driver yesterday so seems most likely to be the culprit as the shader is just a basic blur shader.
 
Top