cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

yw3410
Adept I

EGL shared context crashing AMD display driver

Hi,

I don't seem to be able to post in the OpenGL/Vulkan subspace so I've posted here.

Using the OpenGL ES SDK with context sharing between two different threads causes the AMD display driver to crash with no error messages when drawing using a program created on a secondary thread.

I'm using the HD7850 with the latest drivers (not hotfixed). However I've also tried this on a HD6670 with similar problems.

There are no errors being generated when calling eglGetError with the context creation.

There are no errors after binding the program, buffers in the main thread.

The only time in which something errors out is a call to glDrawElements in which the display driver crashes with no warning.

//secondary

egl.EGL_SAMPLES, 0,

egl.EGL_SURFACE_TYPE, egl.EGL_PBUFFER_BIT,

egl.EGL_RENDERABLE_TYPE, EGL_OPENGL_ES3_BIT,

egl.EGL_BLUE_SIZE, 8,

egl.EGL_GREEN_SIZE, 8,

egl.EGL_RED_SIZE, 8,

egl.EGL_ALPHA_SIZE, 0,

egl.EGL_BUFFER_SIZE, 32,

egl.EGL_DEPTH_SIZE, 16,

egl.EGL_NONE

//main thread

egl.EGL_LEVEL, 0,

egl.EGL_SURFACE_TYPE, egl.EGL_WINDOW_BIT,

egl.EGL_RENDERABLE_TYPE, EGL_OPENGL_ES3_BIT,

egl.EGL_BLUE_SIZE, 8,

egl.EGL_GREEN_SIZE, 8,

egl.EGL_RED_SIZE, 8,

egl.EGL_ALPHA_SIZE, 8,

egl.EGL_BUFFER_SIZE, 32,

egl.EGL_DEPTH_SIZE, 24,

egl.EGL_NONE

12 Replies