Commit graph

3922 commits

Author SHA1 Message Date
Valentine Burley
03a84a1e03 ci/android: Add arm64 support for Android CTS
Android CTS for both arm64 and x86_64 Android targets always ships with
an x86_64 host JDK. Tradefed supports running on arm64 hosts though, so
provide a native JDK by installing Debian's openjdk-21-jdk-headless
package on arm64.

Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41440>
2026-05-21 06:21:02 +00:00
Valentine Burley
aeb40ed23b ci/android: Update Android CTS to android-cts-16.0_r5
The latest Android 16 release.

Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41440>
2026-05-21 06:21:02 +00:00
Valentine Burley
5dacbdc3ce ci: Bump ci-deb-repo revision to update aapt
Update aapt from the Android 14-based version in Trixie to a custom
fork based on the upstream Android 16 QPR2 branch, which fixes the
following error spam on arm64:

E aapt2   : Entry offset at index 0 points outside the Type's boundaries
E aapt2   : Entry offset at index 1 points outside the Type's boundaries
E aapt2   : Entry offset at index 2 points outside the Type's boundaries
E aapt2   : Entry offset at index 3 points outside the Type's boundaries
E aapt2   : Entry offset at index 4 points outside the Type's boundaries
E aapt2   : Entry offset at index 5 points outside the Type's boundaries
E aapt2   : Entry offset at index 6 points outside the Type's boundaries
E aapt2   : Entry offset at index 7 points outside the Type's boundaries
E aapt2   : Entry offset at index 8 points outside the Type's boundaries
E aapt2   : Entry offset at index 9 points outside the Type's boundaries
E aapt2   : Entry offset at index 10 points outside the Type's boundaries
E aapt2   : Entry offset at index 11 points outside the Type's boundaries
E aapt2   : Entry offset at index 12 points outside the Type's boundaries
E aapt2   : Entry offset at index 13 points outside the Type's boundaries
E aapt2   : Entry at index 14 is too small (0)
E aapt2   : Index 15 points to entry with unaligned offset 0x03080001

Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41440>
2026-05-21 06:21:02 +00:00
Collabora's Gfx CI Team
18ba81e5b6 Uprev Piglit to 6fd29fe44f8857b876a67bee962919635f22ecc8
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
11ce9eb56e...6fd29fe44f

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40989>
2026-05-20 21:37:44 +00:00
Eric Engestrom
a554dd031a Revert "ci/build: restore riscv64 build as it works again"
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
This reverts commit 3bb34744fc.

Apparently qemu is flaky now, neither working nor failing reliably,
that's going to be fun for whoever tries to ever re-enable it 🙃

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41672>
2026-05-19 11:34:42 +02:00
Eric Engestrom
3bb34744fc ci/build: restore riscv64 build as it works again
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
No idea what was changed on the runners, but they work now so let's
restore the coverage :)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41669>
2026-05-19 09:39:31 +02:00
Valentine Burley
a23c3732e2 ci: Disable debian-riscv64
This job broke today for unknown reasons, same as b05271f16c earlier:
https://gitlab.freedesktop.org/mesa/mesa/-/jobs/100156902

Let's disable the job until it's fixed.

Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41635>
2026-05-18 19:51:15 +02:00
Collabora's Gfx CI Team
054dd22eb6 Uprev ANGLE to 7772c5602d59140204494967ba8ebdf801180054
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
5e591d0365...7772c5602d

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40965>
2026-05-15 23:15:01 +02:00
Valentine Burley
6cf5da8dd3 ci/deqp: Rewrite headless Android WSI patch
Update the headless Android WSI patch to fix intermittent timeout issues. It
now uses an ImageReader listener to actively drain and instantly release frames
from the buffer queue. This acts as a "null compositor" that prevents buffer
starvation while maintaining stable GPU backpressure.

This fixes dEQP-VK.wsi.android.maintenance1.* in newer VKCTS versions and
resolves the race conditions that caused occasional teardown crashes.

Also rebase build-deqp-gl_Build-Don-t-build-Vulkan-utilities-for-GL-builds.patch
on top of the updated WSI patch.

Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41541>
2026-05-15 17:38:59 +00:00
Collabora's Gfx CI Team
f9d54dad80 Uprev VVL to d55be6264a17cd28f436805973b12f12a5d22f2f
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
6a6182c0ed...d55be6264a

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41567>
2026-05-15 03:34:56 +00:00
Valentine Burley
45db78332e ci/deqp: Backport landed patch
The patch has now landed upstream, so replace the carried .patch file
with a direct backport of the commit.

Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41574>
2026-05-14 10:04:51 +00:00
Valentine Burley
215f12fa23 ci/deqp: Backport validation error fix
Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41574>
2026-05-14 10:04:51 +00:00
Emma Anholt
76c39acad7 ci: Update VK CTS to 1.4.5.3 with fixes.
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
I've pulled in a pile of changes to reduce the overhead (runtime and
memory) when sharding for deqp-runner, along with a bunch of fixes for
KHR_display testing that we recently enabled, plus a few others that
affect our drivers.

The big new set of failures looks like it's from more complete coverage of
blitting between formats.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41243>
2026-05-14 04:22:21 +00:00
Collabora's Gfx CI Team
46607282f1 Uprev VVL to 6a6182c0edb35cba7bab0abc61eaff82d11022fb
4acd00c7a0...6a6182c0ed

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41521>
2026-05-13 18:33:57 +00:00
Collabora's Gfx CI Team
8f86880450 Uprev VVL to 4acd00c7a0665c9b1d01604e5fe1454837f87134
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
8474616c30...4acd00c7a0

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41411>
2026-05-11 16:22:39 +00:00
Valentine Burley
9dc8bb4403 ci/lava: Reduce LAVA job timeout to 20 minutes for Marge
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
GitLab jobs use a default 1-hour timeout, which can allow jobs to run
longer than intended. We can override the LAVA timeout for Marge to have
a still conservative, but safer timeout.

Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41414>
2026-05-08 05:55:24 +00:00
Valentine Burley
1ed6539a07 ci/deqp: Backport host_image_copy fix
Should help with flakiness.

Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41424>
2026-05-07 19:05:52 +00:00
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