Corentin Noël
57d914b757
ci: Update virglrenderer and crosvm
...
Update virglrenderer to test EXT_attachment_feedback_loop_layout
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28014 >
2024-03-07 21:19:05 +00:00
Gert Wollny
5ccc40cbd5
ci: Upref virglrenderer
...
Signed-off-by: Gert Wollny <gert.wollny@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27106 >
2024-01-29 09:01:26 +00:00
Max R
fdb58f5b6c
ci: Uprev virglrenderer
...
Include the latest virglrenderer version.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25947 >
2023-11-01 20:33:01 +00:00
Corentin Noël
aef37305a1
ci: Uprev virglrenderer
...
Include the latest virglrenderer version.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25561 >
2023-10-12 19:22:33 +00:00
Vignesh Raman
a65ba65108
ci: Uprev crosvm
...
Recent commit in linux kernel 6.6 rc3 broke booting
in crosvm. Latest crosvm contains a fix for this issue.
So bump the crosvm version to latest.
https://issuetracker.google.com/issues/303128596
https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4906858
Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25582 >
2023-10-07 08:24:04 +00:00
Gert Wollny
4f96d2f6ba
ci: Upref virglrenderer
...
Pull in the latest changes regarding texture wrapping
modes handling.
Signed-off-by: Gert Wollny <gert.wollny@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25343 >
2023-09-25 22:51:20 +00:00
Corentin Noël
1c367933ba
ci: Add locked flag to bindgen-cli installation
...
Ensures that the bindgen-cli dependencies are not changing.
Signed-off-by: Corentin Noël <corentin.noel@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24936 >
2023-08-30 10:44:38 +00:00
Corentin Noël
15b4670305
ci: Uprev virglrenderer
...
Enable the latest changes with vrend-video
Change the default branch of virglrenderer to main as upstream did
Signed-off-by: Corentin Noël <corentin.noel@collabora.com >
Reviewed-by: Gert Wollny <gert.wollny@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24067 >
2023-07-10 12:50:06 +00:00
Gert Wollny
f18afc886a
ci: Upref virglrenderer
...
Update expectation too.
Signed-off-by: Gert Wollny <gert.wollny@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23768 >
2023-06-23 10:00:49 +00:00
Corentin Noël
dd1b927805
ci: uprev virglrenderer and crosvm
...
Update to their latest version on time
Signed-off-by: Corentin Noël <corentin.noel@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23427 >
2023-06-07 15:14:45 +00:00
Gert Wollny
d55427f3d6
ci: uprev virglrenderer to include changes needed for GL 4.6 support
...
Signed-off-by: Gert Wollny <gert.wollny@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23196 >
2023-05-26 13:25:18 +00:00
Corentin Noël
7189236f52
build-crosvm: Use the pkg-config crate 0.3.27
...
The support of pkgconf is available since this version.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21977 >
2023-05-25 16:06:52 +02:00
David Heidelberg
848f59deda
ci: bump from Debian 11 (bullseye) to 12 (bookworm)
...
Already in hard-freeze, so we don't have to worry about breaking changes.
Significant changes:
- LLVM 15 is used instead of 11 or 13
- /dev/shm has to be manually mounted
- Debian 12 uses libdrm 2.4.114
- reworked creating of rootfs, from debootstrap to mmdebstrap
- split `create-rootfs.sh` into `lava_build.sh`, `setup-rootfs.sh`, and `strip-rootfs.sh`
- dropped winehq repository for now (Debian wine is up-to-date enough)
- we use wine now, no need to call explicitly call wine64
- bumped libasan from version 6 to 8
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21977 >
2023-05-25 16:06:51 +02:00
David Heidelberg
1966eff8a6
ci: use meson setup and meson install instead of meson and invoking ninja directly
...
Not primary scope of relevant MR, just some incremental changes.
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21977 >
2023-05-25 16:06:50 +02:00
Gert Wollny
b2c604973b
virgl/ci: uprev virglrenderer
...
Update DEBIAN_BASE_TAG and KERNEL_ROOTFS_TAG
Signed-off-by: Gert Wollny <gert.wollny@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23121 >
2023-05-23 14:01:43 +00:00
Yiwei Zhang
04b3369921
ci: uprev virglrenderer to drop venus release patches
...
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22896 >
2023-05-08 14:58:51 +00:00
Yiwei Zhang
cb865ac721
ci: carry venus-protocol 1.0 release patches in virglrenderer
...
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22547 >
2023-05-03 22:42:30 +00:00
Corentin Noël
a86e8969c7
ci: Uprev crosvm and virglrenderer
...
Update crosvm, virglrenderer and bindgen-cli to their latest version on time.
Signed-off-by: Corentin Noël <corentin.noel@collabora.com >
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22712 >
2023-05-02 18:12:45 +00:00
Corentin Noël
c08c2a0963
ci: Uprev crosvm and virglrenderer
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21693 >
2023-03-31 12:39:49 +00:00
Corentin Noël
cd39a5ac8b
ci: uprev virglrenderer and crosvm
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21794 >
2023-03-14 05:22:21 +00:00
Ryan Neph
65b62db0fb
ci: uprev virglrenderer
...
Update virglrenderer to bring in venus protocol fixes described in
https://gitlab.freedesktop.org/olv/venus-protocol/-/issues/4 .
Signed-off-by: Ryan Neph <ryanneph@google.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21496 >
2023-02-25 02:10:10 +00:00
Corentin Noël
74967249d2
ci: uprev virglrenderer
...
This change contains a memory unmap fix and makes the render server mandatory.
Signed-off-by: Corentin Noël <corentin.noel@collabora.com >
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20938 >
2023-01-27 07:56:06 +00:00
Yiwei Zhang
e86c99bb28
ci: uprev virglrenderer
...
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org >
Reviewed-by: Corentin Noël <corentin.noel@collabora.com >
Acked-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19542 >
2023-01-11 07:34:32 +00:00
Ryan Neph
3e66ef53d4
ci: Bump crosvm and virglrenderer versions
...
Signed-off-by: Ryan Neph <ryanneph@google.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20554 >
2023-01-07 01:23:28 +00:00
Corentin Noël
37d56a0576
ci: Bump crosvm and virglrenderer versions
...
Update virglrenderer and crosvm to the latest version on time.
Signed-off-by: Corentin Noël <corentin.noel@collabora.com >
Reviewed-by: Gert Wollny <gert.wollny@collabora.com >
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20488 >
2023-01-04 16:02:02 +00:00
Corentin Noël
1071d33c37
ci: Bump virglrenderer version
...
Update virglrenderer to the latest version on time.
Signed-off-by: Corentin Noël <corentin.noel@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20277 >
2022-12-12 15:49:08 +00:00
Guilherme Gallo
db2c14887b
ci: Fix kernel+rootfs.* jobs
...
The rootfs generation is failing due to issues with the deqp and crosvm
build stages.
== crosvm ==
This week, crates.io released the bindgen cargo package at version
0.61.0, but this version could not be installed via `cargo install
bindgen ...`, setting the version to the previous one to avoid breaking
the Mesa rootfs builds.
See also related failed job:
https://gitlab.freedesktop.org/gallo/mesa/-/jobs/30046963
== deqp ==
The deqp build is failing due to the missing archive of an old zlib
release version, which was deleted due to a CVE, see zlib 1.2.13 release
notes.
As the deqp uprev to 1.3.4.0, which contains the fix, was not
straightforward, let's only apply the necessary patch to fix zlib
source code download link and then remove this indirection in an
eventual deqp uprev.
Example of a failed kernel+rootfs build job:
https://gitlab.freedesktop.org/gallo/mesa/-/jobs/30045324
Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com >
Reviewed-by: Yonggang Luo <luoyonggang@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19183 >
2022-10-20 20:52:49 +00:00
Yiwei Zhang
0a06db8fb9
ci/venus: enable render server for venus testing
...
Render server config will soon become a mandatory requirement for venus.
v2: updated DEBIAN_BASE_TAG and KERNEL_ROOTFS_TAG
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org >
Reveiwed-by: Ryan Neph <ryanneph@google.com > (v1)
Reveiwed-by: Dmitry Osipenko <dmitry.osipenko@collabora.com > (v1)
Reviewed-by: Corentin Noël <corentin.noel@collabora.com > (v2)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18918 >
2022-10-04 21:41:48 +00:00
Dmitry Osipenko
498186e0d9
ci: Bump crosvm version
...
Recent crosvm contains a fix for the unmapping memory on a wrong thread
that crashes crosvm. Bump the crosvm version.
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org >
Reviewed-by: Corentin Noël <corentin.noel@collabora.com >
Link: https://gitlab.freedesktop.org/virgl/virglrenderer/-/issues/282
Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18693 >
2022-09-29 16:45:04 +00:00
Corentin Noël
ba9c73f9d4
virgl/ci: Update virglrenderer
...
Update virglrenderer past to version 0.10.1
Signed-off-by: Corentin Noël <corentin.noel@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18418 >
2022-09-14 06:39:29 +00:00
David Heidelberg
c90b433f18
ci: make shellcheck happy about .gitlab-ci/container/ directory
...
Makes easier do changes, when shellcheck is warning-free.
Reviewed-by: Guilherme Gallo <guilherme.gallo@collabora.com >
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17574 >
2022-08-26 21:20:14 +00:00
Corentin Noël
0a0205f045
virgl/ci: Update virglrenderer
...
Update virglrenderer to the latest version on time.
Signed-off-by: Corentin Noël <corentin.noel@collabora.com >
Reviewed-by: Gert Wollny <gert.wollny@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17853 >
2022-08-05 15:12:29 +00:00
Omar Akkila
5ac14a97e2
ci: Enable virtio-experimental in testing
...
Enable building the virtio vulkan (venus) driver.
Co-authored-by: Corentin Noël <corentin.noel@collabora.com >
Signed-off-by: Omar Akkila <omar.akkila@collabora.com >
Acked-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15692 >
2022-08-04 15:15:31 +02:00
Omar Akkila
91ab35efab
ci: Build crosvm with opaque fd mapping support
...
This enables crosvm to map opaque-fd-backed external memory
into the guest.
Signed-off-by: Omar Akkila <omar.akkila@collabora.com >
Acked-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15692 >
2022-08-04 15:15:13 +02:00
Corentin Noël
2283ac5832
virgl/ci: Update virglrenderer
...
Update virglrenderer to the latest version on time.
Signed-off-by: Corentin Noël <corentin.noel@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16401 >
2022-07-06 13:12:38 +00:00
Corentin Noël
583a4210e5
virgl/ci: Update virglrenderer
...
Update virglrenderer to the latest version on time.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16627 >
2022-05-23 06:16:07 +00:00
Corentin Noël
c59fc44114
virgl/ci: Uprev virglrenderer and crosvm
...
Use a patch file for crosvm instead of relying on private repositories for faster
uprevs.
Use latest virglrenderer to keep the tests in-sync.
Signed-off-by: Corentin Noël <corentin.noel@collabora.com >
Reviewed-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15772 >
2022-04-08 11:28:27 +00:00
Gert Wollny
1994f1404e
virgl: re-enable PIPE_CAP_TGSI_TEXCOORD with new host versions
...
Also upreaf the virglrenderer version used in the CI.
v2: Update checksums of trace result images (0 pixels were different)
Signed-off-by: Gert Wollny <gert.wollny@collabora.com >
Reviewed-by: Corentin Noël <corentin.noel@collabora.com > (v1)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15446 >
2022-03-28 15:21:58 +00:00
Akihiko Odaki
571c5e8fdc
virgl/ci: Uprev virglrenderer
...
Suggested-by: Gert Wollny <gert.wollny@collabora.com >
Reviewed-by: Gert Wollny <gert.wollny@collabora.com >
Signed-off-by: Akihiko Odaki <akihiko.odaki@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15115 >
2022-03-10 10:34:12 +00:00
Gert Wollny
c9d99b7eec
virgl: Fix texture transfers by using a staging resource
...
This commit fixes the following flaws in the implementation:
* when a resource was re-allocated, the guest side storage
was also allocated
* when a source needs a readback before being written to, then
the call would go through vws->transfer_get, thereby bypassing the
staging resource, and this would fail on the host, because no
the allocated IOV was too small (just one byte)
* if the texture write would need neither flush nor readback, the
old code path would be used expecting that guest side backing stogage
for the texture.
v2: - actually do a readback to the stageing resource when it is required
- fix typo (Lepton)
v3: Don't use stageing transfers if the host can't read back the data
by rendering to an FBO or calling getTexImage, because in this case
we rely on the IOV to hold the date.
v4: Also don't use staging transfers if the format is no readback
format. Otherwise we have to deal with the resolve blit, and
this is currently not working correctly.
v5: add a new flag that indicates whether non-renderable textures can
be read back (either via glGetTexImage or GBM)
v6: Restrict the use of staging texture transfers to textures that can
be read back, and on GLES also if the they are bound to scanout and
the host uses minigbm to allocate such textures.
For that replace the flag indicating the capability to read back
non-renderable textures with a cap that indicates whether scanout
textures can be read back.
v7: update virglrenderer version in the CI
v8: update use of stageing (Chia-I)
v9: remove superflous check and assignment (Chia-I)
v10: disable stageing textures for arrays with stencil format. This is a
workaround for failures of the CI.
Fixes: cdc480585c
virgl/drm: New optimization for uploading textures
Signed-off-by: Gert Wollny <gert.wollny@collabora.com >
Reviewed-by: Chia-I Wu <olvaffe@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14495 >
2022-03-08 23:39:27 +01:00
Corentin Noël
1367424501
ci: Uprev virglrenderer and crosvm
...
Ensure that we are using a recent virglrenderer to catch potential regressions
early.
Signed-off-by: Corentin Noël <corentin.noel@collabora.com >
Reviewed-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15023 >
2022-02-16 10:21:26 +00:00
Cristian Ciocaltea
efd4bcad20
virgl/ci: Prevent static link of virglrenderer inside crosvm
...
Ensure virglrenderer library is built before crosvm in order to allow
dynamic linking. This is needed for the scenarios where a different
virglrenderer library must be provided before launching crosvm, e.g.:
the upcoming Virgl CI solution that shares Mesa CI containers.
Additionally, this provides the virgl_test_server binary which is
required by piglit-runner.sh and deqp-runner.sh scripts when using
the virpipe Gallium driver.
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com >
Reviewed-by: Rohan Garg <rohan.garg@intel.com >
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14413 >
2022-01-18 18:42:05 +00:00
Gert Wollny
b8b70fc1b9
ci: pin virglrenderer version
...
Currently we always just pull in whatever version of
virglrenderer happens to be TOT in googlesource.
Instead, pin a specific version, and this should also
trigger an update of the container when this versions
is changed.
v2: Fix spelling error (tomeu)
Signed-off-by: Gert Wollny <gert.wollny@collabora.com >
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12542 >
2021-12-14 12:32:26 +00:00
Tomeu Vizoso
d63cd245e1
ci: Uprev Crosvm
...
And use my fork while we upstream some improvements to Crosvm that make
it more appropriate for using in CI.
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com >
Reviewed-by: Corentin Noël <corentin.noel@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12828 >
2021-11-18 13:36:24 +00:00
Corentin Noël
481e7508be
ci: Increase crosvm version
...
Also require newer dependencies.
This makes it easier to debug possible crosvm issues as a big refactor occured since the
previous commit included in the CI.
Signed-off-by: Corentin Noël <corentin.noel@collabora.com >
Acked-by: Gert Wollny <gert.wollny@collabora.com >
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11320 >
2021-08-03 14:24:08 +00:00
Tomeu Vizoso
dc9cd18f52
ci: Build Crosvm in our container
...
And also add the required bits to the x86_64 kernel.
syslogd is needed by Crosvm.
iptables is needed to route packets in and out the VM.
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10862 >
2021-06-09 19:14:00 +00:00