RPG Maker MV Debugging

@KisaiTenshi: This would solve it for refresh rates > 60 and hardware that can push above 60fps, but it won't solve the problem of someone running the game on a 50hz monitor who'd be restricted to 50fps, which would in turn cause all gameplay to occur at 83% of normal speed. The only proper solution is to disentangle rendering frame updates from game logic, where game logic is telling a sprite where it should be, and the rendering is displaying it. Optimally I'd use a proper timestep setup (note that the example is talking about physics, but really, any movement benefits from this). This way even if someone's unlucky and run the game at 30fps, game speed will still be close to 100%, it'll just be less smooth visually.
Yeah I get what you're saying, but the way Pixi.js works suggests the problem is specifically with how RPG Maker MV is doing it. I was able to get to 9000 bunnies before the iPad 3 dropped below 60fps and 12500 for it to drop to 30fps. So there's two different things happening here. Your problem describes "vsync off or > 60fps" where the MV engine appears to assume. Thus without some kind of wait delay asyncronous from the pageflipping being introduced it runs too fast. When it's reversed, where the device doesn't run at 60fps (eg 30fps or below) the game's "physics" runs in sync with the frame rate. At 40,000 bunnies I still get 15fps on the iPad 3.

Yet someone else in another thread has indicated that their game on their iPad 3 is practically unusable. I never got anything to run on mine because I only have a 16GB model. Switching back to Safari with the bunnymark running returns it back to 15fps @ 40,000 bunnies.

On my desktop (nVidia GTX 760, i7-4770) in Chrome, The bunnymark stops running at 60fps at 30,000 bunnies.  30fps at 92000. It takes 194,000 bunnies to make it drop into the 15fps territory. Switching tabs back and forth once, brings it back up to 45fps (so it appears the "non-draw" calculations continue while switched away.) A second time, drags it down to 15fps, and a third time drags it to 5fps. I should also mention that by the time it dropped under 20fps the CPU fans kicked in. 
hello there everyone i am new to these forums but had not many issues with the frame rate, (minus a small bit of lag at start, but not too harsh)

I did however run into an issue when testing my new project, where the title would auto run thru and start my game immediately, as if someone hit *enter* on the title screen

(thus i never get to see the title at all) I tried saving the game and retrying and then it selects the load screen and goes back into the game again without me hittng any buttons.

I do not have any plugins installed and not sure what would be causing this issue?  i thought at first it could be frame skipping, but that doesnt seem to be the case, as i made a new project from scratch and tried *test playing* the game just to see it rush the title and go into game again.  Sorry for the inconvenience, been a RPG Maker fan since 2000,

NekoGenna~
Please do not post the same thing in multiple threads


Your problem has nothing to do with the issues discussed here. I have approved your other thread, and given you a suggestion. If that does not work, we'll continue to investigate in that thread.
Problem: MV lags at mapping, MV playtest extreme framerate drop at beginning, Sound/Music delay (ingame and testing), Sound/Music bugs (only with my soundcard from creative, Onboard is ok)

Report: http://1drv.ms/1N6gWKb

I hope they can fix this bugs o.o
Problem: MV lags at mapping, MV playtest extreme framerate drop at beginning, Sound/Music delay (ingame and testing), Sound/Music bugs (only with my soundcard from creative, Onboard is ok)

Report: http://1drv.ms/1N6gWKb

I hope they can fix this bugs o.o
AMD Phenom II X4 970 + AMD 6950 with recent but not latest drivers.

I'd say the CPU is a bit old (2010,) but not too weak. Roughly in the same performance area of an Intel Core i3-3250 @ 3.50GHz

External USB connected sound devices require the CPU to control their output, so if the CPU is getting slammed of course that is going to happen.
I've gathered some customer data. When you have time, please take a look and see if any of these specs would explain the issues they are having. 🙂

Case 1

