gonetz / GLideN64

A new generation, open-source graphics plugin for N64 emulators.
Other
754 stars 174 forks source link

Jet Force Gemini - Possible memory leak #2288

Open LuismaSP89 opened 4 years ago

LuismaSP89 commented 4 years ago

There are slowdowns after playing Jet Force Gemini (PAL) for some minutes. This can be seen on any level in the game. I think it can be a memory leak since restarting the emulator or loading a save state solves the issue. Even if the savestate was created in the middle of the slowdown. Once the slowdown starts, all the game becomes near unplayable due to the low FPS. Strange that this solves by loading a savestate.

My specs:

i7 4790k 16 GB DDR3 GTX 970 Windows 10 x64

Using Project64 and Gliden64 "latest development versions"

gonetz commented 4 years ago

I just fixed a bug in texture checksum calculation, which could lead to textures re-load and waste of texture memory: c2f3b02e4 May be it is related. Could you check again?

LuismaSP89 commented 4 years ago

Sorry but seems the issue persist. Game keeps slowing down after some minutes of playing. The slowdowns can also be "triggered" in certain areas or with certain effects such as many explosions, etc. Then the game becomes unplayable unless you do savestate and then load it.

LuismaSP89 commented 4 years ago

In the other side, seems that overall performance improved a bit in some games after your PR. Thank you.

gonetz commented 2 years ago

The slowdowns can also be "triggered" in certain areas or with certain effects such as many explosions, etc.

Could you give me a savestate from an area, where the slowdowns is triggered? I can check for excessive texture load.

Squall-Leonhart commented 1 year ago

This is an emulator bug, doesn't require the use of gliden64 at all.