Debugging weston-launch

Pekka Paalanen ppaalanen at
Tue Jan 24 11:38:27 UTC 2023

On Thu, 19 Jan 2023 13:40:47 +0000
Edgar Mobile <heideggm at> wrote:

> I have to debug an Aarch64 based Linux system where weston-launch gets stuck in the main loop poll:
> []<>
> libweston/weston-launch.c · master · wayland / weston · GitLab<>
> A lightweight and functional Wayland compositor. Switch branch/tag. weston libweston; weston-launch.c
> Can someone tell me how to start debugging this?


it's normal that weston-launch sleeps in poll(). What makes you think
it's stuck? Has it not launched a Weston process?

If a Weston process exists, maybe it's Weston malfunctioning and not
weston-launch. Mind, that printing to the VT stops working when
Weston/DRM starts, but Weston is still printing. You might get more out
of it by redirecting stdout and stderr to a file.

FWIW, weston-launch no longer exists upstream. That use case is now
catered by libseat and seatd.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the wayland-devel mailing list