Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-297

Weston fails if there are no input devices

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • None
    • None
    • None
    • None
    • Renesas Porter Board rev 1.0

      Hi,

      Weston 1.9.0, built from the master branch of AGL, fails to start on Porter board if there is no input device attached (keyboard or mouse):

      [[0;1;31m●[[0m weston.service - Weston reference Wayland compositor
         Loaded: loaded (/lib/systemd/system/weston.service; enabled; vendor preset: enabled)
         Active: [[0;1;31mfailed[[0m (Result: exit-code) since Wed 2016-10-19 13:58:50 UTC; 37min ago
        Process: 515 ExecStop=/usr/bin/killall -s KILL weston [[0;1;31m(code=exited, status=1/FAILURE)[[0m
        Process: 508 ExecStart=/usr/bin/weston-launch -u root -- --idle-time=4294967 [[0;1;31m(code=exited, st
      atus=1/FAILURE)[[0m
       Main PID: 508 (code=exited, status=1/FAILURE)
      
      Oct 19 13:58:50 porter systemd[1]: Started Weston reference Wayland compositor.
      Oct 19 13:58:50 porter weston-launch[508]: pam_unix(login:session): session opened for user root by (uid
      =0)
      Oct 19 13:58:50 porter systemd[1]: [[0;1;39mweston.service: Main process exited, code=exited, status=1/F
      AILURE[[0m
      Oct 19 13:58:50 porter killall[515]: killall: weston: no process killed
      Oct 19 13:58:50 porter systemd[1]: [[0;1;39mweston.service: Control process exited, code=exited status=1
      [[0m
      Oct 19 13:58:50 porter systemd[1]: [[0;1;39mweston.service: Unit entered failed state.[[0m
      Oct 19 13:58:50 porter systemd[1]: [[0;1;39mweston.service: Failed with result 'exit-code'.[[0m
      

      If I attach a keyboard Weston systemd service starts successfully but I have just a blank screen.

      Weston version is 1.9.0. According to weston.ini desktop shell and DRM backend is being used.

      The issue might be related to SPEC-223 as well as to an old issue in Weston which has been fixed in Dec 2014:
      https://cgit.freedesktop.org/wayland/weston/commit/?id=f0aaa417

      I have some experience from another project regarding the failing Weston if there are no input devices. There is very good article about that by Derek Foreman in Samsung OSG blog: https://blogs.s-osg.org/when-is-a-keyboard-not-a-keyboard/

      Best regards, Leon

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            leonanavi Leon Anavi
            leonanavi Leon Anavi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: