Intel Arc A770: world draws but stays black, then host GPU device removed (0x887A0004) on the world load; HEAP_VIEWS clamp is past the host heap #2669

Open
opened 2026-11-25 17:50:41 +00:00 by iiiirokuuug-rgb · 5 comments
iiiirokuuug-rgb commented 2026-11-25 17:50:41 +00:00 (Migrated from github.com)
Contributor

Imported from Marvisak/VIctory. Originally posted by iiiirokuuug-rgb on 2026-11-25T17:50:41Z.


Intel Arc A770 16 GB (driver 32.0.101.9033): menus at 30 fps, world draws (494-3,690 draws/frame) but is black, then host GPU device removed (0x887A0004) during the world load — same on 940d32f and on mauri9911/leonida-victory e61ef78.

Machine: Xeon E5-2678 v3, 24 GB RAM, 48 GB page file, Windows 11 26200, Intel Arc A770 16 GB (driver 32.0.101.9033), retail 1.0.2.1, release build.

What it reaches:

boot, first-boot screens, menus       30 fps
loading into the world                passes
world                                 494-3,690 draws/dispatches per frame, 3,381 host textures (9.3 GB)
frame time in the world               1.4-6.5 s (0.2-1 fps); copies 2.2 GB per frame
then                                  host GPU device removed after a submission of 3-32 lists
                                      GetDeviceRemovedReason = 0x887A0004

One world frame was visible on screen before the removal.

TdrDelay=60 / TdrDdiDelay=60 makes no difference — the removal is not a TDR: it follows submissions that take seconds, but the reason stays 0x887A0004, and it also happens on 3-list submissions.

The descriptor heap is the first thing that breaks. The title asks for 1,245,184 slots:

WARN descriptor::host: host view heap capped at 1000000 error=0x80070057 count=1245184
WARN descriptor::host: title slot past the host heap index=1172015 count=934464
WARN descriptor::host: no free dynamic descriptor slots: a table is not made n=256
WARN draw: no dynamic slots for root views: dropped

There is also a constant mismatch that looks like a bug of its own: victory-shader/src/emit/shader.rs clamps heap indices in translated shaders to HEAP_VIEWS = 1 << 21 (2,097,152), but victory-gpu/src/descriptor/host.rs can never create a heap larger than PORTABLE_VIEWS = 1_000_000. So any title index in [heap size, 2M) is clamped to 2,097,151, which is past the end of the heap — a descriptor read past the heap.

Locally I set HEAP_VIEWS = 1_000_000 - 65_536 (the title region of the largest heap that can exist: PORTABLE_VIEWS minus MIN_DYNAMIC), rebuilt, and re-ran:

before:  11 draws/frame in the world, black
after:   453 -> 3,690 draws/frame, one world frame visible

The world still ends in 0x887A0004, but the clamp fix is worth having: it turns an out-of-bounds descriptor read into a null-slot read, which is what the comment above HEAP_VIEWS already says it intends ("indices past the host's heap faults the device: the last slot instead") — the last slot just has to be inside the heap.

This is the same wall as #2550 (RTX 3080: "title slot past host descriptor heap" entering the world) and #1440/#1670/#314 for the removal itself, and I do not see an Intel Arc report on it yet — that is why I am filing it. VICTORY_WATCH/VICTORY_COPY_MODE=none changed nothing for us.

No game data is quoted: counts, formats and log lines only.

