testGpuFwVulkan

testGpuFwVulkan is the firmware’s main Vulkan test battery: headless workloads that go through Mesa pvr, the powervr kernel driver and the firmware, with every result checked on the CPU, pixel by pixel or word by word. A test passes only if every fence signals in time and every value read back matches, so a firmware that skips work or renders garbage fails even when nothing faults. How it is built and run is described in Test harness: testGpuFwVulkan; the test catalogue is in the repository’s docs/tests.rst.

all runs every group except hwr and prio, which are run on their own.

Results BXE-2-32

Run on 2026-11-30.

Setup:

Board

Banana Pi BPI-F3 8 GB (SpacemiT K1), Arch Linux on the eMMC

Firmware

free_rogue_36.29.52.182_v1.1.fw (SHA-256 c34472b3…), installed as powervr/rogue_36.29.52.182_v1.fw; the kernel logs FW version v1.1 (build 1 OS)

Kernel

7.4.0-rc4-00014-g1aec6762d79e (patchs/linux), Initialized powervr 1.1.0

Mesa

main ad9b5de2dbe7 with patchs/mesa 01 and 02, built on the board into ~/mesa-dev

testGpuFwVulkan

0.2 (a7fc168)

Commands:

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
testGpuFwVulkan -k -L 120 -B baselines/mainline-mesa-pvr-bxe-2-32-manufacturer-fw-1.1.txt all
testGpuFwVulkan -k -L 180 group:hwr group:prio

all: 48 pass, 0 fail, 0 timeout, 0 lost, 0 error, 2 skip, in 61 s. Against the baseline of the same Mesa with the manufacturer’s open firmware (published in docsClean/BXE-2-32/testGpuFwVulkan-results): 50 same, 0 better, 0 worse. The kernel log of the run has no fault, lockup or failed poll.

Group

Result

Tests

render

19/20

multiframe, pre-ta, bigpb, bigpb-layers, input-attach, rta, zs-load, msaa, mrt, sizes, vertex, indirect, queries, formats, secondary, multiview, raster, load-store-none, vertex-ext: pass. local-read: skip

second

8/8

second-same, second-resubmit, second-newfb, second-newall, second-compute, second-xfer, second-split, second-barrier

compute

4/4

pre-cdm, resources, compute-dims, subgroups

transfer

5/5

xfer, buffers, ds-copy, blit-mips, image-copy

texture

2/2

texture, texture2

sync

2/2

sync, sync2

memory

1/2

memory: pass. sparse: skip

robust

1/1

robust

power

2/2

suspend-after, idle-resume

stress

4/4

stress, soak, churn, ctx-switch

The two skips are features Mesa pvr does not expose, with any firmware: dynamicRenderingLocalRead (local-read) and sparse residency (sparse).

prio (3/3) and hwr (0/4):

Test

Result

Detail

prio-3d

pass

Probes delayed behind the low-priority job (no preemption: the kernel leaves ctx_switch at 0)

prio-ta

pass

The same for geometry

prio-cdm

pass

The same for compute

hwr-lockup

fail

Recovered after 30 s (kernel: context reset, guilty overrunning); multiframe and pre-cdm pass on new devices afterwards. Fails because the guilty fence signals without VK_ERROR_DEVICE_LOST

hwr-frag

fail

The same for a fragment-shader lockup

hwr-fault

fail

No page fault reaches the driver; the device keeps working

hwr-3d-fault

fail

The same for the 3D pipe

The hwr results are not a regression: the previous firmware (2026-11-29) gives exactly the same, and the lockup behaviour (fence signalled, no device lost) is also the manufacturer’s firmware’s (Status and experiments).

Results BXM-4-64

Run on 2026-12-01, during the bring-up of the BXM firmware (bvnc/36.56.104.183).

Setup:

Board

SpacemiT K3 Pico-ITX (BXM-4-64 MC1, 36.56.104.183), Arch Linux on the UFS

Firmware

free_rogue_36.56.104.183_v1.1.fw (SHA-256 dcb44399…), installed as powervr/rogue_36.56.104.183_v1.fw; the kernel logs FW version v1.1 (build 1 OS)

Kernel

7.4.0-rc4-00021-g39f8ac690b24 (patchs/linux), powervr loaded with exp_hw_support=1

Mesa

cross-compiled on the PC: main ad9b5de2dbe7 without patches, the same with patchs/mesa 01 and 02, and main d6ad437c38f without and with the patches

testGpuFwVulkan

0.3

all (-k -L 30):

Mesa

Pass

Fail

Skip

main ad9b5de2dbe7, no patches

10

39

2

main ad9b5de2dbe7 + 01 + 02

10

39

2

main d6ad437c38f, no patches

11

38

2

main d6ad437c38f + 01 + 02

11

38

2

Passing with every Mesa: queries, formats, the four compute tests (pre-cdm, resources, compute-dims, subgroups), image-copy, texture2, sync and robust; main d6ad437c38f also passes render-cread. local-read and sparse are skipped, as on the BXE. hwr and prio were not run.

Almost every other test fails for one reason: a transfer (TQ) larger than about ten 16×16 tiles faults on the BXM, and the battery reads results back with vkCmdCopyImageToBuffer, which is such a transfer. The failures therefore say little about the render itself:

  • sizes -s WxH passes up to 32×64, 64×32 and 65×32 and fails from 64×33, 96×32 and 64×64 up; image-copy passes because its copies are 32×32.

  • render-cread (the same render read back by a compute shader) passes at 64×64 and 256×256, so the render is right there. With main ad9b5de2dbe7 one 16×16 tile of the 128×16 render is wrong; main d6ad437c38f renders it right.

  • The firmware trace of a failing transfer: it is a FAST_SCALE transfer (isp_render = 3); the first tile is right and the fault follows on the second. The transfer command is the same as on the BXE except ISP_CTL (6 ISP pipes instead of 2); forcing 2 pipes changes nothing.

  • The patches change no result on the BXM: the tests they fix read back through a transfer and fail before them.

The large-transfer fault is open.