Hi Daniel, Thanks a lot for your quick reply. See comments below.
On Tue, Jan 10, 2017 at 9:28 PM, Daniel Díaz Rodríguez < [email protected]> wrote: > Hello! > > > On 10 January 2017 at 06:39, Vikas Patil <[email protected]> wrote: > >> We are starting weston (1.9.0) using below systemd unit file of type > notify > >> (backported sd_notify related changes from weston 1.11.0 to weston > 1.9.0). > >> It works well with i.MX6 (NXP, fbdev backend) based platform, however > with > >> Jacinto (TI, drm backend) based platform sometimes it fails to start and > >> sometime it works after reboot. It always works if we start weston > service > >> manually after platform boots up using “systemctl”. > >> Is there anyone encountered this issue? Any suggestion/inputs to fix > this? > > > We have seen this, as the DRM device is not readily available by the > > time Weston launches. Our service unit is a bit different [1], but the > > approach that proved most convenient was to use this udev rule to call > > for Weston: > > https://github.com/96boards/meta-96boards/blob/master/ > recipes-graphics/wayland/weston-init/71-weston-drm.rules > <https://github.com/96boards/meta-96boards/blob/master/recipes-graphics/wayland/weston-init/71-weston-drm.rules> I have tried this udev rule and unfortunately it didn't help. I have added the rule in "/etc/udev/rules.d/localextra.rules" file on target. Then I have another service as below to trigger it. root@linux-1:~# cat /lib/systemd/system/udevd.service [Unit] Description=udevd service DefaultDependencies=false [Service] Type=forking ExecStart=/lib/systemd/systemd-udevd --daemon ExecStartPost=/bin/udevadm test /sys/devices/platform/omapdrm.0/drm/card0 Attached here the weston log and service file when it fails. (what see is , weston starts but within four or five seconds it stops) How could I find what issue/problem it is having? Is there any more logs from systemd I need to enable? Regards, Vikash
weston.service
Description: Binary data
weston_fail.log
Description: Binary data
_______________________________________________ wayland-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/wayland-devel
