Mesa (main): ci/freedreno: Add vulkan+gl integration testing in piglit.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Jun 27 23:26:32 UTC 2022


Module: Mesa
Branch: main
Commit: 8e53194f44a3aa1ae07eabd4a046c49f063d644f
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8e53194f44a3aa1ae07eabd4a046c49f063d644f

Author: Emma Anholt <emma at anholt.net>
Date:   Mon Jun 20 09:48:11 2022 -0700

ci/freedreno: Add vulkan+gl integration testing in piglit.

The libvulkan-dev was needed for building zink, which ended up turning on
the vulkan tests in piglit.  Split them out here.

Reviewed-by: David Heidelberg <david.heidelberg at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17125>

---

 .gitlab-ci/container/debian/arm_build.sh  |  1 +
 .gitlab-ci/image-tags.yml                 |  2 +-
 src/freedreno/ci/freedreno-a630-fails.txt | 41 +++++++++++++++++++++++++++++++
 src/freedreno/ci/gitlab-ci.yml            |  2 +-
 4 files changed, 44 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci/container/debian/arm_build.sh b/.gitlab-ci/container/debian/arm_build.sh
index 81a77f9a9e8..aa03ade8243 100644
--- a/.gitlab-ci/container/debian/arm_build.sh
+++ b/.gitlab-ci/container/debian/arm_build.sh
@@ -28,6 +28,7 @@ apt-get -y install \
 	libdrm-dev \
 	libelf-dev \
 	libexpat1-dev \
+	libvulkan-dev \
 	libx11-dev \
 	libx11-xcb-dev \
 	libxcb-dri2-0-dev \
diff --git a/.gitlab-ci/image-tags.yml b/.gitlab-ci/image-tags.yml
index 6495ea008df..b0c37b218e1 100644
--- a/.gitlab-ci/image-tags.yml
+++ b/.gitlab-ci/image-tags.yml
@@ -1,6 +1,6 @@
 variables:
    DEBIAN_X86_BUILD_BASE_IMAGE: "debian/x86_build-base"
-   DEBIAN_BASE_TAG: "2022-06-16-Debian-MinGW"
+   DEBIAN_BASE_TAG: "2022-06-27-libvulkan"
 
    DEBIAN_X86_BUILD_IMAGE_PATH: "debian/x86_build"
    DEBIAN_BUILD_TAG: "2022-06-16-Debian-MinGW"
diff --git a/src/freedreno/ci/freedreno-a630-fails.txt b/src/freedreno/ci/freedreno-a630-fails.txt
index ac87377170f..71ea0762031 100644
--- a/src/freedreno/ci/freedreno-a630-fails.txt
+++ b/src/freedreno/ci/freedreno-a630-fails.txt
@@ -248,6 +248,47 @@ spec at egl_chromium_sync_control@conformance,Fail
 spec at egl_ext_protected_content@conformance,Fail
 spec at egl_khr_surfaceless_context@viewport,Fail
 spec at egl_mesa_configless_context@basic,Fail
+
+# D32S8 skips (GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT), others fail.
+# The test is importing a z buffer from tu, and rendering a blue fullscreen quad
+# in gl that zfails to leave the green clear color in the middle.
+#
+# TU sysmem mode gets green on the bottom half-ish with some noise at the boundary.
+# TU gmem mode gets fullscreen green.
+spec at ext_external_objects@vk-depth-display,Fail
+spec at ext_external_objects@vk-depth-display at D16,Fail
+spec at ext_external_objects@vk-depth-display at D24S8,Fail
+
+# "Failed to submit queue." from the test some of the time.  No validation failures.
+# When it doesn't fail with that message, gets a set of corrupted colors (supposed
+# to be vertical stripes).
+spec at ext_external_objects@vk-image-display,Fail
+spec at ext_external_objects@vk-image-display-muliple-textures,Fail
+spec at ext_external_objects@vk-image-display-overwrite,Fail
+
+# Linear cases seem to do fine, optimal tiling fails.
+spec at ext_external_objects@vk-image-overwrite,Fail
+spec at ext_external_objects@vk-image-overwrite at RGB 10 A2 UINT optimal: Failed to initialize OpenGL FBO/RBO,Fail
+spec at ext_external_objects@vk-image-overwrite at RGB 10 A2 UNORM optimal: Failed to initialize OpenGL FBO/RBO,Fail
+spec at ext_external_objects@vk-image-overwrite at RGB 5 A1 UNORM optimal: Failed to initialize OpenGL FBO/RBO,Fail
+spec at ext_external_objects@vk-image-overwrite at RGBA 16 INT optimal: Failed to initialize OpenGL FBO/RBO,Fail
+spec at ext_external_objects@vk-image-overwrite at RGBA 16 SFLOAT optimal: Failed to initialize OpenGL FBO/RBO,Fail
+spec at ext_external_objects@vk-image-overwrite at RGBA 16 UINT optimal: Failed to initialize OpenGL FBO/RBO,Fail
+spec at ext_external_objects@vk-image-overwrite at RGBA 32 INT optimal: Failed to initialize OpenGL FBO/RBO,Fail
+spec at ext_external_objects@vk-image-overwrite at RGBA 32 UINT optimal: Failed to initialize OpenGL FBO/RBO,Fail
+spec at ext_external_objects@vk-image-overwrite at RGBA 4 UNORM optimal: Failed to initialize OpenGL FBO/RBO,Fail
+spec at ext_external_objects@vk-image-overwrite at RGBA 8 INT optimal: Failed to initialize OpenGL FBO/RBO,Fail
+spec at ext_external_objects@vk-image-overwrite at RGBA 8 SRGB optimal: Failed to initialize OpenGL FBO/RBO,Fail
+spec at ext_external_objects@vk-image-overwrite at RGBA 8 UINT optimal: Failed to initialize OpenGL FBO/RBO,Fail
+spec at ext_external_objects@vk-image-overwrite at RGBA 8 UNORM optimal: Failed to initialize OpenGL FBO/RBO,Fail
+
+spec at ext_external_objects@vk-semaphores,Fail
+spec at ext_external_objects@vk-semaphores-2,Fail
+
+# D32S8 skips (GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT), D24S8 fails.
+spec at ext_external_objects@vk-stencil-display,Fail
+spec at ext_external_objects@vk-stencil-display at D24S8,Fail
+
 spec at ext_framebuffer_blit@fbo-blit-check-limits,Fail
 
 spec at ext_framebuffer_multisample@alpha-to-coverage-dual-src-blend 2,Fail
diff --git a/src/freedreno/ci/gitlab-ci.yml b/src/freedreno/ci/gitlab-ci.yml
index adaf9667497..6fac9deab48 100644
--- a/src/freedreno/ci/gitlab-ci.yml
+++ b/src/freedreno/ci/gitlab-ci.yml
@@ -3,6 +3,7 @@
     - .baremetal-test-arm64
     - .freedreno-rules
   variables:
+    VK_DRIVER: freedreno
     FLAKES_CHANNEL: "#freedreno-ci"
     PIGLIT_PLATFORM: mixed_glx_egl
     BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8 $BM_KERNEL_EXTRA_ARGS root=/dev/nfs rw nfsrootdebug nfsroot=,tcp,nfsvers=4.2 init=/init $BM_KERNELARGS"
@@ -16,7 +17,6 @@
     - .baremetal-deqp-test
   variables:
     DEQP_VER: vk
-    VK_DRIVER: freedreno
     # Increase the hangcheck timer for our spilling tests which bump up against
     # the .5s default.
     FREEDRENO_HANGCHECK_MS: 2000



More information about the mesa-commit mailing list