[SIZE=14.6667px]Game stops responding, does not close or shutdown or give an error. Just randomly stops responding at a point (no more screen movement). Music keeps playing.[/SIZE]

[SIZE=14.6667px]Win7 integral 64bits SP1[/SIZE]

[SIZE=14.6667px]Processor: AMD Phenom II X4 955 Processor (4 CPUs), ~3.2GHz[/SIZE]

[SIZE=14.6667px]Memory: 8192MB RAM[/SIZE]

[SIZE=14.6667px]DirectX Version: DirectX 11[/SIZE]

[SIZE=14.6667px]Card name: NVIDIA GeForce GTX 770[/SIZE]

[SIZE=14.6667px]Display Memory: 4038 MB[/SIZE]

[SIZE=14.6667px]Dedicated Memory: 1990 MB[/SIZE]

[SIZE=14.6667px]Shared Memory: 2048 MB[/SIZE]

[SIZE=14.6667px]Current Mode: 1920 x 1080 (32 bit) (60Hz)[/SIZE]

[SIZE=14.6667px]Output Type: DVI[/SIZE]

Case 2

Terrible Frame rate when a big creature dies, and stuttering, shuddering walking. The screen dies not scroll smoothy.

[SIZE=14.6667px]Windows 10[/SIZE]

[SIZE=14.6667px]AMD A8-6410 APU Radeon R5 Graphics 2.00 Ghz[/SIZE]

[SIZE=14.6667px]6 GB Ram (4.96 usable)[/SIZE]

[SIZE=14.6667px]64 bit Operating System, x64 based processor.[/SIZE]

Case 3

Extreme lag.

Windows 7 Ultimate

[SIZE=14.6667px]AMD phenom II x4 840[/SIZE]

[SIZE=14.6667px]Crosshair V formula[/SIZE]

[SIZE=14.6667px]8gb ddr3[/SIZE]

[SIZE=14.6667px]Amd radeon HD 6870[/SIZE]

[SIZE=14.6667px]I tried deleting everything and restarting my computer playing directly from the exe, stil get this lagging.[/SIZE]

[SIZE=14.6667px]in the 1st battle I've seen 5 seconds lagging, like if the game was freezed, before the screen gave another sign of life, and then again freeze.[/SIZE]
Two more.

[SIZE=14.6667px]Bug 13: Game is real laggy for me. Makes it impossible to play.[/SIZE]

[SIZE=14.6667px]Processor: AMD E1-2500 APU with Radeon HD Graphics 1.40 GHz[/SIZE]

[SIZE=14.6667px]Installed memory (RAM): 4.00 GB (3.46 GB usable)[/SIZE]

[SIZE=14.6667px]System type: Windows 10 64-bit Operating System, x64-based processor[/SIZE]

[SIZE=14.6667px](Lag happens everywhere, including title screen, menu, battle, map...)[/SIZE]

[SIZE=14.6667px]Bug 14: [/SIZE]http://prntscr.com/9erbkp

Game stops responding & crashes upon startup. Tried to launch with and without Steam overlay activated, directly from the folder as well.

Intel Core i5-2520M 2.50GHz (dual, 4 threads) 

4GB ram

Intel HD 3000 IGP and Nvidia Optimus GPU 

Windows 7 x64
Bug 15: Black screen (no visuals). Audio, controls, etc. all run fine but the game has a black screen.

I've got an ASUS laptot with AMD E-450 APU with Radeon HD Graphics 1.65 GHz and the RAM is 6,00 GB
I've gathered some customer data. When you have time, please take a look and see if any of these specs would explain the issues they are having. 🙂

Case 1

[SIZE=14.6667px]Game stops responding, does not close or shutdown or give an error. Just randomly stops responding at a point (no more screen movement). Music keeps playing.[/SIZE]

[SIZE=14.6667px]Win7 integral 64bits SP1[/SIZE]

[SIZE=14.6667px]Processor: AMD Phenom II X4 955 Processor (4 CPUs), ~3.2GHz[/SIZE]

