cancel
Showing results for 
Search instead for 
Did you mean: 

Processors

fluidz
Journeyman III

Ryzen 3000 series Hitching in Minecraft Java

 

There have been reports of Ryzen 3000 series owners having issues in Minecraft with huge frametime spikes.  

The issue : You're connected to a Minecraft server with players spawning around you and your screen sometimes freezes for half a second, stuttering, hitching.  . If you press f3 in game, there are sudden unexplainable framerate fluctuations from high to low and looks something like this - 144fps - 24fps - 143fps - 23fps - 140fps.  Setting a framerate cap and toggling Vsync does not seem to help.  It mostly happens whilst in Server Lobbys.

Steps to reproduce :  Install Minecraft 1.8.9/1.15 or 1.16.  Connect to Hypixel.net.  Open a Lobby (normal/protype/skywars etc). Make sure player visibility is enabled.  Hold down Alt and press F3 to open the Lagometer (aka frametime graph) on screen.  Do you sometimes see very tall white spikes appear on the frametime graph when players spawn on the map and is your framerate taking a huge hit each time?  If not, relaunch Minecraft, test again.

Lagometer aka frametime graph (notice the tall white spikes!)

random spikes mc.png

 

Debug screen, Framerate fluctuations (notice the sudden drops to 23/24fps!)

framerate drops minecraft.gif

 

Player visibility -  If using Minecraft 1.8.9, Player visibility seems to play a role.  Turning Player Visibility to Off may stop the white spikes, stutters and hitching.  Turning it back on causes the issue to return.  We shouldn't have to hide players though.

disable player visibility.gif

 

Potential solution - Instead of hiding players from your screen (which isn't ideal) here is an alternative solution..  You may need to run Minecraft 1.8.9 with Optifine for this to work.  Follow these 3 steps :

1) Reset your Jvm arguments to default (to make sure it isn't affecting performance in any negative way).   

2) Launch Minecraft, open Hypixel, make sure that Player visibility : Enabled (so you can see players on screen).

3) As soon as the game starts randomly hitching, and you see tall white spikes in the frametime graph, Open Options, Video settings, Toggle Smooth Lighting Level from 100% to 0%, wait a couple of seconds, then set it back to 100% After doing this you can now set smooth lighting level to any value you wish.  

minecraft toggle smooth lighting GIF.gif

Return to your game and look at the frametime graph, is it more stable? There are players spawning on screen but there's no more hitching/stuttering, right?  As dumb as this solution may seem, it just works. You may need to repeat this solution each time you restart Minecraft.  It works on other servers too, not just Hypixel.

 

Why does this solution only work in 1.8.9 (Optifine)? No idea, I tried toggling the smooth lighting option in both 1.15 (optifine) and 1.16.2 (optifine), it did not work. Ymmv.

Youtube video showing the issue and the fix - https://youtu.be/JVpFPJdpRdY

Related threads - 

https://hypixel.net/threads/guide-how-to-fix-frame-sudden-freezes-when-joining-lobbies-and-game-lobb...

Lag spike | Hypixel - Minecraft Server and Maps

 

TLDR : If you have a Ryzen 3000 series cpu, you may be seeing random stuttering/hitching in game.  When random players join the map there are sometimes huge frametime spikes in the frametime graph.  Setting players to invisible fixes the hitching.  Could it be assets related?   Temporary solution : (this only works in 1.8.9 Optifine) Toggle "Smooth lighting level" to the opposite direction in the video settings, the stutters/hitching will instantly stop, do this each time you restart the game.  Unfortunately I have not found a solution for Mc 1.15/1.16, yet.

If somebody from Amd could take a look at this, I'd appreciate it thanks.

0 Likes
0 Replies