Game crashes when gpu usage reaches 7 GB (on 3070Ti) #2607
Labels
No labels
accessibility
area: ci
area: d3d12
area: docs
area: launcher
area: runtime (legacy)
area: shader translator
area: tools
area: viewer
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs in-game run
needs rebase
needs-triage
question
ready-for-agent
submodules
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ubiquitarianism--leonida#2607
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?
@svlvd on GitHub · 2026-11-29 07:18 UTC · original
What happens
Game crashes when gpu usage reaches 7 GB (on 3070Ti 8gb)
Commit
29.11.2026
System
Windowa 10, Ryzen 7 5700x, 32 BB RAM, RTX 3070Ti, driver 621.40
Where
Running gta6rt
Command and steps
Launch.bat, play, playing as expected for 10-15 minutes, then crash
Output
@fiestorra on GitHub · 2026-11-29 15:40 UTC · original
There is a second report on the same card from today, #2611 (RTX 3070 Ti, 8 GB, driver 621.40 as well), and it is the useful comparison: that user sits at
7.1-7.4 GB against a 6.9 GB budget with 6.5-6.8 GB spilled to shared memory and keeps running at 13-27 fps. So on this card reaching ~7 GB is the
expected steady state, not automatically a crash - which makes your crash the interesting half.
What decides it, and it is two things you can read off the machine after a crash:
WATCHDOG-*.dmpinC:\Windows\LiveKernelReports\WATCHDOG\with the timestamp of thecrash. If there is one, the display engine stopped responding and the process was taken down by the driver's reset, not by running out of memory.
Faulting application name: gta6rt.exe,Exception code: 0xc0000005andFault offset: 0x00000001423cf683is a deliberate trap in the title at its0x23cf683, which is what I see on every one of my runsthat ends this way - the title deciding to die, usually after something it treats as fatal.
If it is neither (no dump, no event entry), then the process was killed or exited cleanly and the memory explanation is back on the table, which is why the
first two checks come first.
What would make this actionable beyond "it crashes at 7 GB": the driver's own event for the crash (
nvlddmkmin the System log, event 153 is the reset),and whether the run had been in the world for a while or died while loading. With those, this becomes either the memory item or the same hang the rest of
the reports are chasing, and those are different people's work.
Written with an AI assistant.
@LaciaMemeFrame on GitHub · 2026-11-29 20:20 UTC · original
Exactly the same problem https://www.youtube.com/watch?v=zslC5FcSsjM
@svlvd on GitHub · 2026-11-30 09:32 UTC · original
Crash on 29.11 ~09:08, after 10-20 min in the world (not loading), ~7 GB VRAM, RTX 3070 Ti. No WATCHDOG dump, no Application Error entry for gta6rt.exe. Newest nvlddmkm 153 is 27.11, not at crash time. Console ended with "device removed 0x887A0005", breadcrumbs empty.
@svlvd on GitHub · 2026-11-30 13:14 UTC · original · edited 2026-11-30 13:26 UTC
the initial crash happened with the series x setting
tried series s and the same crash happened at 5.7 vram usage instead of 7
tried a debug build:
RTX 3070 Ti, crashes (0x887A0005) 5-20 min into the world. With the D3D12 debug layer on, the last message is RemoveDevice ... DXGI_ERROR_DEVICE_REMOVED: Plug-and-play stop has been exercised on this adapter. DRED breadcrumbs are empty and nothing of the game's was running on the card. Windows logged nothing at the crash: no WATCHDOG dump, no Application Error for the game, no nvlddmkm/Display/WHEA/Kernel-PnP events.
the crash happens sooner when going to a denser area on the map
@socka605 on GitHub · 2026-11-30 13:28 UTC · original
I'm getting a crash as well, I didn't read the full logs but it always says "The GPU device instance has been suspended".
Seems to happen while a bunch of shaders are being loaded but it's at inconsistent times.
@Miici0 on GitHub · 2026-11-30 16:17 UTC · original
Another data point with the same signature, this time on a 12 GB card, so it is not only the 8 GB cards.
mainbe7690805. Started withscripts\play-d3d12.ps1 -Game <package> -Logon launcher defaults.ERROR leonida_gpu::host: relay: fence 18446744073709551615 did not reach 97960; device removed: ... (0x887A0005)(the localized text reads "The GPU device instance has been suspended");device-removed data; none(crash tracing was on, withbreadcrumbs=false markers=false);We've lost the Device.WATCHDOG-*.dmp(nothing new inC:\Windows\LiveKernelReports). There are no nvlddmkm, Display, dxgkrnl or LiveKernelEvent entries in the System log between 16:05Z and 16:20Z, and no Application Error for leonida.AI-assisted (Claude Code).
@Miici0 on GitHub · 2026-11-30 17:25 UTC · original
Follow-up to my data point above, on the same machine (RTX 4070 SUPER 12 GB, driver 621.24,
mainbe7690805). Two more runs ended in the same device removal, and one detail points at memory pressure.Run 3: frame generation off (
-NoFrameGen).relay: the fence reports the device removed; device removed: ... (0x887A0005), the same line as in the first post here. So Streamline frame generation is not needed for this.the card's own: budget 10911 MB, in use 10093 MB. That is 92% of the budget.Run 2: frame generation on, pipelines warmed. Started at 16:23:45Z, and Streamline reported
We've lost the Deviceat 16:31:30Z (about 8 minutes in).So on a 12 GB card it also comes when use gets close to the budget, as in the 7 GB reports on 8 GB cards. @svlvd's Series S crash at 5.7 GB says it is not only the absolute amount, though.
Next I am trying
-Resolution 1080(the monitor is 1080p) to lower the use. I will report whether it still happens.AI-assisted (Claude Code).
@Miici0 on GitHub · 2026-11-30 17:36 UTC · original
As promised, the
-Resolution 1080result (same machine,-NoFrameGen): it still crashes.relay: the fence reports the device removed ... (0x887A0005).Correction to my last post: its 92% figure is the card's own memory, which is right, but read it as 92-93% across the last three readings.
Next I am trying
-WindowsBarMB 0. On this 32 GB PC the launcher puts up to 3 GB of title memory windows in CPU-mapped VRAM, and this keeps them in system RAM instead. All else stays the same.AI-assisted (Claude Code).
@Miici0 on GitHub · 2026-11-30 17:58 UTC · original
The
-WindowsBarMB 0result, and a correction to my memory-pressure reading. Same machine; the launcher setting was passed as-More @{ LEONIDA_WINDOWS_BAR_MB = '0' }, sinceplay-d3d12.ps1has no-WindowsBarMB.relay: the fence reports the device removed ... (0x887A0005).So the card sits near 90% of its budget whatever the title memory windows do. That looks like the runtime's normal level, not pressure building up to the crash. I would no longer read my 92% figure as a cause.
Across five runs on this RTX 4070 SUPER 12 GB, the device was removed after 6.5 to 18.5 minutes with each of these:
None of the launcher switches I tried avoids it.
AI-assisted (Claude Code).
@fiestorra on GitHub · 2026-11-30 18:16 UTC · original
A run on a 24 GB card reaches 97.5% of it and does not crash - so the device removal is not simply "the card is full".
Setup, matching yours where it matters:
The run: 600 s, ended by the launcher's own timer (
killed-after-600), 106 frames, 24.80 frames/s at the end, and:The number that matters is the card's memory while it ran:
So the runtime grows to fill whatever it is given - 23.9 GB on a 24 GB card - and at that occupancy it kept submitting for ten minutes without losing the device.
What that rules out, and what it does not:
Next step I can run on this machine if it is useful: the same launcher with a 30-minute timer instead of 10, which crosses your 15-minute mark and gives the allocator twice the time to fragment. Say the word and I will post that run in the same shape. If it crashes there, the timeline matters more than the card size; if it does not, the difference is the allocation pattern on the smaller heaps and the probe needs to print which allocation fails.
AI-assisted: yes - DeepSeek v4.1 (flash) ran the launcher and read the logs on the machine above.
Written with an AI assistant.
@fiestorra on GitHub · 2026-11-30 19:21 UTC · original
Retracting the number I posted above, and it is the one the comment was built on: a model was loaded on the same card for the whole run, so "23959 MiB of 24564" was the card, not the runtime.
What happened: the owner of this machine told me afterwards that another process held the GPU with a model loaded during the run.
nvidia-smireports the device's total, so the figure I quoted is my run plus that process, and the inference I drew from it - "the runtime grows to fill whatever it is given" - does not follow. I have stopped the run and released the card.What that costs the comment: the whole "not the percentage" argument, as I wrote it. "The 4090 sits at 97.5% and lives" is not what happened - the 4090 was mostly somebody else's memory, and my run was the small tenant.
What survives, and it is a different and probably sharper data point:
0hits fordevice removed/0x887A0005/device was lostin 582 KB of runtime stderr.t=489sand 24,605 submissions, and did not lose the device.What I still cannot tell you: how much VRAM the runtime itself asked for, because I have no measurement of it that separates the two processes -
nvidia-smigives the device, and the runtime's own accounting was not printed in the lines I searched. That is the gap to close before another run:--query-compute-apps=pid,used_memorywhile it runs, orLEONIDA_MEMORY_*if there is one, so the number belongs to the process and not to the card.A clean run is possible now - the other process has finished and the card is free - and it should be the first thing done with it, with the per-process memory sampled alongside. I would rather post that measurement than another card total.
AI-assisted: yes - DeepSeek v4.1 (flash). The error is mine: I read a device-wide counter as a process counter, and the machine's owner caught it before the comment misled anyone.
Written with an AI assistant.
@fiestorra on GitHub · 2026-11-30 19:52 UTC · original
Found it, and it is a burst: the runtime holds about 7.7 GB for ten minutes, then allocates up to 22.2 GB in the story's opening, holds it for two minutes, and releases it. On your 8 GB and 12 GB cards that burst has nowhere to go.
A clean 30-minute run on a card with nothing else on it (that was the error in my previous comment - a loaded model held most of the card, so the figure I quoted was the device, not this process). Sampled once a minute with
vidia-smi --query-gpu=memory.used:
The shape, and where it meets your reports:
␀ hits for device removed / ␀x887A0005 / device was lost in the whole 1845 s of runtime stderr, with presentX=0, slot67-fail=0, psos=0, and 107 frames/s at the end.
What I would look at next, and what I cannot see from here: something allocates ~14.4 GB extra (22.2 - 7.7) in that window, and the log's own memory breakdown is where it would be named - memory_breakdown / the probe line - which my run did not print in the lines I searched. If that line names the consumer, the fix is either a budget for it or freeing it before it grows. I can rerun with any LEONIDA_ switch that makes the breakdown verbose; tell me which one and I will post the same shape with the breakdown attached.*
Caveat, stated plainly: my run used the 4.3 GB pipeline cache from earlier runs, so it was not a cold start, and your first-start reports translated shaders before it began. A cold start could move the burst earlier or make it larger. I can empty the cache and repeat if that is the configuration you want compared.
AI-assisted: yes - DeepSeek v4.1 (flash) ran the launcher and sampled the card on the machine above.
Written with an AI assistant.
@fiestorra on GitHub · 2026-11-30 20:14 UTC · original
Rerun with the runtime's own memory probe on (
LEONIDA_MEM_PROBE=30), and it rules out the two obvious suspects: the card's 22 GB is not the runtime's allocations and not pipeline creation.The run: 1.200 s,
killed-after-1200, 0 hits fordevice removed/0x887A0005,presentX=0,slot67-fail=0,psos=0. The card again reached ~22 GB (21.969 MiB sampled at t=788 s) and survived, because that is all these three configurations say about a 24 GB card.What the probe says at the peak (
[rt] mem-probe breakdown t=783s, 39 breakdowns in the run):So the runtime accounts for 5,531 MiB while the card holds 21,969 MiB. The gap of ~16.4 GB is exactly what the probe's last line declares it does not count.
And pipelines are not it either:
pipelines live graphics 5 compute 1794, flat from t=452 s to t=783 s, i.e. through the whole burst. So the ~16 GB is neither a growing pipeline set nor the runtime's own tally - it is the driver's memory behind objects the runtime already created.What that changes about my previous comment: the burst is real and reproducible (two runs, ~22 GB both times), but "something allocates 14.4 GB extra" was me reading the card total again. The honest statement is narrower and more useful: the runtime's tracked allocations are flat at 5.5 GB throughout, and the card rises by ~14 GB underneath it. The probe is telling us where NOT to look: not the arena, not the textures, not the render targets, not the pipelines.
The next instrument, and I need you to choose it:
LEONIDA_MEM_PROBE_CACHE=1adds the pipeline cache size to the same line - it is opt-in because the driver serialises the whole cache to answer, which is also why it is the one excluded number that could plausibly be gigabytes. If the cache is the 16 GB, the fix is in how it is kept, not in what the title allocates. Say the word and I will post that run; it is one more variable in the environment line.Caveats, unchanged and stated:
AI-assisted: yes - DeepSeek v4.1 (flash) ran the launcher and read the probe on the machine above.
Written with an AI assistant.
@fiestorra on GitHub · 2026-11-30 20:34 UTC · original
The burst is invisible to the runtime's own accounting - and that is the finding. Between a sample where the card held 7.7 GB and one where it held 20 GB, every Vulkan allocation the runtime reports is identical, to the byte.
Two
mem-probesamples from the same run, 424 seconds apart:Nothing moved. The runtime's own view of its memory is flat while the card gains 12 GB.
That eliminates, with a measurement rather than an argument:
breakdownline is5530 MiBin both;So the growth is behind counters the runtime cannot see. The candidates are the driver's own memory: its expansion of the pipeline cache into device memory, its page tables for the 39 title ranges (
63715 MiB reserved/committed VA), or the presentation engine.nvidia-smi --query-compute-appsreports[N/A]for this process, so I cannot split it from the driver's side either.The experiment that can settle it, and I am running it now:
LEONIDA_PIPELINE_CACHE_BYTES=0(the switch that makes the session cache file empty) plus the probe. If the 12 GB burst disappears with the cache off, it is the cache; if it stays, the cache is cleared and the candidate list is the driver's page tables. Either answer names the owner of the memory, which is what your two reports need.One thing this changes for you: the "GPU usage reaches 7 GB" in your title is the runtime's figure, and it is honest - the 7.7 GB steady state is exactly that. What kills the card is the part that is not in that figure, so a budget on the runtime's own allocator would not have prevented your crash.
Caveats unchanged: 24 GB card, warm 4.3 GB cache, and the burst window moves (not started at t=718 in this run, active by t=1146).
AI-assisted: yes - DeepSeek v4.1 (flash).
Written with an AI assistant.
@fiestorra on GitHub · 2026-11-30 20:40 UTC · original
The experiment I announced above does not work as I said it would, so this is the correction rather than a result:
LEONIDA_PIPELINE_CACHE_BYTES=0does not turn the cache off.Measured, on the run I started with that switch:
The cache is still there - and larger than before (4650 against 4485), because it loads the existing
pipeline_cache.session.bin(4.37 GB on disk) and keeps building on it. Readingruntime/shims/d3d12_vulkan_device.cpp:2686, the switch caps the session file's own budget; it does not stop the file being read. That is my misreading of the switch, not a defect in it.And I stopped the run rather than post its numbers, for a second reason that matters more: the sample at
t=144 salready read 17,044 MiB with the previous process still releasing its memory, so the baseline was contaminated for the first minutes - exactly the mistake that produced my retracted comment earlier tonight. I would rather stop than repeat it.What would actually test the cache, and what it costs:
pipeline_cache.binandpipeline_cache.session.binin the game folder (8.7 GB together, moved, not deleted - trivially reversible);nvidia-smifrom second zero, so the baseline is measured and not assumed.That is 20-25 minutes of a 24 GB card and 8.7 GB of file moves. I am not starting it without a word from you: the machine is shared, and a game filling the card is exactly what I should not do unprompted.
Meanwhile, what tonight has established, in the order it was measured - and one of these was wrong when I first wrote it:
mem-probeidentical at 7.7 GB and 20 GBWritten with an AI assistant.
@fiestorra on GitHub · 2026-11-30 21:18 UTC · original
The cold start settles it: with the pipeline cache moved aside, the burst comes earlier and reaches 98% of the card - and the cache itself is only 245 MiB, so it is not what fills it.
The run: the three cache files (
4.30 GB,4.38 GB,0.04 GB) renamed so nothing could be loaded,LEONIDA_MEM_PROBE=30, 1.200 s,killed-after-1200, 0 hits fordevice removed.The card, sampled once a minute:
Two things move compared with the warm runs: the peak is higher (24,057 against 22,169) and it arrives at t=240 instead of t=600. A cold cache translates pipelines during the opening, and the memory does not wait for the story.
And the number that rules the cache out -
mem-probe, same run:The pipeline cache is 245 MiB, not 4485 - so the 16 GB I candidated in my previous comment is not the cache. And the vk breakdown is identical at t=182, t=242 and t=365, while the card goes 7,778 → 24,057 → back. The rise happens between the t=122 and t=182 samples, and by the time the probe next looks it is already flat. Same conclusion as the warm run, now with the cache excluded.
So the accounting picture is:
vk memory:lineThe leading candidate is now the line the probe prints but does not count:
title memory 39 ranges 63715 MiB reserved/committed VA. 63.7 GB of committed VA is larger than the card, so not all of it can be backed - but if the driver backs a quarter of it, that is the 17 GB. That is a question for the driver's side, and the instrument to answer it is not in this runtime.What I would try next, in order of cheapness:
VK_EXT_memory_budgeton this device - itsheapBudget/heapUsagecallbacks would say whether the driver itself thinks the heap is at 24 GB, and the runtime already creates the extension's structures formemory_breakdown.LEONIDA_SPARSE_UNBIND_ZERO_PAGE-style VA experiments off, if any of the 39 ranges is a placeholder rather than a real map - the probe'stitle_rangesfact exists to report exactly that.Caveats: 24 GB card, so it survived 98% by 400 MB. The cache files are back where they were (
4.30 GB,4.38 GB,0.04 GB, restored and verified). The machine is free.AI-assisted: yes - DeepSeek v4.1 (flash).
Written with an AI assistant.
@fiestorra on GitHub · 2026-11-30 21:19 UTC · original
VK_EXT_memory_budgeton this card reports a device-local budget of 23,370 MiB, and the run peaked at 24,057 MiB - so the runtime goes past the budget the driver publishes, not just past the card's size.I built a 40-line probe for this (not part of the runtime:
vkCreateInstance,vkGetPhysicalDeviceMemoryProperties2withVkPhysicalDeviceMemoryBudgetPropertiesEXT), compiled with the Vulkan SDK 1.4.363.0, run on the idle card:So there are three different numbers for "how much is there":
VkMemoryHeap.size)heapBudget)nvidia-smi)The run is 687 MiB above the recommended budget, and 81 MiB below the advertised heap. That is a card with no margin at all, and it is the configuration where
VK_ERROR_OUT_OF_DEVICE_MEMORYand a device removal are what happens next.Why that maps onto your reports better than anything I have posted so far:
heapBudgetis not the card's size. On an 8 GB card the budget is roughly 7.4-7.6 GB, and the runtime's steady state on this content is 7.7 GB - so a 3070 Ti is over budget before the burst even starts, and the burst then wants another 14 GB that is not there. The 12 GB card is the same shape with more room; it dies when its own burst arrives.What this instrument cannot do, stated plainly:
VK_EXT_memory_budgetreports per process. My tool seesusage 0because that is its usage - so it cannot watch your game from outside. The budget figure above is what a fresh process is offered, which is the number I wanted; the usage side needs the query inside the runtime, andruntime/src/memory_breakdown.halready has aDeviceSharefor it - that is a small PR, and I would write it if the maintainers want the probe to printheapUsage/heapBudgetin themem-probeline.Three concrete rules this suggests, in the shape the repo uses for such things:
heapBudget, not of the heap size. The runtime has the extension's structures but is not budget-gating on it.heapBudgetis under the steady state (7.7 GB here), the burst is a hard failure, not a slow frame - so the gate has to be before the allocation, not after thevkAllocateMemoryreturns.Caveats: 24 GB card, warm caches, 0 device removals in every run I did. The tool is at
E:\ports\state\leonida\scratch\mem_budget.cppand is deliberately not committed - if this belongs in the tree it should be a reviewed PR, not a scratch file.AI-assisted: yes - DeepSeek v4.1 (flash) wrote, compiled and ran the probe on the machine above.
Written with an AI assistant.
@Miici0 on GitHub · 2026-12-01 19:48 UTC · original
Three more runs on the same machine (RTX 4070 SUPER 12 GB, driver 621.24, 32 GB RAM), now on
main27613ab6b, withleonida.exerebuilt (diagwith DLSS). The device is still removed, so none of the commits sincebe7690805changed this here. The three runs rule out three causes, listed below.1. Not a hung command list or an API error the debug layer sees. One run had
-More @{ LEONIDA_D3D12_DEBUG = '1'; LEONIDA_D3D12_DRED = 'light' }, with Windows' Graphics Tools installed. The log confirmscrash tracing on (device-removed data) breadcrumbs=trueand has nono D3D12 debug layerwarning. The device was removed after 9.5 minutes:The breadcrumb list is empty, so no list was in flight when the device went. The failure text has no
debug layer:part, so the debug layer logged no error. Its only output near the end is a warning that repeats 770 times:GetResourceAllocationInfo: ... Alignment cannot be 4KB. No page-fault data was printed.2. Not running out of the PC's commit limit. The
residencylines of all four crashed runs since 2026-11-30 show what was left to commit. It never went below 224 to 265 MB, and it stayed under 1.5 GiB for about half of each run. Commit limit 40.3 GB: 31.8 GB of RAM plus a system-managed 8.7 GB page file. So I tried a fixed 16-24 GB page file, which also meant a reboot, with the same default launch:leonida.exeat 26.6 GB private.So low commit headroom alone, held for an hour, does not remove the device, and a larger limit does not delay the removal.
3. It comes during play only. Across nine runs since 2026-11-30 it came 3.7 to 18.5 minutes into actual play, at 14 fps in the world. It did not come during the hour in the pause menu. My reading, still a hypothesis: something in world streaming triggers it, not memory size as such.
Happy to run a specific switch or build if someone has a candidate.
AI-assisted (Claude Code).
@Alanls-mx on GitHub · 2026-12-01 21:18 UTC · original
Related 8 GB NVIDIA datapoint from a different GPU (RTX 4060): during the first-mission run, VRAM approached its limit and system RAM later fell to about 400 MiB free. The game's current log had no
0x8007000Eand noDXGI_ERROR_DEVICE_REMOVED; this run was ended manually after memory became critical, so it is not a confirmed crash reproduction. A separate user report of spontaneous game closure remains uncorrelated with this run.The 16 GB profile now limits runtime pipeline workers to one and texture residency to 72% of the reported VRAM budget, and the existing residency controller logged host-memory pressure. Next validation should record the first error/device-removed reason or WER dump if an actual spontaneous close recurs.
@waze3174 on GitHub · 2026-12-02 02:21 UTC · original
The same device removal on two very different cards in one PC: an RTX 2060 6 GB and then an RTX 5080 16 GB. The 16 GB card crashing the same way suggests card memory is not the cause, or at least not the only one.
PC: Ryzen 9 9950X3D, 32 GB DDR5-6000, Gigabyte X870E, Windows 11. Package 1.0.2.1,
scripts/play-d3d12.ps1,diagbuild.-SeriesS -Adapter 2060)-Resolution 1080 -NoFrameGen(no DLSS, no frame generation)main7c330c76d,060c47160,b8bd371115922f9fc5Every one is
host GPU device removed ... (0x887A0005)(orrelay: fence ... did not reach ...with the same removal). There was no particular trigger: it happened while walking, shooting and flying a plane.What the 2060 runs ruled out:
WATCHDOG-*.dmpinC:\Windows\LiveKernelReportsfor any of the crashes (the newest dump predates them), and nonvlddmkmor Display event in the System log at the crash times.LEONIDA_D3D12_DRED=lightthe breadcrumbs are[]and there is no fault address. The runtime reports "nothing of ours was running on the card" every time. One of these crashes had a pipeline-library make in progress; the others had none.LEONIDA_TEXTURE_ROOM_PERCENT=70did not lower that, andLEONIDA_CARD_BUFFERS_MB=512withLEONIDA_WINDOWS_BAR_MB=0halved the frame rate. Then the 16 GB card crashed too.Side findings, separate from the crash:
d3d12/scripts/play-nvidia.ps1:354uses them only for$vram -lt 6GB, and an RTX 2060 reports exactly 6 GiB (HardwareInformation.qwMemorySize6442450944), so it gets the 16 GB card limits.93e65d91c, black boxes flicker in the water. WithLEONIDA_WATER_TRANSMISSION=0, objects standing in the water (posts, a pier, people) render pitch black instead. The re-enable was tested on an RTX 5070.I can run a build or a switch on either card if it helps narrow this down. I no longer have the 2060 in the PC, though.
Written with an AI assistant (Claude); the numbers come from the runtime's logs and nvidia-smi on this PC.
@valenciana-nc on GitHub · 2026-12-02 16:35 UTC · original
Same 0x887A0005 signature on an 8 GB RTX 4060 Laptop (16 GB RAM, 621.47). There,
LEONIDA_D3D12_BACKGROUND=0(needs Windows Developer mode) orLEONIDA_ALLOCATOR_TRIM=1held the device for 30-45 min in every run, 5 of 5. Without either, 5 of 6 runs lost it within 3.7-8.5 min. Table and caveats: #2821AI-assisted: yes (Claude Opus 5.5)