[Wayland-bugs] [Bug 89385] gl_renderer missing GLESv1 support

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Mar 1 13:58:42 PST 2015


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

            Bug ID: 89385
           Summary: gl_renderer missing GLESv1 support
           Product: Wayland
           Version: unspecified
          Hardware: x86 (IA32)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: weston
          Assignee: wayland-bugs at lists.freedesktop.org
          Reporter: bonbons at sysophe.eu

On a rather old system (i855GM), trying to start weston (1.6.1) fails with
rather unclear error message:
[21:49:59.073] Loading module '/usr/lib/weston/drm-backend.so'
[21:49:59.078] initializing drm backend
[21:49:59.084] using /dev/dri/card0
[21:49:59.084] Loading module '/usr/lib/weston/gl-renderer.so'
[21:49:59.157] failed to choose EGL config
[21:49:59.157] EGL error state: EGL_SUCCESS (0x3000)
[21:49:59.157] failed to initialize egl
[21:49:59.168] fatal: failed to create compositor

The reason of that failure is that the system does not provide any config
matching expectation.

System only provides configs with EGL_RENDERABLE_TYPE=EGL_OPENGL_ES_BIT |
EGL_OPENGL_BIT while weston wants EGL_OPENGL_ES2_BIT.

In addition EGL_*_SIZE is requested with 1-bit size while system has either
16bit (R=5,G=6,B=5) or 32bit (A=8,R=8,G=8,B=8) pixels.


It would be good if weston's gl_renderer could handle GLESv1 systems and, until
then, provide a more explicit error message.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20150301/8921b4c5/attachment.html>


More information about the wayland-bugs mailing list