Skip to content

OpenGL error spam ('GL_INVALID_OPERATION error generated. Depth formats do not match.') in logs with Immersive Engineering + Estrogen when shaders enabled #855

@lulunexi

Description

@lulunexi

What happened?

I was testing a pack with Oculus, Immersive Engineering, and Estrogen among others. After enabling shaders, I noticed my logs were being spammed every ~10-20ms with

[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.'

I eventually narrowed the spam down to just these 3 mods, the error only occurs with all 3 and shaders enabled. The spam doesn't occur if only 2 of the mods are installed, or if shaders are just disabled.

Minimal Reproduction List

  • Oculus 1.8.0
  • Estrogen 5.0.8+1.20.1
  • Immersive Engineering 1.20.1-10.2.0-183

Reproduction Steps

  1. Install 1.20.1 Forge 47.4.10
  2. Install Oculus + Embeddium
  3. Add Immersive Engineering + Estrogen
  4. Load a world
  5. Enable a shaderpack
    Spam continues until shaders are disabled.

Screenshots

Image

Relevant log output

Following instructions listed in the Bug Report template. Unsure what is relevant, so I will be pasting all latest/debug.log outputs of the different tests

1. Oculus + Estrogen + Immersive Engineering, 
2. Oculus + Estrogen, 
3. Oculus + Immersive Engineering

in the Additional context section.

Minecraft Version

Minecraft 1.20.1

Oculus Version

oculus-mc1.20.1-1.8.0.jar

Rubidium / Embeddium Version

embeddium-0.3.31+mc1.20.1.jar

Operating System

Windows 11

What is your GPU?

Nvidia GeForce GTX 1060 3GB

Java Version

Java 17.0.8

Additional context

Logs

I did 3 tests with different configurations of mods, each includes the latest.log and debug.log

Test Procedure:

  1. Launch game
  2. Create a new world
  3. Enable shaders
  4. Disable shaders
  5. Exit world and close game.

With Oculus + Estrogen + Immersive Engineering (Spam occurs)

Oculus-Estrogen-ImmersiveEngineering-WithSpam-debug.log
Oculus-Estrogen-ImmersiveEngineering-WithSpam-latest.log

With Oculus + Estrogen (No spam)

Oculus-Estrogen-NoSpam-debug.log
Oculus-Estrogen-NoSpam-latest.log

With Oculus + Immersive Engineering (No spam)

Oculus-ImmersiveEngineering-NoSpam-debug.log
Oculus-ImmersiveEngineering-NoSpam-latest.log

Related Issue(s)

The closest related reports seemed to be Issue 71, and Issue 47. They both had the exact same
'GL_INVALID_OPERATION error generated. Depth formats do not match.'
spam, but those reports only required Immersive Engineering and the issue appears to be resolved.

This issue only occurs when both Immersive Engineering and Estrogen are installed with Oculus and shaders enabled, which makes this a different issue.

If we follow what DejaVuMan said (according to others) in issue 71, it's possible that this could be ignored entirely (shaders are also working fine on my end, with no noticeable FPS drop) but I figured it was worth the report at least.

Some people say that these are "false flag" errors and aren't actually an issue - shaders seem to be working fine, but can't be sure (also to clarify, this is on an Nvidia GPU)

There were some other old issues I saw with IE and a similar 1282 error but they had a different end bit, ex. Issue 513 that has <texture> is not a valid texture name. instead of Depth formats do not match, so I don't believe those ones are related.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions