-
Notifications
You must be signed in to change notification settings - Fork 809
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
Game crashes at startup with GetFileVersionInfoSizeW failed, error=127 #2550
Comments
Can you please provide information on what operating system and hardware/drivers you're using? There's nothing here to diagnose the issue. Error 127 is |
Hi Jelly, I have windows 10 Pro 64 bit build 19045 on a Gigabyte P85-D3 Mainboard, i3-4160 CPU, 32GB Memory, Nvidia Geforce GTX 1650 with driver 555.99. I hope this help |
Can you see if this build fixes the problem? If not, please attach a new log file. |
This comment was marked as off-topic.
This comment was marked as off-topic.
[MODERATOR EDIT: Uploaded log file to GitHub Gist.] Log file: https://gist.github.com/jellysquid3/e62befe7bfa471074294c18d7675f0f3 |
It seems to load the version information for the NVIDIA driver without issue, but the Intel driver (ig75icd64.dll) fails. What's more troubling is that we don't get a full path to the driver file, which is probably why querying the version information does not work. So I guess we'd have to follow DLL search paths to see where the Intel driver is being loaded from... |
@Prezriw I've written a workaround to deal with the Intel graphics drivers being weird. Please try this build and upload a log file if it does not work. |
Not sure. Seems that it can't find the OpenGL ICD in |
thank you very much |
This comment was marked as off-topic.
This comment was marked as off-topic.
Ive also had this issue, using AMD 7900 xt gpu using latest amd drivers. |
also having this issue. RTX 3050 Ti with latest drivers |
Please, make absolute certain the exact error you're seeing is:
If you are getting this error, see this comment and run the build which is attached. Then, upload your log file (as an attachment) so that we can look into what's going on. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
So i have no idea if it was related or not but i changed my LWJGL version to 3.3.3 and it started correctly. I noticed a message before the crash talking about an unsupported jni version saying it could cause crashes, so i updated LWJGL and it worked. I updated my instance from 1.20.1 so it might not be a problem to anyone else but if you can update LWJGL, try that |
I have disabled my intel video card in my bios, and sodium is working with ver. mc1.21-059 so it seems that the problem might be with the Intel video. Thank you Jelly. |
Bug Description
When I start minecraft, sodium crashes with the following error.
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 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)
Caused by: java.lang.RuntimeException: Could not execute entrypoint stage 'preLaunch' due to errors, provided by 'sodium'!
at net.fabricmc.loader.impl.FabricLoaderImpl.lambda$invokeEntrypoints$2(FabricLoaderImpl.java:388)
at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33)
at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:386)
at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:160)
... 2 more
Caused by: java.lang.RuntimeException: GetFileVersionInfoSizeW failed, error=127
at me.jellysquid.mods.sodium.client.platform.windows.api.version.Version.getModuleFileVersion(Version.java:63)
at me.jellysquid.mods.sodium.client.platform.windows.api.d3dkmt.D3DKMT.queryDriverVersion(D3DKMT.java:127)
at me.jellysquid.mods.sodium.client.platform.windows.api.d3dkmt.D3DKMT.getAdapterInfo(D3DKMT.java:95)
at me.jellysquid.mods.sodium.client.platform.windows.api.d3dkmt.D3DKMT.queryAdapters(D3DKMT.java:58)
at me.jellysquid.mods.sodium.client.platform.windows.api.d3dkmt.D3DKMT.findGraphicsAdapters(D3DKMT.java:44)
at me.jellysquid.mods.sodium.client.compatibility.environment.probe.GraphicsAdapterProbe.findAdapters$Windows(GraphicsAdapterProbe.java:48)
at me.jellysquid.mods.sodium.client.compatibility.environment.probe.GraphicsAdapterProbe.findAdapters(GraphicsAdapterProbe.java:25)
at me.jellysquid.mods.sodium.client.SodiumPreLaunch.onPreLaunch(SodiumPreLaunch.java:11)
at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:384)
... 3 more
Reproduction Steps
I Start Mincraft through Modrinth App. with fabric loader 0.15.11, and only 2 mods, Fabric API 0.100.1+1.21 and Sodium MC1.21-0.5.7
Log File
latest.log
Crash Report
no crash report generated
The text was updated successfully, but these errors were encountered: