From 4bd1829a5a45a9ae1fefd96a2f23d2d2e026c032 Mon Sep 17 00:00:00 2001 From: Erico Nunes Date: Sat, 17 Dec 2022 13:25:52 +0100 Subject: [PATCH] ci: Enable gl-renderer in weston for wayland testing The weston headless backend defaults to gl-renderer disabled, which exposes a different set of globals and clients may fall back to software rendering. Enable gl-renderer so that clients use the hardware drivers. Signed-off-by: Erico Nunes Acked-by: David Heidelberg 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 f06ddf325a0..156ce0e3e64 100755 --- a/.gitlab-ci/common/init-stage2.sh +++ b/.gitlab-ci/common/init-stage2.sh @@ -145,7 +145,7 @@ if [ -n "$HWCI_START_WESTON" ]; then export XDG_RUNTIME_DIR=/run/user mkdir -p $XDG_RUNTIME_DIR - weston -Bheadless-backend.so -Swayland-0 & + weston -Bheadless-backend.so --use-gl -Swayland-0 & export WAYLAND_DISPLAY=wayland-0 sleep 1 fi