On Thu, 19 Jan 2023 13:40:47 +0000 Edgar Mobile <heide...@hotmail.com> wrote:
> I have to debug an Aarch64 based Linux system where weston-launch gets stuck > in the main loop poll: > > https://gitlab.freedesktop.org/wayland/weston/-/blob/master/libweston/weston-launch.c#L905 > [https://gitlab.freedesktop.org/assets/twitter_card-570ddb06edf56a2312253c5872489847a0f385112ddbcd71ccfa1570febab5d2.jpg]<https://gitlab.freedesktop.org/wayland/weston/-/blob/master/libweston/weston-launch.c#L905> > libweston/weston-launch.c · master · wayland / weston · > GitLab<https://gitlab.freedesktop.org/wayland/weston/-/blob/master/libweston/weston-launch.c#L905> > A lightweight and functional Wayland compositor. Switch branch/tag. weston > libweston; weston-launch.c > gitlab.freedesktop.org > Can someone tell me how to start debugging this? Hi, 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. Thanks, pq
pgpvBHxoY5SnA.pgp
Description: OpenPGP digital signature