Resolution Change Causes FPS to Drop

Hello all,

Before we begin, I actually do not know if this is the right place to post my problem since I was confused based on the wordings so my apology if this was indeed the wrong place.

To start with, my MV version is the latest stable version at the moment, v.1.6.1 .

Anyhow, as the title said, apparently changing the default screen resolution (816 x 624) to a larger screen size (in my case, 1020 x 780) causes my game fps to drop from a consistent 50-60 fps to 20-35 fps. One thing to note is that the fps does not drop during playtesting from the editor but it drops after deployment, through running the game.exe.

As usual, I followed the traditional approach of turning off every plugin to check for the cause of the problem. As it turns out, YEP Core Engine was the reason for the fps drops. Then I start to tinker with the settings inside the plugin and realize it was the change in screen resolution.

I had my doubt that this problem was just the plugin itself so I decided to change the screen resolution with the default "Community_Basic" plugin by RM CoreScript Team on MV default game. Once again, it ran smoothly if I started it right through the editor but fps dropped to 20-35 fps after I deployed it.

After some more testings, I found out that for my game and the default MV game, FPS runs smoothly after deployment only if the game resolution is the default 816 x 624.

What is even more interesting is that when I deployed it for web browser with the custom screen resolution, the FPS was smooth. So from my understanding, the FPS loss only occurs if I deploy the game for Windows.

The easy fix for this problem seems to be to revert the screen resolution back to default but I do not wish to do that because everything up to this point has been formatted specificly for the custom resolution so if I revert it back, it would take a tremendous amount of tinkering.

tl;dr version: Changing Screen Resolution causes fps drops ONLY after deploying game for Windows. Everything else is fine during playtesting from the MV editor.

At my wit ends, I decided to ask for your help to see if anyone knows the cause of the problem and if anyone has any insights that could help me fix this problem.

Thanks in advance!

---------------------------

Updated 1: The FPS only drops if the custom screen resolution is bigger than the default 816 x 624. The FPS is unaffected if the screen resolution is smaller than the default.

Resolved: The fps loss issue upon deployment is caused by Windows 10 Display Setting: Scale and Layout. To resolve the issue, simply revert the scaling back to 100%. Basically, this issue is only a problem for those whose total screen resolution is huge.
I don't have a solution to this, but I ran into this issue with an MV game that was set at 1280 x 720 (I think it was), and everyone swore up and down the resolution had no impact when I pointed that out, and it looks like it does after all.

I wonder what your PC specs are? That might be good info to have to look into this.
Thank you for the reply. I'm not too bright when it comes to things involving "PC spec" and stuff but I think this is what you wanted to look at, right?
Spoiler
upload_2019-1-21_17-17-14.png

Here's the info of my actual PC model in case you want to search it up.
Spoiler
Microsoft Surface Book (128 GB, 8 GB RAM, Intel Core i5)

Also, apparently the FPS only drops if the custom screen resolution is bigger than the default 816 x 624. The FPS is unaffected if the screen resolution is smaller than the default.
Does this happen only when in fullscreen mode? My first guess would be that the weak intel integrated graphics is the cause since there is no GPU. Try on another computer to see if the issue still persists.
No, it happens even in minimize screen mode.

I did what you suggested and asked a friend to test the game on his PC and it ran smoothly for him. I assumed this means the issue is caused by my PC or the way my PC is setup.

So I was wondering why my PC is any different from others and then it hits me... the actual PC screen resolution...

Apparently, from my understanding of the issue, the FPS drop was due to Microsoft Surface Book total resolution is too big (3000 x 2000). For this reason, in the display setting, I had to scale everything to 225% of the original size to comfortable see. So, to confirm this theory, I reverted the display setting scale to 200% and voila! the FPS was back to consistent 50-60. However, during battle scene, the FPS is still around 30-50. I then changed the scale to 100% and it fixes the battle scene fps issue.

In essence, based on the research I had found prior regarding fps dropped in MV, it is usually due to using variables for configuration. I believe this means the variables in my PC case are the scale enhancement used for configuration. So, perhaps by changing the scale to its default 100% fixed the variables.

I remember when I first installed MV 3 years ago (the absolute base version), the program size was.... screwed up... very tiny until I updated it to... err... version 1.1? I don't really remember. So as for why running the game through the editor results in no fps loss comparing to the actual deployment, I highly believe it is because MV Editor is formatted properly for Window 10 Display scaling while the actual game.exe after deployment does not. This also is the reason why the FPS issue did not occur when testing on browser, I believe.

So I guess the inconvenience is to remember to descale display setting back to 100% whenever I want to test deployment game. Oh well, better than having to redo everything to fit with the default MV resolution.

Anyhow... sorry for the ramble.

tl;dr -- The fps loss issue upon deployment is caused by Windows 10 Display Setting: Scale and Layout. To resolve the issue, simply revert the scaling back to 100%. Basically, this issue is only a problem for those whose total screen resolution is huge.

Thanks for replying and sorry for any inconveniences I might have caused.
That does help, though again I did run into this too on a windows 7 PC actually, so it's not all windows 10. But glad yours is working for now.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/resolution-change-causes-fps-to-drop.104739/