Launch `/usr/lib/weston/weston-desktop-shell` earlier
[10:26:00.777] weston 5.0.0 https://wayland.freedesktop.org Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/ Build: weston-5.0.0-2-dirty Release Debian version weston-5.0.0-2 (2019-02-11 10:12:40 +0100) […] [10:26:00.857] DRM: supports picture aspect ratio [10:26:00.910] event1 - Power Button: is tagged by udev as: Keyboard […] [10:26:00.932] event2 - AT Translated Set 2 keyboard: device is a keyboard [10:26:01.035] DRM: head 'HDMI-A-1' found, connector 45 is disconnected. [10:26:01.038] DRM: head 'HDMI-A-2' found, connector 47 is disconnected. [10:26:01.076] DRM: head 'VGA-1' found, connector 49 is connected, EDID make 'PTS', model 'CY-767C', serial 'FGZJ39012870' [10:26:01.076] Registered plugin API 'weston_drm_output_api_v1' of size 12 [10:26:01.078] DRM: output VGA-1 uses shadow framebuffer. [10:26:01.078] No backlight control for output 'VGA-1' [10:26:01.078] Output VGA-1 (crtc 41) video modes: email@example.com, current, 135.0 MHz […] [10:26:01.087] Loading module '/usr/lib/i386-linux-gnu/weston/desktop-shell.so' [10:26:01.091] launching '/usr/lib/weston/weston-keyboard' [10:26:01.094] Loading module '/usr/lib/i386-linux-gnu/weston/systemd-notify.so' [10:26:01.097] launching '/usr/lib/weston/weston-desktop-shell' [10:26:01.453] event3 - HD-Audio Generic HDMI/DP,pcm=3: is tagged by udev as: Switch […]
Can the connected displays(?) be detected earlier or statically be configured, so the Weston desktop shell can start earlier?
With just one udev thread (instead of two), the mouse is detected later, but the Weston desktop shell is also started after roughly 300 ms according to the logs.
The systemd-bootchart log also shows that the Weston process actually does not wait on any CPU before starting the shell.
Are there ways to start the Weston desktop shell much earlier, or is the current behavior due to the system limits?