Investigate fluctuating GPU utilization and memory pressure on 8 GB laptop GPUs #331

Open
opened 2026-11-27 17:04:57 +00:00 by rafi-the-dev · 3 comments
rafi-the-dev commented 2026-11-27 17:04:57 +00:00 (Migrated from github.com)
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by rafi-the-dev on 2026-11-27T17:04:57Z.


Hardware

  • RTX 4070 Laptop GPU (8 GB VRAM)
  • Intel Core i7-13620H
  • 32 GB RAM, Windows 11

Observed behavior

Using the Series S profile and an optimized release build, switching from the 4090 machine preset to the 4070 preset improved performance from approximately 2 FPS to 14–16 FPS in earlier gameplay. Dedicated VRAM dropped from 8 GB to 6.6–7 GB, and graphics became usable. In the open world, memory pressure returns and GPU utilization fluctuates between approximately 4% and 70%. A GPU device hang (0x887A0006) also occurred in a run using effective relay mode 2.

Suggested investigation

Could we profile the open-world workload on 8 GB GPUs to determine the best optimization approach? In particular:

  • Measure CPU translation time, GPU queue idle time, fence waits and submission overhead.
  • Track local/non-local GPU memory budgets, residency, evictions and upload traffic.
  • Compare the 4070 preset against a dedicated 8 GB laptop preset, varying resource budgets and relay settings independently.
  • Check whether asset streaming or pipeline creation correlates with utilization drops.
  • Investigate the device hang separately using D3D12 diagnostics.

Goal

Improve sustained FPS and frame pacing while preserving graphical correctness and avoiding excessive memory pressure or GPU crashes. High GPU utilization is not itself the goal; it is a diagnostic signal.

These are approximate firsthand observations, not controlled benchmark results. Exact commit, scene-specific frametime captures and per-stage profiling are not yet available. The underlying bottleneck is not confirmed.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:issue:6651110387 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/331). Originally posted by [rafi-the-dev](https://github.com/rafi-the-dev) on 2026-11-27T17:04:57Z. --- ## Hardware - RTX 4070 Laptop GPU (8 GB VRAM) - Intel Core i7-13620H - 32 GB RAM, Windows 11 ## Observed behavior Using the Series S profile and an optimized release build, switching from the 4090 machine preset to the 4070 preset improved performance from approximately 2 FPS to 14–16 FPS in earlier gameplay. Dedicated VRAM dropped from 8 GB to 6.6–7 GB, and graphics became usable. In the open world, memory pressure returns and GPU utilization fluctuates between approximately 4% and 70%. A GPU device hang (0x887A0006) also occurred in a run using effective relay mode 2. ## Suggested investigation Could we profile the open-world workload on 8 GB GPUs to determine the best optimization approach? In particular: - Measure CPU translation time, GPU queue idle time, fence waits and submission overhead. - Track local/non-local GPU memory budgets, residency, evictions and upload traffic. - Compare the 4070 preset against a dedicated 8 GB laptop preset, varying resource budgets and relay settings independently. - Check whether asset streaming or pipeline creation correlates with utilization drops. - Investigate the device hang separately using D3D12 diagnostics. ## Goal Improve sustained FPS and frame pacing while preserving graphical correctness and avoiding excessive memory pressure or GPU crashes. High GPU utilization is not itself the goal; it is a diagnostic signal. These are approximate firsthand observations, not controlled benchmark results. Exact commit, scene-specific frametime captures and per-stage profiling are not yet available. The underlying bottleneck is not confirmed.
TaynanGT commented 2026-11-29 11:37:58 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-29T11:37:58Z.


Thanks for the detailed 8 GB laptop report. I agree that sustained rendered FPS and stable frame pacing matter more than GPU utilization by itself. Please start with an exact revision and a fixed route, track memory budget and submission/copy waits, and isolate the relay-mode-2 device hang from the performance comparison.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7255243989 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/331#issuecomment-7255243989). Originally posted by [TaynanGT](https://github.com/TaynanGT) on 2026-11-29T11:37:58Z. --- Thanks for the detailed 8 GB laptop report. I agree that sustained rendered FPS and stable frame pacing matter more than GPU utilization by itself. Please start with an exact revision and a fixed route, track memory budget and submission/copy waits, and isolate the relay-mode-2 device hang from the performance comparison.
TaynanGT commented 2026-11-30 17:01:36 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-30T17:01:36Z.


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:7285601951 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/331#issuecomment-7285601951). Originally posted by [TaynanGT](https://github.com/TaynanGT) on 2026-11-30T17:01:36Z. --- `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:46 +00:00 (Migrated from github.com)
Author
Contributor

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


The preset you were switching between is gone - that's the first thing to know here. Since #474 the settings come from the PC's cores, card and RAM instead of -Machine 4090 or -Machine 4070, so the 2 fps / 14-16 fps difference you measured isn't something you can land on by accident any more.

On a 4070 Laptop with 8 GB and 32 GB of system RAM you now get VICE_TAY_WINDOWS_BAR_MB=3072 without asking: windows the CPU fills live in the card's memory, which needs Resizable BAR on - worth checking it's enabled in your BIOS, because without it that setting does nothing.

Your actual question - fluctuating GPU use and memory pressure in the open world on an 8 GB laptop card - is still open and I don't have an 8 GB machine here. What would move it: a log from a current main with the open-world stretch where it fluctuates, and vice-tay.exe config. If the card runs out rather than the PC, --set VICE_TAY_TEXTURE_ROOM_PERCENT=85 leaves it about a gigabyte more than the default line does - that's the one knob worth A/B'ing on a card this size.

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:7290694109 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/331#issuecomment-7290694109). Originally posted by [TaynanGT](https://github.com/TaynanGT) on 2026-11-30T20:17:46Z. --- The preset you were switching between is gone - that's the first thing to know here. Since #474 the settings come from the PC's cores, card and RAM instead of `-Machine 4090` or `-Machine 4070`, so the 2 fps / 14-16 fps difference you measured isn't something you can land on by accident any more. On a 4070 Laptop with 8 GB and 32 GB of system RAM you now get `VICE_TAY_WINDOWS_BAR_MB=3072` without asking: windows the CPU fills live in the card's memory, which needs Resizable BAR on - worth checking it's enabled in your BIOS, because without it that setting does nothing. Your actual question - fluctuating GPU use and memory pressure in the open world on an 8 GB laptop card - is still open and I don't have an 8 GB machine here. What would move it: a log from a current `main` with the open-world stretch where it fluctuates, and `vice-tay.exe config`. If the card runs out rather than the PC, `--set VICE_TAY_TEXTURE_ROOM_PERCENT=85` leaves it about a gigabyte more than the default line does - that's the one knob worth A/B'ing on a card this size. **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.
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#331
No description provided.