Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lagging on enabled plugin #119

Open
anarix0 opened this issue Mar 10, 2024 · 4 comments
Open

Lagging on enabled plugin #119

anarix0 opened this issue Mar 10, 2024 · 4 comments

Comments

@anarix0
Copy link

anarix0 commented Mar 10, 2024

My game has been getting 0 fps and i need to force close the app to quit,
I have made sure to check every mod i have got and only customHUD made me lose the fps.
I am using fabric 1.19.4 on v0.15.7 of the loader with this config:

{{fps >= 60, "&a", fps < 30, "&c", "&e"}}{fps}&f fps
{{ping <= 35, "&a", ping > 35 & ping < 100, "&c", "&e"}}{ping}&f ms

==Section:TopRight==
&7{cpu_name} &e{{cpu < 10, "0{cpu}", "{cpu}"}}% &fcpu
&7{gpu_name} &e{{gpu < 10, "0{gpu}", "{gpu}"}}% &fgpu
&e{{memory_used_percentage < 10, "0{memory_used_percentage}", "{memory_used_percentage}"}}% &fram

==Section:BottomRight==
{real_time:HH:mm:ss.SSS}

I am using the version 3.1.0 of the plugin for 1.19.4 and I have been using the plugin for some time but this started after I added the plugin Essentials.
Any help would be appreciated.

@Minenash
Copy link
Owner

Does it happen with an empty profile?

@anarix0
Copy link
Author

anarix0 commented Mar 11, 2024

Does it happen with an empty profile?

No, it doesn't.
I'll check and try to fix it by the profile, but it was working fine a few days ago on the same profile.

@anarix0
Copy link
Author

anarix0 commented Mar 11, 2024

The {cpu} variable is doing it.

@DespairScent
Copy link

Thread dump (4.0.0-beta.8+1.21):

"Render thread" #1 [10972] prio=10 os_prio=2 cpu=33468.75ms elapsed=205.60s tid=0x000002c01b94d910 nid=10972 runnable  [0x000000d6c53fd000]
   java.lang.Thread.State: RUNNABLE
        at com.sun.jna.Native.invokeInt(Native Method)
        at com.sun.jna.Function.invoke(Function.java:429)
        at com.sun.jna.Function.invoke(Function.java:364)
        at com.sun.jna.Function.invoke(Function.java:318)
        at com.sun.jna.Function.invoke(Function.java:309)
        at com.sun.jna.platform.win32.COM.COMInvoker._invokeNativeObject(COMInvoker.java:48)
        at com.sun.jna.platform.win32.COM.Wbemcli$IEnumWbemClassObject.Next(Wbemcli.java:312)
        at com.sun.jna.platform.win32.COM.WbemcliUtil$WmiQuery.enumerateProperties(WbemcliUtil.java:300)
        at com.sun.jna.platform.win32.COM.WbemcliUtil$WmiQuery.execute(WbemcliUtil.java:191)
        at oshi.util.platform.windows.WmiQueryHandler.queryWMI(WmiQueryHandler.java:128)
        at oshi.util.platform.windows.WmiQueryHandler.queryWMI(WmiQueryHandler.java:104)
        at oshi.util.platform.windows.PerfCounterWildcardQuery.queryInstancesAndValuesFromWMI(PerfCounterWildcardQuery.java:207)
        at oshi.util.platform.windows.PerfCounterWildcardQuery.queryInstancesAndValues(PerfCounterWildcardQuery.java:94)
        at oshi.util.platform.windows.PerfCounterWildcardQuery.queryInstancesAndValues(PerfCounterWildcardQuery.java:62)
        at oshi.driver.windows.perfmon.ProcessorInformation.queryProcessorCounters(ProcessorInformation.java:148)
        at oshi.hardware.platform.windows.WindowsCentralProcessor.queryProcessorCpuLoadTicks(WindowsCentralProcessor.java:331)
        at oshi.hardware.common.AbstractCentralProcessor$$Lambda/0x000002c03c526c58.get(Unknown Source)
        at oshi.util.Memoizer$1.get(Memoizer.java:61)
        - locked <0x00000007112873f8> (a oshi.util.Memoizer$1)
        at oshi.hardware.common.AbstractCentralProcessor.getProcessorCpuLoadTicks(AbstractCentralProcessor.java:197)
        at oshi.hardware.platform.windows.WindowsCentralProcessor.querySystemCpuLoadTicks(WindowsCentralProcessor.java:202)
        at oshi.hardware.common.AbstractCentralProcessor$$Lambda/0x000002c03c526a40.get(Unknown Source)
        at oshi.util.Memoizer$1.get(Memoizer.java:61)
        - locked <0x0000000711287430> (a oshi.util.Memoizer$1)
        at oshi.hardware.common.AbstractCentralProcessor.getSystemCpuLoadTicks(AbstractCentralProcessor.java:185)
        at com.minenash.customhud.complex.ComplexData.update(ComplexData.java:251)
        at com.minenash.customhud.CustomHud.onTick(CustomHud.java:125)
        at com.minenash.customhud.CustomHud$$Lambda/0x000002c03cc22ae8.onEndTick(Unknown Source)
        at net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents.lambda$static$2(ClientTickEvents.java:43)
        at net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents$$Lambda/0x000002c03cc21890.onEndTick(Unknown Source)
        at net.minecraft.class_310.handler$ben000$fabric-lifecycle-events-v1$onEndTick(class_310.java:14185)
        at net.minecraft.class_310.method_1574(class_310.java:2012)
        at net.minecraft.class_310.method_1523(class_310.java:1246)
        at net.minecraft.class_310.method_1514(class_310.java:882)
        at net.minecraft.client.main.Main.main(Main.java:256)
        at java.lang.invoke.LambdaForm$DMH/0x000002c03c0dc400.invokeStaticInit([email protected]/LambdaForm$DMH)
        at java.lang.invoke.LambdaForm$MH/0x000002c03c0dcc00.invokeExact_MT([email protected]/LambdaForm$MH)
        at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:480)
        at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
        at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
        at java.lang.invoke.LambdaForm$DMH/0x000002c03c0dc400.invokeStaticInit([email protected]/LambdaForm$DMH)
        at java.lang.invoke.LambdaForm$MH/0x000002c03c0dcc00.invokeExact_MT([email protected]/LambdaForm$MH)
        at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:105)
        at org.prismlauncher.EntryPoint.listen(EntryPoint.java:129)
        at org.prismlauncher.EntryPoint.main(EntryPoint.java:70)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants