waffle-gl / waffle

A C library for selecting an OpenGL API and window system at runtime
https://waffle.freedesktop.org
BSD 2-Clause "Simplified" License
35 stars 16 forks source link

GBM doesn't work with newer mesa #43

Closed dcbaker closed 7 years ago

dcbaker commented 7 years ago

I noticed this recently, updating to waffle-git fixed the issue for me.

piglit: error: waffle_display_connect failed due to WAFFLE_ERROR_UNKNOWN: eglGetDisplay failed with error EGL_SUCCESS(0x3000)
evelikov commented 7 years ago

IIRC waffle-git uses the eglGetPlatformDisplay and upstream GLVND removed the GBM detection in eglGetDisplay. I have a patch for that somewhere let me fish it out and forward it accordingly.

evelikov commented 7 years ago

The following PR addresses the missing GBM detection and the typo in the EGL_PLATFORM string.

https://github.com/NVIDIA/libglvnd/pull/122

evelikov commented 7 years ago

PR has been merged - libglvnd is fixed ;-)