Open JelowPapua opened 5 months ago
Also, I built my PC, I'm on Windows 11 22H2 (OS Build 22621.3520), GPU Brand is EVGA, Driver 537.58 PCI\VEN_10DE&DEV_2182&SUBSYS_16673842&REV_A1
Hello there! Thanks for being incredibly comprehensive about this crash. I've edited your original post simply to add a bit of formatting.
After reviewing your crash report, I was unable to find anything remotely related to ThreatenGL at all. 🤔 I did however notice that this might be an incompatibility issue with Sodium Extra, which also happens to be odd because the crash is being caused by a macOS-specific mixin (you are on Windows, soo... 😶🌫️)
Caused by: org.spongepowered.asm.mixin.injection.throwables.InjectionError: Critical injection failure: Redirector onDefaultWindowHints(II)V in sodium-extra.mixins.json:reduce_resolution_on_mac.MixinWindow failed injection check, (0/1) succeeded. Scanned 1 target(s). Using refmap rubidium-extra-refmap.json
Does this issue occur only when the mod is installed or is it random, etc..? Any additional information would be tremendous.
I also couldn't help but notice - your Java arguments do seem a bit unusual, especially given the fact that you are using Prism Launcher which doesn't really provide any additional arguments other than the amount of memory to be provided to the Java Virtual Machine and some other things. Although it shouldn't necessarily affect how this mod functions, I'd like to know where you acquired these arguments (if its okay of course).
It only occurs when the mod is installed. I tried disabling Rubidium Extra (forge port of Sodium Extra) and ThreatenGL works fine, it also now shows OpenGL 4.6.0 on F3 when it displayed 3.2.0 before so the mod is indeed working, just seems to be incompatible with Embeddium (Rubidium) Extra.
I obtained the JVM arguments from here: https://github.com/brucethemoose/Minecraft-Performance-Flags-Benchmarks
I tried replicating the issue on Fabric 1.19.2 and installing Sodium, Sodium Extra and ThreatenGL and it ran perfectly, no Sodium Extra incompatibility, then I tried doing a clean installation of Forge 1.19.2 with Embeddium, Embeddium (Rubidium) Extra and ThreatenGL and the crash persisted so the problem seems to be the Forge port of Rubidium Extra, I tried looking into that mixin of the Forge port and from line 31 to 38 it's a bit different:
I don't know if this is even useful but it might just help.
Additionally, the crash report with just Embeddium, Embeddium Extra and ThreatenGL does mention ThreatenGL so it might be helpful too.
Crash report:
[16:53:21] [Render thread/WARN] [mixin/]: @Redirect conflict. Skipping sodium-extra.mixins.json:reduce_resolution_on_mac.MixinWindow->@Redirect::onDefaultWindowHints(II)V with priority 1000, already redirected by threatengl.mixins.json:ThreatenGLMixin->@Redirect::hintOverride(II)V with priority 1000
[16:53:21] [Render thread/ERROR] [ne.mi.lo.CrashReportAnalyser/]: Failed to append suspected mod(s) to crash report!
org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An unexpected critical error was encountered
at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:392) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] {}
at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:250) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] {}
at org.spongepowered.asm.service.modlauncher.MixinTransformationHandler.processClass(MixinTransformationHandler.java:131) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] {}
at org.spongepowered.asm.launch.MixinLaunchPluginLegacy.processClass(MixinLaunchPluginLegacy.java:131) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] {}
at cpw.mods.modlauncher.serviceapi.ILaunchPluginService.processClassWithFlags(ILaunchPluginService.java:156) ~[modlauncher-10.0.8.jar:10.0.8+10.0.8+main.0ef7e830] {}
at cpw.mods.modlauncher.LaunchPluginHandler.offerClassNodeToPlugins(LaunchPluginHandler.java:88) ~[modlauncher-10.0.8.jar:?] {}
at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120) ~[modlauncher-10.0.8.jar:?] {}
at cpw.mods.modlauncher.TransformingClassLoader.maybeTransformClassBytes(TransformingClassLoader.java:50) ~[modlauncher-10.0.8.jar:?] {}
at cpw.mods.cl.ModuleClassLoader.readerToClass(ModuleClassLoader.java:113) ~[securejarhandler-2.1.4.jar:?] {}
at cpw.mods.cl.ModuleClassLoader.lambda$findClass$15(ModuleClassLoader.java:219) ~[securejarhandler-2.1.4.jar:?] {}
at cpw.mods.cl.ModuleClassLoader.loadFromModule(ModuleClassLoader.java:229) ~[securejarhandler-2.1.4.jar:?] {}
at cpw.mods.cl.ModuleClassLoader.findClass(ModuleClassLoader.java:219) ~[securejarhandler-2.1.4.jar:?] {}
at cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:135) ~[securejarhandler-2.1.4.jar:?] {}
at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?] {}
at java.lang.Class.getDeclaredMethods0(Native Method) ~[?:?] {}
at java.lang.Class.privateGetDeclaredMethods(Class.java:3402) ~[?:?] {}
at java.lang.Class.getDeclaredMethods(Class.java:2504) ~[?:?] {}
at net.minecraftforge.logging.CrashReportAnalyser.findMixinMerged(CrashReportAnalyser.java:188) ~[forge-1.19.2-43.3.8-universal.jar%23172!/:?] {re:classloading}
at net.minecraftforge.logging.CrashReportAnalyser.getMixinInfo(CrashReportAnalyser.java:211) ~[forge-1.19.2-43.3.8-universal.jar%23172!/:?] {re:classloading}
at net.minecraftforge.logging.CrashReportAnalyser.identifyByMixins(CrashReportAnalyser.java:147) ~[forge-1.19.2-43.3.8-universal.jar%23172!/:?] {re:classloading}
at net.minecraftforge.logging.CrashReportAnalyser.scanStacktrace(CrashReportAnalyser.java:116) ~[forge-1.19.2-43.3.8-universal.jar%23172!/:?] {re:classloading}
at net.minecraftforge.logging.CrashReportAnalyser.scanThrowable(CrashReportAnalyser.java:102) ~[forge-1.19.2-43.3.8-universal.jar%23172!/:?] {re:classloading}
at net.minecraftforge.logging.CrashReportAnalyser.analyseCrashReport(CrashReportAnalyser.java:55) ~[forge-1.19.2-43.3.8-universal.jar%23172!/:?] {re:classloading}
at net.minecraftforge.logging.CrashReportAnalyser.appendSuspectedMods(CrashReportAnalyser.java:39) ~[forge-1.19.2-43.3.8-universal.jar%23172!/:?] {re:classloading}
at net.minecraft.CrashReport.m_127519_(CrashReport.java:60) ~[client-1.19.2-20220805.130853-srg.jar%23167!/:?] {re:classloading}
at net.minecraft.CrashReport.m_127526_(CrashReport.java:114) ~[client-1.19.2-20220805.130853-srg.jar%23167!/:?] {re:classloading}
at net.minecraft.client.Minecraft.m_91332_(Minecraft.java:813) ~[client-1.19.2-20220805.130853-srg.jar%23167!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:sodium-extra.mixins.json:gui.MinecraftClientAccessor,pl:mixin:APP:embeddium.mixins.json:core.MixinMinecraftClient,pl:mixin:A,pl:runtimedistcleaner:A}
at net.minecraft.client.main.Main.m_239872_(Main.java:186) ~[client-1.19.2-20220805.130853-srg.jar%23167!/:?] {re:classloading,pl:runtimedistcleaner:A}
at net.minecraft.client.main.Main.main(Main.java:51) ~[client-1.19.2-20220805.130853-srg.jar%23167!/:?] {re:classloading,pl:runtimedistcleaner:A}
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {}
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}
at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {}
at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:27) ~[fmlloader-1.19.2-43.3.8.jar%23156!/:?] {}
at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) [modlauncher-10.0.8.jar%23143!/:?] {}
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-10.0.8.jar%23143!/:?] {}
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-10.0.8.jar%23143!/:?] {}
at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-10.0.8.jar%23143!/:?] {}
at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-10.0.8.jar%23143!/:?] {}
at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-10.0.8.jar%23143!/:?] {}
at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-10.0.8.jar%23143!/:?] {}
at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) [bootstraplauncher-1.1.2.jar:?] {}
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {}
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}
at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {}
at io.github.zekerzhayard.forgewrapper.installer.Main.main(Main.java:67) [ForgeWrapper-prism-2024-02-29.jar:prism-2024-02-29] {}
at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:100) [NewLaunch.jar:?] {}
at org.prismlauncher.EntryPoint.listen(EntryPoint.java:129) [NewLaunch.jar:?] {}
at org.prismlauncher.EntryPoint.main(EntryPoint.java:70) [NewLaunch.jar:?] {}
Caused by: org.spongepowered.asm.mixin.injection.throwables.InjectionError: Critical injection failure: Redirector onDefaultWindowHints(II)V in sodium-extra.mixins.json:reduce_resolution_on_mac.MixinWindow failed injection check, (0/1) succeeded. Scanned 1 target(s). Using refmap rubidium-extra-refmap.json
at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.postInject(InjectionInfo.java:468) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] {}
at org.spongepowered.asm.mixin.transformer.MixinTargetContext.applyInjections(MixinTargetContext.java:1362) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] {}
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyInjections(MixinApplicatorStandard.java:1051) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] {}
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMixin(MixinApplicatorStandard.java:400) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] {}
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:325) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] {}
at org.spongepowered.asm.mixin.transformer.TargetClassContext.apply(TargetClassContext.java:383) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] {}
at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:365) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] {}
at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:363) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] {}
... 49 more
Additionally, the crash report with just Embeddium, Embeddium Extra and ThreatenGL does mention ThreatenGL so it might be helpful too.
Ah yes, the additional crash log you provided is incredibly helpful. It shows that Embeddium and ThreatenGL are conflicting with each other because they're trying to modify the same method with a mixin. Computers being computers, can't really choose which one to choose over which without any context.
The best solution to this at the moment would simply be to temporarily disable ThreatenGL and use Embeddium instead, since realistically you will gain performance benefits from that mod more than ThreatenGL. 🤷🏻
I'll look further into mixin documentation but for now the only advice I can give is to just not use ThreatenGL with Embeddium enabled and vice versa. 👍
I've managed to get them both working by building a version of Embeddium Extra removing the "Reduce resolution on mac" mixin and any mention of it within the other files, it doesn't break anything for me anyway since I'm on windows.
Seeing as that got the mods working together it should be a problem on the Embeddium Extra mod, as the mod work well together out of the box on their Fabric counterparts.
I'm gonna leave the issue open since you might want to mess with ThreatenGL's mixin so it disables the mixin on Embeddium Extra's end or at least increase ThreatenGL's priority so mods don't conflict each other, thus causing the crash. If it's too much of a hassle, I've already opened an issue on Embeddium Extra's github so the other dev might fix the incompatibility on their end and you're welcome to close the issue.
Thanks!
I'm on PrismLauncher, Oracle Graalvm Enterprise Java 17. LWJGL 3.3.3, Forge 43.3.8 and using embeddium as to use sodium on Forge
Mods List
[✔] [1.19.2-forge]-Epic-Knights-9.8 [✔] AchievementOptimizer-1.19.2-1.0.2 [✔] adaptive_performance_tweaks_1.19.2-11.0.0 [✔] adaptive_performance_tweaks_core_1.19.2-11.0.0 [✔] adaptive_performance_tweaks_gamerules_1.19.2-11.0.0 [✔] adaptive_performance_tweaks_items_1.19.2-11.0.0 [✔] adaptive_performance_tweaks_player_1.19.2-11.0.0 [✔] adaptive_performance_tweaks_spawn_1.19.2-11.0.0 [✔] AI-Improvements-1.19.2-0.5.2 [✔] alternate-current-mc1.19-1.7.0 [✔] antibat-forge-1.19.2 [✔] appleskin-forge-mc1.19-2.4.2 [✔] architectury-6.6.92-forge [✔] arrowcollector-mc1.18-1.20-v0.0.2 [✔] AttributeFix-Forge-1.19.2-17.2.7 [✔] BadOptimizations-2.1.1 [✔] BeeFix-1.19-1.0.7 [✔] betteranimalsplus-1.19.2-11.0.10-forge [✔] BetterAnimationsCollection-v4.0.5-1.19.2-Forge [✔] betterchunkloading-1.19.2-4.2 [✔] BetterF3-4.0.1-Forge-1.19.2 [✔] betterfpsdist-1.19.2-4.1 [✔] biomemusic-1.19.2-2.2 [✔] block_limit_fix-1.0.5-forge [✔] bocchium-1.19.2-0.0.3 [✔] Bookshelf-Forge-1.19.2-16.3.20 [✔] brrp-forge-1.0.1-1.19.2 [✔] butchercraft-2.3.15 [✔] caelus-forge-1.19.2-3.0.0.6 [✔] canary-mc1.19.2-0.3.3 [✔] casualness_delight-1.19.2-0.4 [✔] clientcrafting-1.19.2-1.6 [✔] cloth-config-8.3.115-forge [✔] collective-1.19.2-7.60 [✔] configured-2.1.1-1.19.2 [✔] CorgiLib-forge-1.19.2-1.0.0.34 [✔] coroutil-forge-1.19.2-1.3.6 [✔] ctov-3.2.6c [✔] ctov-farmers-delight-compat-2.1 [✔] cullleaves-forge-3.0.1 [✔] cupboard-1.19.2-2.6 [✔] curios-forge-1.19.2-5.1.6.2 [✔] Delightful-1.19-3.1.3 [✔] dimthread-1.19.2-v1.0.4 [✔] dynamic-fps-3.4.3+minecraft-1.19.0-forge [✔] EasyEmerald-Forge-1.19.2-1.4.18 [✔] embeddium-0.3.18+mc1.19.2 [✔] EnchantingInfuser-v4.2.2-1.19.2-Forge [✔] EnhancedBlockEntities-Reforged-1.19.2-0.8.0 [✔] Entity_Collision_FPS_Fix-forge-1.18.2-1.0.0 [✔] entity_model_features_forge_1.19.2-2.0.2 [✔] entity_texture_features_forge_1.19.2-6.0.1 [✔] entityculling-forge-1.6.1-mc1.19.2 [✔] EpicFight-19.5.24 [✔] epicsamurai-0.0.17-1.19.2-forge [✔] essential_1-3-0-6_forge_1-19-2 [✔] FallingTree-1.19.2-3.10.1 [✔] FarmersDelight-1.19.2-1.2.4 [✔] farsight-1.19.2-3.6 [✔] fast-ip-ping-mc1.19.4-forge-v1.0.1 [✔] fastpaintings-1.19-1.1.3 [✔] fdcookbook-1.19.2-forge-1.5.1-rel [✔] ferritecore-5.0.3-forge [✔] Fishingreal-1.19.2-1.6.1 [✔] fishontheline-1.19.2-3.2 [✔] FixMySpawnR-forge-1.19.2-1.1.2 [✔] FriendlyFire-Forge-1.19.2-14.0.5 [✔] geckolib-forge-1.19-3.1.40 [✔] gpumemleakfix-1.19.2-1.6 [✔] handcrafted-forge-1.19.2-2.0.6 [✔] healingcampfire-1.19.2-5.3 [✔] heartstone-1.19.2-1.1.2 [✔] ImmediatelyFast-Forge-1.2.15+1.19.2 [✔] irons_spellbooks-1.19.2-3.1.4 [✔] jei-1.19.2-forge-11.6.0.1019 [✔] KryptonReforged-0.2.1 [✔] lazydfu-1.19-1.0.2 [✔] letmedespawn-1.18-forge-1.0.3 [✔] lightspeed-1.19.2-1.0.5 [✔] Log-Begone-Forge-1.19-1.0.6 [✔] MaxHealthFix-Forge-1.19.2-8.0.1 [✔] mcw-doors-1.1.0forge-mc1.19.2 [✔] mcw-lights-1.0.6-mc1.19.2forge [✔] mcw-trapdoors-1.1.3-mc1.19.2forge [✔] mcw-windows-2.2.1-mc1.19.2forge [✔] memoryleakfix-forge-1.17+-1.1.5 [✔] minecraft-comes-alive-7.5.14+1.19.2-universal [✔] mobtimizations-forge-1.19.2-1.0.0 [✔] modelfix-1.8 [✔] modernfix-forge-5.17.0+mc1.19.2 [✔] moonlight-1.19.2-2.3.5-forge [✔] nerb-1.19.2-0.3-FORGE [✔] neruina-forge-2.0.0-beta.10+1.19.2 [✔] no_hurt_animation-1.19-0.1 [✔] NoChatReports-FORGE-1.19.2-v1.5.1 [✔] nofishingbooks-1.19.2--1.0 [✔] NoFog-1.3.2+1.19.2-forge [✔] noisium-1.0.2 [✔] no-telemetry-1.8.0 [✔] notenoughanimations-forge-1.7.3-mc1.19.2 [✔] oculus-mc1.19.2-1.6.9 [✔] Oh_The_Biomes_You'll_Go-forge-1.19.2-2.0.1.6 [✔] out_of_sight-1.19.2-1.0.2 [✔] packetfixer-forge-1.3.2-1.19-to-1.20.1 [✔] Patchouli-1.19.2-77 [✔] player-animation-lib-forge-1.0.2 [✔] PuzzlesLib-v4.4.3-1.19.2-Forge [✔] raised-forge-1.19.2-3.1.3 [✔] recipeessentials-1.19.2-3.2 [✔] redirector-5.0.0 [✔] reforgium-1.0.12a [✔] resourcefullib-forge-1.19.2-1.1.24 [✔] ResourcefulTools-Forge-1.19.2-1.5.11 [✔] Rrls-1.19.2-3.1.1-forge [✔] rubidium-extra-0.4.19+mc1.19.2-build.105 [✔] saturn-mc1.19.2-0.1.4 [✔] servercore-forge-1.3.5+1.19.2 [✔] ShoulderSurfing-Forge-1.19.2-3.2.0 [✔] smoothboot(reloaded)-mc1.19.2-0.0.4 [✔] smoothchunk-1.19.2-3.5 [✔] spellbound-weapons-v4.0.1f [✔] staaaaaaaaaaaack-forge-1.19.2-1.4-63 [✔] starlight-1.1.1+forge.cf5b10b [✔] structureessentials-1.19.2-3.2 [✔] TerraBlender-forge-1.19.2-2.0.1.166 [✔] textrues_embeddium_options-0.1.1+mc1.19.2 [✔] threatengl-forge-1.3.2-beta.1 [✔] Towns-and-Towers-v.1.10-_FORGE-1.19.2_ [✔] travelersbackpack-forge-1.19.2-8.2.40 [✔] TravelersTitles-1.19.2-Forge-3.1.2 [✔] vmp-forge-mc1.19.2-0.2.0+beta.7.35-all [✔] watut-forge-1.19.2-1.0.14 [✔] Xaeros_Minimap_24.1.1_Forge_1.19.1 [✔] YungsApi-1.19.2-Forge-3.8.10 [✔] zmedievalmusic-1.19.2-2.0Java Arguments
Crash Report