Mesa Vulkan CTS

Mesa tests its pvr Vulkan driver in its CI with the Khronos VK-GL-CTS (deqp-vk), run by deqp-runner. The configuration is in Mesa’s src/imagination/ci/:

  • deqp-pvr-vk.toml: the vk-main mustpass list, groups of 10000 tests, 180 s timeout, renderer check PowerVR;

  • <gpu>-fails.txt, <gpu>-flakes.txt, <gpu>-skips.txt: the expected failures, flaky tests and skipped tests of each CI device. Mesa has them for AXE-1-16M and BXS-4-64 (with the manufacturer’s firmware), not for the BXE-2-32.

Running the same configuration on the board shows what the clean-room firmware changes for the CTS. Without a BXE-2-32 expectation file, the first complete run becomes the reference for the next ones.

Run

On the board, with deqp-vk and deqp-runner built for riscv64:

export VK_ICD_FILENAMES=$HOME/mesa-dev/share/vulkan/icd.d/powervr_mesa_icd.riscv64.json
export PVR_I_WANT_A_BROKEN_VULKAN_DRIVER=1 MESA_VK_IGNORE_CONFORMANCE_WARNING=1
deqp-runner suite --suite deqp-pvr-vk.toml --output out-cts \
    --skips <skips.txt> --baseline <fails.txt>

The vk-main list has several hundred thousand cases: on the BPI-F3 a full run takes many hours, so it can be split with --fraction.

Results

No complete run yet. Earlier partial runs with deqp-vk (compute and transfer groups: compute.pipeline.basic, fill_and_update_buffer, copy_and_blit) are in Status and experiments.