[SIZE=14.6667px]Memory: 8192MB RAM[/SIZE]

[SIZE=14.6667px]DirectX Version: DirectX 11[/SIZE]

[SIZE=14.6667px]Card name: NVIDIA GeForce GTX 770[/SIZE]

[SIZE=14.6667px]Display Memory: 4038 MB[/SIZE]

[SIZE=14.6667px]Dedicated Memory: 1990 MB[/SIZE]

[SIZE=14.6667px]Shared Memory: 2048 MB[/SIZE]

[SIZE=14.6667px]Current Mode: 1920 x 1080 (32 bit) (60Hz)[/SIZE]

[SIZE=14.6667px]Output Type: DVI[/SIZE]

Case 2

Terrible Frame rate when a big creature dies, and stuttering, shuddering walking. The screen dies not scroll smoothy.

[SIZE=14.6667px]Windows 10[/SIZE]

[SIZE=14.6667px]AMD A8-6410 APU Radeon R5 Graphics 2.00 Ghz[/SIZE]

[SIZE=14.6667px]6 GB Ram (4.96 usable)[/SIZE]

[SIZE=14.6667px]64 bit Operating System, x64 based processor.[/SIZE]

Case 3

Extreme lag.

Windows 7 Ultimate

[SIZE=14.6667px]AMD phenom II x4 840[/SIZE]

[SIZE=14.6667px]Crosshair V formula[/SIZE]

[SIZE=14.6667px]8gb ddr3[/SIZE]

[SIZE=14.6667px]Amd radeon HD 6870[/SIZE]

[SIZE=14.6667px]I tried deleting everything and restarting my computer playing directly from the exe, stil get this lagging.[/SIZE]

[SIZE=14.6667px]in the 1st battle I've seen 5 seconds lagging, like if the game was freezed, before the screen gave another sign of life, and then again freeze.[/SIZE]
Case 1: That hardware configuration is more than capable, so make sure the GPU drivers have been updated. The effect you speak of I've seen before when a thread freezes in the UI, thus the UI doesn't update but everything else keeps going. I've also seen it happen with keyboard/mouse macro software (eg Microsoft Intellimouse software.) 

Case 2: That's a relatively weak CPU+GPU (CPU ST passmark: 884, GPU, the R5 M200 is 888, all other models are between 500 and 888), so you might be hard pressed to keep a constant framerate. Audio stuttering is always a case of the CPU/GPU being too weak, or the GPU not being utilized.

Case 3: That CPU/GPU is more than capable. This sounds like the drivers aren't updated and/or the GPU isn't being used.

Bug 13: That's an E-1 and I probably wouldn't consider that very capable, these parts were made for netbooks. (single-thread Passmark is 516), the GPU in that is a Radeon HD 8240, which has a passmark rating of 281, which is basically not very useful.

Bug 14: I'm going to say update the drivers. The CPU is capable, but an Optimus configuration requires the manufacturer's drivers to work properly which may mean an older device doesn't get updated.

Bug 15: Similar to 13, E-1's were designed for netbooks are are not very capable. Single thread Passmark on the CPU is 431, GPU is Radeon HD 6320, which has a passmark rating of 198.

Overall...

A combination of weak CPU + weak GPU (Single-thread Passmark below 800, or GPU Passmark below 500) will no doubt experience poor frame rate and audio stuttering. So "case 2" above just barely scratches above this, and "bug 13" and "bug 15" don't even come close.

