[Mesa-dev] [Bug 91888] EGL Wayland software rendering no longer work after regression

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Nov 10 01:58:52 PST 2015


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

--- Comment #6 from Emil Velikov <emil.l.velikov at gmail.com> ---
(In reply to Giulio Camuffo from comment #5)
> (In reply to Daniel Stone from comment #2)
> > I think that commit is a a red herring. 0x3098 is
> > EGL_CONTEXT_CLIENT_VERSION, and Mesa has recently gained more strictness:
> >          if ((api != EGL_OPENGL_ES_API &&
> >              (!dpy->Extensions.KHR_create_context || api !=
> > EGL_OPENGL_API))) {
> >                err = EGL_BAD_ATTRIBUTE;
> >                break;
> >          }
> > 
> > I suspect QWaylandGLContext is missing eglBindAPI(EGL_OPENGL_ES_API) before
> > context creation.
> 
> Nope, it does call it:
> http://code.qt.io/cgit/qt/qtwayland.git/tree/src/hardwareintegration/client/
> wayland-egl/qwaylandglcontext.cpp#n278
> 
> I also noticed that i can reproduce this with LIBGL_ALWAYS_SOFTWARE=1, but
> not when running on i965.

If you look at the code more closely you'll see that EGL_CONTEXT_CLIENT_VERSION
is set regardless of the API and presence of KHR_create_context. Both of which
rather important :)

With that said, I'll repeat my request - please flesh out a simple test app
(which does not depend on QT), before we jump on the pointing fingers train :-P

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


More information about the mesa-dev mailing list