Skip to content

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

Backlog

Description

@31415-n

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.

Activity

  1. 31415-n commented on Nov 25, 2026

    @31415-n
    Author

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

  2. j-weiner commented on Nov 25, 2026

    @j-weiner
    Contributor

    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.

  3. kevincommits commented on Nov 27, 2026

    @kevincommits

    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 (comment)).

    No game files used. AI-assisted.

  4. akimfomin commented on Nov 27, 2026

    @akimfomin
    Contributor

    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.

  5. kevincommits commented on Nov 27, 2026

    @kevincommits

    @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)

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions