s2client-proto
s2client-proto copied to clipboard
Linux: eglQueryDevices fails on certain systems
System: CentOS 7.6.1810 Using integrated Intel HD Graphics
Expected:
Successfully loaded EGL library!
Running CGLSimpleDevice::HALInit...
Calling glGetString: 0x7fffe968dfe0
Version: 3.0 Mesa 18.0.5
Vendor: Intel Open Source Technology Center
Renderer: Mesa DRI Intel(R) Sandybridge Mobile
OpenGL initialized!
Actual result:
Successfully loaded EGL library!
Failed to create and initialize a valid EGL display! Devices tried: 0
CreateInitializedEGLDisplay Failed.
Related: https://bugs.freedesktop.org/show_bug.cgi?id=103575
Suggested fix: Check for extension first if not available then use eglGetDisplay, or try to execute CreateInitializedEGLDisplay, if failed eglGetDisplay. Needs to be done in Linux binary.
I can confirm this is still happening on Debian 9 with backports (libegl1 1.1.0/libegl-mesa0 18.2.8) on an Intel HD2000. Is there any workaround available?