<!-- greyfinch-sync:Marvisak/VIctory:issue:6610394746 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/2671). Originally posted by [iiiirokuuug-rgb](https://github.com/iiiirokuuug-rgb) on 2026-11-25T17:50:41Z. --- **Intel Arc A770 16 GB (driver 32.0.101.9033): menus at 30 fps, world draws (494-3,690 draws/frame) but is black, then `host GPU device removed` (0x887A0004) during the world load — same on `940d32f` and on `mauri9911/leonida-victory` `e61ef78`.** Machine: Xeon E5-2678 v3, 24 GB RAM, 48 GB page file, Windows 11 26200, Intel Arc A770 16 GB (driver 32.0.101.9033), retail 1.0.2.1, release build. What it reaches: ``` boot, first-boot screens, menus 30 fps loading into the world passes world 494-3,690 draws/dispatches per frame, 3,381 host textures (9.3 GB) frame time in the world 1.4-6.5 s (0.2-1 fps); copies 2.2 GB per frame then host GPU device removed after a submission of 3-32 lists GetDeviceRemovedReason = 0x887A0004 ``` One world frame was visible on screen before the removal. **`TdrDelay`=60 / `TdrDdiDelay`=60 makes no difference** — the removal is not a TDR: it follows submissions that take seconds, but the reason stays `0x887A0004`, and it also happens on 3-list submissions. **The descriptor heap is the first thing that breaks.** The title asks for 1,245,184 slots: ``` WARN descriptor::host: host view heap capped at 1000000 error=0x80070057 count=1245184 WARN descriptor::host: title slot past the host heap index=1172015 count=934464 WARN descriptor::host: no free dynamic descriptor slots: a table is not made n=256 WARN draw: no dynamic slots for root views: dropped ``` There is also a constant mismatch that looks like a bug of its own: `victory-shader/src/emit/shader.rs` clamps heap indices in translated shaders to `HEAP_VIEWS = 1 << 21` (2,097,152), but `victory-gpu/src/descriptor/host.rs` can never create a heap larger than `PORTABLE_VIEWS = 1_000_000`. So any title index in [heap size, 2M) is clamped to 2,097,151, which is **past the end of the heap** — a descriptor read past the heap. Locally I set `HEAP_VIEWS = 1_000_000 - 65_536` (the title region of the largest heap that can exist: `PORTABLE_VIEWS` minus `MIN_DYNAMIC`), rebuilt, and re-ran: ``` before: 11 draws/frame in the world, black after: 453 -> 3,690 draws/frame, one world frame visible ``` The world still ends in `0x887A0004`, but the clamp fix is worth having: it turns an out-of-bounds descriptor read into a null-slot read, which is what the comment above `HEAP_VIEWS` already says it intends ("indices past the host's heap faults the device: the last slot instead") — the last slot just has to be *inside* the heap. This is the same wall as #2550 (RTX 3080: "title slot past host descriptor heap" entering the world) and #1440/#1670/#314 for the removal itself, and I do not see an Intel Arc report on it yet — that is why I am filing it. `VICTORY_WATCH`/`VICTORY_COPY_MODE=none` changed nothing for us. No game data is quoted: counts, formats and log lines only.
pes7 commented 2026-11-25 19:06:12 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by pes7 on 2026-11-25T18:08:37Z.


Your clamp finding is right, and it is a PR now: #2683. Measured on an NVIDIA machine (the same tier-2 cap), the two directions agree.

What your local patch and mine differ in, and why I did not simply set HEAP_VIEWS = 1_000_000 - 65_536:

  • HEAP_VIEWS is also the size the host asks for (make((count + DYNAMIC).max(HEAP_VIEWS))), so lowering it to the cargo-cult number would also lower the request - harmless here, because count (1 245 184) dominates, but it makes the constant mean two things.
  • The larger question is what the clamp should point at. The cap path fills the whole heap with null descriptors (fill_null), so any index inside the heap is safe; the only hard requirement is index < heap size. 1_000_000 (PORTABLE_VIEWS) is the largest heap that can exist, so no index the clamp can produce is ever outside it - and NULL_BUFFER_VIEW (999 998) then lands inside the heap instead of 32 MB past it.
  • Once it lands inside, the two null slots need room above the dynamic ones. In main they had none - count + extra == PORTABLE_VIEWS exactly - which is why the log said no room for the null buffer views and every computed-index read went to "what is there". The capped path now keeps its top NULL_RESERVE (1 024) slots for them: title slots are unchanged at 934 464, dynamic slots go from 65 536 to 64 512.

Verified here (NVIDIA, warm caches, retail 1.0.2.1):

before: WARN host view heap capped at 1000000 count=1245184
        WARN no room for the null buffer views ... count=934464 total=1000000
after:  WARN host view heap capped at 1000000 count=1245184
        (no "no room for the null buffer views" anywhere in the run)

Your draw counts (11 -> 453-3 690 a frame) are the number I could not produce, because my machine reaches the menu and then dies of the TDR in #2661 before the world is drawn. If you can run #2683, the interesting part is whether the world's picture changes on the Arc with the null slots actually made - title slot past the host heap will still name every slot above 934 464, and those are now a null read rather than an out-of-bounds one.

On the removal itself: on this machine the debug layer names it DXGI_ERROR_DEVICE_HUNG (TDR), and it happens in the menu at 30 fps, not during the world load - see #2661. So the two reports may be the same removal (yours survives longer because each world frame is 1.4-6.5 s of CPU work while the GPU side is short, so fewer commands pile up per submission).

Two things I would try on the Arc, if you have the patience:

  1. VICTORY_D3D12_DEBUG=1 with a diagnostics build - it prints the reason as RemoveDevice ... DXGI_ERROR_DEVICE_HUNG (0x887A0006) instead of the 0x887A0004 the queue reports afterwards. That would settle whether your TdrDelay=60 experiment was defeated by the DXGI default rather than the registry key.
  2. VICTORY_SKIP_PIPELINES=<hash> for the compute shader named in your breadcrumb report, to see whether the removal follows the shader or the submission size.
<!-- greyfinch-sync:Marvisak/VIctory:comment:7170499263 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/2671#issuecomment-7170499263). Originally posted by [pes7](https://github.com/pes7) on 2026-11-25T18:08:37Z. --- Your clamp finding is right, and it is a PR now: #2683. Measured on an NVIDIA machine (the same tier-2 cap), the two directions agree. What your local patch and mine differ in, and why I did not simply set `HEAP_VIEWS = 1_000_000 - 65_536`: * `HEAP_VIEWS` is also the size the host *asks* for (`make((count + DYNAMIC).max(HEAP_VIEWS))`), so lowering it to the cargo-cult number would also lower the request - harmless here, because `count` (1 245 184) dominates, but it makes the constant mean two things. * The larger question is what the clamp should point at. The cap path fills the *whole* heap with null descriptors (`fill_null`), so any index inside the heap is safe; the only hard requirement is `index < heap size`. `1_000_000` (`PORTABLE_VIEWS`) is the largest heap that can exist, so no index the clamp can produce is ever outside it - and `NULL_BUFFER_VIEW` (999 998) then lands inside the heap instead of 32 MB past it. * Once it lands inside, the two null slots need room above the dynamic ones. In `main` they had none - `count + extra == PORTABLE_VIEWS` exactly - which is why the log said `no room for the null buffer views` and every computed-index read went to "what is there". The capped path now keeps its top `NULL_RESERVE` (1 024) slots for them: title slots are unchanged at 934 464, dynamic slots go from 65 536 to 64 512. Verified here (NVIDIA, warm caches, retail 1.0.2.1): ``` before: WARN host view heap capped at 1000000 count=1245184 WARN no room for the null buffer views ... count=934464 total=1000000 after: WARN host view heap capped at 1000000 count=1245184 (no "no room for the null buffer views" anywhere in the run) ``` Your draw counts (11 -> 453-3 690 a frame) are the number I could not produce, because my machine reaches the menu and then dies of the TDR in #2661 before the world is drawn. If you can run #2683, the interesting part is whether the world's *picture* changes on the Arc with the null slots actually made - `title slot past the host heap` will still name every slot above 934 464, and those are now a null read rather than an out-of-bounds one. On the removal itself: on this machine the debug layer names it `DXGI_ERROR_DEVICE_HUNG` (TDR), and it happens in the menu at 30 fps, not during the world load - see #2661. So the two reports may be the same removal (yours survives longer because each world frame is 1.4-6.5 s of *CPU* work while the GPU side is short, so fewer commands pile up per submission). Two things I would try on the Arc, if you have the patience: 1. `VICTORY_D3D12_DEBUG=1` with a `diagnostics` build - it prints the reason as `RemoveDevice ... DXGI_ERROR_DEVICE_HUNG` (0x887A0006) instead of the `0x887A0004` the queue reports afterwards. That would settle whether your `TdrDelay=60` experiment was defeated by the *DXGI* default rather than the registry key. 2. `VICTORY_SKIP_PIPELINES=<hash>` for the compute shader named in your breadcrumb report, to see whether the removal follows the shader or the submission size.
Marvisak commented 2026-11-25 19:06:33 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T18:47:56Z.


Automated triage for the maintainers.

The clamp mismatch is confirmed in main (13f91ca): HEAP_VIEWS is 1 << 21 in crates/victory-shader/src/emit/shader.rs (NULL_BUFFER_VIEW = HEAP_VIEWS - 2), while HostHeap creation in crates/victory-gpu/src/descriptor/host.rs falls back to a heap of PORTABLE_VIEWS (1,000,000) when the title asks for more. Clamped indices can then point past the heap, and the null buffer views are not made (the no room for the null buffer views warning). Open PR #2683 (by @pes7) moves the clamp inside the largest heap a host can make and reserves room for the null views.

As a run report: the runs were on 940d32f and on a third-party fork (mauri9911/leonida-victory), not this repository's current main. The heap cap itself is tracked in #2138 (oldest report, title asks for 1,245,184 view slots), also #2550. The later removal may be the hang in #2661. A retry on current main with #2683, ideally a diagnostics build with VICTORY_D3D12_DEBUG=1 so the removal reason is named, would help.


Generated by Claude Code

<!-- greyfinch-sync:Marvisak/VIctory:comment:7171414793 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/2671#issuecomment-7171414793). Originally posted by [Marvisak](https://github.com/Marvisak) on 2026-11-25T18:47:56Z. --- <!-- victory-issue-triage v1 verdict=confirmed seen=2026-11-25T18:08:37Z at=2026-11-25T18:49:45Z --> Automated triage for the maintainers. The clamp mismatch is confirmed in main (13f91ca): `HEAP_VIEWS` is `1 << 21` in `crates/victory-shader/src/emit/shader.rs` (`NULL_BUFFER_VIEW = HEAP_VIEWS - 2`), while `HostHeap` creation in `crates/victory-gpu/src/descriptor/host.rs` falls back to a heap of `PORTABLE_VIEWS` (1,000,000) when the title asks for more. Clamped indices can then point past the heap, and the null buffer views are not made (the `no room for the null buffer views` warning). Open PR #2683 (by @pes7) moves the clamp inside the largest heap a host can make and reserves room for the null views. As a run report: the runs were on `940d32f` and on a third-party fork (`mauri9911/leonida-victory`), not this repository's current main. The heap cap itself is tracked in #2138 (oldest report, `title asks for 1,245,184 view slots`), also #2550. The later removal may be the hang in #2661. A retry on current main with #2683, ideally a `diagnostics` build with `VICTORY_D3D12_DEBUG=1` so the removal reason is named, would help. --- _Generated by [Claude Code](https://claude.ai/code)_
borosf commented 2026-11-27 11:25:03 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by borosf on 2026-11-27T11:25:03Z.


Second Intel data point, and one link this thread does not have yet: on this card the removals come after lists whose draws were already dropped for want of dynamic descriptor slots, which ties the crash to the capped-heap finding above rather than to any one PR.

Machine: Windows 11 x64, Ryzen 5 5600, 32 GB RAM (32/64 GB page file), Intel Arc B580 12 GB, release build, title 1.0.2.1 (game_scarlett_master.exe), VICTORY_D3D12_DRED=1 + VICTORY_GPU_TIMING=1. origin/main (63bcca43), 4 runs of ~100 s.

What a removal looks like here (GetDeviceRemovedReason is the "GPU will not respond" text, and DRED names the list):

removed after a submission of 31 lists; page fault at 0x800019bdf000
removed after a submission of 34 lists; page fault at 0x80000d7cf000
removed after a submission of 3  lists; page fault at 0x80000b0f4000
removed while list 16 ran alone (116 commands):
  [0] barrier groups [(1, 1)]
  [1] dispatch 16x1x1 [compute 9146291b38ea9ce1]

The faulting addresses are all in the 0x8000… range the A770 report shows, and the list DRED blames is a 16x1x1 compute dispatch, 9146291b38ea9ce1 — the same dispatch that appears in the "biggest" bucket of my frame timings (indirect [compute 9146291b38ea9ce1], 171 ms of 765 ms of GPU time in the world).

The correlation with the heap cap. The lists that die are the ones where mesh draws were dropped for want of slots, in the same submission:

[1] DROPPED indirect kind 10 max 1 (prepare failed (compute false, mesh true):
    no dynamic slots for root views) [mesh 2ee026ab4e20bbd5, pixel 8b07450f04377f14]
[5] DROPPED mesh (no dynamic slots for root views) …
[15] dispatch 16x1x1 [compute 9146291b38ea9ce1]

On this card HostHeap::new cannot make count + DYNAMIC (1,245,184 + 262,144) nor count + MIN_DYNAMIC (1,310,720), so it lands on PORTABLE_VIEWS with count = 934,464 and only 65,536 dynamic slots, and those run out every frame (2,422 + 444 + 258 drops/frame in my capture). I am not claiming the dropped draws cause the removal — the draws are dropped, not submitted — but the same pass keeps hitting the wall, and #3419 (preserve the dynamic budget on capped heaps) is the change that removes it. It deserves a stability test on Arc, not just a timing one.

It is not #2958. The same page-fault removal shows up on Belobug's fork lineage (VIctory-Belobug-AMD, a-publier, which does not contain those commits) on this card: 1 removal in one run, 6 in another. So on B580 this looks like a base-level Intel issue, which is why I am filing it here rather than holding it against that PR (@moe-miau asked for exactly that).

Synthetic tests only in the tree; the runs above are my own dump. I have no 0x887A0004 occurrence here — the reason text is always the device-hung one — so this may be a second Intel failure mode rather than the same one as the A770.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7217048959 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/2671#issuecomment-7217048959). Originally posted by [borosf](https://github.com/borosf) on 2026-11-27T11:25:03Z. --- Second Intel data point, and one link this thread does not have yet: on this card the removals come **after** lists whose draws were already dropped for want of dynamic descriptor slots, which ties the crash to the capped-heap finding above rather than to any one PR. **Machine:** Windows 11 x64, Ryzen 5 5600, 32 GB RAM (32/64 GB page file), **Intel Arc B580 12 GB**, release build, title 1.0.2.1 (`game_scarlett_master.exe`), `VICTORY_D3D12_DRED=1` + `VICTORY_GPU_TIMING=1`. `origin/main` (63bcca43), 4 runs of ~100 s. **What a removal looks like here** (`GetDeviceRemovedReason` is the "GPU will not respond" text, and DRED names the list): ``` removed after a submission of 31 lists; page fault at 0x800019bdf000 removed after a submission of 34 lists; page fault at 0x80000d7cf000 removed after a submission of 3 lists; page fault at 0x80000b0f4000 removed while list 16 ran alone (116 commands): [0] barrier groups [(1, 1)] [1] dispatch 16x1x1 [compute 9146291b38ea9ce1] ``` The faulting addresses are all in the `0x8000…` range the A770 report shows, and the list DRED blames is a `16x1x1` compute dispatch, `9146291b38ea9ce1` — the same dispatch that appears in the "biggest" bucket of my frame timings (`indirect [compute 9146291b38ea9ce1]`, 171 ms of 765 ms of GPU time in the world). **The correlation with the heap cap.** The lists that die are the ones where mesh draws were dropped for want of slots, in the same submission: ``` [1] DROPPED indirect kind 10 max 1 (prepare failed (compute false, mesh true): no dynamic slots for root views) [mesh 2ee026ab4e20bbd5, pixel 8b07450f04377f14] [5] DROPPED mesh (no dynamic slots for root views) … [15] dispatch 16x1x1 [compute 9146291b38ea9ce1] ``` On this card `HostHeap::new` cannot make `count + DYNAMIC` (1,245,184 + 262,144) nor `count + MIN_DYNAMIC` (1,310,720), so it lands on `PORTABLE_VIEWS` with `count = 934,464` and only 65,536 dynamic slots, and those run out every frame (2,422 + 444 + 258 drops/frame in my capture). I am not claiming the dropped draws *cause* the removal — the draws are dropped, not submitted — but the same pass keeps hitting the wall, and **#3419** (preserve the dynamic budget on capped heaps) is the change that removes it. It deserves a stability test on Arc, not just a timing one. **It is not #2958.** The same page-fault removal shows up on Belobug's fork lineage (`VIctory-Belobug-AMD`, `a-publier`, which does not contain those commits) on this card: 1 removal in one run, 6 in another. So on B580 this looks like a base-level Intel issue, which is why I am filing it here rather than holding it against that PR (@moe-miau asked for exactly that). Synthetic tests only in the tree; the runs above are my own dump. I have no `0x887A0004` occurrence here — the reason text is always the device-hung one — so this may be a second Intel failure mode rather than the same one as the A770.
JICK366 commented 2026-11-30 06:11:50 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by JICK366 on 2026-11-30T06:11:50Z.


Follow-up from Intel Arc A770 16 GB on the same wall, this time with the NVIDIA-fork build v2026.11.29.05 (victory.exe, --console series-s):

Since that release the first blocker on Arc is no longer the heap, it is hardware feature reporting. Every world pipeline is refused:

WARN victory_gpu::pipeline::refused: host pipeline failed (logged once per key) stage="mesh" hr=0x80070057
     lacks="barycentrics" reason="device lacks barycentrics"
WARN victory_gpu::pipeline::refused: ... stage="mesh" hr=0x80070057
     lacks="barycentrics, 64-bit typed atomics" reason="device lacks barycentrics, 64-bit typed atomics"

52 such refusals in a single ~5 minute run (mesh and graphics stages). No draws reach the GPU, so GPU utilisation stays flat while audio keeps playing and the title stays responsive. No device removed and no crash in this run - it simply never draws.

The heap is also tighter than in my first report:

WARN victory_gpu::descriptor::host: host view heap capped at 1000000 (606783 title + 393216 dynamic slots);
     views past 606783 read a null slot count=1245184 fitted=606783 dynamic=393216

So 606783 of the 1245184 requested slots are actually addressable for the title.

With HEAP_VIEWS clamped inside the title region the world would draw (per the local rebuild in the first report), but here it never gets that far: the barycentrics refusal comes first. If there were a fallback path that translates barycentrics-free, this heap clamp would be the next wall.

Environment: Intel Arc A770 16 GB (Xe-HPG), driver 32.0.101.9175, Windows 11 26200, retail 1.0.2.1, release build.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7270401717 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/2671#issuecomment-7270401717). Originally posted by [JICK366](https://github.com/JICK366) on 2026-11-30T06:11:50Z. --- Follow-up from Intel Arc A770 16 GB on the same wall, this time with the NVIDIA-fork build v2026.11.29.05 (victory.exe, `--console series-s`): Since that release the first blocker on Arc is no longer the heap, it is hardware feature reporting. Every world pipeline is refused: ``` WARN victory_gpu::pipeline::refused: host pipeline failed (logged once per key) stage="mesh" hr=0x80070057 lacks="barycentrics" reason="device lacks barycentrics" WARN victory_gpu::pipeline::refused: ... stage="mesh" hr=0x80070057 lacks="barycentrics, 64-bit typed atomics" reason="device lacks barycentrics, 64-bit typed atomics" ``` 52 such refusals in a single ~5 minute run (mesh and graphics stages). No draws reach the GPU, so GPU utilisation stays flat while audio keeps playing and the title stays responsive. No device removed and no crash in this run - it simply never draws. The heap is also tighter than in my first report: ``` WARN victory_gpu::descriptor::host: host view heap capped at 1000000 (606783 title + 393216 dynamic slots); views past 606783 read a null slot count=1245184 fitted=606783 dynamic=393216 ``` So 606783 of the 1245184 requested slots are actually addressable for the title. With `HEAP_VIEWS` clamped inside the title region the world would draw (per the local rebuild in the first report), but here it never gets that far: the barycentrics refusal comes first. If there were a fallback path that translates barycentrics-free, this heap clamp would be the next wall. Environment: Intel Arc A770 16 GB (Xe-HPG), driver 32.0.101.9175, Windows 11 26200, retail 1.0.2.1, release build.
JICK366 commented 2026-11-30 07:31:59 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by JICK366 on 2026-11-30T07:31:59Z.


Also reproducing on Arc A770 — with the clamp fix applied, the device removal is gone.

Machine: i5-12400F (6C/12T), 32 GB DDR4-3200, Intel Arc A770 16 GB, driver 32.0.101.9175, Windows 11 26200, retail 1.0.2.1.

Build: self-compiled from the PR #2683 branch (capped_layout / HEAP_VIEWS clamped inside the host heap), Rust 1.98.1 x86_64-pc-windows-gnu.

Result vs. stock builds on this GPU:

                          mesh refused   device removed   result
NVIDIA-targeted build            52             0          sound, no picture
pareto-residency build          225             1          one frame, then 0x887A0005 (VRAM exhausted)
PR #2683 (this build)             0             0          no crash, world renders at 0.4-1.1 fps

The heap is capped exactly once at startup, and nothing falls over:

WARN descriptor::host: host view heap capped at 1000000 count=1245184

So the clamp change does what it says: an index past the heap now reads the last in-heap slot instead of faulting. On this GPU it removes 0x887A0004/0x887A0005 entirely — 9+ minute sessions, no removal.

What is left is throughput, not correctness:

menus                       30 fps, 3 draws/frame
world                       2317 draws/frame, 1819 host textures (5,094 MB)
frame time                  949-2,250 ms (0.4-1.1 fps)
  preparing                 139-384 ms
  on the GPU                737-760 ms
  copying back              up to 236 MB/frame
CPU                         all 8 logical cores saturated
pipeline library            created=84246 distinct=83556, saved 42 MB
compute pipelines refused   4 (0x80070057) on the second run, 87 on a cold one, all distinct compute shaders

The GPU alone spends ~750 ms per frame, so no CPU-side or config change moves this: the title is written against unified memory, and on a discrete card that has to be emulated through PCIe copies (up to 236 MB/frame of read-back). The 0x80070057 compute refusals are on distinct shaders rather than one retried shader, so they look like a capability gap rather than a missing slot.

Two things worth taking from this: (1) the clamp fix is enough to make A770 sessions stable — worth merging on its own; (2) any further Arc progress has to come from cutting the unified-memory emulation cost, not from the descriptor heap.

No game data is quoted: counts and log lines only.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7271838500 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/2671#issuecomment-7271838500). Originally posted by [JICK366](https://github.com/JICK366) on 2026-11-30T07:31:59Z. --- Also reproducing on Arc A770 — with the clamp fix applied, the device removal is gone. Machine: i5-12400F (6C/12T), 32 GB DDR4-3200, Intel Arc A770 16 GB, driver 32.0.101.9175, Windows 11 26200, retail 1.0.2.1. Build: self-compiled from the PR #2683 branch (capped_layout / HEAP_VIEWS clamped inside the host heap), Rust 1.98.1 x86_64-pc-windows-gnu. Result vs. stock builds on this GPU: ``` mesh refused device removed result NVIDIA-targeted build 52 0 sound, no picture pareto-residency build 225 1 one frame, then 0x887A0005 (VRAM exhausted) PR #2683 (this build) 0 0 no crash, world renders at 0.4-1.1 fps ``` The heap is capped exactly once at startup, and nothing falls over: ``` WARN descriptor::host: host view heap capped at 1000000 count=1245184 ``` So the clamp change does what it says: an index past the heap now reads the last in-heap slot instead of faulting. On this GPU it removes 0x887A0004/0x887A0005 entirely — 9+ minute sessions, no removal. What is left is throughput, not correctness: ``` menus 30 fps, 3 draws/frame world 2317 draws/frame, 1819 host textures (5,094 MB) frame time 949-2,250 ms (0.4-1.1 fps) preparing 139-384 ms on the GPU 737-760 ms copying back up to 236 MB/frame CPU all 8 logical cores saturated pipeline library created=84246 distinct=83556, saved 42 MB compute pipelines refused 4 (0x80070057) on the second run, 87 on a cold one, all distinct compute shaders ``` The GPU alone spends ~750 ms per frame, so no CPU-side or config change moves this: the title is written against unified memory, and on a discrete card that has to be emulated through PCIe copies (up to 236 MB/frame of read-back). The 0x80070057 compute refusals are on distinct shaders rather than one retried shader, so they look like a capability gap rather than a missing slot. Two things worth taking from this: (1) the clamp fix is enough to make A770 sessions stable — worth merging on its own; (2) any further Arc progress has to come from cutting the unified-memory emulation cost, not from the descriptor heap. No game data is quoted: counts and log lines only.
Sign in to join this conversation.
No labels
No milestone
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.

Reference
Marvisak/VIctory#2669
No description provided.