Developing Games on Intel Graphics
If you are gaming on graphics integrated in your Intel Processor, this is the place for you! Find answers to your questions or post your issues with PC games
498 Discussions

OpenGL context crash/freeze on Intel UDH/UDH620/UHD630

Pintea
Novice
3,837 Views

The issue has been described in detail here on the Graphics forum, but they sent me to this forum.

Basically the driver crashes when drawing any two VBOs with some two shaders. Isolated issue and posted code to reproduce it.

5 Replies
andrewbt
Novice
3,739 Views
0 Kudos
andrewbt
Novice
3,736 Views
In fact reading your description in original graphics thread in certain these issues are related. We are using instancing with multiple shaders and this crashes on Intel gpus.
0 Kudos
Pintea
Novice
3,709 Views

I wish you all the best. I have gotten no response until now, except to try it with a new driver every time a new one comes out.

Even though I posted a repro case with 100 lines of code or so, including shaders.

 

Anyway, it gets fixed by changing various (random) things in the shader. What I did was to replace:

float var = float(gl_VertexID % 2); // 0 or 1

 

with

if ((gl_VertexID % 2) == 0)
 var = 0;
else
 var = 1;

0 Kudos
andrewbt
Novice
3,702 Views
Thanks for the info, yes random things fixed it for us too. For example calling GL_Viewport in the wrong place = crash. I can hold out hope Intel will take a look at these threads and publish a fix but so far doesn’t seem likely!
0 Kudos
Pintea
Novice
3,482 Views

Getting back to this: it seems it also has something to do with having a sRGB backbuffer. If I don't enable SRGB, a ton of similar freezes go away.

0 Kudos
Reply