Skip to content
New issue

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

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

Already on GitHub? # to your account

Crash on Snapdragon X Elite #2927

Open
asdfghjkl403622 opened this issue Dec 8, 2024 · 2 comments
Open

Crash on Snapdragon X Elite #2927

asdfghjkl403622 opened this issue Dec 8, 2024 · 2 comments
Labels
A-drivers Area: Driver compatibility T-bug Type: Bug

Comments

@asdfghjkl403622
Copy link

Bug Description

No response

Reproduction Steps

attempt to launch an instance with sodium on a snapdragon x elite laptop

Log File

https://mclo.gs/ZpgNxhl

Crash Report

A mod crashed on startup!
net.fabricmc.loader.impl.FormattedException: java.lang.RuntimeException: Could not execute entrypoint stage 'preLaunch' due to errors, provided by 'sodium' at 'me.jellysquid.mods.sodium.client.SodiumPreLaunch'!
at net.fabricmc.loader.impl.FormattedException.ofLocalized(FormattedException.java:63)
at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:162)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:68)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
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)
Caused by: java.lang.RuntimeException: Could not execute entrypoint stage 'preLaunch' due to errors, provided by 'sodium' at 'me.jellysquid.mods.sodium.client.SodiumPreLaunch'!
at net.fabricmc.loader.impl.FabricLoaderImpl.lambda$invokeEntrypoints$2(FabricLoaderImpl.java:403)
at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33)
at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:401)
at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:160)
... 5 more
Caused by: java.lang.NullPointerException: Cannot invoke "String.matches(String)" because "driverName" is null
at knot//me.jellysquid.mods.sodium.client.compatibility.checks.PreLaunchChecks.findIntelDriverMatchingBug899(PreLaunchChecks.java:123)
at knot//me.jellysquid.mods.sodium.client.compatibility.checks.PreLaunchChecks.onGameInit(PreLaunchChecks.java:60)
at knot//me.jellysquid.mods.sodium.client.SodiumPreLaunch.onPreLaunch(SodiumPreLaunch.java:13)
at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:399)
... 6 more

I can't generate a crash report because the game crashes before I get to the main menu, and there is nothing in th ecrash report directory.

@asdfghjkl403622 asdfghjkl403622 added the S-needs-triage Status: Needs triage label Dec 8, 2024
@asdfghjkl403622
Copy link
Author

sodium works on 1.21.4 but not on 1.20.1

@jellysquid3
Copy link
Member

Sodium 0.5 has a bug with detecting certain OpenGL drivers since they don't provide a driver name. This was fixed in Sodium 0.6 but we haven't backported the changes yet.

@jellysquid3 jellysquid3 added T-bug Type: Bug A-drivers Area: Driver compatibility and removed S-needs-triage Status: Needs triage labels Dec 8, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
A-drivers Area: Driver compatibility T-bug Type: Bug
Projects
None yet
Development

No branches or pull requests

2 participants