Developing Games on Intel Graphics
Ask us questions and get answers, tips, tweaks & techniques from product and technology experts.
Announcements
The Intel sign-in experience is changing in February to support enhanced security controls. If you sign in, click here for more information.
458 Discussions

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

Pintea
Novice
2,260 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
2,162 Views
andrewbt
Novice
2,159 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.
Pintea
Novice
2,132 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;

andrewbt
Novice
2,125 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!
Pintea
Novice
1,905 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.

Reply