Module: Mesa
Branch: main
Commit: d57a4b57df5ac1e37ee77b64761bb1191828b4b7
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d57a4b57df5ac1e37ee77b64761bb1191828b4b7

Author: Eric Engestrom <[email protected]>
Date:   Mon Mar 13 10:58:45 2023 +0000

ci: disable weston session timeout

    -iN, --idle-time=N
           Set  the idle timeout to N seconds. The default timeout is
           300 seconds. When there has not been any user input for the idle
           timeout, Weston enters an inactive mode. The screen fades to black,
           monitors may switch off, and the shell may lock the session.
           A value of 0 effectively disables the timeout.

We don't want the session to get locked and monitors to switch off while tests
are running, as many of them depend on swapping buffers.

Cc: mesa-stable
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Daniel Stone <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21877>

---

 .gitlab-ci/common/init-stage2.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci/common/init-stage2.sh b/.gitlab-ci/common/init-stage2.sh
index 5d8f89a69d9..80bd9f7d1f3 100755
--- a/.gitlab-ci/common/init-stage2.sh
+++ b/.gitlab-ci/common/init-stage2.sh
@@ -160,7 +160,7 @@ if [ -n "$HWCI_START_WESTON" ]; then
 
   env \
     VK_ICD_FILENAMES="/install/share/vulkan/icd.d/${VK_DRIVER}_icd.$(uname 
-m).json" \
-    weston -Bheadless-backend.so --use-gl -Swayland-0 --xwayland &
+    weston -Bheadless-backend.so --use-gl -Swayland-0 --xwayland --idle-time=0 
&
   BACKGROUND_PIDS="$! $BACKGROUND_PIDS"
 
   while [ ! -S "$WESTON_X11_SOCK" ]; do sleep 1; done

Reply via email to