Sodium

Sodium

35M Downloads

Unable to update Intel graphics driver to 15.33.53.5161

rocketguedes opened this issue ยท 23 comments

commented

Bug Description

I cant start minecraft cause show this error telling me i have old driver for Intel, but I have a dedicated NVIDIA GTX 1050 ti, idk why sodium is using the integrated GPU, or caring about that.

My CPU i5 3570 have a HD Graphics 2500, but im not using it. Has no HDMI connect to it. I just use the QSV on OBS.

Captura de tela 2024-04-25 161739

Reproduction Steps

Just start from the Official Minecraft Launcher (Fabric Loader + Fabric API + Sodium + Iris)

Log File

latest.log

Crash Report

no crash report, game not start

commented

A lot of work has been done on fixing this. We've written over 1000 lines of code to replace the existing graphics adapter probe with something more robust. We need to carry out some additional testing but can release a hot fix in the coming days if everything works out.

commented

Fixed with 4041519...b1164fb. Will be backported and published here in the next few days.

commented

We're already aware of this problem - a fix is currently in the works.

commented

The bug report's assumption as written is not correct. The problem is that Minecraft 1.20.5 changed the version of Oshi being used, and it now returns different version strings which Sodium doesn't know how to deal with. Not helping matters is that Intel uses both 10.18.10.5161 and 15.33.53.5161 in different places (why?!) to mean the same thing.

commented

The bug report's assumption as written is not correct. The problem is that Minecraft 1.20.5 changed the version of Oshi being used, and it now returns different version strings which Sodium doesn't know how to deal with. Not helping matters is that Intel uses both 10.18.10.5161 and 15.33.53.5161 in different places (why?!) to mean the same thing.

You're right! Using ATlauncher I created a 1.20.4 instance using the latest available mods versions and it has been started as expected with no crashes. The crash only happens in version 1.20.5.

commented

image
so any updates on this?

also before someone asks
image

commented

The problem is that at the point this check runs, we cannot know what GPU Minecraft is running on. It's not smart to assume it's running on the better GPU.

commented

it should be assumed, it's nonsensical to run a newer version of minecraft like 1.20 to hardware it doesn't support, most older iGPU from intel have buggy OpenGL support, so it's even another problem that should be avoided
but if you really insist on doing that, atleast add a config to ignore the result of the check so the game actually runs instead of not running at all unless you disable the iGPU or uninstall sodium and the mods that depend on it

commented

There is a config. You can pass in -Dsodium.checks.win32.intelGen7=false.

commented

well, i didn't actually knew, thank you

commented

are you kidding me, that after taking a good hard look at the code, it already scans for GPUs yet NOBODY actually checking if there are any other GPUs installed on the system?
this code already handles that, yet no one actually tried doing something?
just add another check here and you're done already

commented

Create a PR if this is so simple...

commented

i will once i manage to test the changes, but that takes time from me, that i don't code for java, so i don't have anything to compile or test the code.
also this has been a issue for over 2 weeks now, it shouldn't take a stranger to come and fix it for them

commented

You can be frustrated about not being able to use the mod due to a bug. But going on a tirade about how you supposedly know better, while having zero context as to why the code is written that way or the problems involved, is unacceptable.

The problem is not that we do not check for multiple GPUs. The problem is that OSHI (code that we do not write, and for which Minecraft updated) has changed the way they provide information about GPUs, and it no longer works reliably or returns the correct information. We have to replace a lot of code to fix these problems correctly.

commented

There is a config. You can pass in -Dsodium.checks.win32.intelGen7=false.

where do i type this in ?

commented

@airpicnoobez If you're using Minecraft Launcher, go to the installations page, edit your Fabric installation, click 'more options', then add that argument to the end of your JVM arguments.

commented

are the drivers required or is there a way to bypass it? My laptop can not run the drivers its asking for cuz im on a potato

commented

are the drivers required or is there a way to bypass it? My laptop can not run the drivers its asking for cuz im on a potato

There is a way described above with the JVM flags but don't be surprised if it turns out completely broken.

Also, there is no real reason why "running on a potato" would prevent you from running those drivers if your iGPU is from the proper generation as described in the wiki (in the linked wikipedia table)... You'll have to seek support for this particular issue elsewhere.

commented

are the drivers required or is there a way to bypass it? My laptop can not run the drivers its asking for cuz im on a potato

There is a way described above with the JVM flags but don't be surprised if it turns out completely broken.

Also, there is no real reason why "running on a potato" would prevent you from running those drivers if your iGPU is from the proper generation as described in the wiki (in the linked wikipedia table)... You'll have to seek support for this particular issue elsewhere.
i have an i5 3210 but i can run 1.20.4 without problems. I cant use the latest drivers on that and the jvm arg didnt work
any other ideas please?

commented

Bug Description

I cant start minecraft cause show this error telling me i have old driver for Intel, but I have a dedicated NVIDIA GTX 1050 ti, idk why sodium is using the integrated GPU, or caring about that.

My CPU i5 3570 have a HD Graphics 2500, but im not using it. Has no HDMI connect to it. I just use the QSV on OBS.

Captura de tela 2024-04-25 161739

Reproduction Steps

Just start from the Official Minecraft Launcher (Fabric Loader + Fabric API + Sodium + Iris)

Log File

latest.log

Crash Report

no crash report, game not start

same for me intel pentium 2117U processor

commented

We don't need additional "me too" posts. You have one of two options if you're absolutely certain your graphics drivers are up-to-date:

  • Downgrade to Minecraft 1.20.4 (or 1.20.1) and wait for Sodium to publish an update which works around the bug in Minecraft.
  • Add the JVM argument -Dsodium.checks.win32.intelGen7=false to your game's launch settings. This skips the check, but you will still run into problems if your drivers are not up-to-date.
commented

See issue #2498 for technical information/tracking on the problem.

commented

There is a config. You can pass in -Dsodium.checks.win32.intelGen7=false.

Didn't work.