ROG Ally (Radeon 780M, 4GB VRAM): 3D renders ~25s then VRAM over budget kills the device (0x887A0007) #446

Open
opened 2026-11-29 14:47:54 +00:00 by cyl9052 · 12 comments
cyl9052 commented 2026-11-29 14:47:54 +00:00 (Migrated from github.com)
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by cyl9052 on 2026-11-29T14:47:54Z.


Environment

  • ROG Ally, Ryzen Z1 Extreme, Radeon 780M (PCI 0x15BF), Windows 11 26200, AMD driver 32.0.31007.6002
  • layer logs host D3D12 adapter vram_mb=4002; 11.7 GB usable system RAM
  • ally-pack.zip, GTA6 Xbox Series v1.0.2.1

Command
play.ps1 -Exe "\game_scarlett_master.exe" -Machine laptop -Windowed -Build release -Safe
(pack note: victory.exe ships in the pack root but the script looks for target\release\victory.exe)

Observed

  • loading: 8-10 draws/frame @30 fps, VRAM climbs 2.3 -> 9.1 GB
  • with -Safe one run reached 3D: 7545 draws/frame, then 3529 draws/frame at ~1 fps (1025 ms/frame)
  • 3D visible ~25 s (screenshot attached), then process exits
  • VRAM in use exceeds WDDM budget: 8257/9047, 8025/9297 MB, 8.5/9.1 GB
  • errors: 0x887A0004 + 0x887A0007 ("host GPU device removed after 5 submissions sent ahead ...")

Other runs on the same machine

  • default (no -Safe): max 9-12 draws, black screen, same VRAM overshoot, exit
  • -Console series-s: log still 1920x1080 scene / 3840x2160 interface, no change
  • -WarmPipelines: only avoids compile stalls
  • -Safe + VICTORY_WINDOWS_BAR_MB=1024 + VICTORY_RENDER_SCALE=0.35: died before 3D

Cross-check: Lenovo Y7000, RTX 4060 Laptop 8GB, Win11

  • every build stays black at ~19 draws/frame, no 3D, no cutscene at all
  • -unimplemented zero => 0x80000003 after 28-70 s; trap => stable but black

Questions

  1. Should the VRAM budget use the adapter's dedicated VRAM (4002 MB) instead of the WDDM shared budget (8-9 GB)?
  2. Can you expose a hard VRAM cap (e.g. VICTORY_CARD_MAX_MB=4096), or back off instead of over-committing until device removed?
  3. Why does -Console series-s not change output resolution on this AMD iGPU?

Attachments: screenshot-3d.png, play*-err.log, [crashes.log](url)[](url)

