From d57a4b57df5ac1e37ee77b64761bb1191828b4b7 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Mon, 13 Mar 2023 10:58:45 +0000 Subject: [PATCH] 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 Reviewed-by: Daniel Stone Part-of: --- .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 5d8f89a..80bd9f7 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 -- 2.7.4