GPU test cs_imgstore_cube fails on Tesla V100 (Volta), driver 580.178.04 #1492

Open
opened 2026-11-26 09:53:55 +00:00 by github-bot · 5 comments
Owner

@⁠31415-n on GitHub · 2026-11-25 01:53 UTC · original

run_gpu_tests.py fails one fixture on a Tesla V100-SXM2-16GB (Volta) under Linux.

  • Commit: b4b7756e8c64e7ae8b310288d543db0e428c0796 (main, 2026-11-25)
  • GPU: NVIDIA Tesla V100-SXM2-16GB (Volta, PCI device 0x1db1), subgroup 32..32
  • Driver: NVIDIA 580.178.04 (driverVersion 580.178.4.0), Vulkan 1.4.312
  • Tools: llvm-mc 23.1.6, SPIRV-Tools v2026.4

Failure:

cs_imgstore_cube: exit 1: r32 sint (sint view): 63 bad, texel(5,3) = 0

Reproduced in the native run, in the wave64-emulated run, in the all-fallbacks run, and once with --filter cs_imgstore_cube.

It is not listed under docs/testing.md "Known problems". The full record with all pass/skip counts is being added in the first Volta GPU-results pull request (gpu-test-results/V100-SXM2.txt), which will link this issue.

Repro (no game data, no account or machine identifiers):

LLVM_MC=<llvm-mc 23.1.6> LEONIDA_VK_DEVICE=V100 \
python3 -I scripts/run_gpu_tests.py --build <external-build-dir> --filter cs_imgstore_cube

AI-assisted (OpenCode agent). Counts and error classes only; no game data, paths, or personal identifiers.

