RTX 5070 Ti, Series X profile, HW RT: GPU and submit thread both at ~30–36 ms; RT costs only ~5 ms; one compute pipeline always fails with E_OUTOFMEMORY; memory grows over a session #567

Open
opened 2026-12-05 13:53:39 +00:00 by Befeeter · 1 comment

Results

System

  • GPU: RTX 5070 Ti 16 GB, driver 621.24, Windows 11 (build 26300), HAGS on
  • CPU: Ryzen 7 9800X3D, 32 GB RAM, PCIe GPU slot x16
  • Darner v2026.12.04.01 (release darner.exe), Series X profile, 1080→1440 output, DLSS Performance (preset auto), DLSS FG 2x, Reflex boost
  • Test: street races in Vice City (heavy streaming), 10–25 min per run, logs at INFO

Settings changed from defaults

DARNER_VRAM_BUDGET_MB=14500, DARNER_TEXTURE_ROOM_PERCENT=85, DARNER_HW_RT_TLAS_FRESH=1, DARNER_SUBMIT_SPLIT=1

Measurements (medians over gameplay seconds with >150 lists/frame)

Run Frame GPU (card meter, title lists) Submit thread prep Landing VRAM / shared
VRAM budget 12288 (my old setting) 47.0 ms 38.8 ms 33.2 ms 10.5 ms 11.3 / 6.3 GB
VRAM budget 14500 47.5 ms 37.3 ms 30.7 ms 9.6 ms 13.6 / 4.3 GB
+ TLAS_FRESH + SUBMIT_SPLIT (baseline, daytime) 47.3 ms 35.8 ms 31.7 ms 9.0 ms 13.5 / 5.9 GB
baseline, DLSS Ultra Performance 44.0 ms 31.6 ms 32.5 ms 8.8 ms 13.5 / 6.1 GB
baseline, RT off (+ RT_SKIP_DEAD, RT_SKIP_GATHER_COPY) 43.3 ms 31.0 ms 29.3 ms 7.2 ms 11.9 / 5.8 GB
baseline, night-time, 22 min 48.7 ms 34.6 ms 36.7 ms — 13.2 / 8.0 GB

Observations:

  1. HW RT costs only ~5 ms of GPU time (35.8 → 31.0 ms) and ~2 fps. Without RT the GPU is still at 31 ms for a 720p internal picture.
  2. Resolution barely matters: Ultra Performance (~853x480) only saves ~4 ms vs Performance. Most GPU time does not scale with pixels.
  3. Low GPU power draw: 80–95% "busy" in Windows but ~110 W, against ~200 W in native games on the same card. The card is occupied but not loaded (stalls/serialisation rather than shading work).
  4. Moving ~2 GB of shared memory back into VRAM (budget 12288 → 14500) changed GPU time by only ~1.5 ms, so PCIe reads of shared memory are not the main cost here.
  5. The GPU and the submit thread are tied (~31–36 ms vs ~29–37 ms), so lowering one alone gives little. Submit thread breakdown (typical daytime frame): 15–17 ms in list steps, of which ~9 ms are refreshes in ~24 flushes where ~8,200 of ~9,500 refreshes are known to copy nothing; 4.7 ms copies in card memory; 3.6 ms asking the write watch; 2–5 ms waiting for the submission lock.
  6. DARNER_REFRESH_WITHIN=1 made no measurable difference to refresh time in this scene.

Night-time: the CPU becomes the limit, not RT

Night-time Vice City raises submit-thread list-step time from 15.4 to 21.0 ms (223 → 246 lists/frame) while refresh time stays flat (~8.5–9 ms). GPU time (34.6 ms) and RT ray-query dispatches (5.0/frame) stay the same as in daytime. The extra night cost is per-draw CPU work, not ray tracing.

Memory growth over a session

Shared GPU memory and commit charge keep growing during a session and never come back down. In a 22-min night run: shared 2.3 → 9.1 GB, commit 41.8 → 52.6 GB on 32 GB RAM (20 GB past physical RAM, so heavy paging and worse p99). The same pattern appears in every session longer than 10 min.

Issue A: one compute pipeline always fails with E_OUTOFMEMORY

In every session (VRAM budget 12288 or 14500, RT on or off, VRAM use as low as 11.9 of 14.5 GB) the same pipeline fails 1–9 times per session and its draws are dropped for 1 s each time:
host pipeline not made: D3D12 returned E_OUTOFMEMORY ... shaders=[compute 7f61193d2c0e5f22]
Not related to VRAM pressure; looks like the driver rejecting that pipeline.

Issue B: device hung (0x887A0006) after building RT structures

  • Error: DEVICE_HUNG, "no page fault (a hang or a reset)". The last breadcrumbs are always HW RT structure builds (rehydrates + 5 TLAS builds) 6–8 s before the loss.
  • After a first hang, every following start hung ~55 s in, while loading the world, with any DLSS mode (Quality, Ultra Performance). A reboot fixed it: 14 min with the exact same settings, no hang. So the driver stays in a bad state after the first TDR.
  • With DARNER_HW_RT_TLAS_FRESH=1: no hangs in ~1.5 h of play after the reboot (one earlier hang happened without it).
  • Suggestion: after a device loss, tell the user to restart Windows before playing again.

Visual note

DARNER_UNIFIED_BACK=wc,coherent,cpu-only,unknown + WC_PIECES=2 + WC_NO_BACK_PC=1 + WC_NO_BACK_MIN_BYTES=1024 (together with REFRESH_WITHIN=1) brought back deformed character faces in Vice City races, even with the shared-range rule on. Landing went 9.6 → 7.3 ms. Removing that set fixed the faces.

Logs (zip attached; paths, user name and XUID redacted)

  • 1-baseline-rt-on.log: baseline with HW RT (TLAS_FRESH + SUBMIT_SPLIT), daytime, no hang
  • 2-rt-off.log: same settings, RT off
  • 3-hang-first.log: first device hung, during gameplay (before TLAS_FRESH)
  • 4-hang-after-tdr-at-load.log: hang while loading the world after an earlier TDR, before rebooting
  • 5-night-long-session.log: baseline, night-time, 22 min (memory growth)

GPU and driver

RTX 5070 Ti 16 GB, driver 621.24

CPU, RAM and Windows version

Ryzen 7 9800X3D, 32 GB RAM, Windows 11

Darner release or commit

v2026.12.04.01

Settings

Series X profile, 1080→1440 output, DLSS Performance (preset auto), DLSS FG 2x, Reflex boost

Logs

No response

Are you working on a fix?

No

