ci/tu: Move vkd3d-proton testing from nightly to pre-merge.
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run

Now that we have vkd3d-proton testing support (and single-threaded test
support for test_large_texel_buffer), we can integrate vkd3d into the
normal pre-merge test run.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39568>
This commit is contained in:
Emma Anholt 2026-01-26 13:16:02 -08:00 committed by Marge Bot
parent 52cc02a60f
commit 5f82c1ae54
7 changed files with 55 additions and 20 deletions

View file

@ -49,6 +49,22 @@ elif [ -d "/piglit" ]; then
rm -r /piglit
fi
if [ -n "$VKD3D_PROTON_TAG" ]; then
# Are we using the right vkd3d-proton version?
ci_tag_test_time_check "VKD3D_PROTON_TAG"
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH:-}:$INSTALL/lib/:/vkd3d-proton-tests/lib/"
# Set environment for Wine.
export WINEDEBUG="-all"
export WINEPREFIX="/vkd3d-proton-wine64"
export WINEESYNC=1
# Work around our install not using the same layout as the build tree (but
# vkd3d-proton.sh relies on the current layout).
ln -s /vkd3d-proton-tests/d3d12 /vkd3d-proton-tests/tests/d3d12
fi
# Ensure Mesa Shader Cache resides on tmpfs.
SHADER_CACHE_HOME=${XDG_CACHE_HOME:-${HOME}/.cache}
SHADER_CACHE_DIR=${MESA_SHADER_CACHE_DIR:-${SHADER_CACHE_HOME}/mesa_shader_cache}

View file

@ -77,3 +77,7 @@ TU_DEBUG = "dynamic"
# TU_DEBUG_STALE_REGS_RANGE = "0x0c00,0xbe01"
# TU_DEBUG_STALE_REGS_FLAGS = "cmdbuf,renderpass"
# FREEDRENO_HANGCHECK_MS = "2000"
[[vkd3d]]
vkd3d_folder = "/vkd3d-proton-tests/"
prefix="vkd3d-" # The test names are pretty ambiguous, otherwise.

View file

@ -109,3 +109,23 @@ program@execute@builtin@builtin-float-nextafter-1.0.generated@nextafter float8,F
angle-dEQP-GLES2.functional.shaders.algorithm.rgb_to_hsl_vertex,Fail
KHR-GL46.shader_atomic_counters.basic-usage-tes,Fail
# https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39499
vkd3d-test_large_texel_buffer_view,Fail
# test_shader_instructions:3479:124:f32tof16: Test failed: Got {0x00000000, 0x00000000, 0x00000000, 0x00000000}, expected {0x00000001, 0x00000002, 0x00000003, 0x00000004} at (0, 0).
# test_shader_instructions:3479:125:f32tof16: Test failed: Got {0x00008000, 0x00008000, 0x00008000, 0x00008000}, expected {0x00008001, 0x00008002, 0x00008003, 0x00008004} at (0, 0).
# test_shader_instructions:3479:130:f32tof16: Todo succeeded: Got {0x00006400, 0x00006401, 0x00006402, 0x00006403}, expected {0x00006400, 0x00006401, 0x00006402, 0x00006403} at (32, 32).
# test_shader_instructions:3479:131:f32tof16: Todo succeeded: Got {0x00006800, 0x00006801, 0x00006802, 0x00006803}, expected {0x00006800, 0x00006801, 0x00006802, 0x00006803} at (32, 32).
# test_shader_instructions:3479:132:f32tof16: Todo succeeded: Got {0x0000e400, 0x0000e401, 0x0000e402, 0x0000e403}, expected {0x0000e400, 0x0000e401, 0x0000e402, 0x0000e403} at (32, 32).
# test_shader_instructions:3479:133:f32tof16: Todo succeeded: Got {0x0000e800, 0x0000e801, 0x0000e802, 0x0000e803}, expected {0x0000e800, 0x0000e801, 0x0000e802, 0x0000e803} at (32, 32).
# test_shader_instructions:3479:134:f32tof16: Todo: Got {0x00000000, 0x00008000, 0x00000000, 0x00008000}, expected {0x00000000, 0x00008000, 0x00000001, 0x00008001} at (0, 0).
vkd3d-test_shader_instructions,Fail
# This one runs until OOM in the heap, it seems. Even single-threaded under
# deqp-runner, we see failures with:
# 4128:err:vkd3d_allocate_device_memory: Failed to allocate device memory (size 16842752, type_flags 0x1, type_mask 0x7).
# test_stress_fallback_render_target_allocation_device:3309: Test failed: Failed to create heap, hr #8007000e.
vkd3d-test_stress_fallback_render_target_allocation_device,Fail
vkd3d-test_sparse_depth_stencil_rendering,Fail

