s2client-proto icon indicating copy to clipboard operation
s2client-proto copied to clipboard

Linux: eglQueryDevices fails on certain systems

Open Fighter19 opened this issue 5 years ago • 1 comments

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.

Fighter19 avatar Apr 26 '19 17:04 Fighter19

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?

fheck avatar Jul 11 '19 16:07 fheck