### Results ### System - GPU: RTX 5070 Ti 16 GB, driver 621.24, Windows 11 (build 26300), HAGS on - CPU: Ryzen 7 9800X3D, 32 GB RAM, PCIe GPU slot x16 - Darner v2026.12.04.01 (release darner.exe), Series X profile, 1080→1440 output, DLSS Performance (preset auto), DLSS FG 2x, Reflex boost - Test: street races in Vice City (heavy streaming), 10–25 min per run, logs at INFO ### Settings changed from defaults DARNER_VRAM_BUDGET_MB=14500, DARNER_TEXTURE_ROOM_PERCENT=85, DARNER_HW_RT_TLAS_FRESH=1, DARNER_SUBMIT_SPLIT=1 ### Measurements (medians over gameplay seconds with >150 lists/frame) | Run | Frame | GPU (card meter, title lists) | Submit thread prep | Landing | VRAM / shared | |---|---|---|---|---|---| | VRAM budget 12288 (my old setting) | 47.0 ms | 38.8 ms | 33.2 ms | 10.5 ms | 11.3 / 6.3 GB | | VRAM budget 14500 | 47.5 ms | 37.3 ms | 30.7 ms | 9.6 ms | 13.6 / 4.3 GB | | + TLAS_FRESH + SUBMIT_SPLIT (baseline, daytime) | 47.3 ms | 35.8 ms | 31.7 ms | 9.0 ms | 13.5 / 5.9 GB | | baseline, DLSS Ultra Performance | 44.0 ms | 31.6 ms | 32.5 ms | 8.8 ms | 13.5 / 6.1 GB | | baseline, RT off (+ RT_SKIP_DEAD, RT_SKIP_GATHER_COPY) | 43.3 ms | 31.0 ms | 29.3 ms | 7.2 ms | 11.9 / 5.8 GB | | baseline, night-time, 22 min | 48.7 ms | 34.6 ms | 36.7 ms | — | 13.2 / 8.0 GB | Observations: 1. **HW RT costs only ~5 ms of GPU time** (35.8 → 31.0 ms) and ~2 fps. Without RT the GPU is still at 31 ms for a 720p internal picture. 2. **Resolution barely matters**: Ultra Performance (~853x480) only saves ~4 ms vs Performance. Most GPU time does not scale with pixels. 3. **Low GPU power draw**: 80–95% "busy" in Windows but ~110 W, against ~200 W in native games on the same card. The card is occupied but not loaded (stalls/serialisation rather than shading work). 4. Moving ~2 GB of shared memory back into VRAM (budget 12288 → 14500) changed GPU time by only ~1.5 ms, so PCIe reads of shared memory are not the main cost here. 5. **The GPU and the submit thread are tied** (~31–36 ms vs ~29–37 ms), so lowering one alone gives little. Submit thread breakdown (typical daytime frame): 15–17 ms in list steps, of which ~9 ms are refreshes in ~24 flushes where **~8,200 of ~9,500 refreshes are known to copy nothing**; 4.7 ms copies in card memory; 3.6 ms asking the write watch; 2–5 ms waiting for the submission lock. 6. `DARNER_REFRESH_WITHIN=1` made no measurable difference to refresh time in this scene. ### Night-time: the CPU becomes the limit, not RT Night-time Vice City raises submit-thread list-step time from 15.4 to 21.0 ms (223 → 246 lists/frame) while refresh time stays flat (~8.5–9 ms). GPU time (34.6 ms) and RT ray-query dispatches (5.0/frame) stay the same as in daytime. The extra night cost is per-draw CPU work, not ray tracing. ### Memory growth over a session Shared GPU memory and commit charge keep growing during a session and never come back down. In a 22-min night run: shared 2.3 → 9.1 GB, commit 41.8 → 52.6 GB on 32 GB RAM (20 GB past physical RAM, so heavy paging and worse p99). The same pattern appears in every session longer than 10 min. ### Issue A: one compute pipeline always fails with E_OUTOFMEMORY In every session (VRAM budget 12288 or 14500, RT on or off, VRAM use as low as 11.9 of 14.5 GB) the same pipeline fails 1–9 times per session and its draws are dropped for 1 s each time: `host pipeline not made: D3D12 returned E_OUTOFMEMORY ... shaders=[compute 7f61193d2c0e5f22]` Not related to VRAM pressure; looks like the driver rejecting that pipeline. ### Issue B: device hung (0x887A0006) after building RT structures - Error: DEVICE_HUNG, "no page fault (a hang or a reset)". The last breadcrumbs are always HW RT structure builds (rehydrates + 5 TLAS builds) 6–8 s before the loss. - After a first hang, **every following start hung ~55 s in, while loading the world**, with any DLSS mode (Quality, Ultra Performance). **A reboot fixed it**: 14 min with the exact same settings, no hang. So the driver stays in a bad state after the first TDR. - With `DARNER_HW_RT_TLAS_FRESH=1`: no hangs in ~1.5 h of play after the reboot (one earlier hang happened without it). - Suggestion: after a device loss, tell the user to restart Windows before playing again. ### Visual note `DARNER_UNIFIED_BACK=wc,coherent,cpu-only,unknown` + `WC_PIECES=2` + `WC_NO_BACK_PC=1` + `WC_NO_BACK_MIN_BYTES=1024` (together with REFRESH_WITHIN=1) brought back **deformed character faces** in Vice City races, even with the shared-range rule on. Landing went 9.6 → 7.3 ms. Removing that set fixed the faces. ### Logs (zip attached; paths, user name and XUID redacted) - `1-baseline-rt-on.log`: baseline with HW RT (TLAS_FRESH + SUBMIT_SPLIT), daytime, no hang - `2-rt-off.log`: same settings, RT off - `3-hang-first.log`: first device hung, during gameplay (before TLAS_FRESH) - `4-hang-after-tdr-at-load.log`: hang while loading the world after an earlier TDR, before rebooting - `5-night-long-session.log`: baseline, night-time, 22 min (memory growth) ### GPU and driver RTX 5070 Ti 16 GB, driver 621.24 ### CPU, RAM and Windows version Ryzen 7 9800X3D, 32 GB RAM, Windows 11 ### Darner release or commit v2026.12.04.01 ### Settings Series X profile, 1080→1440 output, DLSS Performance (preset auto), DLSS FG 2x, Reflex boost ### Logs _No response_ ### Are you working on a fix? No
Contributor