Basically, taking the average of everything reported in this thread to date, when the passmark score is low, the game lags, stutters, or even crashes. When the drivers are too old (Chromium has multiple render paths, so it's not always predicable which path it takes, though it's generally assumed it will use ANGLE on any hardware it doesn't believe to have working OpenGL ES 2.0 support, which typically includes all Intel and nVidia parts, in which case they need to be "OpenGL 4.0" capable otherwise there will be a performance penalty.) 

Case 1 and 3, and bug 14 appear to be capable hardware which means it's likely the drivers. And yes many reports often indicate using the drivers that originally came with the hardware instead of the latest drivers. In the case of that Optimus configuration you may also want to check for a BIOS update since there is special hardware support required on early switchable graphics. 
Super helpful!! Thank you so much. I'm sending this information to my customers right away. 🙂
Hi, I know this topic has been around awhile, but I'm experiencing playtesting lag that causes the game to go to 50% speed.  In my smaller project, the problem comes and goes every second or so.  In my larger project, playtesting constantly runs at 50% speed, including during the title screen, walking around the map, sprinting, and during battles, etc.  Every process seems slowed to half speed.  This happens even when all plugins are removed and the base game is playtested without plugins.

Here is the HTML report, linked from Dropbox:

https://dl.dropboxusercontent.com/u/22835784/RPG%20Maker%20projects/DESKTOP-R0NL92R.html

The main issue is the playtesting running at 50% speed.  This prevents me from playtesting much at all, which makes development very difficult.  There may be some minor editor lag with painting tiles, but this doesn't bother me.  The editor works excellently for me, including for audio; no complaints.

Thank you for your help!

Tyruswoo

P.S  Sometimes this playtesting lag problem will be present for a day, and then go away for several days at a time, allowing me to playtest again.  I try restarting my computer, deleting my old saves of the game, removing plugins individually or removing all plugins, and nothing seems effective.  It appears to be a problem with the editor's playtesting function.  Why the problem is sometimes present for a whole day than vanishes for several days to weeks, then returns again, I cannot say.

P.P.S.  My team's coder suggested that I try playtesting RPG Maker MV with my laptop plugged in, instead.  I tried it, and now Playtesting is running smoothly at the correct speed, again!  I'd say this is still an important bug to fix.  I also noticed that it slows down my playing of a deployed version of my project, so I think this bug should be fixed so that deployed games don't have to say, "Make sure you plug in your laptop to play this game."  Still, I'm very pleased that now I can go about creating my game!  I look forward to an update in the future that fixes this bug.  Thank you!
Hi, I know this topic has been around awhile, but I'm experiencing playtesting lag that causes the game to go to 50% speed.  In my smaller project, the problem comes and goes every second or so.  In my larger project, playtesting constantly runs at 50% speed, including during the title screen, walking around the map, sprinting, and during battles, etc.  Every process seems slowed to half speed.  This happens even when all plugins are removed and the base game is playtested without plugins.

Here is the HTML report, linked from Dropbox:

https://dl.dropboxusercontent.com/u/22835784/RPG%20Maker%20projects/DESKTOP-R0NL92R.html

The main issue is the playtesting running at 50% speed.  This prevents me from playtesting much at all, which makes development very difficult.  There may be some minor editor lag with painting tiles, but this doesn't bother me.  The editor works excellently for me, including for audio; no complaints.

Thank you for your help!

Tyruswoo

P.S  Sometimes this playtesting lag problem will be present for a day, and then go away for several days at a time, allowing me to playtest again.  I try restarting my computer, deleting my old saves of the game, removing plugins individually or removing all plugins, and nothing seems effective.  It appears to be a problem with the editor's playtesting function.  Why the problem is sometimes present for a whole day than vanishes for several days to weeks, then returns again, I cannot say.

P.P.S.  My team's coder suggested that I try playtesting RPG Maker MV with my laptop plugged in, instead.  I tried it, and now Playtesting is running smoothly at the correct speed, again!  I'd say this is still an important bug to fix.  I also noticed that it slows down my playing of a deployed version of my project, so I think this bug should be fixed so that deployed games don't have to say, "Make sure you plug in your laptop to play this game."  Still, I'm very pleased that now I can go about creating my game!  I look forward to an update in the future that fixes this bug.  Thank you!
Everyone should probably be using the FluidTimestep plugin to avoid the frame:logic lock. Your laptop probably turns on aggressive power management when it's not plugged in, which would be a problem for any game, not just MV.
Everyone should probably be using the FluidTimestep plugin to avoid the frame:logic lock. Your laptop probably turns on aggressive power management when it's not plugged in, which would be a problem for any game, not just MV.
Thank you for pointing me to this plugin!  I'll try it out!
Hi! I have a very peculiar form of playtest lag. On my desktop PC (specs in RMslow.html) it's about half speed, while on my laptop (specs in RMnormal.html) it's at full speed, with the very same project, either with all (about 40) plugins disabled or enabled, even though nothing would explain this, given that I'm using my desktop for current-gen games at full speed while my laptop can barely hit 20FPS in Civ5. The MV editor is running lag-free on both PCs, only playtest suffers from lag, and audio is normal on the desktop even despite the half speed. All drivers up-to-date on both, antivirus is running on both with no hint of malware. Specs in the attached CPU-Z reports.

View attachment RMnormal.html

View attachment RMslow.html
Hi! I have a very peculiar form of playtest lag. On my desktop PC (specs in RMslow.html) it's about half speed, while on my laptop (specs in RMnormal.html) it's at full speed, with the very same project, either with all (about 40) plugins disabled or enabled, even though nothing would explain this, given that I'm using my desktop for current-gen games at full speed while my laptop can barely hit 20FPS in Civ5. The MV editor is running lag-free on both PCs, only playtest suffers from lag, and audio is normal on the desktop even despite the half speed. All drivers up-to-date on both, antivirus is running on both with no hint of malware. Specs in the attached CPU-Z reports.


View attachment 30008


View attachment 30009



RNslow.html has the R9 380 while the RMnormal has the  6300M which tells me that one is the laptop. This sounds like you haven't installed the drivers correctly on the desktop, or it's your monitor. Note that it's 1920x540 which suggests it's running in 1080i mode. It might be sync locked to 30fps. You'd have to test further to see if games are capping at 30fps or 60fps. Note that most/all HDTV's can do 1080p if they are connected via HDMI
Thank you, that was exactly the problem. It's a sh***y 22" TV that can only support 1366x768, I had it connected via HDMI since VGA screen position has to be realigned every time I use a fullscreen application - using a VGA cable fixed the speed issues, I don't know why the other apps didn't have it, Elite😀angerous and Tomb Raider both reported 60FPS and seemed like it. I'll replace the monitor once my tuition arrives, it's long overdue :S Thank you very much!
Hello, I only seem to lag while playtesting. Other than that the editor has been fine. I've attached my specs. Thanks Archeia!

View attachment USER-PC.html
Hello, I only seem to lag while playtesting. Other than that the editor has been fine. I've attached my specs. Thanks Archeia!


View attachment 31365



Hi StrawberrySmiles,


Below is an answer that worked for me.  Basically, the game plays best when my laptop is plugged in, but with the FluidTimestep plugin, it is able to not lag when not plugged in, though plugging it in is still better.


I hope this helps!

Everyone should probably be using the FluidTimestep plugin to avoid the frame:logic lock. Your laptop probably turns on aggressive power management when it's not plugged in, which would be a problem for any game, not just MV.
My laptop is always plugged in, so I doubt that's the case... 🙁
Hello.
I have a big problem with videos in my game: when I put a video:


1. characters can move during video


2. if there is some event after (for exemple, a text), it will be happen during the video play, and not after.


For the first point, I put some events to prevent the player to move during the time of the video.


For the second point, I put a timer. But if the player focus the game, the timer will stop. And after, the game can freeze some seconds when the video finished to play.



So... all these things are veryyyyy annoying. There is a solution for that?

Thank you for your help!

NB: I precise I'm on Mac.

Original thread: https://forums.rpgmakerweb.com/threads/rpg-maker-mv-debugging.47503/