Open PenumbraStar opened 2 years ago
@PenumbraStar Been looking at various different versions of Oculus, and this is the same issue I get as well on 1.2.2b - however, I do not have the freezing problem.
Can you try and see if these Java arguments fix the issue with the freezing after a few minutes at least?
-XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:-UseParallelGC -XX:-UseParallelGC -XX:-UseG1GC -XX:+UseZGC
This tells Java to use the newer Z Garbage Collector, which is generally faster and more efficient in my testing than the default garbage collector, and should be supported on JDK17.
What happened?
First off, I tested this with Optifine aswell and only had the issue with Oculus. I was also using Complementary Shaders for my testing.
After loading a world, and enabling shaders, the log will be spammed with:
[23:05:04] [Render thread/INFO] [mojang/GlDebug]: OpenGL debug message: id=1282, source=API, type=ERROR, severity=HIGH, message='GL_INVALID_OPERATION error generated. Depth formats do not match.'
Memory usage skyrockets and after about 2 minutes the game freezes.
Screenshots
No response
Relevant log output
Minecraft Version
1.18.2
Iris Version
oculus-mc1.18.2-1.2.2b
Sodium Version
rubidium-0.5.2a
Operating System
Windows 10
What is your GPU?
Nvidia Geforce RTX 3070 Ti
Java Version
AdoptOpenJDK 17.0.2.8-Hotspot
Additional context
latest.log