**@⁠31415-n** on GitHub · 2026-11-25 01:53 UTC · [original](https://github.com/ubiquitarianism/leonida/issues/1492) `run_gpu_tests.py` fails one fixture on a Tesla V100-SXM2-16GB (Volta) under Linux. - Commit: `b4b7756e8c64e7ae8b310288d543db0e428c0796` (`main`, 2026-11-25) - GPU: NVIDIA Tesla V100-SXM2-16GB (Volta, PCI device 0x1db1), subgroup 32..32 - Driver: NVIDIA 580.178.04 (driverVersion 580.178.4.0), Vulkan 1.4.312 - Tools: llvm-mc 23.1.6, SPIRV-Tools v2026.4 Failure: ``` cs_imgstore_cube: exit 1: r32 sint (sint view): 63 bad, texel(5,3) = 0 ``` Reproduced in the native run, in the wave64-emulated run, in the all-fallbacks run, and once with `--filter cs_imgstore_cube`. It is not listed under docs/testing.md "Known problems". The full record with all pass/skip counts is being added in the first Volta GPU-results pull request (`gpu-test-results/V100-SXM2.txt`), which will link this issue. Repro (no game data, no account or machine identifiers): ``` LLVM_MC=<llvm-mc 23.1.6> LEONIDA_VK_DEVICE=V100 \ python3 -I scripts/run_gpu_tests.py --build <external-build-dir> --filter cs_imgstore_cube ``` AI-assisted (OpenCode agent). Counts and error classes only; no game data, paths, or personal identifiers.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 09:53:55 +00:00
Author
Owner

@⁠31415-n on GitHub · 2026-11-25 01:55 UTC · original

Recorded in the first Volta GPU-results pull request: #1494.

**@⁠31415-n** on GitHub · 2026-11-25 01:55 UTC · [original](https://github.com/ubiquitarianism/leonida/issues/1492#issuecomment-7150115379) Recorded in the first Volta GPU-results pull request: #1494.
Author
Owner

@⁠j-weiner on GitHub · 2026-11-25 16:53 UTC · original

I built and ran the existing synthetic cs_imgstore_cube fixture from current main (9e7720c9e) through vk_store_test on an NVIDIA GeForce RTX 5090 (driver 621.14, Windows 11 Pro 26200, Vulkan SDK 1.4.363.1). Translation and spirv-val both passed; all three cube formats reported 0 bad texels, including r32 sint at face 4 texel (5,3) = -4029. This does not reproduce the Tesla V100 failure, so I cannot validate a V100-specific fix on this machine. No game files were used; no code change made.

**@⁠j-weiner** on GitHub · 2026-11-25 16:53 UTC · [original](https://github.com/ubiquitarianism/leonida/issues/1492#issuecomment-7168674818) I built and ran the existing synthetic `cs_imgstore_cube` fixture from current `main` (`9e7720c9e`) through `vk_store_test` on an NVIDIA GeForce RTX 5090 (driver 621.14, Windows 11 Pro 26200, Vulkan SDK 1.4.363.1). Translation and `spirv-val` both passed; all three cube formats reported 0 bad texels, including `r32 sint` at face 4 texel (5,3) = -4029. This does not reproduce the Tesla V100 failure, so I cannot validate a V100-specific fix on this machine. No game files were used; no code change made.
Author
Owner

@⁠kevincommits on GitHub · 2026-11-27 01:21 UTC · original

Data point on Turing (same 580 Linux driver branch): cs_imgstore_cube passes on an NVIDIA Tesla T4 (Turing / TU104, PCI 10de:1eb8, Google Colab T4 runtime) with driver 580.82.07 (Vulkan 1.4.312), Ubuntu 24.04.4 LTS (6.6.159+), llvm-mc 23.1.6, SPIRV-Tools 2026.4, at main d1dff7949:

PASS  cs_imgstore_cube      r32 sint cube (sint view): 0 bad, face 4 texel(5,3) = -4029

Passed in native, LEONIDA_W64_EMULATE=1, and isolated --filter cs_imgstore_cube runs. That narrows this between Volta (GV100) and Turing (TU104) on the 580 driver branch (or 580.82.07 vs 580.178.04). Full Tesla T4 record staged on kevincommits/leonida:gpu/tesla-t4-colab (claim: #1608).

No game files used. AI-assisted.

**@⁠kevincommits** on GitHub · 2026-11-27 01:21 UTC · [original](https://github.com/ubiquitarianism/leonida/issues/1492#issuecomment-7207227838) Data point on Turing (same 580 Linux driver branch): `cs_imgstore_cube` **passes** on an NVIDIA Tesla T4 (Turing / TU104, PCI `10de:1eb8`, Google Colab T4 runtime) with driver `580.82.07` (Vulkan `1.4.312`), Ubuntu 24.04.4 LTS (`6.6.159+`), `llvm-mc 23.1.6`, `SPIRV-Tools 2026.4`, at `main` `d1dff7949`: ``` PASS cs_imgstore_cube r32 sint cube (sint view): 0 bad, face 4 texel(5,3) = -4029 ``` Passed in native, `LEONIDA_W64_EMULATE=1`, and isolated `--filter cs_imgstore_cube` runs. That narrows this between Volta (GV100) and Turing (TU104) on the 580 driver branch (or 580.82.07 vs 580.178.04). Full Tesla T4 record staged on `kevincommits/leonida:gpu/tesla-t4-colab` (claim: https://git.gtahub.st/github/ubiquitarianism--leonida/issues/1608). No game files used. AI-assisted.
Author
Owner

@⁠akimfomin on GitHub · 2026-11-27 01:36 UTC · original

I compared the V100 and T4 revisions. The cs_imgstore_cube.asm blob is identical, but both the helper and runner changed. For example, the T4 harness adds descriptor-kind metadata where the cube descriptor is inserted. Also, the V100 summary has the text the older source uses for its ordinary 2D path; the cube path prints a distinct line with face 4. The older Python script did pass cube. The summary alone does not tell us why those differ.

PortBridge Lab #111 pins the first useful run: the T4-passing revision on Volta in a clean build directory, returning the cube-specific line and driver. A complementary run of the older revision on T4 is useful if someone already has that device. Existing reports remain credited to 31415-n and kevincommits. One isolated synthetic test is enough to start.

**@⁠akimfomin** on GitHub · 2026-11-27 01:36 UTC · [original](https://github.com/ubiquitarianism/leonida/issues/1492#issuecomment-7207434291) I compared the V100 and T4 revisions. The `cs_imgstore_cube.asm` blob is identical, but both the helper and runner changed. For example, [the T4 harness adds descriptor-kind metadata where the cube descriptor is inserted](https://github.com/ubiquitarianism/leonida/blob/d1dff7949be62b6609c3c2ca937df7f50fbf1305/runtime/test/vk_store_test.cpp#L240-L249). Also, the V100 summary has the text the older source uses for its ordinary 2D path; the cube path [prints a distinct line with face 4](https://github.com/ubiquitarianism/leonida/blob/b4b7756e8c64e7ae8b310288d543db0e428c0796/runtime/test/vk_store_test.cpp#L587-L609). The older Python script did pass `cube`. The summary alone does not tell us why those differ. [PortBridge Lab #111](https://github.com/akimfomin/PortBridge/issues/111#issuecomment-7207400733) pins the first useful run: the T4-passing revision on Volta in a clean build directory, returning the cube-specific line and driver. A complementary run of the older revision on T4 is useful if someone already has that device. Existing reports remain credited to 31415-n and kevincommits. One isolated synthetic test is enough to start.
Author
Owner

@⁠kevincommits on GitHub · 2026-11-27 13:59 UTC · original

@⁠akimfomin Ran the complementary check on a Google Colab Tesla T4 (Turing / TU104, PCI 0x1EB810DE, NVIDIA driver 580.82.07, Linux) at both the exact older V100 revision b4b7756e8 and d1dff7949 in clean build directories (vk_store_test + vk_compute_test + vk_harness):

At b4b7756e8 (same revision as the V100 failure)

  • python3 -I scripts/run_gpu_tests.py --build runtime/build/older_v100_rev --filter cs_imgstore_cube --require-pass:
    PASS  cs_imgstore_cube      r32 sint cube (sint view): 0 bad, face 4 texel(5,3) = -4029
    1/1 passed
    
  • Direct vk_store_test cs_imgstore_cube.spv cube (rc=0):
    device: Tesla T4
    rgba8 unorm cube (float view): 0 bad, face 4 texel(5,3) = 182 109 204 255
    r32 uint cube (uint view): 0 bad, face 4 texel(5,3) = 4129
    r32 sint cube (sint view): 0 bad, face 4 texel(5,3) = -4029
    
  • Negative control (direct vk_store_test cs_imgstore_cube.spv without cube, rc=1): 64/64/63 bad, all zeros.

At d1dff7949

  • Identical 1/1 passed (0 bad on all three cube views: rgba8 unorm, r32 uint, r32 sint).

Additional NVIDIA 580.82.07 Colab data points (at d1dff7949)

  • NVIDIA L4 (Ada / AD104, 580.82.07): PASS cs_imgstore_cube r32 sint cube (sint view): 0 bad, face 4 texel(5,3) = -4029
  • NVIDIA A100-SXM4-40GB (Ampere / GA100, 580.82.07): passed inside the full run_gpu_tests.py suite (209/269 native and 244/269 LEONIDA_W64_EMULATE=1, sole failure cs_imgatomic_ext #1518).

This rules out a commit difference between b4b7756e8 and d1dff7949 and points specifically to Volta (V100) and/or driver 580.178.04 vs 580.82.07.

No game files used. AI-assisted.

**@⁠kevincommits** on GitHub · 2026-11-27 13:59 UTC · [original](https://github.com/ubiquitarianism/leonida/issues/1492#issuecomment-7220191428) @⁠akimfomin Ran the complementary check on a **Google Colab Tesla T4** (Turing / TU104, PCI `0x1EB810DE`, NVIDIA driver `580.82.07`, Linux) at both the exact older V100 revision **`b4b7756e8`** and **`d1dff7949`** in clean build directories (`vk_store_test` + `vk_compute_test` + `vk_harness`): ### At `b4b7756e8` (same revision as the V100 failure) - `python3 -I scripts/run_gpu_tests.py --build runtime/build/older_v100_rev --filter cs_imgstore_cube --require-pass`: ```text PASS cs_imgstore_cube r32 sint cube (sint view): 0 bad, face 4 texel(5,3) = -4029 1/1 passed ``` - Direct `vk_store_test cs_imgstore_cube.spv cube` (`rc=0`): ```text device: Tesla T4 rgba8 unorm cube (float view): 0 bad, face 4 texel(5,3) = 182 109 204 255 r32 uint cube (uint view): 0 bad, face 4 texel(5,3) = 4129 r32 sint cube (sint view): 0 bad, face 4 texel(5,3) = -4029 ``` - Negative control (direct `vk_store_test cs_imgstore_cube.spv` without `cube`, `rc=1`): `64/64/63 bad`, all zeros. ### At `d1dff7949` - Identical **`1/1 passed`** (`0 bad` on all three cube views: `rgba8 unorm`, `r32 uint`, `r32 sint`). ### Additional NVIDIA `580.82.07` Colab data points (at `d1dff7949`) - **NVIDIA L4** (Ada / AD104, `580.82.07`): `PASS cs_imgstore_cube r32 sint cube (sint view): 0 bad, face 4 texel(5,3) = -4029` - **NVIDIA A100-SXM4-40GB** (Ampere / GA100, `580.82.07`): passed inside the full `run_gpu_tests.py` suite (`209/269` native and `244/269` `LEONIDA_W64_EMULATE=1`, sole failure `cs_imgatomic_ext` #1518). This rules out a commit difference between `b4b7756e8` and `d1dff7949` and points specifically to **Volta (V100) and/or driver `580.178.04` vs `580.82.07`**. No game files used. AI-assisted.
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/ubiquitarianism--leonida#1492
No description provided.