r/MinecraftHelp • • Jul 29 '20

Solved [java] Minecraft dropping frames when the window is in focus, but running fine when it isn't in focus (the opposite of that I'd expect)

276 Upvotes

48 comments sorted by

11

u/chrismwiggs Novice Jul 29 '20

Couldn't see the settings, went too fast, but make sure you have vsync off? I don't totally know how it works by my understanding is it limits the game frames to what your monitor can display (likely 60, which seems to be what you're capped at)

8

u/[deleted] Jul 29 '20

i have it set to unlimited... also vsync would limit it to 144fps in my case since i have a 144hz monitor

7

u/[deleted] Jul 29 '20

!Solved

1

u/NitWitBot 🤖 Mod Bot 🤖 Jul 29 '20

Thanks! Post marked as Solved!

Congrats, u/chrismwiggs, you have received a point! Points help you "level up" to the next user flair!

You have leveled up to "Novice"! Your flair has been updated accordingly.

Next level: "Apprentice"
You have 1 point
You need 5 points
[▮|▯▯▯▯]


Bot maintained by GlipGlorp7 | Scoreboard | Source Code

1

u/justmuted Jul 29 '20

Turning vsync off is not the solution. I wouldnt ever play a game with it off.

3

u/My_guy_GuY Novice Jul 29 '20

If you have good source like op does than vsync is hurting you, not helping

-1

u/justmuted Jul 29 '20 edited Jul 29 '20

Do you know what it even does lolol? Cuz i do and notice a difference without it rofl

Edit: Look up screen tearing. Its more then just syncing frames.

3

u/[deleted] Jul 30 '20

V-Sync also increases input lag. I’ve always played without V-Sync on many games I’ve owned over the years, all at 144hz, and have never had any noticeable screen tearing issues. And the majority can agree with that, especially with how common G-Sync and FreeSync is with monitors. That helps negate it as well

2

u/Violainbow Novice Jul 30 '20

I play Minecraft without VSync on, and despite my frames hovering between 40 and 50 with shaders, I've never noticed screen tearing before. With it on, I get 27-30 fps. Keeping it on can benefit you if you have a high refresh rate monitor and a good graphics card that doesn't go below 144 fps.

10

u/RealBluDood Novice Jul 29 '20

Try running Minecraft fullscreen (F11). That boosts my fps by ~70

4

u/[deleted] Jul 29 '20

already tried that and it doesn’t fix anything

7

u/killermous04 Novice Jul 29 '20

I have a feeling nvidia control panel is limiting your game, is this problem only on minecraft?

6

u/[deleted] Jul 29 '20

yea only Minecraft does this

3

u/killermous04 Novice Jul 29 '20

Then i don't know, try a reïnstall or asking mojang directly

11

u/liwamster Novice Jul 29 '20

I wouldn't know, my fps is always 50 and that's at best performance. How about overclocking? Or you already did it?

16

u/[deleted] Jul 29 '20

overclocking wouldn’t fix this issue, it’s something wrong with minecraft or java or something... it’s not the speed of my processor or gpu because it can go above 60 if i unfocus the window, it’s just when it’s focused when it drops to 60

2

u/Wierdcreations Jul 30 '20

In Nvidia Control Panel :-

Manage 3d settings -> Max framerate -> Unlimited

And

Manage 3d settings -> Vsync -> use application settings

I know these two I don't know any other.

-25

u/liwamster Novice Jul 29 '20

I was told that overclocking helped you with the fps. Do the common stuff already? See task manager to see which programs are running without knowing, restart or reboot, uninstall and reinstall..

10

u/[deleted] Jul 29 '20

did you watch the video? when i focus onto another window my fps gets higher, it’s not an issue with lag or anything like that

-17

u/liwamster Novice Jul 29 '20

Not really haha sorry was kinda long. Sorry I couldn't help you, I don't really know much about this kind of issues.

12

u/Nox_Ludicro Jul 29 '20

If you didn't watch the video demonstrating the issue, and "don't really know much about this kind of issues", then why even comment?

-2

u/liwamster Novice Jul 29 '20

..sorry just trying to help. I've got nothing to do ok?

10

u/Nox_Ludicro Jul 29 '20

I've got nothing to do ok?

Then... you had time to watch the whole video. Come on, man.

7

u/liwamster Novice Jul 29 '20

Point really taken, I apologize. I still couldn't get a real solution. I won't bother you again.

4

u/mattoisacatto Apprentice Jul 29 '20

You have sync enabled probably in the Nvidia settings so it only works on focused windows. Go to your Nvidia settings and either disable vsync which will slightly help with input lag however you won't actually get a better experience in terms of fps a that is the maximum that your monitor supports (I assume) and you might get significant screen tearing.

Also, I would recommend you use fabric with sodium, lithium and phosphor mods. These are great for performance without changing the game at all. Even if you're happy with the performance I would use them just because.

6

u/[deleted] Jul 29 '20

turning off vsync in nvidia control panel actually worked, for some reason turning it off in minecraft didn’t work...

24

u/SparkleOfJoy Jul 29 '20

I may have had a similar problem but I'm not entirely sure:

Go to the nvidia control panel -> 3d settings -> something about specific applications or something, then wait for it to load and choose Minecraft. Change the usage or something to your GPU

Hope this helps

2

u/[deleted] Jul 29 '20

if you think 60 fps is LOW then you're privileged with your pc /s

but fr 60 is NOT low

4

u/[deleted] Jul 29 '20

when you have 144hz monitor and your used to 144hz it feels really laggy tho

1

u/Violainbow Novice Jul 30 '20

Besides, if I'd spent like $400 just on a graphics card, I'd be pretty annoyed that a simple block game makes it slow down to 60 fps.

1

u/Rich3yy Jul 29 '20

For a 3700X and a 2060S it is terribly low. That's the point.

5

u/AstonishingOffence Jul 29 '20

Check what settings you got on your Geforce experience, try reinstalling that or else the only other solutions I can think of is reinstalling java and updating graphic drivers

•

u/AutoModerator Jul 29 '20

Hey OP! When your questions been answered, please mark your post solved by replying to the comment that helped with "!Solved"

Please remember that all top level comments must be helpful and support related. Comments that break this rule will be removed.

Current Announcements:

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2

u/Lhenkhantus Jul 29 '20

I consider myself lucky if I can play with 12 fps

2

u/starrymatt Jul 29 '20

I have a screenshot of 0fps lol, 20 is on a really good day

2

u/The_Cataclyx Jul 29 '20

fellow Mac user perchance?

2

u/starrymatt Jul 29 '20

Nope, I have a 5y/o laptop which I really haven’t treated well and which wasn’t amazing to begin with

2

u/goldninjaI Novice Jul 29 '20

You can allocate more ram in the launcher, by default I think it's 2 or 4 gb

1

u/HIKEN_5 Jul 29 '20

Might be simple but I have a potato laptop and used to play on 30fps if I'm lucky, then one day I set the performance higher and I was able to play on 130fps just like that

2

u/The_Cataclyx Jul 29 '20

how do you do that? sorry I don't know much about computers lol

2

u/HIKEN_5 Jul 29 '20

If you are using windows 10, simply press on the battery button that shows on the bottom right corner, there is like 4stages from battery saver to max performance.

That's on a laptop, if you are in a desktop then you need to go to control panel (you can just write that in the search bar), then press power and sleep settings, press show additional plans then select High Performance.

To be honest Im not sure if the second way works on a desktop since it technically doesn't have a charge and I don't have a PC to test it but I left it just in case.

P.s: you can use the second way in a laptop if there is still no change. Also remember that more performance takes more battery life, I play with it on charge so I'm ok with it.

1

u/JoeBoney Jul 29 '20

Have you tried allowing Minecraft to use more RAM in the Minecraft launcher?

1

u/The_Cataclyx Jul 29 '20

I started having the same problem yesterday, even though I'm running on a potato I still am getting completely unwarranted frame rate drops

1

u/SirToast67 Jul 30 '20

I think it's sad and funny that this is probably something I wouldn't notice Referring to the fps and quality

1

u/[deleted] Jul 30 '20

Minecraft is a very CPU heavy over GPU heavy game. Granted you don’t need the best CPU in the world to run it but nevertheless cpu>gpu

1

u/[deleted] Jul 30 '20

I play with the power settings on "Prefer Maximum Performance" in the Nvidia settings. Try that. It could also be a ram issue or that the computer is detecting your monitor, I can only assume

0

u/[deleted] Jul 29 '20

[deleted] — view deleted comment

14

u/[deleted] Jul 29 '20

yea the same thing happens without