RX 6700 XT (RDNA 2): GPU page fault at ~7.5 GiB on world load — "no title memory copy below it" (0x887A0006) #111
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/gamingwithhomie--larp#111
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?
@AMvdia on GitHub · 2026-12-05 18:54 UTC · original
Card: AMD Radeon RX 6700 XT (RDNA 2, Navi 22), 12 GB
Driver: 32.0.21037.1004 (2025-11-28)
OS: Windows 10 Pro 19045, Ryzen 9 5900X, 32 GB RAM
Builds tried (all reproduce):
larp-amd-fix-2026.12.05.zipstock exe — sha256a86ba0c54deff17990585438472a067bdeea74fd3f209a722f707a4777260b43v1.0.11-amd(larp-v1.0.11-windows-amd.zip, amd-test88f6950) — exe sha256400D2F4249F18895B4CBBA5F5B50678A12593F5A4E93D65B8D9A78B866588F66v2026.12.05-amd-rdna2-test(commit05e4140) — exe sha256aad1cf6fedff5a1dd2312681fb7ac04aeda60cda460da2a80e69430776d5e4afSymptom
The title renders the front end at a steady 60 fps (11 draws/frame) for as long as you leave it there. The moment the world loads, draws ramp up and the device is removed within ~12 seconds, every time:
Process exit code
-2005270523=0x887A0005(DXGI_ERROR_DEVICE_REMOVED), secondary0x887A0006(DEVICE_HUNG).The page fault address is the same band every run
data\7952987A\crashes.log(four separate runs, newest last):0x1d4bab0000xd04369200+0x1200000x1e13320000x1e22680000x1e0d96000All four land in the 7.3–7.6 GiB band, all say no title memory copy below the address, and the
nearest real mapping is at ~52 GiB (
0xd04…). So the GPU is dereferencing a virtual address that noallocation backs.
This card is in the "no byte-offset buffer views" class
The RDNA 2 test build's guard does not fire here
v2026.12.05-amd-rdna2-testlogsbuffer view by element ending past 4 GiBwhen it substitutes anull view. In a 531 KB log of a full crashed run that string appears 0 times. So whatever view
faults at
0x1e1332000does not go through the element-view path that build guards — the badaddress reaches the GPU some other way (a descriptor written with a computed VA, most likely).
What was already ruled out
stream_budget = 4500(title's own is 6236) — identical crashLARP_HOST_MAX_WAVE=32(host device: wave lanes min=32 max=64,shaders translated for waves of this many lanes lanes=32) — identical crashhost view heaps: hold 1000000 views …andtitle slots past 606782 read a null slotD3D12 debug layer: not available (LARP_D3D12_DEBUG) … (0x887A002D)— the layer does not attach on this machine, so "no debug layer messages" in the failure line is the layer being absent, not the layer finding nothingReproduce
configure.cmd→ the folder holdinggame_scarlett_master.exe.options.ini:gpu_debug = on,wave_lanes = 32,stream_budget = 4500.series-x.cmd, wait for "Compiling pipelines" to finish, continue into the world.Asks
build patches — but on a path that bypasses the element-view guard (i.e. the descriptor write also
needs the check)?
LARP_D3D12_DREDoutput of the faulting list help you, or is there anything else worthdumping (
zip-logsoutput attached)?logs\play.logback.larp-logs-1796496374.zip
@AMvdia on GitHub · 2026-12-05 19:11 UTC · original
Six device removals so far on this card, and every one is a page fault inside the same 0.21 GiB band
(7.32 - 7.53 GiB), with "no title memory copy below it" and the nearest real mapping at 0xd0436... (52 GiB):
So it is not the replacement shaders, and not the render resolution, frame generation or swap chain
shape either - the address just always lands in that hole.
Separate observation, possibly unrelated but odd: with
esolution = 1920x1080 in settings.ini (and
LARP_RESOLUTION=1920x1080 on top), the title's output really is 1080p -
he title's output size this run: 1920x1080, UI memory pool adjusted to 82 MiB - but the swap
chain is still 4K: swap chain: presenting to a window width=3840 height=2160 format=28 tearing=true,
on a 1920x1080 desktop and with LARP_DISPLAY_MODE=windowed. The render size follows the setting, the
swap chain does not, so every frame pays for 4K back buffers.
@AMvdia on GitHub · 2026-12-05 19:35 UTC · original
v1.1.0-amd (FULL zip, sha256 C9EB0C21...380A313E, bin\larp.exe 8A96FE1E...5B583BD, amd-test
f0d4e50)still removes the device on this card, at the first world load. But its failure line now names
something the older builds did not:
larp: host GPU failure: host GPU device removed after 1 submissions sent ahead of 32 lists;
page fault at 0x1b07b7000; no title memory copy below it;
the nearest above: 0xd04369400+0x120000 at host 0x31c3c0000 (5883 copies in all);
view heap 0x100740000+0x1e84800: 0xae1f2800 past its end (slot 92289920);
sampler heap 0x100086000+0x8000: 0xb0729000 past its end (slot 185020672);
breadcrumbs (done/count, list) [... 32 lists, all reported ...]
Two numbers stand out:
1,000,000-view heap (heap base 0x100740000, size 0x1e84800). That is ~92x the heap size.
So on this card something writes descriptor/sampler indices that are two to three orders of
magnitude out of range, and the read that follows lands at 0x1b07b7000 (6.76 GiB) - outside the
7.32-7.53 GiB band of the six earlier removals, which fits: the faulting VA is derived from the
bogus index, so it moves with it.
Config: gpu_debug = on, wave_lanes = 32 ("wave lanes min=32 max=64 effective=32"), stream_budget =
4500, resolution = 1920x1080, 100 "0 shader replaced" lines absent (replacements on, stock package).
Attached: zip-logs of this run.
Question: is 92289920 / 185020672 a 32-bit index that should have been masked/clamped to the heap,
or a value read from a 64-lane wave register that is being interpreted as an index? If the latter,
that would explain why RDNA 2 only (64-lane waves, byte-offset views unsupported) hits it.
larp-logs-1796499130.zip
@gamingwithhomie on GitHub · 2026-12-05 20:52 UTC · original
Please retest on v1.1.1-amd (just published, FULL + UPDATE zips). It adds the device-removal diagnostics from PR #126: run once with
LARP_D3D12_DRED=1- the log now reports the real removal reason (the0x887A0004in older logs was just 'breadcrumbs off', not the cause) - and bisect switchesLARP_BYTE_VIEWS=0andLARP_SHADER_REPLACE=0to narrow down whether views or replacement shaders are involved. Attachbin\larp.exe zip-logsoutput here after a crash on v1.1.1-amd and we can pinpoint the failing work. It also includes the #157 CPU row-read crash fix and #145 pacer fix.@xxxmimerxxx on GitHub · 2026-12-05 21:35 UTC · original
I have a RX 6750 XT with similar issue. Where do I put that LARP_D3D12_DRED=1 command? options.ini doesnt work with it.
@AMvdia on GitHub · 2026-12-05 21:36 UTC · original
Retested on v1.1.1-amd (
BUILD.txt: amd-testb0a6491,bin\larp.exeSHA-256AE9698B855762AA32F31F1A3C22F563E44001F1784354857282C18087FDC5637).Host: RX 6700 XT (RDNA 2, Navi 22, gfx1031), 12 GB, driver 32.0.21037.1004, Windows 10 19045, Ryzen 9 5900X / 32 GB. Config: 1920x1080, 60 fps, stream_budget 4500, wave_lanes 32, gpu_debug on, shader replacement on unless said.
The new removal reason works — thank you. Four runs, all fail on world load:
LARP_D3D12_DRED=1, cold shader cache0x887A0006DXGI_ERROR_DEVICE_HUNG. The list dump shows submission 363505 with 33 lists, one of them ~250 compute programs.LARP_D3D12_DRED=1, warm cache0x195d00000; "view heap0x1025a0000+0x1e84800:0x918db800past its end (slot 77312000)". 341 draws/frame.+ LARP_D3D12_DEBUG=1 + LARP_D3D12_GBV=10x887A002D) even with the package's ownbin/D3D12/D3D12Core.dll+d3d12SDKLayers.dll, so GPU-based validation is not available here. Page fault at0x1ec171000, slot 122499200.LARP_SHADER_REPLACE=<empty folder>(+ DRED)0x1e14a8000, slot 116640768, 4602 draws/frame. Replacement shaders are not involved.LARP_BYTE_VIEWSis inert on this machine — the driver reports no byte-offset views, so that path never runs:Before v1.1.1 landed I instrumented the 1.1.0 source locally (
heap_handle()gets a caller tag and counts view indices handed tocreateHandleFromHeapwhileVIEW_LIMITis 0;translate()logs any translation that produced one). Two runs: not one unclamped handle, notranslate: view heap limit 0.probe_view_limit()is in time; the clamp is on for every shader.I also checked whether the 1.85 M declared title slots are the problem — they are not:
The title declares 1,851,966 slots but never writes past 341,413, so the dropped slots are never read.
On the fault address. The four addresses are all different —
0x1b07b7000,0x195d00000,0x1ec171000,0x1e14a8000(6.7–8.3 GiB) — and all of them land in the hole between the end of the view heap (~4.3 GB) and the title memory copies (nearest above: 0xd04369400+0x120000, ~52 GB). The "slot" innear_heaps()is(va - start) / 32: arithmetic, not a real index (77 M–122 M, four orders past 1,000,000, and it moves with the address). That reads less like a descriptor index and more like a 64-bit value that should have been translated to a host VA being used as an address directly — title-side VAs sit exactly in this GiB range.Next thing I want to try (time permitting): a
--features diagnosticsbuild ofb0a6491withLARP_HEAP_CHECK=1, to see whether a submission reads ranges of the fed heap that had not gone up — stale descriptors would produce exactly this kind of garbage address.Attached:
bin\larp.exe zip-logsoutput from run 2.larp-logs-1796505880.zip
@xxxmimerxxx on GitHub · 2026-12-05 21:40 UTC · original
Also tried launching on both 1.1.1 and 1.1.2 both dont work on my end, let me know how to implement the LARP_D3D12_DRED=1, so that I can send the zip logs.
@AMvdia on GitHub · 2026-12-05 21:44 UTC · original
The short version:
launch.ps1clears everyLARP_*variable it inherits (Get-ChildItem env:LARP_* | ForEach-Object { Remove-Item "env:$($_.Name)" }, right before it sets its own), so setting the variable in a shell and then runningseries-x.cmddoes nothing. You have to put it in the launcher, or calllarp.exeyourself.Option A — one line in
launch.ps1(easiest)Open
Larp\bin\launch.ps1in Notepad and find this line:Add one line under it:
Save, run
series-x.cmdas usual, let it crash.Option B — call
larp.exedirectly, no file editedOpen PowerShell in the
Larpfolder (the one withgame-dir.txt,cache,data,logs) and paste:Then send the logs
After it dies, in the same folder:
It prints something like
Logs zipped (30 KB, Windows username stripped): ...\logs\larp-logs-<number>.zip. Attach that zip here — it hasplay.log,crash.logif any,options.ini,settings.iniandcrashes.log, with your username stripped.What would help most in your post
The last few lines of
logs\play.log. We are looking for one of two shapes:or
Plus your GPU model, driver version, and the exact build you ran (
Larp\BUILD.txthas the commit and thebin\larp.exeSHA-256).For reference, on an RX 6700 XT (RDNA 2, gfx1031, 12 GB, driver 32.0.21037.1004, Win10 19045) with v1.1.1-amd we get both shapes at world load: the page fault at a different address every run (
0x1b07b7000,0x195d00000,0x1ec171000,0x1e14a8000— all 6.7–8.3 GiB, always in the hole between the end of the view heap and the title memory copies), and once0x887A0006DXGI_ERROR_DEVICE_HUNG instead. Turning replacement shaders off (LARP_SHADER_REPLACE=<empty folder>) changed nothing, andLARP_BYTE_VIEWSis inert on this driver (asked=None supported=false).One more:
LARP_D3D12_DEBUG=1(the debug layer) still refuses to attach here with0x887A002D, so if you get the layer to attach and printD3D12 ERROR: ..., that alone would be worth posting.@saics on GitHub · 2026-12-05 22:14 UTC · original · edited 2026-12-05 23:34 UTC
larp-logs-1796508743.zip
Same crash on another RDNA 2 card - RX 6800 - on v1.1.1-amd and v1.1.2-amd. It is 100% reproducible, 2-4 s after the world loads. I will attach the
zip-logsbundle (larp-logs-1796508743.zip; its play.log is run 6, which has the DRED page fault) in an edit.Host: AMD Radeon RX 6800 (RDNA 2, 16 GB), driver 32.0.21045.29003 (2026-11-17), Windows 11 Pro 10.0.26300, series-s.cmd, 60 fps, stream_budget default
Builds: v1.1.1-amd (
AE9698B8...) and v1.1.2-amd UPDATE zip (BABBB2CD..., amd-test3b2e99f+ PR #183)Always set:
LARP_FSR_VERSION=3,LARP_D3D12_DRED=1amdxc64.dll+0x24a720, called fromamd_fidelityfx_upscaler_dx12.dll, then0x887A0006LARP_FSR_VERSION=30x887A0006~4 s into the worldLARP_BYTE_VIEWS=00x887A0006~3 s into the world0x887A0006~2 s into the worldLARP_FAST_HEAP_TABLES=0+ everyLARP_OPT_*=0LARP_LEAVE_OUT= 95 shaders that were in flight in both run 3 and run 5 (165 pipelines skipped)LARP_BYTE_VIEWSdoes nothing on this driver either (device15=true asked=None supported=false).Run 6 DRED page fault. It has the same shape as yours: an address in the hole above the view heap, with nonsense "slots":
The breadcrumbs show lists up to 63 complete and 64+ not started (
"2/2 Some(63)","0/6 Some(64)").Leaving out every shader that was in flight at the removal does not help. To me that points away from one bad shader and toward a pointer or address problem, like the "64-bit title VA used directly" theory above.
One more pattern: in every run the same refused raw UAV shows up 50-70 ms after the first XMA command (gameplay start), 2-4 s before the removal:
Every time it is
format=39,raw=true,count=0(the title's view has 0 elements),width=182452224, andfirstis always ~10.55 M. Going bybuffer_uav/null_forin descriptor/host.rs, the slot gets a proper null UAV, so it may be harmless. Still, it lines up exactly with world load every time.Update - v1.1.4-amd (
DC36B257..., amd-test946c483, UPDATE zip, same switches): still crashes.0x887A00063 s into the world, with the same refused raw UAV 95 ms after the first XMA command (format=39 first=10548224 count=0 raw=true width=182452224). So #277 (keeping rebound stride buffers alive) does not fix this one. This run had no DRED page fault line.Update - v1.1.5-amd (
BF350472..., amd-test1992ff7, UPDATE zip, full recompile, same switches): still crashes. The world loads, the same refused raw UAV shows up 56 ms after the first XMA command (first=10546880 count=0), and the device is removed 4 s later. DRED page fault again:That is the same ~7.6 GiB window as run 6 (
0x1e0440000), so #320 (cross-page accesses) does not fix it either.@matter9099-max on GitHub · 2026-12-05 23:21 UTC · original
Same signature on RDNA 3 (RX 7900 XT 20 GB, series-x, 3840x2160): seven runs across v1.1.2-amd, v1.1.3-amd and v1.1.4-amd, all removed 11-15 s after "render phases are built", with
LARP_BYTE_VIEWS=0andLARP_SHADER_REPLACE=0bisected out and VRAM peaking at 10.2-11.0 GB of 20.5.Long version, fault lines, the bisect table and
zip-logsare over in #193: #193Faulting VA lands in the same 5.8-7.1 GiB window you see on the 6700 XT (0x177123000, 0x1a5ef3000, 0x1ba0b9000, 0x19061d000), nearest real mapping always
0xd0436... + 0x120000.@saics on GitHub · 2026-12-05 23:58 UTC · original
Radeon GPU Detective results, RX 6800 (RDNA 2), v1.1.5-amd. The shader-skip workaround only moves the fault from one shader to the next.
I captured 4 hardware crash dumps with RGD 1.6.3 (RDTS 2026-10-02,
RadeonDeveloperPanelCLI -m crash --rgd-enhanced, driver 25.10.45.29 / 32.0.21045.29003) and mapped the API shader hashes to larp's names viaLARP_SHADER_SAVE(the DXIL container hash, each 64-bit half little-endian).LARP_LEAVE_OUT=3e28ebd6128bd351(the cutscene / "Wasted" fix above) does not help here. With it set, my world-load crash is unchanged (DRED page fault at 0x1e0440000).9bfc2a16c35cb95b, pixel43fc2af1f70920f1(PSO DispatchMeshIndirectMulti)s_buffer_load_dword,s_load_dwordx4 s[16:19], s[10:11], s8,image_sample,tbuffer_load_format_xy4e35b816f2f91d68, pixel659fe9cae59dbd88(DrawIndexedIndirectMulti)image_sample_lz,image_sample,s_load_dwordx4df4b2c7798c14c90, pixeld9fcb8a4425fc59bs_load_dwordx4 ... null, manybuffer_load_dword*,global_atomic_add_x2,image_get_lod,image_samplefac6fd94...,631eecd4...,9a38449e...)s_buffer_load_dword(x4),s_load_dwordx4,buffer_load_dword*,image_sample,global_atomic_add_x2What every dump has in common:
V#/ imageT#) or a scalar load of the descriptor itself. The faulting addresses (0x12a6..., 0x131a..., 0x1d35..., 0x1e9c...) sit in the same window as the DRED addresses in this thread.To me this points at larp writing bad descriptors (or bad descriptor table / heap addresses) on RDNA 2/3, not at specific game shaders. So skipping shaders by default would likely only chase symptoms. In dumps 1 and 3 the faulting pixel shader also does the same
s_load_dwordx4 s[16:19], s[10:11], s8and then a buffer load throughs[16:19]. That may be one of larp's own injected tables (stride / shift?), but I have not confirmed it.I can provide the four
.rgddumps (~240 MB each) and their text summaries.@Androfus on GitHub · 2026-12-06 00:37 UTC · original
Same on RX 6600 (RDNA2), v1.1.2–v1.1.6-amd. Note: the hold 1000000 views / title slots past 606782 … count=1245184 lines several of us posted mean the 2^21 (UNCAPPED_VIEWS) heap probe in probe_view_limit failed and larp fell back to PORTABLE_VIEWS, although the comment says AMD should get the 2M heap. About half the title's 1.25M slots then don't fit, and per TITLE_LIMIT's comment, indices read from a table's list aren't clamped. Could that be the common cause on RDNA2/3?