Other Parts Discussed in Thread: AM625
Tool/software:
Hardware:
-
Board: TI AM62xx-EVM (AM625 SK)
-
Peripherals: HDMI Monitor, Logitech USB Optical Mouse, Dell KB216 Wired Keyboard
Software:
-
TI SDK Version: Processor SDK Linux 10.x/11.x (Yocto-based Arago distribution)
-
Weston Version: 13.0.1
-
Kernel Version: 6.12.35-ti-00915-ge3e551586dfa
-
Graphics Driver: PowerVR (pvrsrvkm) with GLES 3.1 support
-
Display Driver: tidss
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:
-
After 20 seconds of inactivity, the HDMI display correctly blanks.
-
When I move the mouse or press a key on the keyboard, the display does not wake up. It remains blank.
-
After approximately 2.5 minutes of the screen being blank, the weston process receives a SIGTERM (signal 15) and is terminated.
-
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:
-
Flash an AM62xx-EVM with a standard Processor SDK Linux image.
-
Connect an HDMI monitor and standard USB input devices.
-
Boot the device and edit /etc/xdg/weston/weston.ini.
-
Under the [core] section, add or modify the line: idle-time=20
-
Reboot the device or restart the service with systemctl restart weston.
-
Allow the device to sit idle for 20 seconds until the screen blanks.
-
Attempt to wake the device by moving the mouse or pressing a keyboard key.
Log Analysis:
The journal log confirms that Weston receives "caught signal 15" which leads to the deactivation of the service.
This strongly suggests the underlying issue is the driver stack's failure to wake the display, which makes the Weston compositor unresponsive, eventually causing systemd-logind to time out and terminate the idle session.
No errors are reported from the tidss or PowerVR drivers during the attempted wake-up.
i joined the journalctl -xe | grep weston below:
Any guidance on how to resolve this wake-up failure would be greatly appreciated. Thank you.