[Mesa-dev] [Bug 97214] X not running with error "Failed to make EGL context current"

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Aug 9 17:07:19 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=97214

--- Comment #7 from Nicolas Boichat <drinkcat at chromium.org> ---
Created attachment 125643
  --> https://bugs.freedesktop.org/attachment.cgi?id=125643&action=edit
Add tracing to egl_dri2.c

libEGL debug: EGL user error 0x3001 (EGL_NOT_INITIALIZED) in eglMakeCurrent

Is due to the new code in dri2_make_current:
   if (!dri2_dpy)
      return _eglError(EGL_NOT_INITIALIZED, "eglMakeCurrent");

I don't quite understand how dri2_dpy could end up being uninitialized, unless
eglMakeCurrent is called after eglTerminate...

I'd start by adding traces in dri2_initialize, dri2_terminate,
dri2_make_current, which is what this patch does...

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160809/9eee8dc1/attachment.html>


More information about the mesa-dev mailing list