#a bug that no one has ever had in minecraft

1 messages · Page 1 of 1 (latest)

winter wren
#

so um, I had this bug with minecraft where any versions 1.18 and above would freeze every 1 second, meaning the graph would be some thing like this:
300 -> 1 - 250 -> 1..etc
so well i used some jvm args i got recommended which ill send later,
and that fixed it, however after 3 days the bug is back, but i realized something, when the bug was fixed i had 2gb allocated and it was using 2.7gb, but when the bug still existed it was using 2gb flat, so i thought maybe that was the problem, i just tried allocating 3gb or 4gb and no luck.
the jvm args are here: https://pastebin.com/3mK9yZFf

steel rapids
#

also with standard jvm args?

#

and like 1.17 there's no such issue at all?

winter wren
#

yes

#

with 1.17, everything's good

#

and with default args its the same as well

steel rapids
#

ur not using mods or stuff like optifine, right?

#

vanilla mc

winter wren
#

yes

#

i tried with optifine its the same too

steel rapids
#

have you tried deleting those installations and re-downloading them?

winter wren
#

yes

#

i tried literally deleting everything

#

in .minecraft and reinstalling

steel rapids
#

drivers all up to date?

winter wren
#

my graphics drivers is up to date

#

i think thats the only one that matters

steel rapids
#

which os are you using?

winter wren
#

Windows

steel rapids
#

I'll try something, brb

half lark
#

maybe you could run a profiler like spark to get a better idea of what's causing the issue?

winter wren
#

yes

#

i did

#

there are 3 methods

half lark
#

also, is this server lag or client?

winter wren
#

that are taking cpu time more than others

#

client

half lark
#

oh i see

#

forget what I said about a profiler then

winter wren
#

profilers work for clients too

#

i used visual vm

#

org.lwjgl.system.JNI.invokePPV[native] ()
org.lwjgl.system.JNI.invokePP[native] ()
com.mojang.blaze3d.systems.RenderSystem.limitDisplayFPS ()

#

these methods

#

take more cpu time than others

#

a lot more

half lark
#

yes, but I can't really understand client code ahah

steel rapids
#

same problem even in a vm?

winter wren
#

no

#

i didnt try a vm

#

though i dont wanna play minecraft only in a vm

steel rapids
#

But would be interesting to know whether the issue occurs there too

#

Another thing you could try, and I'm not sure if that works, start windows in safe mode and try it

sage monolith
#

only thing limitDisplayFPS seems to do is update the last draw time

#

so really that doesn't tell you much more than you already know, which is that it freezes while trying to draw to the screen

winter wren
#

so

#

wat do i do

#

whats the difference between 1.17.1 and 1.18

sage monolith
#

no clue, and I see no reason why that method would change between those versions

winter wren
#

nice

winter wren
#

why would that change anything

echo cove
#

If i remember correctly xms is for the level when your ram get cleaned

winter wren
#

ill try it ig

echo cove
#

Like u filled your cup u have to pour it out before filling it or it will overflow

wanton oriole
#

what is your java version

echo cove
#

-Xmx8G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M

#

-Xmx6G -Xms1G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M

#

try 2 those

wanton oriole
#

what is the java version @winter wren

echo cove
wanton oriole
#

did they say?

winter wren
#

no

#

1.17.1 works fine lol

#

as well as other games

#

i did

winter wren
#

well i used this chance

#

to prove my competency as a minecraft player

#

and i got full diamond armor and tools

#

in a few minutes

#

with this extreme lag

#

of course it was on easy mode since i need like 30 seconds to kill a single mob

#

💀

steel rapids
#

I remember I had this issue in another game cause the game window kept loosing focus somehow

#

ur in fullscreen?

winter wren
#

but i tried it, and same thing

winter wren
#

what does that do though

#

No, if it's only gonna work in a vm then i rather it not work at all

thorn matrix
#

Have you checked your graphics drivers yet

winter wren
#

yes

#

i updated them

long horizon
#

do you have a dedicated and builtin gpu and tried switching to the other one?

winter wren
#

nah

winter wren
#

man

mental latch
#

solar flare

#

solved

#

close this

winter wren
#

What?

steel rapids
#

did you try an /sfc scannow

long horizon
#

that never fixed anything lol

steel rapids
#

even if it doesn't at least it finds and deletes corrupted files

long horizon
#

drivers fucked up

winter wren
#

im doing it rn

winter wren
steel rapids
winter wren
#

Windows Resource Protection found corrupt files but was unable to fix some
of them. Details are included in the CBS.Log windir\Logs\CBS\CBS.log. For
example C:\Windows\Logs\CBS\CBS.log. Note that logging is currently not
supported in offline servicing scenarios.

#

@steel rapids

winter wren
#

this is fixed!

#

what i did was SFC /scannow and delete temp and %temp%

long horizon
#

lol

#

corrupted shader files maybe idk if mc even uses that

steel rapids
winter wren
#

my eternal gratitude