Not sure if this belongs here or in scripts. It's some kind of bug but I'm unable to determine for sure whether it's a script bug or an RPG maker bug that's exacerbated by a script. I'm fine with debugging Ruby myself, but without the source code from Graphics.rb, I'm stuck.
I'm using Zeus Video Player (
https://forums.rpgmakerweb.com/index.php?threads/zeus-video-player.6392/) and have determined that this bug happens if and only if I play my opening cinematic (it's a wmv file). Once that cinematic has played, ~15 minutes later, the call to Graphics.update in Scene_Base.update_basic suddenly starts taking about 10x longer to execute, and my performance tanks. It doesn't seem to matter whether I play through the game normally or just stand in the opening room and walk away from my computer. The lag will kick in, and once it does, even quitting to menu and reloading from an unrelated save file doesn't make it go away. The only way to get rid of it is to close and reopen the game.
The Zeus script does override the Graphics module, but it doesn't override the update function. I've determined that that's where the lag is actually happening, but without source code, I can't narrow it any further or determine what's wrong.
Things that might be able to help include:
-insight from anyone with access to Graphics.rb source code (or the code itself, but I assume that's not available)
-a valid override of Graphics.update() that does not call super
-instances of people with the same problem and fixes that worked (please note this is NOT event lag)
Any insight, suggestions, or referring of this thread to anyone who might be in-the-know are greatly appreciated. I'm happy to answer questions about the debugging I've done so far, or run other tests if it helps.
Thanks,
Kyle