Bug 105892

Summary: fatal: failed to create compositor backend
Product: Wayland Reporter: Geunsik Lim <leemgs>
Component: westonAssignee: Wayland bug list <wayland-bugs>
Status: RESOLVED WORKSFORME QA Contact:
Severity: critical    
Priority: medium    
Version: 1.0.x   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Geunsik Lim 2018-04-04 22:45:58 UTC
invain@u1604:~$ weston
Date: 2018-04-05 KST
[07:43:57.385] weston 1.11.90
               http://wayland.freedesktop.org
               Bug reports to: https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.11.90
               Build: unknown (not built from git or tarball)
[07:43:57.385] Command line: weston
[07:43:57.385] OS: Linux, 4.4.0-98-generic, #121-Ubuntu SMP Tue Oct 10 14:24:03 UTC 2017, x86_64
[07:43:57.385] Starting with no config file.
[07:43:57.386] Output repaint window is 7 ms maximum.
[07:43:57.386] Loading module '/usr/lib/x86_64-linux-gnu/libweston-0/x11-backend.so'
[07:43:57.388] Loading module '/usr/lib/x86_64-linux-gnu/libweston-0/gl-renderer.so'
[07:43:57.395] 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_platform_mir
               EGL_KHR_client_get_all_proc_addresses EGL_KHR_debug
libEGL warning: DRI2: failed to create any config
[07:43:57.500] failed to initialize display
[07:43:57.500] EGL error state: EGL_NOT_INITIALIZED (0x3001)
[07:43:57.500] fatal: failed to create compositor backend
invain@u1604:~$
Comment 1 Daniel Stone 2018-04-05 08:02:54 UTC
You are running Weston as an X11 client, i.e. the Wayland session will be inside your X11 session. Is that what you want?

The error is coming from Mesa, where it fails to initialise OpenGL support. That means that your GL driver and X11 session do not support hardware-accelerated rendering. To get around that, you can run 'weston --use-pixman'.
Comment 2 Daniel Stone 2018-06-04 06:51:21 UTC
Closing now, please reopen if you need further help.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.