<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - gl_renderer missing GLESv1 support"
href="https://bugs.freedesktop.org/show_bug.cgi?id=89385">89385</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>gl_renderer missing GLESv1 support
</td>
</tr>
<tr>
<th>Product</th>
<td>Wayland
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86 (IA32)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>weston
</td>
</tr>
<tr>
<th>Assignee</th>
<td>wayland-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>bonbons@sysophe.eu
</td>
</tr></table>
<p>
<div>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>