Iris & Oculus Flywheel Compat

Iris & Oculus Flywheel Compat

15M Downloads

[Bug] GL Error leads to extreme log spam and diminished performance

Erdragh opened this issue ยท 4 comments

commented

Here's the Prism Log that includes the stack traces: https://gist.github.com/Erdragh/1973ed14c9d528688c15c6b1c7fbe6d0

System Information:

PrismLauncher 7.2 in the flatpak version.

OS: Arch Linux
Processor: Ryzen 7 7800x3D
GPU: Radeon RX 7900XT
Allocated Memory: min: 2G, max 8G

Kernel Version: 6.4.7-zen1-2-zen
System Mesa Version: 23.1.4-2
Mesa Version specified in Debug Screen: 23.1.1 (git-fa55e3c026)

Minecraft Version: 1.18.2
Iris Version: 1.6.5
Sodium Version: 0.4.1+build.15


I've yet to find a reliable way to reproduce the issue outside the domain of initial discovery, that being the following:

Playing on a server with a lot of bases for the Create: Astral modpack. Here's a modlist: https://gist.github.com/Erdragh/7cf62edb143daa0c29d6113aa2eeca29
The modpack includes Version 2.0.3 of the Complementary Reimagined Shaderpack by default. The issue also appears with more up-to-date versions of the shaderpack and other shaders, I've tested the following:

  • BSL (8.2.04)
  • Builder's QOL (2.10.0)
  • RedHat (34.1)

The lag and log spam do not appear when disabling Real Time Shadows in the Complementary Reimagined Shader settings, however, that's a major part of the shaderpack and would be a major sacrifice to have to play without.

It also doesn't happen always, only when looking in certain directions, see the following demonstration:

minecraftPerformanceIssue.mp4

If you need a world file to reproduce the issue, the only thing I can provide is a download of an official server, which should not yet be shared publicly, as the same world is still active currently. If this is something that would help you debug the issue, I would be happy to facilitate a private exchange.

commented

Thanks for the suggestion! Sadly, neither an update to 1.1.12 of ImmediatelyFast nor disabling the error checking resolved the issue.

commented

I'm still looking for things that could help, here's something I found:

Issues with glDrawElements on AMD:
https://community.khronos.org/t/gldrawelements-gl-invalid-operation-on-amd-gpu/105079

commented

I've heard people in the modpack I'm playing having problems with an older version of the ImmediatelyFast mod while using an AMD GPU.
You are using 1.1.10. The latest for 1.18.2 is 1.1.12 which promises the following:

  • Reduced OpenGL state tracking overhead
  • Experimental: Added option to disable OpenGL error checking (Reduce overhead)
    Might be related to your issue.
commented

I think this is #59. which I understand but don't yet have a fix PR for (yet)