ci: Enable gl-renderer in weston for wayland testing
authorErico Nunes <nunes.erico@gmail.com>
Sat, 17 Dec 2022 12:25:52 +0000 (13:25 +0100)
committerErico Nunes <nunes.erico@gmail.com>
Wed, 28 Dec 2022 22:18:15 +0000 (23:18 +0100)
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 <nunes.erico@gmail.com>
Acked-by: David Heidelberg <david.heidelberg@collabora.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20391>

.gitlab-ci/common/init-stage2.sh

index f06ddf3..156ce0e 100755 (executable)
@@ -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