NoRiskClient / issues

Norisk Client Issues
9 stars 1 forks source link

[Bug]: Insane ram usage on mac #394

Closed enricoxD closed 1 week ago

enricoxD commented 1 month ago

How to reproduce ?

Ingame wird zwar nur eine niedrige RAM-Auslastung angezeigt, das spielt freezed aber alle paar Sekunden. Im Activity Monitor wird eine deutliche höhere Auslastung angezeigt?

grafik ram

Where is this happening?

Client

What platform are you seeing the problem on? (for launcher bugs)

Not a launcher bug

Version (for launcher bugs)

No response

Relevant log output

Der log wird (fast ausschließlich) mit dem vollgespammt, ka ob das echt relevant ist:

[12:36:33] [Render thread/ERROR]: Failed to load shader
net.irisshaders.iris.helpers.FakeChainedJsonException: Invalid shaders/program/motion_blur.json (noriskclient): 
    at net.minecraft.class_2973.handler$bag000$iris$changeShaderParseException(class_2973.java:516) ~[client-intermediary.jar:?]
    at net.minecraft.class_2973.method_12856(class_2973.java) ~[client-intermediary.jar:?]
    at net.minecraft.class_280.<init>(class_280.java:151) ~[client-intermediary.jar:?]
    at net.minecraft.class_283.<init>(class_283.java:32) ~[client-intermediary.jar:?]
    at net.minecraft.class_279.method_1262(class_279.java:284) ~[client-intermediary.jar:?]
    at net.minecraft.class_279.method_1257(class_279.java:138) ~[client-intermediary.jar:?]
    at net.minecraft.class_279.method_1256(class_279.java:87) ~[client-intermediary.jar:?]
    at net.minecraft.class_279.<init>(class_279.java:57) ~[client-intermediary.jar:?]
    at gg.norisk.client.module.modules.MotionBlur$1.invoke(MotionBlur.kt:40) [NoRiskClient-Client.jar:?]
    at gg.norisk.client.module.modules.MotionBlur$1.invoke(MotionBlur.kt:33) [NoRiskClient-Client.jar:?]
    at gg.norisk.ui.api.module.Module$subscribe$1.invoke(Module.kt:68) [NoRiskClient-UI.jar:?]
    at gg.norisk.ui.api.module.Module$subscribe$1.invoke(Module.kt:63) [NoRiskClient-UI.jar:?]
    at net.silkmc.silk.core.event.Event.invoke(Event.kt:83) [silk-core-1.10.7-bd65c9a7469083c.jar:?]
    at net.minecraft.class_757.handler$cbf000$noriskclient$hookGameRenderAfter(class_757.java:4610) [client-intermediary.jar:?]
    at net.minecraft.class_757.method_3192(class_757.java:953) [client-intermediary.jar:?]
    at net.minecraft.class_310.method_1523(class_310.java:1285) [client-intermediary.jar:?]
    at net.minecraft.class_310.method_1514(class_310.java:882) [client-intermediary.jar:?]
    at net.minecraft.client.main.Main.main(Main.java:256) [client-intermediary.jar:?]
    at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470) [fabric-loader-0.15.11.jar:?]
    at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) [fabric-loader-0.15.11.jar:?]
    at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) [fabric-loader-0.15.11.jar:?]
Caused by: net.irisshaders.iris.gl.shader.ShaderCompileException: noriskclient:motion_blur.fsh: noriskclient:motion_blur.fsh: ERROR: 0:1: '' :  version '120' is not supported
ERROR: 0:2: '' :  #version required and missing.
ERROR: 0:6: 'varying' : syntax error: syntax error

    at net.minecraft.class_281.handler$bbo000$iris$causeException(class_281.java:536) ~[client-intermediary.jar:?]
    at net.minecraft.class_281.method_34416(class_281.java:68) ~[client-intermediary.jar:?]
    at net.minecraft.class_5937.method_34415(class_5937.java:41) ~[client-intermediary.jar:?]
    at net.minecraft.class_280.method_16036(class_280.java:170) ~[client-intermediary.jar:?]
    at net.minecraft.class_280.<init>(class_280.java:137) ~[client-intermediary.jar:?]
    ... 18 more
MeisterAH commented 1 month ago

ist nur bei apple silicon chips so 👀

TimLohrer commented 1 month ago

@enricoxD das is n memory leak :/ Der Virtual Memory Wert steigt nur, aber sinkt nt mal wenn ich ins main menu gehe... aber tbh kp wo der herkommt image

copyandexecute commented 1 month ago

Ohje das hab ich actually heute auch bemerkt

copyandexecute commented 1 week ago

ich versuchs

copyandexecute commented 1 week ago

Wir bauen den Launcher aktuell als Intel, dann kommt Rosetta ins Spiel und es wird ein falscher Prozessor Type angezeigt dadurch falsche jdk -> lags

copyandexecute commented 1 week ago

Fix: https://github.com/NoRiskClient/noriskclient-launcher/commit/5c307c76bcd71c38994d7324798f5bcd8159e798

copyandexecute commented 1 week ago

@MeisterAH meld dich mal ob dir alles geht auf discord