Hi
command to build yoctos is:(imx-linux-nanbield -m imx-6.6.3-1.0.0.xml)
DISTRO=fsl-imx-xwayland MACHINE=imx6dlsabresd source imx-setup-release.sh -b build-xwayland
bitbake imx-image-full
We have issue with latest wayland build. weston.service is not started at boot up.
root@KitchenBrains:~# systemctl status weston.service
x weston.service - Weston, a Wayland compositor, as a system service
Loaded: loaded (/usr/lib/systemd/system/weston.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Wed 2024-06-12 21:46:56 UTC; 3min 29s ago
TriggeredBy: * weston.socket
Docs: man:weston(1)
man:weston.ini(5)
http://wayland.freedesktop.org/
Process: 825 ExecStart=/usr/bin/weston --log=${XDG_RUNTIME_DIR}/weston.log --modules=systemd-notify.so (code=exited, status=1/FAILURE)
Main PID: 825 (code=exited, status=1/FAILURE)
Jun 12 21:46:56 KitchenBrains systemd[1]: Starting Weston, a Wayland compositor, as a system service...
Jun 12 21:46:56 KitchenBrains (weston)[825]: pam_unix(weston-autologin:session): session opened for user root(uid=0) by (uid=0)
Jun 12 21:46:56 KitchenBrains (weston)[825]: weston.service: Referenced but unset environment variable evaluates to an empty string: XDG_RUNTIME_DIR
Jun 12 21:46:56 KitchenBrains systemd[1]: weston.service: Main process exited, code=exited, status=1/FAILURE
Jun 12 21:46:56 KitchenBrains systemd[1]: weston.service: Failed with result 'exit-code'.
Jun 12 21:46:56 KitchenBrains systemd[1]: Failed to start Weston, a Wayland compositor, as a system service.
root@KitchenBrains:~#
my weston.ini file shows as below,
[core]
#gbm-format=argb8888
use-g2d=1
idle-time=0
xwayland=true
#enable-overlay-view=1
[shell]
[libinput]
touchscreen_calibrator=true
#[output]
#name=HDMI-A-1
#mode=1920x1080@60
#transform=rotate-90
#[output]
#name=HDMI-A-2
#mode=off
# WIDTHxHEIGHT Resolution size width and height in pixels
# off Disables the output
# preferred Uses the preferred mode
# current Uses the current crt controller mode
#transform=rotate-90
[screen-share]
command=/usr/bin/weston --backend=rdp-backend.so --shell=fullscreen-shell.so --no-clients-resize
#start-on-startup=true
What exactly need to change in yocto setup to get proper LVDS settings? and also get proper evnvirnoment to set for XDG_RUNTIME_DIR?
Rgds
Chandra