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 |
|
Kernel |
|
Mesa |
main |
testGpuFwVulkan |
0.2 ( |
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 |
|
second |
8/8 |
|
compute |
4/4 |
|
transfer |
5/5 |
|
texture |
2/2 |
|
sync |
2/2 |
|
memory |
1/2 |
|
robust |
1/1 |
|
power |
2/2 |
|
stress |
4/4 |
|
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 |
|---|---|---|
|
pass |
Probes delayed behind the low-priority job (no preemption: the kernel
leaves |
|
pass |
The same for geometry |
|
pass |
The same for compute |
|
fail |
Recovered after 30 s (kernel: context reset, guilty overrunning);
|
|
fail |
The same for a fragment-shader lockup |
|
fail |
No page fault reaches the driver; the device keeps working |
|
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, |
Firmware |
|
Kernel |
|
Mesa |
cross-compiled on the PC: main |
testGpuFwVulkan |
0.3 |
all (-k -L 30):
Mesa |
Pass |
Fail |
Skip |
|---|---|---|---|
main |
10 |
39 |
2 |
main |
10 |
39 |
2 |
main |
11 |
38 |
2 |
main |
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 WxHpasses up to 32×64, 64×32 and 65×32 and fails from 64×33, 96×32 and 64×64 up;image-copypasses 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 mainad9b5de2dbe7one 16×16 tile of the 128×16 render is wrong; maind6ad437c38frenders it right.The firmware trace of a failing transfer: it is a
FAST_SCALEtransfer (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 exceptISP_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.