Sodium Extra

Sodium Extra

25M Downloads

Cannot open Video setting with sodium extras installed

offbeat-stuff opened this issue ยท 11 comments

commented

Make sure you are not opening a duplicate.

Minecraft version.

1.18.2

Sodium Extra version.

0.4.3

Sodium version.

0.4.1

What happened?

I am not able to open video settings with sodium extras installed. Everything works ok with the mod installed.

Relevant log.

2022-04-04_05 39 47
latest-world-join.log
console-output.txt
latest-no-world-join.log

  • My config

Additional information.

No response

commented

It looks like you are using a custom fork of Sodium, the build numbers don't match Sodium's releases. I have no way of debugging this as you are also running it via PojavLauncher which is not officially supported.

commented

The latest-no-world-join.log has the error message from sodium-extra

commented

@FlashyReese This line is giving the error

Validate.isTrue(max > min, "The maximum value must be greater than the minimum value");
according to the log

commented

Actually there seems to be a series of errors in the log

commented

I ran into this issue on PojavLauncher previously, the code path breaks somehow when using PojavLauncher even though it's the code is identical to Sodium's SliderControl.

Unfortunately, I can't just remove it for sake of using it with Pojav; but if you are knowledgeable with Java and know how to compile it yourself.

You can replace the following with Sodium's SliderControl.

.setControl(option -> new SliderControlExtended(option, 0, 33, 1, ControlValueFormatterExtended.fogDistance(), false))

.setControl(option -> new SliderControlExtended(option, 0, window.getMonitor() != null ? window.getMonitor().getVideoModeCount() : 0, 1, ControlValueFormatterExtended.resolution(), false))

commented

You can also disable that mixin via .minecraft\config\sodium-extra.properties and adding mixin.sodium.resolution=false

commented

mixin.sodium.resolution=false
Did it thanks

commented

Sorry Didnt read your message until now because I did not refresh the page and your messages did not show up.

commented

I also have disabled sodium chunk rendering