Iris Shaders

Iris Shaders

36M Downloads

Iris expecting custom verson name on Sodium

ObscenityIB opened this issue · 15 comments

commented

What happened?

You do not have a compatible version of Sodium installed! You have 0.3.0+rev.7aa70e5 but 0.3.0+IRIS1 is expected

Iris is expecting a custom version name, despite being said to be able to be used without the bundled sodium in the release.

Screenshots

No response

Relevant log output

No response

Iris and Minecraft Version

iris-mc1.17-1.1.0+rev.15e94e6 (64c239d) - MC 1.17.1 - sodium-fabric-mc1.17.1-0.3.0+rev.7aa70e5 (7aa70e59235072767ebd666a23c70bfaee13493c)

Are you running Sodium along with Iris?

Yes

Operating System

Windows 10

What is your GPU?

Nvidia GTX 1050

Java Version

Oracle Java 16 to Build - MC Bundled OpenJDK 16 to Run

Additional context

No response

commented

Yes

commented

last action seems to have a problem

Exception in thread "main" java.lang.RuntimeException: Failed to read accessWidener file from mod iris
	at net.fabricmc.loader.FabricLoader.loadAccessWideners(FabricLoader.java:447)
	at net.fabricmc.loader.launch.knot.Knot.init(Knot.java:156)
	at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:28)
	at me.deftware.client.framework.main.Main.main(Main.java:43)
Caused by: java.lang.RuntimeException: Namespace (named) does not match current runtime namespace (intermediary)
	at net.fabricmc.accesswidener.AccessWidenerReader.read(AccessWidenerReader.java:47)
	at net.fabricmc.loader.FabricLoader.loadAccessWideners(FabricLoader.java:445)
	... 3 more

iris works if i remove the last sodium artifact

commented

You're attempting to use the -dev jar, when you should use the jar without -dev or -sources.

commented

i used sodium-fabric-mc1.17.1-0.3.0+IRIS1-build.59.jar not sodium-fabric-mc1.17.1-0.3.0+IRIS1-build.59-dev.jar

commented

oh iris is dev, yeah that was it

commented

The bundled sodium must be used if you wish to use sodium, as Iris includes changes to sodium. (You can also build the fork, from our organization.)

commented

Is there a switch to pass to gradle to include sodium?
@IMS212

commented

Sadly, no. If you wish to make a dual (sodium-integrated) jar, you need to build both, then modify the iris jar to include sodium’s jar

commented

Alright, ill run without sodium until the release version is updated

commented

You can manually build sodium, then just add it as a mod if you wish.

commented

The sodium fork also has github actions on

commented

Looks like it was definitely a memory leak.
Happening on the latest too.

14:26:52.897
COM exception querying Win32_VideoController, which might not be on your system. Will not attempt to query it again. Error was -2147217402: (HRESULT: 80041006)
14:26:52.900
COM exception querying Win32_PhysicalMemory, which might not be on your system. Will not attempt to query it again. Error was -2147217402: (HRESULT: 80041006)

image

commented

so, feedback after trying it for a while.

works very well, none of the performance loss i get with shaders on OF.
so far only issue is on occasion when rotating the camera, the game will freeze and crash on the render thread

but yeah, whenever thats ironed out, this is definitely going to be my go-to for shaders

commented

Can you try the latest builds of Iris and Sodium, they fix a few memory leak issues.