Blizzard / Blizzard/s2client-proto
Linux: eglQueryDevices fails on certain systems
- Dominant language
- Python
- Stars
- 4k
- Forks
- 440
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start in the Linux binary at CreateInitializedEGLDisplay and compare its eglQueryDevices path with the eglGetDisplay fallback suggested in the issue. Use the CentOS 7.6.1810 Intel/Mesa failure and the linked freedesktop bug as context; done means EGL initializes and produces the expected OpenGL output on systems where device enumeration fails.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux
- Domain
- computer-graphics, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100