Similar picture on an RTX 4070 Ti 12 GB (driver 621.24, 7800X3D, release 9b288a70, 1440p, DLSS Quality, hardware RT, no frame generation): the frame waits on the card, and the card's time follows the draw count much more than the resolution.

  • Card-bound: card time for the title's lists is 31 to 34 ms against 26 to 28 ms of submit-thread work, at 26 to 27 fps.
  • Card time against draws: over two 10-minute runs, card ms = 21.4 + 1.38 ms per 1,000 draws (5 s bins, R² 0.47). That is about 32 ms at 8,000 draws and 30 ms at 6,500.
  • The card isn't working hard: board power is 124 to 129 W of 285 W in these runs.
  • Fewer draws does help: PR 95's switches took the median from about 8,000 draws to 6,600 and gave +3 fps here. Numbers are in my comment there.
  • Issue 428 shows the same shape on a 3060 laptop with RT off (22.8 fps under 4,000 draws, 11.4 over 8,000).

The fixed part looks like the title's compute passes, but I haven't broken it down.

Similar picture on an RTX 4070 Ti 12 GB (driver 621.24, 7800X3D, release `9b288a70`, 1440p, DLSS Quality, hardware RT, no frame generation): the frame waits on the card, and the card's time follows the draw count much more than the resolution. - **Card-bound:** card time for the title's lists is 31 to 34 ms against 26 to 28 ms of submit-thread work, at 26 to 27 fps. - **Card time against draws:** over two 10-minute runs, card ms = 21.4 + 1.38 ms per 1,000 draws (5 s bins, R² 0.47). That is about 32 ms at 8,000 draws and 30 ms at 6,500. - **The card isn't working hard:** board power is 124 to 129 W of 285 W in these runs. - **Fewer draws does help:** PR 95's switches took the median from about 8,000 draws to 6,600 and gave +3 fps here. Numbers are in [my comment there](https://git.gtahub.st/TrustNo1/Darner/pulls/95#issuecomment-896305). - Issue 428 shows the same shape on a 3060 laptop with RT off (22.8 fps under 4,000 draws, 11.4 over 8,000). The fixed part looks like the title's compute passes, but I haven't broken it down.
TrustNo1 changed title from [report] RTX 5070 Ti, Series X profile, HW RT: GPU and submit thread both at ~30–36 ms; RT costs only ~5 ms; one compute pipeline always fails with E_OUTOFMEMORY; memory grows over a session to RTX 5070 Ti, Series X profile, HW RT: GPU and submit thread both at ~30–36 ms; RT costs only ~5 ms; one compute pipeline always fails with E_OUTOFMEMORY; memory grows over a session 2026-12-06 03:19:16 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
TrustNo1/Darner#567
No description provided.