Unable to run X-clients over Weston through XWayland

Pekka Paalanen ppaalanen at gmail.com
Thu Feb 6 08:46:23 UTC 2020

On Thu, 6 Feb 2020 10:51:22 +0530
"Devashish Tiwari" <devashish at cdot.in> wrote:

> Hello,
> As we discussed previously, I have been trying to run X-clients on my
> Weston + Xwayland environment.
> I think I have come to a point where my Wayland succeeds in launching
> Xwayland, i.e., I am able to get those three prints you mentioned in
> the trailing email.
> When I run xeyes on my Weston+Xwayland environment, I am getting
> following in /var/log/weston.log :
> Spawned Xwayland server, pid 1474                  

This is good.

> Failed to create EGL context with GL                    
> EGL setup failed, disabling glamor                                                                                           
> Failed to initialize glamor, falling back to sw                                                                

This is harmless, it just means that X11 apps don't get hardware
accelerated OpenGL nor is Xwayland itself hardware accelerated.

> [12:44:13.529] xfixes version: 5.0                                            
> [12:44:13.554] created wm, root 77                           


> The XKEYBOARD keymap compiler (xkbcomp) reports:                       
> > Warning:          Unsupported high keycode 372 for name <I372> ignored   
> >                   X11 cannot support keycodes above 255.                     
> >                   This warning only shows for the first high keycode.          
> Errors from xkbcomp are not fatal to the X server                     

This is harmless too, I believe.

> (EE) failed to read Wayland events: Broken pipe     

This means Weston died, I think.

> However, on the terminal, there is a delay of 1-2 seconds and then I get following:
> root at am57xx-evm:/mnt# ./xeyes 
> Warning: locale not supported by Xlib, locale set to C
> Warning: X locale modifiers not supported, using default
> X connection to :0 broken (explicit kill or server shutdown).

Yes, this is a chain reaction: Weston died -> Xwayland quit -> X11 apps

> And after that weston stops and it doesn't work even when I do "/etc/init.d/weston start".
> I have to reboot the board again to make weston work.
> Can you tell what did go wrong here?

I have no idea. Look into the logs/stdout/stderr of Weston, and look if
you have a core dump to analyze.

-------------- 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/20200206/2cc736db/attachment.sig>

More information about the wayland-devel mailing list