[GH-ISSUE #636] GPU test: NVIDIA GeForce RTX 3080 Ti on Linux (595.112.07) — 26,500 pipelines ok; the two ScreenProbes giants SIGSEGV the compiler after ~46 min, the 23 MB sibling compiles in 72 min — and 610.57.04 grows past 100 GB instead #19

Open
opened 2026-11-26 20:14:00 +01:00 by 4ld0 · 2 comments
Owner

Originally created by @slauko on GitHub (Nov 24, 2026).
Original GitHub issue: https://github.com/ubiquitarianism/leonida/issues/636

Commit

Corpus translated at 426023a5 with --wave64-emulate (26,503/26,503 pass spirv-val); checker built at 1cc6e3c12 (runtime/build/linux/vk_pipeline_check, Linux).

System

Arch Linux (kernel 7.2.6), NVIDIA GeForce RTX 3080 Ti — driver 595.112.07 (Vulkan 1.4.329, subgroup 32..32), and 610.57.04 for the A/B below; 31 GB RAM, 207 GB swap, 16 GB swap in the 610 run.

Where

pipelines

Command and steps

Two full-corpus runs on the same machine, two NVIDIA branches:

  • vk_pipeline_check <spirv> <cache.bin> --jobs 6 --isolate under 610.57.04 (4 threads in the first attempt, --jobs 1 for the single-module retries)
  • the same under 595.112.07 (--jobs 1 for the three largest modules)

Output

610.57.04: the full-corpus run was killed by the kernel OOM killer after 10 h 21 m at 20,750 of 26,503 pipelines while compiling Jindirect_diffuse_lighting_CS_ScreenProbes_ActivateProbes_9083c094_Wrapped — 27.0 GB RSS + 72.9 GB swap (peak 29 GB/72.9 GB), allocation still growing. A single-module retry (--jobs 1, 207 GB swap available) was still compiling at 2,103 s holding ~127 GB with no completion; stopped there. The driver never returns NVVM compilation failed on this machine — it allocates without bound instead.

595.112.07: the corpus compiles cleanly up to the three largest modules:

module result alone (--jobs 1)
Hindirect_diffuse_lighting_CS_ScreenProbes_ActivateRays_d60186e6_Wrapped ok — 4,339 s, peak ~16 GB, 0 swap
Jindirect_diffuse_lighting_CS_ScreenProbes_ActivateProbes_9083c094_Wrapped SIGSEGV in the driver's compiler after ~47 min; core dumped
Pindirect_diffuse_lighting_CS_ScreenProbes_ActivateProbesTarget_534f271f_Wrapped SIGSEGV after ~46 min; identical crash signature (same coredump hash) → reproducible, same fault

26,500 of 26,503 modules and pipelines compile with 0 module/0 pipeline failures (cache 4.59 GB); the three above are the only ones larger than 20 MB in SPIR-V. Together with #884's RTX 4080 / 621.01 (NVVM compilation failed: 3 after ~400 s on the two giants) that makes three NVIDIA branches with three distinct failure modes on the same two modules — and 595.112.07 compiling the 23 MB sibling of the family in RAM suggests the branch boundary rather than the modules.

Happy to rerun anything on this GPU, either branch.

Originally created by @slauko on GitHub (Nov 24, 2026). Original GitHub issue: https://github.com/ubiquitarianism/leonida/issues/636 ### Commit Corpus translated at `426023a5` with `--wave64-emulate` (26,503/26,503 pass `spirv-val`); checker built at `1cc6e3c12` (`runtime/build/linux/vk_pipeline_check`, Linux). ### System Arch Linux (kernel 7.2.6), NVIDIA GeForce RTX 3080 Ti — driver **595.112.07** (Vulkan 1.4.329, subgroup 32..32), and **610.57.04** for the A/B below; 31 GB RAM, 207 GB swap, 16 GB swap in the 610 run. ### Where pipelines ### Command and steps Two full-corpus runs on the same machine, two NVIDIA branches: - `vk_pipeline_check <spirv> <cache.bin> --jobs 6 --isolate` under 610.57.04 (4 threads in the first attempt, `--jobs 1` for the single-module retries) - the same under 595.112.07 (`--jobs 1` for the three largest modules) ### Output **610.57.04:** the full-corpus run was killed by the kernel OOM killer after 10 h 21 m at 20,750 of 26,503 pipelines while compiling `Jindirect_diffuse_lighting_CS_ScreenProbes_ActivateProbes_9083c094_Wrapped` — 27.0 GB RSS + 72.9 GB swap (peak 29 GB/72.9 GB), allocation still growing. A single-module retry (`--jobs 1`, 207 GB swap available) was still compiling at 2,103 s holding ~127 GB with no completion; stopped there. The driver never returns `NVVM compilation failed` on this machine — it allocates without bound instead. **595.112.07:** the corpus compiles cleanly up to the three largest modules: | module | result alone (`--jobs 1`) | |---|---| | `Hindirect_diffuse_lighting_CS_ScreenProbes_ActivateRays_d60186e6_Wrapped` | **ok** — 4,339 s, peak ~16 GB, 0 swap | | `Jindirect_diffuse_lighting_CS_ScreenProbes_ActivateProbes_9083c094_Wrapped` | **SIGSEGV** in the driver's compiler after ~47 min; core dumped | | `Pindirect_diffuse_lighting_CS_ScreenProbes_ActivateProbesTarget_534f271f_Wrapped` | **SIGSEGV** after ~46 min; identical crash signature (same coredump hash) → reproducible, same fault | 26,500 of 26,503 modules and pipelines compile with 0 module/0 pipeline failures (cache 4.59 GB); the three above are the only ones larger than 20 MB in SPIR-V. Together with #884's RTX 4080 / 621.01 (`NVVM compilation failed: 3` after ~400 s on the two giants) that makes three NVIDIA branches with three distinct failure modes on the same two modules — and 595.112.07 compiling the 23 MB sibling of the family in RAM suggests the branch boundary rather than the modules. Happy to rerun anything on this GPU, either branch.
Author
Owner

@WaltrBlackington commented on GitHub (Nov 24, 2026):

<html>

I can confirm similar behavior on an NVIDIA RTX 2080 Ti under Windows 11, including extreme memory consumption when compiling the same ScreenProbes shaders individually.

Much of the troubleshooting, log analysis and test preparation was carried out with the assistance of ChatGPT-6.2. All tests and measurements were performed on my own system.

Tested commit

5d74c272363f2703265d44e6aaab1a1df8ddfaf3

All reported tests were performed using the original Leonida repository at this commit, prior to switching to any community-maintained forks.

System

  • Windows 11

  • AMD Ryzen 7 9800X3D

  • NVIDIA GeForce RTX 2080 Ti (Turing, 11 GB VRAM)

  • 64 GB DDR5-6000 CL30 (61.5 GB usable)

  • NVIDIA drivers: 617.42 and 621.35 Hotfix

  • Vulkan SDK 1.4.363.1

  • Vulkan device API 1.4.357, subgroup 32..32

  • LLVM 21.1.8

Where

Vulkan pipeline compilation. All 26,503 translated SPIR-V shaders passed validation.

Full pipeline attempts

Three attempts were performed with NVIDIA driver 617.42, progressively reducing compiler parallelism.

Compiler jobs Recorded process memory usage
8 92.32 GiB
4 95.58 GiB
2 229.06 GiB

Both shaders had previously been compiling for approximately 54 minutes simultaneously during the two-job attempt.

The ActivateRays SPIR-V module is 15,657,292 bytes (14.93 MiB) in my translated corpus.

The isolated ActivateProbes test terminated with:

LLVM ERROR: out of memory
Allocation failed

Physical RAM utilization reached approximately 99% during both isolated tests.

Unlike the previous full pipeline attempts, the system remained responsive and memory usage returned to normal after termination. The Job Object memory limit may have prevented further system-wide resource exhaustion, although this has not been independently confirmed.

Additional observations

Independent Vulkan graphics and compute tests (vkcube and vkpeak) completed successfully without unusual memory consumption.

The issue therefore persists on Windows with NVIDIA Turing hardware and driver 621.35, even when the affected shaders are compiled individually.

Combined with the results already documented in this issue, the behavior does not appear to be exclusive to Linux or a particular NVIDIA GPU architecture.

If needed, I would be happy to provide complete pipeline logs, Windows Event ID 2004 entries, screenshots of both isolated tests, memory usage graphs and additional diagnostic information.

Thanks for investigating this issue.

</html>
<!-- gh-comment-id:7139919961 --> @WaltrBlackington commented on GitHub (Nov 24, 2026): <html> <body> <!--StartFragment--><p><span>I can confirm similar behavior on an NVIDIA RTX 2080 Ti under Windows 11, including extreme memory consumption when compiling the same ScreenProbes shaders individually.</span></p><p><span>Much of the troubleshooting, log analysis and test preparation was carried out with the assistance of ChatGPT-6.2. All tests and measurements were performed on my own system.</span></p><p><span>Tested commit `5d74c272363f2703265d44e6aaab1a1df8ddfaf3` All reported tests were performed using the original Leonida repository at this commit, prior to switching to any community-maintained forks.</span></p><h3><span>System</span></h3><ul><li><p><span>Windows 11</span></p></li><li><p><span>AMD Ryzen 7 9800X3D</span></p></li><li><p><span>NVIDIA GeForce RTX 2080 Ti (Turing, 11 GB VRAM)</span></p></li><li><p><span>64 GB DDR5-6000 CL30 (61.5 GB usable)</span></p></li><li><p><span>NVIDIA drivers: 617.42 and 621.35 Hotfix</span></p></li><li><p><span>Vulkan SDK 1.4.363.1</span></p></li><li><p><span>Vulkan device API 1.4.357, subgroup 32..32</span></p></li><li><p><span>LLVM 21.1.8</span></p></li></ul><h3><span>Where</span></h3><p><span>Vulkan pipeline compilation. All 26,503 translated SPIR-V shaders passed validation.</span></p><h3><span>Full pipeline attempts</span></h3><p><span>Three attempts were performed with NVIDIA driver 617.42, progressively reducing compiler parallelism.</span></p> Compiler jobs | Recorded process memory usage -- | -- 8 | 92.32 GiB 4 | 95.58 GiB 2 | 229.06 GiB <p><span>Both shaders had previously been compiling for approximately 54 minutes simultaneously during the two-job attempt.</span></p><p><span>The ActivateRays SPIR-V module is 15,657,292 bytes (14.93 MiB) in my translated corpus.</span></p><p><span>The isolated ActivateProbes test terminated with:</span></p><pre><code><span>LLVM ERROR: out of memory Allocation failed</span></code></pre><p><span>Physical RAM utilization reached approximately 99% during both isolated tests.</span></p><p><span>Unlike the previous full pipeline attempts, the system remained responsive and memory usage returned to normal after termination. The Job Object memory limit may have prevented further system-wide resource exhaustion, although this has not been independently confirmed.</span></p><h3><span>Additional observations</span></h3><p><span>Independent Vulkan graphics and compute tests (</span><code><span>vkcube</span></code><span> and </span><code><span>vkpeak</span></code><span>) completed successfully without unusual memory consumption.</span></p><p><span>The issue therefore persists on Windows with NVIDIA Turing hardware and driver 621.35, even when the affected shaders are compiled individually.</span></p><p><span>Combined with the results already documented in this issue, the behavior does not appear to be exclusive to Linux or a particular NVIDIA GPU architecture.</span></p><p><span>If needed, I would be happy to provide complete pipeline logs, Windows Event ID 2004 entries, screenshots of both isolated tests, memory usage graphs and additional diagnostic information.</span></p><p><span>Thanks for investigating this issue.</span></p><!--EndFragment--> </body> </html>
Author
Owner

@fuegon7 commented on GitHub (Nov 24, 2026):

Additional Windows test results:

System: Windows 11, Intel Core i7-12700K, 32 GB RAM, NVIDIA GeForce RTX 3070 Ti with 8 GB VRAM, using Vulkan.

During the pipeline check, the vk_pipeline_check process compiled these large ScreenProbes compute modules:

  • Jindirect_diffuse_lighting_CS_ScreenProbes_ActivateProbes_9083c094_Wrapped — approximately 1,413 seconds (23 minutes 33 seconds).
  • Hindirect_diffuse_lighting_CS_ScreenProbes_ActivateRays_d60186e6_Wrapped — approximately 1,918 seconds (31 minutes 58 seconds).
  • Pindirect_diffuse_lighting_CS_ScreenProbes_ActivateProbesTarget_534f271f_Wrapped — approximately 1,409 seconds (23 minutes 29 seconds)

While these modules were compiling, system RAM usage rose rapidly from around 9 GB to around 20 GB, CPU usage did not increase by more than about 5%. During the later pipeline range, usage reached approximately 23 GB. CPU usage increased by more than about 60% . All three modules eventually compiled successfully, and the pipeline check reported no failed compute modules or pipelines.

On this system, the long compile times and high memory use appear consistent with these modules being unusually large and resource-intensive. They completed successfully in this run, so the behavior did not present as a compilation failure here.

<!-- gh-comment-id:7145463997 --> @fuegon7 commented on GitHub (Nov 24, 2026): Additional Windows test results: **System:** Windows 11, Intel Core i7-12700K, 32 GB RAM, NVIDIA GeForce RTX 3070 Ti with 8 GB VRAM, using Vulkan. During the pipeline check, the `vk_pipeline_check` process compiled these large ScreenProbes compute modules: - `Jindirect_diffuse_lighting_CS_ScreenProbes_ActivateProbes_9083c094_Wrapped` — approximately 1,413 seconds (23 minutes 33 seconds). - `Hindirect_diffuse_lighting_CS_ScreenProbes_ActivateRays_d60186e6_Wrapped` — approximately 1,918 seconds (31 minutes 58 seconds). - `Pindirect_diffuse_lighting_CS_ScreenProbes_ActivateProbesTarget_534f271f_Wrapped` — approximately 1,409 seconds (23 minutes 29 seconds) While these modules were compiling, system RAM usage rose rapidly from around 9 GB to around 20 GB, CPU usage did not increase by more than about 5%. During the later pipeline range, usage reached approximately 23 GB. CPU usage increased by more than about 60% . All three modules eventually compiled successfully, and the pipeline check reported no failed compute modules or pipelines. On this system, the long compile times and high memory use appear consistent with these modules being unusually large and resource-intensive. They completed successfully in this run, so the behavior did not present as a compilation failure here.
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
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
starred/leonida#19
No description provided.