Weston Fails to Wake from idle-time Sleep, Restarts After SIGTERM

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Urgent
    • Linux Core SDK
    • LCPD-45217
    • 11.01
    • 11.02
    • am62xx_sk-fs

      Goal:
      My goal is to use Weston's standard idle-sleep functionality. The display should blank after a configured period of inactivity and wake up immediately upon keyboard or mouse input.

      Problem Description:
      I have configured Weston to enter an idle state after 20 seconds by setting idle-time=20 in /etc/xdg/weston/weston.ini.

      The system behaves as follows:

      1. After 20 seconds of inactivity, the HDMI display correctly blanks.
      2. When I move the mouse or press a key on the keyboard, the display does not wake up. It remains blank.
      3. After approximately 2.5 minutes of the screen being blank, the weston process receives a SIGTERM (signal 15) and is terminated.
      4.  now i have to manually restart the service via systemd so that the GUI returns

      This cycle makes the idle-time feature unusable. Disabling the feature by setting idle-time=0 works, but I require the power-saving sleep functionality.

      Steps to Reproduce:

      1. Flash an AM62xx-EVM with a standard Processor SDK Linux image.
      2. Connect an HDMI monitor and standard USB input devices.
      3. Boot the device and edit /etc/xdg/weston/weston.ini.
      4. Under the [core] section, add or modify the line: idle-time=20
      5. Reboot the device or restart the service with systemctl restart weston.
      6. Allow the device to sit idle for 20 seconds until the screen blanks.
      7. Attempt to wake the device by moving the mouse or pressing a keyboard key.

      For more details, please refer: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1553964/processor-sdk-am62x-weston-fails-to-wake-from-idle-time-sleep-restarts-after-sigterm 

      Fixed by: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/commit/?h=ti-linux-6.12.y-cicd&id=1f955a270005ce67fc21b656b4c450a5e3870a9e

            Assignee:
            TI User
            Reporter:
            TI User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Connection: Intermediate to External PROD System
                EXTSYNC-6008 - Weston Fails to Wake from idle-time...
                SYNCHRONIZED
                • Last Sync Date: