Page 1 of 1

Intel(R) HD Graphics - GL 3.1.0 - Crash

Posted: 07 Jun 2022, 13:57
by jack.barkov
Hello guys!

Noesis is OpenGL 3.1+ compatible correct?
The GLSL required today is 140 from what I saw on NoesisApp.

There is an error starting noesis with some computers that use OpenGL 3.1.

The error in question is:
"Link program failed: Interpolation of color does not match in vertex and fragment shaders."
File: noesis-gui\Src\Packages\Render\GLRenderDevice\Src\GLRenderDevice.cpp
Line: 2264

This happens with some hardware, and they all get the exact same error...

These are the computers I tested:
  • GL Renderer: Intel(R) HD Graphics - GL Version: 3.1.0 - Build 8.15.10.2696
  • GL Renderer: Intel(R) HD Graphics - GL Version: 3.1.0 - Build 9.17.10.3517
  • GL Renderer: Intel(R) HD Graphics - GL Version: 3.1.0 - Build 9.17.10.4229
  • GL Renderer: Intel(R) HD Graphics - GL Version: 3.1.0 - Build 9.17.10.4459
  • GL Renderer: Intel(R) HD Graphics Family - GL Version: 3.1.0 - Build 8.15.10.2538
  • GL Renderer: Intel(R) HD Graphics Family - GL Version: 3.1.0 - Build 8.15.10.2559
  • GL Renderer: Intel(R) HD Graphics 2000 - GL Version: 3.1.0 - Build 9.17.10.4229
  • GL Renderer: Intel(R) HD Graphics 2000 - GL Version: 3.1.0 - Build 9.17.10.4459
  • GL Renderer: Intel(R) HD Graphics 3000 - GL Version: 3.1.0 - Build 9.17.10.2843
  • GL Renderer: Intel(R) HD Graphics 3000 - GL Version: 3.1.0 - Build 9.17.10.3517
  • GL Renderer: Intel(R) HD Graphics 3000 - GL Version: 3.1.0 - Build 9.17.10.4229
  • GL Renderer: Intel(R) HD Graphics 3000 - GL Version: 3.1.0 - Build 9.17.10.4459
  • GL Renderer: Intel(R) HD Graphics 4000 - GL Version: 3.1.0 - Build 8.15.10.2712
As you can see, they are all OpenGL 3.1.0, and they are integrated cards from Intel.

In the tests were used: Windows 7 and Windows 10.

Any idea what might be going on?

This problem happens in your examples as well.

Thanks.

Re: Intel(R) HD Graphics - GL 3.1.0 - Crash

Posted: 07 Jun 2022, 14:00
by jack.barkov
I'm attaching a glewinfo from one of the computers that is having problems.


Re: Intel(R) HD Graphics - GL 3.1.0 - Crash

Posted: 07 Jun 2022, 14:13
by jsantos
Thanks for the detailed report. Could you please open a ticket about this?

Re: Intel(R) HD Graphics - GL 3.1.0 - Crash

Posted: 07 Jun 2022, 14:17
by jsantos
Our vertex shader uses "flat" for the color
#ifdef HAS_COLOR
    in vec4 attr_color;
    flat out vec4 color;
#endif
And the same modifier is used in the fragment shader:
#ifdef HAS_COLOR
    flat in vec4 color;
#endif
Not sure, why Intel drivers are complaining and when we broke this. I will check ASAP.

Re: Intel(R) HD Graphics - GL 3.1.0 - Crash

Posted: 07 Jun 2022, 14:32
by jack.barkov
Sure!

https://www.noesisengine.com/bugs/view.php?id=2357

Thanks jsantos, I will wait for you reply.