GTA6-3D画面截图
<!-- greyfinch-sync:TaynanGT/Vice-Tay:issue:6680103608 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/446). Originally posted by [cyl9052](https://github.com/cyl9052) on 2026-11-29T14:47:54Z. --- **Environment** - ROG Ally, Ryzen Z1 Extreme, Radeon 780M (PCI 0x15BF), Windows 11 26200, AMD driver 32.0.31007.6002 - layer logs `host D3D12 adapter vram_mb=4002`; 11.7 GB usable system RAM - ally-pack.zip, GTA6 Xbox Series v1.0.2.1 **Command** play.ps1 -Exe "<game>\game_scarlett_master.exe" -Machine laptop -Windowed -Build release -Safe (pack note: victory.exe ships in the pack root but the script looks for target\release\victory.exe) **Observed** - loading: 8-10 draws/frame @30 fps, VRAM climbs 2.3 -> 9.1 GB - with -Safe one run reached 3D: 7545 draws/frame, then 3529 draws/frame at ~1 fps (1025 ms/frame) - 3D visible ~25 s (screenshot attached), then process exits - VRAM in use exceeds WDDM budget: 8257/9047, 8025/9297 MB, 8.5/9.1 GB - errors: 0x887A0004 + 0x887A0007 ("host GPU device removed after 5 submissions sent ahead ...") **Other runs on the same machine** - default (no -Safe): max 9-12 draws, black screen, same VRAM overshoot, exit - -Console series-s: log still 1920x1080 scene / 3840x2160 interface, no change - -WarmPipelines: only avoids compile stalls - -Safe + VICTORY_WINDOWS_BAR_MB=1024 + VICTORY_RENDER_SCALE=0.35: died before 3D **Cross-check: Lenovo Y7000, RTX 4060 Laptop 8GB, Win11** - every build stays black at ~19 draws/frame, no 3D, no cutscene at all - -unimplemented zero => 0x80000003 after 28-70 s; trap => stable but black **Questions** 1. Should the VRAM budget use the adapter's dedicated VRAM (4002 MB) instead of the WDDM shared budget (8-9 GB)? 2. Can you expose a hard VRAM cap (e.g. VICTORY_CARD_MAX_MB=4096), or back off instead of over-committing until device removed? 3. Why does -Console series-s not change output resolution on this AMD iGPU? Attachments: screenshot-3d.png, play*-err.log, [crashes.log[](url)]([url]([url](url)))[[](url)](url) <img width="1280" height="720" alt="GTA6-3D画面截图" src="https://github.com/user-attachments/assets/6c51c49d-dcd7-4230-9f89-ff3d989912b9" />
Kal0s-design commented 2026-11-29 14:50:50 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by Kal0s-design on 2026-11-29T14:50:50Z.


Some facts from the code for questions 1 and 2. No UMA device here, so these are pointers, not measured fixes.

1. Which budget. The runtime reads QueryVideoMemoryInfo(DXGI_MEMORY_SEGMENT_GROUP_LOCAL) (Host::video_memory in host.rs). The vram_mb=4002 line is only DedicatedVideoMemory from the adapter description, used for logging. On an integrated GPU like the 780M, the "dedicated" 4 GB is the BIOS carve-out, and the OS reports a LOCAL budget that also counts system RAM the GPU may use. That's your 8-9 GB. So capping at 4002 MB wouldn't match what the GPU can address. The real limit is that the GPU's memory and the game's memory both come out of the same 11.7 GB. As far as I can see nothing in the runtime treats UMA adapters differently today.

The -Machine laptop preset assumes a discrete card. It's documented as "an NVIDIA PC with 16 GB of RAM and a 6-8 GB card" (docs/laptop-16gb.md), and on 11.7 GB of RAM it sets:

  • VICTORY_WORKING_SET_MB = max(3072, RAM - 11624) = 3072 MB, the floor, for the game's working set;
  • VICTORY_WINDOWS_BAR_MB=3072, which on a discrete card moves buffer windows off system RAM. On UMA that memory is the same RAM.

So on the Ally the preset's two main levers do nothing or work against you.

2. A hard cap. There's no single cap, but these existing knobs decide how much card memory the runtime fills:

  • VICTORY_TEXTURE_ROOM_PERCENT (50 to 97, default 90). Texture eviction starts a few points below it, so a lower value makes it evict earlier.
  • VICTORY_CARD_BUFFERS_MB, which sizes the card copies of title buffers. The laptop preset uses 256.
  • VICTORY_LEVELS_ON_DEMAND=1, already in the preset.

Something like TEXTURE_ROOM_PERCENT=60, CARD_BUFFERS_MB=128 and no WINDOWS_BAR_MB might be worth a try, but I can't test it. At about 1 s a frame with 3,500 draws, the 780M may also simply be far below what the title needs once it gets there.

AI-assisted: yes

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7257622200 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/446#issuecomment-7257622200). Originally posted by [Kal0s-design](https://github.com/Kal0s-design) on 2026-11-29T14:50:50Z. --- Some facts from the code for questions 1 and 2. No UMA device here, so these are pointers, not measured fixes. **1. Which budget.** The runtime reads `QueryVideoMemoryInfo(DXGI_MEMORY_SEGMENT_GROUP_LOCAL)` (`Host::video_memory` in `host.rs`). The `vram_mb=4002` line is only `DedicatedVideoMemory` from the adapter description, used for logging. On an integrated GPU like the 780M, the "dedicated" 4 GB is the BIOS carve-out, and the OS reports a LOCAL budget that also counts system RAM the GPU may use. That's your 8-9 GB. So capping at 4002 MB wouldn't match what the GPU can address. The real limit is that the GPU's memory and the game's memory both come out of the same 11.7 GB. As far as I can see nothing in the runtime treats UMA adapters differently today. **The `-Machine laptop` preset assumes a discrete card.** It's documented as "an NVIDIA PC with 16 GB of RAM and a 6-8 GB card" (docs/laptop-16gb.md), and on 11.7 GB of RAM it sets: - `VICTORY_WORKING_SET_MB = max(3072, RAM - 11624)` = **3072 MB**, the floor, for the game's working set; - `VICTORY_WINDOWS_BAR_MB=3072`, which on a discrete card moves buffer windows *off* system RAM. On UMA that memory is the same RAM. So on the Ally the preset's two main levers do nothing or work against you. **2. A hard cap.** There's no single cap, but these existing knobs decide how much card memory the runtime fills: - `VICTORY_TEXTURE_ROOM_PERCENT` (50 to 97, default 90). Texture eviction starts a few points below it, so a lower value makes it evict earlier. - `VICTORY_CARD_BUFFERS_MB`, which sizes the card copies of title buffers. The laptop preset uses 256. - `VICTORY_LEVELS_ON_DEMAND=1`, already in the preset. Something like `TEXTURE_ROOM_PERCENT=60`, `CARD_BUFFERS_MB=128` and no `WINDOWS_BAR_MB` might be worth a try, but I can't test it. At about 1 s a frame with 3,500 draws, the 780M may also simply be far below what the title needs once it gets there. AI-assisted: yes
cyl9052 commented 2026-11-29 15:12:34 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by cyl9052 on 2026-11-29T15:12:34Z.


Thanks for the detailed answer - it explains the numbers, and I can confirm your suggested knobs on the 780M (ROG Ally, Z1 Extreme, 11.7 GB usable RAM):

config result
-Machine laptop -Safe first 3D frame after ~5 min, 7545 draws/frame, ~1 fps (1025 ms/frame); VRAM in use 8.7-9.1 GB against a budget of 8.3; dies after ~25 s
+ VICTORY_TEXTURE_ROOM_PERCENT=60, VICTORY_CARD_BUFFERS_MB=128, WINDOWS_BAR_MB=0 3D at ~130 s, 502 draws/frame, survives 6 s
+ VICTORY_TEXTURE_ROOM_PERCENT=50 (rest same) never reaches 3D, device removed at 118 s
-Machine 7900xtx -Safe / -Machine 3060 -Safe max 12 / 13 draws, exits in 80-95 s

So the texture-room knob does move VRAM (peak at the moment of 3D went from 9.1 GB to ~5.4 GB) but the title still dies, and at ~1 fps with 7545 draws/frame the 780M is clearly far below what the title needs - which matches your last point.

Two suggestions if UMA adapters are ever special-cased:

  1. a -Machine uma preset that leaves VICTORY_WINDOWS_BAR_MB unset and sizes VICTORY_WORKING_SET_MB from the real shared limit;
  2. one line in docs that on an iGPU the LOCAL budget already includes shared system RAM, so vram_mb in the log is not a cap (that one cost me a while).

I have a repeatable test script on this machine (boots with -Safe, keeps the window on top, captures the first 3D frame, reports draws/fps/VRAM/survival time), so I can run any build you want checked.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7257906359 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/446#issuecomment-7257906359). Originally posted by [cyl9052](https://github.com/cyl9052) on 2026-11-29T15:12:34Z. --- Thanks for the detailed answer - it explains the numbers, and I can confirm your suggested knobs on the 780M (ROG Ally, Z1 Extreme, 11.7 GB usable RAM): | config | result | |---|---| | `-Machine laptop -Safe` | first 3D frame after ~5 min, 7545 draws/frame, ~1 fps (1025 ms/frame); VRAM in use 8.7-9.1 GB against a budget of 8.3; dies after ~25 s | | + `VICTORY_TEXTURE_ROOM_PERCENT=60`, `VICTORY_CARD_BUFFERS_MB=128`, `WINDOWS_BAR_MB=0` | 3D at ~130 s, 502 draws/frame, survives 6 s | | + `VICTORY_TEXTURE_ROOM_PERCENT=50` (rest same) | never reaches 3D, device removed at 118 s | | `-Machine 7900xtx -Safe` / `-Machine 3060 -Safe` | max 12 / 13 draws, exits in 80-95 s | So the texture-room knob does move VRAM (peak at the moment of 3D went from 9.1 GB to ~5.4 GB) but the title still dies, and at ~1 fps with 7545 draws/frame the 780M is clearly far below what the title needs - which matches your last point. Two suggestions if UMA adapters are ever special-cased: 1. a `-Machine uma` preset that leaves `VICTORY_WINDOWS_BAR_MB` unset and sizes `VICTORY_WORKING_SET_MB` from the real shared limit; 2. one line in docs that on an iGPU the LOCAL budget already includes shared system RAM, so `vram_mb` in the log is not a cap (that one cost me a while). I have a repeatable test script on this machine (boots with `-Safe`, keeps the window on top, captures the first 3D frame, reports draws/fps/VRAM/survival time), so I can run any build you want checked.
Kal0s-design commented 2026-11-29 15:22:25 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by Kal0s-design on 2026-11-29T15:22:25Z.


Thanks for running those. #447 adds your point 2 to docs/laptop-16gb.md with your numbers. A -Machine uma preset is for the maintainer to decide, and your test script would be the way to tune one.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7258037442 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/446#issuecomment-7258037442). Originally posted by [Kal0s-design](https://github.com/Kal0s-design) on 2026-11-29T15:22:25Z. --- Thanks for running those. #447 adds your point 2 to docs/laptop-16gb.md with your numbers. A `-Machine uma` preset is for the maintainer to decide, and your test script would be the way to tune one.
TaynanGT commented 2026-11-29 19:08:51 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-29T19:08:51Z.


Thanks @cyl9052 and @Kal0s-design. The measured drop from 9.1 GB to roughly 5.4 GB without improved survival is important: a lower texture budget alone isn't enough. I'd like to evaluate a separate opt-in UMA preset rather than reuse the discrete-GPU laptop preset or impose the 4 GB carve-out as a universal hard limit. It should account for shared memory pressure, leave BAR sizing alone unless evidence supports it, and preserve existing defaults for discrete cards. Please keep the repeatable test script and report WDDM usage/budget, system commit, first 3D frame and time to removal. #447 is a useful documentation change; a functional preset still needs validation on the Ally.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7261045961 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/446#issuecomment-7261045961). Originally posted by [TaynanGT](https://github.com/TaynanGT) on 2026-11-29T19:08:51Z. --- Thanks @cyl9052 and @Kal0s-design. The measured drop from 9.1 GB to roughly 5.4 GB without improved survival is important: a lower texture budget alone isn't enough. I'd like to evaluate a separate opt-in UMA preset rather than reuse the discrete-GPU laptop preset or impose the 4 GB carve-out as a universal hard limit. It should account for shared memory pressure, leave BAR sizing alone unless evidence supports it, and preserve existing defaults for discrete cards. Please keep the repeatable test script and report WDDM usage/budget, system commit, first 3D frame and time to removal. #447 is a useful documentation change; a functional preset still needs validation on the Ally.
TaynanGT commented 2026-11-29 19:09:11 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-29T19:09:11Z.


Thanks for the 780M measurements. I agree that UMA needs its own opt-in profile rather than treating reserved dedicated memory as the actual budget. Please use the same save and route with one setting changed per run, record LOCAL budget, system commit, working set, device removals and frame times, and keep an unchanged baseline. The documentation can land independently of the experimental preset.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7261050558 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/446#issuecomment-7261050558). Originally posted by [TaynanGT](https://github.com/TaynanGT) on 2026-11-29T19:09:11Z. --- Thanks for the 780M measurements. I agree that UMA needs its own opt-in profile rather than treating reserved dedicated memory as the actual budget. Please use the same save and route with one setting changed per run, record LOCAL budget, system commit, working set, device removals and frame times, and keep an unchanged baseline. The documentation can land independently of the experimental preset.
cyl9052 commented 2026-11-30 14:02:47 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by cyl9052 on 2026-11-30T14:02:47Z.


Post-reboot repeatability on the 780M (machine rebooted, no leftover processes, 6.7 GB free at start). Config: -Machine laptop -Safe + VICTORY_KEYS with Enter every 15 s.

run total first 3D 3D survived max draws device removals ended
1 106 s never - 10 0 clean process exit
2 131 s never - 10 0 clean process exit
3 137 s 116 s 20 s 3024 0 clean process exit

So after a clean reboot: 1 of 3 runs reaches 3D (about 20 s at 1 fps), the other 2 die during the world load at 10-12 draws. No device removals in any of the three - the reboot did clear that.

Two corrections to my earlier reports, both from checking the shipped binary:

  1. The victory.exe in our pack (build b99f876b...) does not contain VICTORY_POKE, VICTORY_RAM_FLOOR_MB, VICTORY_RAM_WAIT_MS, VICTORY_RAM_WAIT_SHARE_MS, VICTORY_RAM_FRAME_WAIT_MS or VICTORY_WINDOWS_BAR_PERCENT strings. It does contain VICTORY_KEYS and VICTORY_KEYS_FILE. So the RAM throttle from #96 is not in this build, and my earlier "throttle helped" line was noise - please ignore it.
  2. VICTORY_KEYS does work, format is <seconds>:<Key> / <from>-<to>:<Key> separated by commas (keys: letter, digit, Enter, Esc, Tab, Back, Up, Down, Left, Right) - I read it out of crates/victory-hle/src/modules/gameinput.rs. Scripted Enter presses did not change the outcome here.

What still holds from the earlier rounds: VICTORY_CARD_BUFFERS_MB=128 was the only knob that consistently moved the failure (3D life 12 s -> 60 s in one run, zero device removals); WINDOWS_BAR_MB=0, WORKING_SET_MB=8192 and CARD_BUFFERS_MB=192 never reached 3D.

Conclusion for this build: the wall is the world load exhausting shared RAM, at ~1 fps even when it does come up. When development resumes, the two things worth having on an iGPU are the #96 throttle in an actual build, and a -Machine uma preset that leaves WINDOWS_BAR_MB unset. I can run 3 repeats per config on this machine whenever a build with those is available.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7280750514 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/446#issuecomment-7280750514). Originally posted by [cyl9052](https://github.com/cyl9052) on 2026-11-30T14:02:47Z. --- Post-reboot repeatability on the 780M (machine rebooted, no leftover processes, 6.7 GB free at start). Config: `-Machine laptop -Safe` + `VICTORY_KEYS` with Enter every 15 s. | run | total | first 3D | 3D survived | max draws | device removals | ended | |---|---|---|---|---|---|---| | 1 | 106 s | never | - | 10 | 0 | clean process exit | | 2 | 131 s | never | - | 10 | 0 | clean process exit | | 3 | 137 s | 116 s | 20 s | 3024 | 0 | clean process exit | So after a clean reboot: 1 of 3 runs reaches 3D (about 20 s at 1 fps), the other 2 die during the world load at 10-12 draws. No device removals in any of the three - the reboot did clear that. Two corrections to my earlier reports, both from checking the shipped binary: 1. The `victory.exe` in our pack (`build b99f876b...`) does **not** contain `VICTORY_POKE`, `VICTORY_RAM_FLOOR_MB`, `VICTORY_RAM_WAIT_MS`, `VICTORY_RAM_WAIT_SHARE_MS`, `VICTORY_RAM_FRAME_WAIT_MS` or `VICTORY_WINDOWS_BAR_PERCENT` strings. It does contain `VICTORY_KEYS` and `VICTORY_KEYS_FILE`. So the RAM throttle from #96 is not in this build, and my earlier "throttle helped" line was noise - please ignore it. 2. `VICTORY_KEYS` does work, format is `<seconds>:<Key>` / `<from>-<to>:<Key>` separated by commas (keys: letter, digit, Enter, Esc, Tab, Back, Up, Down, Left, Right) - I read it out of `crates/victory-hle/src/modules/gameinput.rs`. Scripted Enter presses did not change the outcome here. What still holds from the earlier rounds: `VICTORY_CARD_BUFFERS_MB=128` was the only knob that consistently moved the failure (3D life 12 s -> 60 s in one run, zero device removals); `WINDOWS_BAR_MB=0`, `WORKING_SET_MB=8192` and `CARD_BUFFERS_MB=192` never reached 3D. Conclusion for this build: the wall is the world load exhausting shared RAM, at ~1 fps even when it does come up. When development resumes, the two things worth having on an iGPU are the #96 throttle in an actual build, and a `-Machine uma` preset that leaves `WINDOWS_BAR_MB` unset. I can run 3 repeats per config on this machine whenever a build with those is available.
cyl9052 commented 2026-11-30 14:28:57 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by cyl9052 on 2026-11-30T14:28:57Z.


One more datum, and a request for when development resumes.

Different layer builds behave very differently on this iGPU. The pack build (AnyXboxX, build b99f876b) with -Safe reaches 3D but lives 20-60 s. The 04-victory-amd build we have in PLAY\ with --console series-s and no other overrides reached 3D once for 100 s, 6012 draws max, ~1 fps - the best result on this machine so far - and an immediate repeat of the same command stopped at 8 draws. So build-to-build and run-to-run variance is at least as large as any knob effect here.

Request:

  1. when a build with the #96 RAM throttle exists, I would like to test it - the shipped victory.exe we have does not contain VICTORY_RAM_FLOOR_MB / VICTORY_RAM_WAIT_* / VICTORY_WINDOWS_BAR_PERCENT (or VICTORY_POKE);
  2. whatever candidate values you want for a -Machine uma preset - my guess at the shape is: throttle on, VICTORY_WINDOWS_BAR_MB left unset, VICTORY_WORKING_SET_MB kept at the 3072 MB floor, VICTORY_CARD_BUFFERS_MB somewhere between 128 and 256. I will run 3 repeats per config and report median/min/max (single runs are not trustworthy here, as the numbers above show).

Question: is CARD_BUFFERS_MB=128 - the only knob that consistently moved the failure on this machine (3D life 12 s -> 60 s in one run, zero device removals) - something you would bake into the uma preset, or should it stay a manual override?

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7281442513 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/446#issuecomment-7281442513). Originally posted by [cyl9052](https://github.com/cyl9052) on 2026-11-30T14:28:57Z. --- One more datum, and a request for when development resumes. **Different layer builds behave very differently on this iGPU.** The pack build (AnyXboxX, `build b99f876b`) with `-Safe` reaches 3D but lives 20-60 s. The `04-victory-amd` build we have in `PLAY\` with `--console series-s` and no other overrides reached 3D once for **100 s, 6012 draws max, ~1 fps** - the best result on this machine so far - and an immediate repeat of the same command stopped at 8 draws. So build-to-build and run-to-run variance is at least as large as any knob effect here. **Request:** 1. when a build with the #96 RAM throttle exists, I would like to test it - the shipped `victory.exe` we have does not contain `VICTORY_RAM_FLOOR_MB` / `VICTORY_RAM_WAIT_*` / `VICTORY_WINDOWS_BAR_PERCENT` (or `VICTORY_POKE`); 2. whatever candidate values you want for a `-Machine uma` preset - my guess at the shape is: throttle on, `VICTORY_WINDOWS_BAR_MB` left unset, `VICTORY_WORKING_SET_MB` kept at the 3072 MB floor, `VICTORY_CARD_BUFFERS_MB` somewhere between 128 and 256. I will run 3 repeats per config and report median/min/max (single runs are not trustworthy here, as the numbers above show). Question: is `CARD_BUFFERS_MB=128` - the only knob that consistently moved the failure on this machine (3D life 12 s -> 60 s in one run, zero device removals) - something you would bake into the uma preset, or should it stay a manual override?
TaynanGT commented 2026-11-30 16:59:55 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-30T16:59:55Z.


main has moved to a new line of the code and everything is now named Vice-Tay: vice-tay.exe play, and VICE_TAY_* switches instead of VICTORY_* (details in #468). Could you check whether this still happens on the current main and say so here, with a log if you can?

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7285557575 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/446#issuecomment-7285557575). Originally posted by [TaynanGT](https://github.com/TaynanGT) on 2026-11-30T16:59:55Z. --- `main` has moved to a new line of the code and everything is now named Vice-Tay: `vice-tay.exe play`, and `VICE_TAY_*` switches instead of `VICTORY_*` (details in #468). Could you check whether this still happens on the current `main` and say so here, with a log if you can?
TaynanGT commented 2026-11-30 20:17:49 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-30T20:17:49Z.


Some of this moved. Two things in your report don't exist any more, and one thing changed in your favour.

Gone: play.ps1, -Machine laptop, -Windowed and -Build. It's vice-tay.exe play '<game exe>' --series-s now, and it opens borderless full screen (F1 > FULLSCREEN OFF for a window). Full map in #468.

Changed: the settings are picked from the PC instead of a named preset (#474). On a 4 GB card and ~12 GB of usable RAM you now get, without asking:

  • VICE_TAY_CARD_BUFFERS_MB=256, because the card has under 8 GB - the old default let copies of the game's buffers take far more of it than that
  • the 64 KiB card-buffer floor dropped, because RAM is under 24 GB. That floor put a copy of every game buffer in card memory, which on 4 GB is most of why you went over budget
  • game buffers used in place, and windows cut on 64 KiB with their tails

That's aimed at exactly your 0x887A0007. I'm not going to claim it fixes it - 4 GB is the smallest card anyone has reported here and your run is the only data point, so it's a reasoned change, not a measured one.

If you try it again: vice-tay.exe config first, then the run, then the log. The number I'd most like to see is how long the 3D lasts now versus the ~25 s you had.

Landed just now. On main there's a profile for a PC with 16 GB of RAM or less that sizes our own caches from the RAM rather than from the 48 GB machine this gets tested on - docs/small-memory.md. It's automatic, --set VICE_TAY_SMALL_MEMORY=off turns it off.

. ice-tay.exe config now prints your RAM, Windows' commit limit, how far short of the game's ~48 GB you are, and every switch the profile picked with a reason for each. It starts nothing and asks the graphics driver nothing, so it's safe to paste here.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7290695456 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/446#issuecomment-7290695456). Originally posted by [TaynanGT](https://github.com/TaynanGT) on 2026-11-30T20:17:49Z. --- Some of this moved. Two things in your report don't exist any more, and one thing changed in your favour. Gone: `play.ps1`, `-Machine laptop`, `-Windowed` and `-Build`. It's `vice-tay.exe play '<game exe>' --series-s` now, and it opens borderless full screen (F1 > FULLSCREEN OFF for a window). Full map in #468. Changed: the settings are picked from the PC instead of a named preset (#474). On a 4 GB card and ~12 GB of usable RAM you now get, without asking: - `VICE_TAY_CARD_BUFFERS_MB=256`, because the card has under 8 GB - the old default let copies of the game's buffers take far more of it than that - the 64 KiB card-buffer floor dropped, because RAM is under 24 GB. That floor put a copy of *every* game buffer in card memory, which on 4 GB is most of why you went over budget - game buffers used in place, and windows cut on 64 KiB with their tails That's aimed at exactly your `0x887A0007`. I'm not going to claim it fixes it - 4 GB is the smallest card anyone has reported here and your run is the only data point, so it's a reasoned change, not a measured one. If you try it again: `vice-tay.exe config` first, then the run, then the log. The number I'd most like to see is how long the 3D lasts now versus the ~25 s you had. **Landed just now.** On `main` there's a profile for a PC with 16 GB of RAM or less that sizes our own caches from the RAM rather than from the 48 GB machine this gets tested on - `docs/small-memory.md`. It's automatic, `--set VICE_TAY_SMALL_MEMORY=off` turns it off. `. ice-tay.exe config` now prints your RAM, Windows' commit limit, how far short of the game's ~48 GB you are, and every switch the profile picked with a reason for each. It starts nothing and asks the graphics driver nothing, so it's safe to paste here.
cyl9052 commented 2026-12-01 04:34:54 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by cyl9052 on 2026-12-01T04:34:54Z.


Thanks - the automatic settings for sub-8 GB cards and the small-memory profile sound exactly aimed at this machine. Two practical problems on my side though:

  1. This is a handheld (ROG Ally, 16 GB, 11.7 GB usable) with no Rust toolchain and no Visual Studio Build Tools. Installing VS Build Tools needs admin rights I do not have on this device, so I cannot build main myself.
  2. There are no release binaries, and the CI artifacts are only github-pages, so there is no prebuilt vice-tay.exe I can fetch.

Could you attach a build to this issue (or point me at one) - ideally with the small-memory profile and the Series S build? Then I will run exactly this and paste the results here:

vice-tay.exe config
vice-tay.exe play "<game>\game_scarlett_master.exe" --series-s

and report, 3 repeats: time to first 3D frame, how long 3D survives, max draws/frame, frame time, device removals, median/min/max - so you can compare against the ~25 s I had on the old line.

If no build can be shared, tell me what else is worth measuring on the old build and I will do that instead.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7300879680 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/446#issuecomment-7300879680). Originally posted by [cyl9052](https://github.com/cyl9052) on 2026-12-01T04:34:54Z. --- Thanks - the automatic settings for sub-8 GB cards and the small-memory profile sound exactly aimed at this machine. Two practical problems on my side though: 1. This is a handheld (ROG Ally, 16 GB, 11.7 GB usable) with **no Rust toolchain and no Visual Studio Build Tools**. Installing VS Build Tools needs admin rights I do not have on this device, so I cannot build `main` myself. 2. There are no release binaries, and the CI artifacts are only `github-pages`, so there is no prebuilt `vice-tay.exe` I can fetch. Could you attach a build to this issue (or point me at one) - ideally with the small-memory profile and the Series S build? Then I will run exactly this and paste the results here: ``` vice-tay.exe config vice-tay.exe play "<game>\game_scarlett_master.exe" --series-s ``` and report, 3 repeats: time to first 3D frame, how long 3D survives, max draws/frame, frame time, device removals, median/min/max - so you can compare against the ~25 s I had on the old line. If no build can be shared, tell me what else is worth measuring on the old build and I will do that instead.
cyl9052 commented 2026-12-01 06:01:25 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by cyl9052 on 2026-12-01T06:01:25Z.


Built main from source on the handheld today (Rust 1.100.1, x86_64-pc-windows-gnu + a portable MinGW; the msvc-only rust-toolchain.toml had to be moved aside, and the GCC there ships no libgcc_eh.a - an empty archive under that name was enough). Both vice-tay.exe and the series-s build compile cleanly.

vice-tay.exe config on the ROG Ally (11.7 GB, 4 GB card, 8 cores):

config file : (none)
game_dir    : (not set)
cache_dir   : C:\Users\rog\AppData\Local\vice-tay\cache
data_dir    : C:\Users\rog\AppData\Local\vice-tay\data
ram         : 11.7 GB, 2.8 GB free
commit      : 35.7 GB with the page files, 15.3 GB of it in use; Series X commits about 48 GB
small memory   the 12 GB profile (VICE_TAY_SMALL_MEMORY)
small memory   sized for 12 GB of RAM: our own caches keep 2544 MB of the 6144 MB Windows lets the card share
small memory   Series X commits about 48 GB while it runs and this PC can give 35 GB, so it is 13 GB short: play Series S
small memory   not measured in the game on this PC: VICE_TAY_SMALL_MEMORY=off turns the profile off, and any switch set by hand still decides
small memory   VICE_TAY_WINDOWS_BAR_MB=2304 (windows the CPU fills in card memory, inside the share Windows lets the card borrow)
small memory   VICE_TAY_UPLOAD_POOL_MB=96 (each of the two kinds of upload buffer kept back for reuse)
small memory   VICE_TAY_EXACT_POOL_MB=48 (buffers held in quarantine and ready for reuse)
small memory   VICE_TAY_BUFFERS_AHEAD=384 (title buffers made before the title asks for them)
small memory   VICE_TAY_PIPELINE_WORKERS=6 (pipeline workers: each holds a translation and a driver compile at once)
small memory   VICE_TAY_RT_HEAP_MB left unset (the 4K render-target heap: Series X at 2160p only)
small memory   VICE_TAY_SCENE_POOL_MB left unset (the 4K scene pool: Series X at 2160p only)
small memory   VICE_TAY_KEEP_RAM_GB left unset (pinning RAM leaves Windows nothing to page out on a PC this size)

Result, vice-tay play "<game>" --series-s, 3 runs, ~8.5 GB free RAM at start, nothing else running:

run lifetime frames with draws>=100 max draws E_OUTOFMEMORY warnings peak process
1 139 s 0 0 3 6.2 GB
2 296 s 5 16384 670 7.2 GB
3 291 s 5 16384 1982 7.9 GB

One more run, watched frame by frame: the title's front end comes up and runs at 30 fps (screenshot: the loading art, FPS 30.0 / 33.3 ms), one frame reported 649 draws, then the load ends with 0x8007000E (no shared buffer, no upload buffer) and the process exits at about 4.5 minutes.

So on this machine the new line does get past the black screen - the old line never showed the front end at all - but it still dies in the world load, and now with a clean E_OUTOFMEMORY instead of a device removal: no 0x887A0007 in any of the three runs.

Your config line "it is 13 GB short: play Series S" is exactly what happened, and Series S is what I ran.

Question: the next thing I can try is a bigger page file (needs the owner's admin click) to raise the commit limit from 35.7 GB toward the ~48 GB the title wants. Is that a fair test of the small-memory profile, or does the profile assume the page file stays as Windows sizes it?

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7302390613 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/446#issuecomment-7302390613). Originally posted by [cyl9052](https://github.com/cyl9052) on 2026-12-01T06:01:25Z. --- Built `main` from source on the handheld today (Rust 1.100.1, `x86_64-pc-windows-gnu` + a portable MinGW; the msvc-only `rust-toolchain.toml` had to be moved aside, and the GCC there ships no `libgcc_eh.a` - an empty archive under that name was enough). Both `vice-tay.exe` and the `series-s` build compile cleanly. `vice-tay.exe config` on the ROG Ally (11.7 GB, 4 GB card, 8 cores): ``` config file : (none) game_dir : (not set) cache_dir : C:\Users\rog\AppData\Local\vice-tay\cache data_dir : C:\Users\rog\AppData\Local\vice-tay\data ram : 11.7 GB, 2.8 GB free commit : 35.7 GB with the page files, 15.3 GB of it in use; Series X commits about 48 GB small memory the 12 GB profile (VICE_TAY_SMALL_MEMORY) small memory sized for 12 GB of RAM: our own caches keep 2544 MB of the 6144 MB Windows lets the card share small memory Series X commits about 48 GB while it runs and this PC can give 35 GB, so it is 13 GB short: play Series S small memory not measured in the game on this PC: VICE_TAY_SMALL_MEMORY=off turns the profile off, and any switch set by hand still decides small memory VICE_TAY_WINDOWS_BAR_MB=2304 (windows the CPU fills in card memory, inside the share Windows lets the card borrow) small memory VICE_TAY_UPLOAD_POOL_MB=96 (each of the two kinds of upload buffer kept back for reuse) small memory VICE_TAY_EXACT_POOL_MB=48 (buffers held in quarantine and ready for reuse) small memory VICE_TAY_BUFFERS_AHEAD=384 (title buffers made before the title asks for them) small memory VICE_TAY_PIPELINE_WORKERS=6 (pipeline workers: each holds a translation and a driver compile at once) small memory VICE_TAY_RT_HEAP_MB left unset (the 4K render-target heap: Series X at 2160p only) small memory VICE_TAY_SCENE_POOL_MB left unset (the 4K scene pool: Series X at 2160p only) small memory VICE_TAY_KEEP_RAM_GB left unset (pinning RAM leaves Windows nothing to page out on a PC this size) ``` Result, `vice-tay play "<game>" --series-s`, 3 runs, ~8.5 GB free RAM at start, nothing else running: | run | lifetime | frames with draws>=100 | max draws | E_OUTOFMEMORY warnings | peak process | |---|---|---|---|---|---| | 1 | 139 s | 0 | 0 | 3 | 6.2 GB | | 2 | 296 s | 5 | 16384 | 670 | 7.2 GB | | 3 | 291 s | 5 | 16384 | 1982 | 7.9 GB | One more run, watched frame by frame: the title's front end comes up and runs at **30 fps** (screenshot: the loading art, FPS 30.0 / 33.3 ms), one frame reported 649 draws, then the load ends with `0x8007000E` (`no shared buffer`, `no upload buffer`) and the process exits at about 4.5 minutes. So on this machine the new line does get past the black screen - the old line never showed the front end at all - but it still dies in the world load, and now with a clean E_OUTOFMEMORY instead of a device removal: no `0x887A0007` in any of the three runs. Your config line "it is 13 GB short: play Series S" is exactly what happened, and Series S is what I ran. Question: the next thing I can try is a bigger page file (needs the owner's admin click) to raise the commit limit from 35.7 GB toward the ~48 GB the title wants. Is that a fair test of the small-memory profile, or does the profile assume the page file stays as Windows sizes it?
cyl9052 commented 2026-12-01 10:28:59 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by cyl9052 on 2026-12-01T10:28:59Z.


Follow-up with a diagnostic, because the failure is not what I first guessed.

I sampled the commit charge during a default --series-s run: at the moment it died, system commit was 29.6 GB of a 36.6 GB limit - not exhausted. The process itself peaked at 14.4 GB private, and the errors are all GPU-side allocations (no shared buffer, no upload buffer, 0x8007000E), so this is card memory, not the page file. I was about to raise the page file to 40 GB and that would not have helped - ignore that idea.

Two attempts to push card memory down, both worse than the profile defaults:

settings lifetime max draws 0x8007000E warnings
profile defaults (3 runs) 139 / 296 / 291 s 0 / 16384 / 16384 3 / 670 / 1982
CARD_BUFFERS_MB=128, WINDOWS_BAR_MB=1024, BVH_BUILDER=0 69 s 10 13
BUFFERS_AHEAD=128, PIPELINE_WORKERS=2, WINDOWS_BAR_MB=1024, UPLOAD_POOL_MB=48, EXACT_POOL_MB=16 84 s 10 4586

So shrinking our own pools does not buy time here - it fails earlier, which suggests the allocations that fail are the title's own buffers being placed into card memory, not our caches.

One question: on a 12 GB machine where the card borrows from the same RAM, is VICE_TAY_KEEP_RAM_GB the switch you would reach for (the profile leaves it unset because "pinning RAM leaves Windows nothing to page out"), or is there a better way to bias the placement away from card memory for the title's buffers?

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7308255658 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/446#issuecomment-7308255658). Originally posted by [cyl9052](https://github.com/cyl9052) on 2026-12-01T10:28:59Z. --- Follow-up with a diagnostic, because the failure is not what I first guessed. I sampled the commit charge during a default `--series-s` run: at the moment it died, **system commit was 29.6 GB of a 36.6 GB limit** - not exhausted. The process itself peaked at 14.4 GB private, and the errors are all GPU-side allocations (`no shared buffer`, `no upload buffer`, `0x8007000E`), so this is card memory, not the page file. I was about to raise the page file to 40 GB and that would not have helped - ignore that idea. Two attempts to push card memory down, both worse than the profile defaults: | settings | lifetime | max draws | 0x8007000E warnings | |---|---|---|---| | profile defaults (3 runs) | 139 / 296 / 291 s | 0 / 16384 / 16384 | 3 / 670 / 1982 | | `CARD_BUFFERS_MB=128`, `WINDOWS_BAR_MB=1024`, `BVH_BUILDER=0` | 69 s | 10 | 13 | | `BUFFERS_AHEAD=128`, `PIPELINE_WORKERS=2`, `WINDOWS_BAR_MB=1024`, `UPLOAD_POOL_MB=48`, `EXACT_POOL_MB=16` | 84 s | 10 | 4586 | So shrinking our own pools does not buy time here - it fails earlier, which suggests the allocations that fail are the title's own buffers being placed into card memory, not our caches. One question: on a 12 GB machine where the card borrows from the same RAM, is `VICE_TAY_KEEP_RAM_GB` the switch you would reach for (the profile leaves it unset because "pinning RAM leaves Windows nothing to page out"), or is there a better way to bias the placement away from card memory for the title's buffers?
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
TaynanGT/Vice-Tay#446
No description provided.