Commit graph

3905 commits

Author SHA1 Message Date
Samuel Pitoiset
e33489420c ci: uprev vkd3d
This contains more tests for the SMEM PRT workaround that we implemented
on RADV. VKCTS already has some coverage but it doesn't hurt to have
more.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41356>
2026-05-06 15:44:31 +00:00
Valentine Burley
fc4c44b09d ci/android: Remove CtsDeqpTestCases from Android CTS
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
CtsDeqpTestCases was originally added to run WSI tests on Android.
This is now covered by the command-line dEQP executable, which produces
comparable results and is much, much faster thanks to multithreading via
deqp-runner.

Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41314>
2026-05-06 15:51:28 +02:00
Valentine Burley
06816dbdbc ci/deqp: Add Android WSI support
This is implement with a headless WSI fallback using AImageReader, which
allows running EGL and Vulkan WSI tests from the command-line executable
(DEQP_ANDROID_EXE) on Android.

Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41314>
2026-05-06 15:51:27 +02:00
Valentine Burley
1eb9eed8ea ci/android: Update Cuttlefish build
- gralloc0: fix the FRONT_RENDERING_BIT private query in minigbm
  - Fixes enabling VK_KHR_shared_presentable_image
- Update Mesa to latest main, 117f3cb1fc ("gfxstream: allow
  VK_KHR_maintenance extensions")
  - Fixes a Turnip crash before the driver is replaced in the CI pipeline

Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41314>
2026-05-06 15:50:50 +02:00
Valentine Burley
d7c3362752 ci/android: Fix intermittent adb root failures
The combined $ADB wait-for-device root command can be flaky with
Cuttlefish, sometimes failing with:
"adb: unable to connect for root: closed"

Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41314>
2026-05-06 15:50:50 +02:00
Valentine Burley
f34c18cb4f ci/android: Remove SurfaceFlinger wait in get_surfaceflinger_pid
The dumpsys check doesn't seem necessary and avoids infinite loops.

Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41314>
2026-05-06 15:50:49 +02:00
Collabora's Gfx CI Team
f6b7a40571 Uprev VVL to 8474616c3095756c52c1b810b21bd1366b3fc909
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
cb2acdf7f4...8474616c30

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40883>
2026-05-06 05:59:18 +00:00
Yiwei Zhang
1883f3094f ci: uprev virglrenderer
This uprev:
- brings in vrend fixes with virgl ci expectation updated
- enables new venus extensions support
- drops render-server-worker since process isolation is the default
- updates venus ci expectations

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41331>
2026-05-05 00:41:46 +00:00
Samuel Pitoiset
f2ce2868c5 ci: uprev vkd3d
This contains new tests for DGC+multiview which are valid in DX12
but invalid in Vulkan, unless RADV allows support for it. Important
to have coverage for us because it's used for Crimson Desert.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41193>
2026-04-30 15:00:02 +00:00
Lionel Landwerlin
d595529475 imgui: update copy and port all tools using it
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Felix DeGrood <felix.j.degrood@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41244>
2026-04-30 10:59:45 +00:00
Karol Herbst
5512680581 ci: install libstdc++-static on fedora
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41037>
2026-04-29 16:55:39 +00:00
Samuel Pitoiset
0ec9b0d5c5 ci: bump libdrm to 2.4.133
libdrm needs to be build for alpine because the version provided by
the image is too old.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41207>
2026-04-29 09:30:13 +00:00
Emma Anholt
fa2750344d ci/piglit-traces: Remove ANGLE trace support.
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
All consumers are now switched over to gpu-trace-replay.sh.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41115>
2026-04-23 22:54:12 +00:00
Valentine Burley
96ae27069d ci/crosvm: Sanitize CROSVM_RET in crosvm-runner.sh
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
When crosvm crashes, the `exit_code` file might not exist or might
contain unexpected garbage (multi-line output or spaces).
Because $CROSVM_RET was unquoted in comparisons, this led to intermittent
"too many arguments" bash syntax errors, which masked the true failure.

Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41124>
2026-04-23 21:47:21 +00:00
Emma Anholt
7a6df89142 ci: Bump the image tags for the previous build script changes.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40959>
2026-04-22 17:39:30 +00:00
Emma Anholt
0e55ea80cd ci: Build gpu-trace-perf and include a script to use it.
The build script is just copy and paste of deqp-runner's.

This will be used to replace piglit's trace replay (and I have plans for
better gitlab CI-based performance testing as well)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40959>
2026-04-22 17:39:30 +00:00
Emma Anholt
6da8492699 ci/gfxreconstruct: Disable OpenXR support.
We aren't keeping the shared lib, so gfxrecon-replay would fail due to the
missing lib.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40959>
2026-04-22 17:39:30 +00:00
Emma Anholt
ce8da5033a ci/lava: Add a note about an otherwise-mysterious error you can encounter.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40959>
2026-04-22 17:39:30 +00:00
Emma Anholt
b62de33a9b ci/lava: Fix the name of the fluster overlay.
I don't think this name does anything functional, but I noticed it when
copy-pasting a new one.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40959>
2026-04-22 17:39:30 +00:00
Emma Anholt
b22b0dcdee ci/test-vk: Install DXVK 2.7.1 to our wine installation.
This pulls the old script that used to be used for DXVK into
build-wine.sh, since it will be uploaded as part of wine.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40959>
2026-04-22 17:39:30 +00:00
Emma Anholt
735a9e9fac ci/test-vk: Install win64 apitrace 14.0 along with setting up wine.
This will let us replay d3d traces in replay testing.  This replaces a
dead apitrace script that used to be used in CI.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40959>
2026-04-22 17:39:30 +00:00
Emma Anholt
0596569722 ci: Build a working wine installation in build-wine.sh.
The wine prefix is dropped from build-vkd3d-proton, where it's not needed
(no remaining references in the tree).  We do set up a /wineprefix (as a
more obvious name) in the wine installation, and include /usr/lib/*/wine
in test-vk container images and in a tarball uploaded as a LAVA rootfs
overlay.

With this, one should be able to run "wine" successfully.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40959>
2026-04-22 17:39:30 +00:00
Emma Anholt
61a41591d4 ci: Don't set wine vars in deqp-runner.sh/vkd3d-runner.sh.
While we run vkd3d-proton tests, that doesn't actually execute wine or
rely on wine env vars at all.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40959>
2026-04-22 17:39:30 +00:00
Emma Anholt
899b855c08 ci: Bump apitrace version to 14.0.
This has improvements to snapshots for looping that I'll be using for the
new trace replay tool, and supports zstd trace compression (which we're
using in traces-db/traces-db-private now).

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40959>
2026-04-22 17:39:30 +00:00
Eric Engestrom
5d48016317 ci/bare-metal: drop duplicate timestamps now that gitlab-runner has per-line timestamps
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
Small readability cleanup is still worth it even though this whole thing
is going away soon™

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41093>
2026-04-22 13:34:07 +00:00
Samuel Pitoiset
3777f7fe3b ci: uprev VKCTS main to 634a3fc62d82c34de68c3b1add25e6b7f5777524
RADV is the only driver using VKCTS main.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40918>
2026-04-15 11:22:10 +00:00
Collabora's Gfx CI Team
b247679ed8 Uprev ANGLE to 5e591d03650dd427001e355f4884b857cadab113
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
599125448d...5e591d0365

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40599>
2026-04-14 20:34:52 +00:00
Collabora's Gfx CI Team
d15e4274f6 Uprev Piglit to 11ce9eb56edb00e6a7702d13168cc827ce5e0cbd
d0a16eee4f...11ce9eb56e

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40427>
2026-04-10 21:21:52 +00:00
Collabora's Gfx CI Team
909e0026d8 Uprev VVL to cb2acdf7f49053406770ae73cbb315229a9131eb
adfdda5b66...cb2acdf7f4

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40618>
2026-04-09 12:59:00 +00:00
Eric Engestrom
705158562a Revert "ci-tron: ensure the test jobs start with a clean job folder"
This reverts commit aa39da8338.

This turned out to cause issues when rebuilding test docker images.

This will need further investigation, for now just revert it.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40850>
2026-04-08 14:30:34 +00:00
Valentine Burley
57d55f8c09 ci/android: Update Cuttlefish build
The new version updates the default Mesa version to 26.1.0-devel.
This is used for booting the VM, after which point the drivers are
replaced by the ones built in the Mesa CI pipeline.

Fixes GPU faults with ANGLE on Turnip.

Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40010>
2026-04-03 09:25:14 +00:00
Valentine Burley
1b8018389b ci/android: Enable virtio freedreno KMD support
Enable the virtio freedreno kernel mode driver in the debian-android
build. This will be used by Cuttlefish virtual machines.

Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40010>
2026-04-03 09:25:14 +00:00
Valentine Burley
d4cd93854a ci/android: Refactor replacing Vulkan drivers
Setting the VK_DRIVER variable for lavapipe jobs simplifies the driver
replacement logic while keeping all existing paths working.

Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40010>
2026-04-03 09:25:14 +00:00
Valentine Burley
9548bf86f4 ci/android: Add 5-minute timeout to Cuttlefish launch
Cuttlefish usually boots within 2-3 minutes, and this ensures logs are
saved if the boot process hangs or fails.

Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40010>
2026-04-03 09:25:14 +00:00
Sergi Blanch Torne
bae86c3118 ci: fix envvar default value
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
With 047bb6b8 on !35740, when GIT_STRATEGY is not defined, the scripts can
fail where we use `set -u` to raise an error when unset variables.

Signed-off-by: Sergi Blanch Torne <sergi.blanch.torne@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40759>
2026-04-02 09:09:52 +00:00
Eric Engestrom
aa39da8338 ci-tron: ensure the test jobs start with a clean job folder
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
By using `GIT_STRATEGY: empty` instead of `none`.

As documented in https://docs.gitlab.com/ci/runners/configure_runners/#git-strategy

    Unlike `none`, the `empty` Git strategy deletes and then re-creates
    a dedicated build directory before downloading cache or artifact files.
    With this strategy, the GitLab Runner hook scripts are still run (if
    provided) to allow for further behavior customization. Use the `empty`
    Git strategy when:
      - You do not need the repository data to be present.
      - You want a clean, controlled, or customized starting state every
        time a job runs.

In CI-tron jobs we put things there at the start of the job that we want
to keep through the start of the test and until the end of the job.

This requires gitlab-runner >= 17.10, which is already satisfied by all
ci-tron deployments.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35740>
2026-04-01 22:16:20 +00:00
Eric Engestrom
047bb6b85a ci: only clean the artifacts folder if gitlab hasn't already done it
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35740>
2026-04-01 22:16:20 +00:00
Eric Engestrom
76c9b277e4 ci: always make sure the results dir is created, not just when changing its path
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35740>
2026-04-01 22:16:20 +00:00
Eric Engestrom
1866a1b36f ci: drop redundant existance check before rm -rf
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35740>
2026-04-01 22:16:20 +00:00
Eric Engestrom
051ff429fd ci/init-stage2: symlink install dir between both CI_PROJECT_DIR paths
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35740>
2026-04-01 22:16:19 +00:00
Eric Engestrom
3f5d4eac5f ci: abort init-stage2.sh early if install dir is missing
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35740>
2026-04-01 22:16:19 +00:00
Valentine Burley
ab40758024 ci: Enable EGL and GLX in debian-no-libdrm
Now that zink can be built without a hard dependency on libdrm by using
the 'software' dri_platform, we can enable EGL, GLX, and the associated
window system platforms (X11, Wayland) in the debian-no-libdrm build job.

Acked-by: Emma Anholt <emma@anholt.net>
Reviewed-by: Eric Engestrom <eric@igalia.com>
Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40302>
2026-03-31 15:00:30 +00:00
Collabora's Gfx CI Team
a83a88df91 Uprev VVL to adfdda5b665f59aae31acf5c12c73e64a8f89553
f020266ade...adfdda5b66

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40209>
2026-03-24 17:13:54 +00:00
Valentine Burley
3fa7f73a83 ci: Enable ZSTD support for ZRAM in the kernel
The only functional change is that the CONFIG_ZRAM_BACKEND_ZSTD and
CONFIG_ZRAM_DEF_COMP_ZSTD options are enabled.

Suggested by @anholt.

Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40566>
2026-03-24 15:22:12 +00:00
Valentine Burley
acd7337b31 ci: Run Intel shader-db on Lunar Lake and Panther Lake
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38734>
2026-03-24 11:11:59 +00:00
Valentine Burley
9dd0f19198 ci: Drop duplicate Intel shader-db run
Skylake is the default device for the Intel shim, and it's already
included in the four Intel families listed below.

Fixes: 183d57aa9e ("ci: Run intel shader-db on Haswell, Broadwell, and Meteorlake")
Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38734>
2026-03-24 11:11:59 +00:00
Valentine Burley
8d3a223eed ci: Drop legacy-wayland option for debian-arm32
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
This didn't solve the issue, which is now fixed by the previous commit.

Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40487>
2026-03-23 13:13:50 +00:00
Valentine Burley
9d2a9f6468 ci: Avoid mixing libwayland versions in build and test containers
Mesa CI currently builds some libwayland components as part of the
container images while installing others from the Debian repositories.
This results in a version mismatch: we build 1.24.0 locally, while
Debian Trixie provides 1.23.1.
Mixing these versions is unsupported and breaks the arm32 jobs.

Instead of building libwayland in CI, switch back to using the Debian
packages (now updated to 1.24.0 via ci-deb-repo).
This ensures a consistent version across build and test containers and
fixes the arm32 failures.

Note that Cuttlefish ships its own older libwayland_client.so without
wl_fixes. As a result, we still need to keep the
-D legacy-wayland=bind-wayland-display workaround for both x86_64 and
arm64, which effectively builds Mesa against an older Wayland interface.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/15072
Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40487>
2026-03-23 13:13:50 +00:00
Eric Engestrom
384d128164 ci: fix scheduled pipelines
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
Fixes: 32a818d11d ("ci: drop workaround for jobs not being created in fork pipelines")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40505>
2026-03-19 13:23:00 +00:00
Eric Engestrom
d38916d673 ci: fix rebase mistake
Fixes: 32a818d11d ("ci: drop workaround for jobs not being created in fork pipelines")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40505>
2026-03-19 13:23:00 +00:00