View file

@ -77,3 +77,10 @@ dEQP-GLES31.functional.ssbo.layout.single_basic_type.std140.column_major_highp_m
dEQP-GLES31.functional.ssbo.layout.single_basic_type.std140.row_major_mediump_mat4x2
dEQP-GLES31.functional.ssbo.layout.single_basic_type.std430.highp_uvec2
dEQP-GLES31.functional.ssbo.layout.single_basic_type.std430.mediump_mat3
# test_object_interface:1615:pipeline state: Test failed: Test object has 1 references left.
vkd3d-test_object_interface
# "test_pipeline_library:369: Test failed: Refcount 2 != 1."
vkd3d-test_pipeline_library
# Aborted with malloc corruption
vkd3d-test_read_subresource_rt

View file

@ -3,3 +3,10 @@ gmem-dEQP-VK.api.*
gmem-dEQP-VK.renderpass\..*
gmem-dEQP-VK.synchronization\..*
gmem-dEQP-VK.wsi.*
# Blocks until timeout (then reports Crash):
# msm_dpu ae01000.display-controller: [drm:hangcheck_handler] *ERROR* 67.5.20.1: hangcheck detected gpu lockup rb 2!
# msm_dpu ae01000.display-controller: [drm:hangcheck_handler] *ERROR* 67.5.20.1: completed fence: 4294967112
# msm_dpu ae01000.display-controller: [drm:hangcheck_handler] *ERROR* 67.5.20.1: submitted fence: 4294967115
# *** gpu fault: ttbr0=00000008b80fc000 iova=0000000100691300 dir=READ type=TRANSLATION source=UCHE (3736059565,3736059565,3736059565,3736059565)
vkd3d-test_fence_pending_signal_cpu_rewind_plain

View file

@ -1,9 +0,0 @@
test_shader_instructions,Fail
test_large_texel_buffer_view,Fail
test_sparse_depth_stencil_rendering,Fail
# msm_dpu ae01000.display-controller: [drm:hangcheck_handler] *ERROR* 67.5.20.1: hangcheck detected gpu lockup rb 2!
# msm_dpu ae01000.display-controller: [drm:hangcheck_handler] *ERROR* 67.5.20.1: completed fence: 4294967112
# msm_dpu ae01000.display-controller: [drm:hangcheck_handler] *ERROR* 67.5.20.1: submitted fence: 4294967115
# *** gpu fault: ttbr0=00000008b80fc000 iova=0000000100691300 dir=READ type=TRANSLATION source=UCHE (3736059565,3736059565,3736059565,3736059565)
test_fence_pending_signal_cpu_rewind_plain,Crash

View file

@ -321,6 +321,7 @@ a750-gl-cl:
a750-vk:
extends:
- .test-vkd3d-proton # must come before other extends, since we don't want its HWCI_TEST_SCRIPT
- .ci-tron-arm64-test-vk
- .a750-kws
- .valve-turnip-rules
@ -329,14 +330,3 @@ a750-vk:
variables:
CI_TRON_TIMEOUT__OVERALL__MINUTES: 16
DEQP_SUITE: freedreno-a750-vk
a750-vkd3d:
extends:
- .ci-tron-arm64-test-vk
- .a750-mupuf
- .valve-turnip-manual-rules
- .test-vkd3d-proton
timeout: 15m # base runtime 3min
variables:
CI_TRON_TIMEOUT__OVERALL__MINUTES: 12
FDO_CI_CONCURRENT: 1