mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:10:52 +01:00
[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
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#19
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @slauko on GitHub (Nov 24, 2026).
Original GitHub issue: https://github.com/ubiquitarianism/leonida/issues/636
Commit
Corpus translated at
426023a5with--wave64-emulate(26,503/26,503 passspirv-val); checker built at1cc6e3c12(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 --isolateunder 610.57.04 (4 threads in the first attempt,--jobs 1for the single-module retries)--jobs 1for 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 returnsNVVM compilation failedon this machine — it allocates without bound instead.595.112.07: the corpus compiles cleanly up to the three largest modules:
--jobs 1)Hindirect_diffuse_lighting_CS_ScreenProbes_ActivateRays_d60186e6_WrappedJindirect_diffuse_lighting_CS_ScreenProbes_ActivateProbes_9083c094_WrappedPindirect_diffuse_lighting_CS_ScreenProbes_ActivateProbesTarget_534f271f_Wrapped26,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: 3after ~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.
@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
5d74c272363f2703265d44e6aaab1a1df8ddfaf3All 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.
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:
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 (
vkcubeandvkpeak) 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>@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_checkprocess 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.