Iris Shaders

Iris Shaders

38M Downloads

weird log when applying some shaders (old Nvidia driver)

Lolothepro opened this issue ยท 5 comments

commented

What happened?

weird log when applying Sildur's Enhanced Default Fancy.

Screenshots

No response

Log output

latest.log

[17:41:13] [Render thread/WARN]: [composite] Unsupported uniform: _main_check_offsets_0[0] of size 25 and type vec2
[17:41:13] [Render thread/WARN]: [textured] Unsupported uniform: _main_offsets_3[0] of size 8 and type vec2
[17:41:13] [Render thread/WARN]: [textured_color] Unsupported uniform: _main_offsets_3[0] of size 8 and type vec2
[17:41:13] [Render thread/WARN]: [sky_textured] Unsupported uniform: _main_offsets_0[0] of size 8 and type vec2
[17:41:13] [Render thread/WARN]: [sky_textured_color] Unsupported uniform: _main_offsets_0[0] of size 8 and type vec2
[17:41:13] [Render thread/WARN]: [clouds] Unsupported uniform: _main_offsets_0[0] of size 8 and type vec2
[17:41:13] [Render thread/WARN]: [terrain_solid] Unsupported uniform: _main_offsets_3[0] of size 8 and type vec2
[17:41:13] [Render thread/WARN]: [terrain_cutout] Unsupported uniform: _main_offsets_3[0] of size 8 and type vec2
[17:41:14] [Render thread/WARN]: [terrain_cutout_mipped] Unsupported uniform: _main_offsets_3[0] of size 8 and type vec2
[17:41:14] [Render thread/WARN]: [terrain_translucent] Unsupported uniform: _main_offsets_3[0] of size 8 and type vec2
[17:41:14] [Render thread/WARN]: [moving_block] Unsupported uniform: _main_offsets_3[0] of size 8 and type vec2
[17:41:14] [Render thread/WARN]: [entities_alpha] Unsupported uniform: _main_offsets_3[0] of size 8 and type vec2
[17:41:14] [Render thread/WARN]: [entities_solid] Unsupported uniform: _main_offsets_3[0] of size 8 and type vec2
[17:41:14] [Render thread/WARN]: [entities_solid_diffuse] Unsupported uniform: _main_offsets_3[0] of size 8 and type vec2
[17:41:14] [Render thread/WARN]: [entities_solid_bright] Unsupported uniform: _main_offsets_3[0] of size 8 and type vec2
[17:41:14] [Render thread/WARN]: [entities_cutout] Unsupported uniform: _main_offsets_3[0] of size 8 and type vec2
[17:41:14] [Render thread/WARN]: [entities_cutout_diffuse] Unsupported uniform: _main_offsets_3[0] of size 8 and type vec2
[17:41:14] [Render thread/WARN]: [entities_eyes] Unsupported uniform: _main_offsets_3[0] of size 8 and type vec2
[17:41:14] [Render thread/WARN]: [entities_eyes_trans] Unsupported uniform: _main_offsets_3[0] of size 8 and type vec2
[17:41:14] [Render thread/WARN]: [hand_cutout] Unsupported uniform: _main_offsets_3[0] of size 8 and type vec2
[17:41:14] [Render thread/WARN]: [hand_cutout_bright] Unsupported uniform: _main_offsets_3[0] of size 8 and type vec2
[17:41:14] [Render thread/WARN]: [hand_cutout_diffuse] Unsupported uniform: _main_offsets_3[0] of size 8 and type vec2
[17:41:15] [Render thread/WARN]: [hand_text] Unsupported uniform: _main_offsets_3[0] of size 8 and type vec2
[17:41:15] [Render thread/WARN]: [hand_text_intensity] Unsupported uniform: _main_offsets_3[0] of size 8 and type vec2
[17:41:15] [Render thread/WARN]: [hand_translucent] Unsupported uniform: _main_offsets_3[0] of size 8 and type vec2
[17:41:15] [Render thread/WARN]: [hand_water_bright] Unsupported uniform: _main_offsets_3[0] of size 8 and type vec2
[17:41:15] [Render thread/WARN]: [hand_water_diffuse] Unsupported uniform: _main_offsets_3[0] of size 8 and type vec2
[17:41:15] [Render thread/WARN]: [lightning] Unsupported uniform: _main_offsets_3[0] of size 8 and type vec2
[17:41:15] [Render thread/WARN]: [particles] Unsupported uniform: _main_offsets_3[0] of size 8 and type vec2
[17:41:15] [Render thread/WARN]: [weather] Unsupported uniform: _main_offsets_3[0] of size 8 and type vec2
[17:41:15] [Render thread/WARN]: [crumbling] Unsupported uniform: _main_offsets_3[0] of size 8 and type vec2
[17:41:15] [Render thread/WARN]: [text] Unsupported uniform: _main_offsets_3[0] of size 8 and type vec2
[17:41:15] [Render thread/WARN]: [text_intensity] Unsupported uniform: _main_offsets_3[0] of size 8 and type vec2
[17:41:15] [Render thread/WARN]: [text_be] Unsupported uniform: _main_offsets_3[0] of size 8 and type vec2
[17:41:15] [Render thread/WARN]: [text_intensity_be] Unsupported uniform: _main_offsets_3[0] of size 8 and type vec2
[17:41:15] [Render thread/WARN]: [block_entity] Unsupported uniform: _main_offsets_3[0] of size 8 and type vec2
[17:41:15] [Render thread/WARN]: [block_entity_bright] Unsupported uniform: _main_offsets_3[0] of size 8 and type vec2
[17:41:15] [Render thread/WARN]: [block_entity_diffuse] Unsupported uniform: _main_offsets_3[0] of size 8 and type vec2
[17:41:15] [Render thread/WARN]: [beacon] Unsupported uniform: _main_offsets_3[0] of size 8 and type vec2
[17:41:15] [Render thread/WARN]: [glint] Unsupported uniform: _main_offsets_3[0] of size 8 and type vec2

Minecraft Version

Minecraft 1.19.2

Iris Version

Iris 1.3.1

Operating System

Linux Mint 21

What is your GPU?

GT 210

Additional context

No response

commented

This also happens with Lux

Unsupported uniform: _main_neighbourhoodOffsets_0[0] of size 8 and type vec2
(https://github.com/TechDevOnGitHub/Lux-Shader/blob/main/shaders/lib/antialiasing/taa.glsl)

commented

There is more spam in the log file with versions of Iris higher than Iris 1.2.5.

commented

But why is "Offsets" an issue when it is a constant? And why doesn't it happen with Optifine?

commented

This just seems like a bug in the NVIDIA driver causing it to return bogus results to Iris? If this doesn't occur on new NVIDIA drivers then there's probably not much we can do here. glGetActiveUniform clearly states that this only applies to uniform variables, but this is applying to a random const declaration as you've demonstrated with the Lux comment: https://registry.khronos.org/OpenGL-Refpages/gl4/html/glGetActiveUniform.xhtml. I can't think of a decent workaround for the driver just ignoring the spec here, so there's not much we can do.

commented

Optifine never reports unsupported uniforms to begin with, so this issue does not show.