weston-launch: libEGL: no configs with appropriate attributes

Pekka Paalanen ppaalanen at gmail.com
Wed Mar 14 11:36:56 UTC 2018

On Wed, 14 Mar 2018 11:55:54 +0100
Král Gergely <kralg at robolution.eu> wrote:

> Hi,
> On my old notebook I would like to set up a test environment by running 
> weston and let clients to connect to it. I am stuck in the very 
> beginning and after almost a day of googling and trying to understand 
> documentation that are over my expertise I am asking your help.
> According to the weston building page the radeon RV200 video card should 
> work with wayland and weston. The DRM looks OK to me. Am I missing 
> something? How could I further debug to see what is exactly failing?
> Any comment is appreciated.
> root$ weston-launch
> Date: 2018-03-14 CET
> [00:08:15.465] weston 1.12.0
>                 http://wayland.freedesktop.org
>                 Bug reports to: 
> https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.12.0
>                 Build: 1.11.94-2-ga08dff5 configure.ac: bump to version 
> 1.12.0 for the official release (2016-09-20 12:22:46 -0700)
> [00:08:15.465] Command line: /usr/bin/weston
> [00:08:15.465] OS: Linux, 4.9.0-4-686-pae, #1 SMP Debian 4.9.65-3 
> (2017-12-03), i686
> [00:08:15.466] Using config file '/root/.config/weston.ini'
> [00:08:15.466] Output repaint window is 7 ms maximum.
> [00:08:15.466] Loading module 
> '/usr/lib/i386-linux-gnu/libweston-1/drm-backend.so'
> [00:08:15.475] initializing drm backend
> [00:08:15.476] logind: not running in a systemd session
> [00:08:15.476] logind: cannot setup systemd-logind helper (-6), using 
> legacy fallback
> [00:08:15.479] using /dev/dri/card0
> [00:08:15.479] Loading module 
> '/usr/lib/i386-linux-gnu/libweston-1/gl-renderer.so'
> libGL: Can't open configuration file /root/.drirc: No such file or 
> directory.
> [00:08:15.514] EGL client extensions: EGL_EXT_client_extensions
>                 EGL_EXT_platform_base EGL_EXT_platform_wayland
>                 EGL_EXT_platform_x11 EGL_MESA_platform_gbm
>                 EGL_KHR_client_get_all_proc_addresses EGL_KHR_debug
> libEGL debug: added egl_dri2 to module array
> libEGL debug: No DRI config supports native format 0x30335258
> libEGL debug: No DRI config supports native format 0x30335241


not sure where this comes from, and I'm not sure it wouldn't cause the

> libEGL debug: the best driver is DRI2
> libEGL debug: the value (0x9) of attribute 0x3040 did not meet the 
> criteria (0x4)

The attribute is EGL_RENDERABLE_TYPE, where the system has OPENGL and
OPENGL_ES, while Weston needs OPENGL_ES2.

> [00:08:15.515] No EGL configs with appropriate attributes.
> [00:08:15.515] failed to choose EGL config
> [00:08:15.516] failed to initialize egl
> [00:08:15.521] fatal: failed to create compositor backend
> [   13.090647] [drm] Loading R100 Microcode

Does this card actually support any kind of shaders? Maybe the Weston
build guide is mistaken there.

Weston's GL renderer supports only GL ES 2.0, which implies shaders.
You should still be able to get Weston running by using the weston
command line option --use-pixman, but that makes it software rendered.

If you have to use weston-launch, then the command would be:
weston-launch -- --use-pixman

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20180314/11edeb83/attachment-0001.sig>

More information about the wayland-devel mailing list