Camera movement / driving stutters (244-327 ms spikes) and drops GPU busy to 57-68% with RT enabled on Radeon 8060S (Strix Halo) #191

Open
opened 2026-12-04 03:13:42 +00:00 by ggwp · 3 comments
Contributor

What you see

With ray tracing turned on in F1 (DARNER_MENU_RT=software, which Darner auto-upgrades to DARNER_HW_RT=1 on DXR 1.1), standing still / keeping the camera steady produces smooth, consistent performance on Strix Halo (~24–25 fps, median ~40–42 ms, 0 frames > 100 ms, GPU 98–99% busy).

As soon as the camera moves (orbiting with the right analog stick or driving in a car), heavy stutters occur (12–15 fps, p95 106–239 ms, longest 244–327 ms, 2–3 frames > 100 ms per second) and power monitoring shows both CPU and GPU wattage drop during camera movement.

The play log (darner-play-20261203-180019-620.log) shows the GPU being starved while CPU-side RT/submission prep spikes during camera movement:

  • Camera still (18:08:56–18:09:03):
    • 24–25 fps, median 40–42 ms, 0 over 100 ms (longest 45.9–59.4 ms)
    • the card's clock per frame: nothing of ours queued 0.4–0.7 ms (98–99% GPU busy)
    • preparing per frame: 28.5–29.4 ms
    • Over 5s (18:08:58 → 18:09:03): BLAS built +114, rehydrated +0, quant24 VB / meshlet IB decoded +14 / +2 (+0 MB), BLAS prep +103 ms, TLAS prep +55 ms
  • Camera moving (18:09:06–18:09:10):
    • 12–15 fps, median 45.7–58.1 ms, p95 106–239 ms, longest 244–327 ms (2–3 over 100 ms per second)
    • the card's clock per frame: nothing of ours queued 22.1–34.0 ms (GPU drops to 57–68% busy; 8.6–15.7 ms while submitting thread is working + 13.5–19.8 ms outside marked submit work)
    • preparing per frame: rises to 37.9–41.7 ms (write watch 4.3 → 10.3 ms, refreshes 7.8 → 13.5 ms)
    • Over 5s (18:09:03 → 18:09:08): BLAS built +522 (4.6×), rehydrated +172, quant24 VB / meshlet IB decoded +898 / +643 (+14 MB), BLAS prep +435 ms, TLAS prep +97 ms
    • Cumulative over ~9 min: BLAS prep 32,370 ms, TLAS prep 6,177 ms, 37,755 quant24 VB / 41,507 meshlet IB decoded (775 MB), AS memory 1468 MB
  • Same hardware/settings with RT off (darner-play-20261203-174859-19688.log):
    • Steady 27–29 fps, median 35.6–36.7 ms, 0 frames over 100 ms, 85–92% GPU busy (3.0–5.5 ms idle).

Shaders were fully preloaded before the run (26,527 cached shaders, 0 pipeline failures).

(Minor side note: F1 RAY TRACING = software sets DARNER_BVH_BUILDER=1, which prefer_hardware_rt_env() automatically promotes to DARNER_HW_RT=1 on DXR 1.1 cards — so picking software in F1 still runs hardware RT unless DARNER_RT_HARDWARE=0 is set manually.)

GPU and driver

AMD Radeon(TM) 8060S Graphics (64 GB dedicated VRAM / Strix Halo), driver 32.0.32029.2010

CPU, RAM and Windows version

AMD Ryzen AI Max+ 395 w/ Radeon 8060S, 64 GB RAM, Windows 11 Home Single Language (build 26300)

Darner release or commit

Local test build based on main commit 4a92569 (pre-v2026.12.03.01) + PR #53 (5345be7) + window aspect-ratio lock (39a15c0)

Settings

  • Profile: Series S (DARNER_MENU_CONSOLE=series-s, DARNER_MENU_S_RES=540)
  • Upscaling: PC FidelityFX FSR 4 (4.1.2), Performance (960x540 -> 1920x1080)
  • Frame generation: Off (DARNER_MENU_FRAMEGEN=0)
  • Ray tracing: F1 software (auto-promoted to DARNER_HW_RT=1 on DXR 1.1)
  • DARNER_RELAY=2 (runtime log notes DARNER_RELAY=1), DARNER_VRAM_BUDGET_MB=48000

Logs

Play log attached (darner-play-20261203-180019-620.log, ~9 min open-world run; no crash).

Are you working on a fix?

No

### What you see With ray tracing turned on in F1 (`DARNER_MENU_RT=software`, which Darner auto-upgrades to `DARNER_HW_RT=1` on DXR 1.1), standing still / keeping the camera steady produces smooth, consistent performance on Strix Halo (~24–25 fps, median ~40–42 ms, 0 frames > 100 ms, GPU 98–99% busy). As soon as the camera moves (orbiting with the right analog stick or driving in a car), heavy stutters occur (12–15 fps, p95 106–239 ms, longest 244–327 ms, 2–3 frames > 100 ms per second) and power monitoring shows **both CPU and GPU wattage drop** during camera movement. The play log (`darner-play-20261203-180019-620.log`) shows the GPU being starved while CPU-side RT/submission prep spikes during camera movement: - **Camera still (`18:08:56`–`18:09:03`):** - `24–25 fps`, median `40–42 ms`, `0` over 100 ms (`longest 45.9–59.4 ms`) - `the card's clock per frame`: `nothing of ours queued 0.4–0.7 ms` (**98–99% GPU busy**) - `preparing per frame`: `28.5–29.4 ms` - Over 5s (`18:08:58` → `18:09:03`): BLAS built `+114`, rehydrated `+0`, quant24 VB / meshlet IB decoded `+14 / +2` (+0 MB), `BLAS prep +103 ms`, `TLAS prep +55 ms` - **Camera moving (`18:09:06`–`18:09:10`):** - `12–15 fps`, median `45.7–58.1 ms`, `p95 106–239 ms`, `longest 244–327 ms` (`2–3` over 100 ms per second) - `the card's clock per frame`: `nothing of ours queued 22.1–34.0 ms` (**GPU drops to 57–68% busy**; `8.6–15.7 ms` while submitting thread is working + `13.5–19.8 ms` outside marked submit work) - `preparing per frame`: rises to `37.9–41.7 ms` (write watch `4.3 → 10.3 ms`, refreshes `7.8 → 13.5 ms`) - Over 5s (`18:09:03` → `18:09:08`): BLAS built `+522` (4.6×), rehydrated `+172`, quant24 VB / meshlet IB decoded `+898 / +643` (+14 MB), `BLAS prep +435 ms`, `TLAS prep +97 ms` - Cumulative over ~9 min: `BLAS prep 32,370 ms`, `TLAS prep 6,177 ms`, `37,755` quant24 VB / `41,507` meshlet IB decoded (`775 MB`), `AS memory 1468 MB` - **Same hardware/settings with RT off (`darner-play-20261203-174859-19688.log`):** - Steady `27–29 fps`, median `35.6–36.7 ms`, `0` frames over 100 ms, `85–92%` GPU busy (`3.0–5.5 ms` idle). Shaders were fully preloaded before the run (`26,527` cached shaders, `0` pipeline failures). *(Minor side note: F1 `RAY TRACING = software` sets `DARNER_BVH_BUILDER=1`, which `prefer_hardware_rt_env()` automatically promotes to `DARNER_HW_RT=1` on DXR 1.1 cards — so picking `software` in F1 still runs hardware RT unless `DARNER_RT_HARDWARE=0` is set manually.)* ### GPU and driver AMD Radeon(TM) 8060S Graphics (64 GB dedicated VRAM / Strix Halo), driver 32.0.32029.2010 ### CPU, RAM and Windows version AMD Ryzen AI Max+ 395 w/ Radeon 8060S, 64 GB RAM, Windows 11 Home Single Language (build 26300) ### Darner release or commit Local test build based on `main` commit `4a92569` (pre-`v2026.12.03.01`) + PR #53 (`5345be7`) + window aspect-ratio lock (`39a15c0`) ### Settings - Profile: Series S (`DARNER_MENU_CONSOLE=series-s`, `DARNER_MENU_S_RES=540`) - Upscaling: PC FidelityFX FSR 4 (`4.1.2`), Performance (`960x540 -> 1920x1080`) - Frame generation: Off (`DARNER_MENU_FRAMEGEN=0`) - Ray tracing: F1 `software` (auto-promoted to `DARNER_HW_RT=1` on DXR 1.1) - `DARNER_RELAY=2` (runtime log notes `DARNER_RELAY=1`), `DARNER_VRAM_BUDGET_MB=48000` ### Logs Play log attached (`darner-play-20261203-180019-620.log`, ~9 min open-world run; no crash). ### Are you working on a fix? No
Owner

Your log matches the hardware ray tracing stutter in #60. With the camera still, the card is 98-99% busy at 24-25 fps. Moving the camera or driving brings new geometry into view, and its ray tracing structures are built on the CPU first (about 114 a second here). The card then waits: 57-68% busy, spikes up to 327 ms. On an APU the CPU and the graphics share one power budget, so the extra CPU work also takes power from the graphics.

  • Turning ray tracing off in F1 > PICTURE (both RAY TRACING rows) removes this work and should make driving smooth.
  • Work on this group is in the open PRs linked from #60. A log from a build that includes them would show whether it helps on the 8060S.
  • DARNER_AMBIENT=constant:0.3 replaces the light estimate with a flat light. It is valid, but with ray tracing on it has no effect on the stutter.
Your log matches the hardware ray tracing stutter in #60. With the camera still, the card is 98-99% busy at 24-25 fps. Moving the camera or driving brings new geometry into view, and its ray tracing structures are built on the CPU first (about 114 a second here). The card then waits: 57-68% busy, spikes up to 327 ms. On an APU the CPU and the graphics share one power budget, so the extra CPU work also takes power from the graphics. - Turning ray tracing off in F1 > PICTURE (both RAY TRACING rows) removes this work and should make driving smooth. - Work on this group is in the open PRs linked from #60. A log from a build that includes them would show whether it helps on the 8060S. - `DARNER_AMBIENT=constant:0.3` replaces the light estimate with a flat light. It is valid, but with ray tracing on it has no effect on the stutter.

The same pattern on NVIDIA, and a before/after: on v2026.12.03.01 hardware RT drops to 2-15 fps while BLAS are first built, with the CPU-side BLAS preparation taking much of each second and the card idle. On v2026.12.03.02 that preparation is about 10 times shorter and the card stays busy. .03.02 has #92 among other changes; I haven't checked which change did it. It shows without moving the camera, in the opening cinematic, so it can be repeated with bench.ps1.

PC: RTX 4080 16 GB (driver 32.0.16.1742), Ryzen 9 7900 (12 cores), 32 GB, Windows 11 Home 26200. Builds: the release darner.exe of v2026.12.03.01 and of v2026.12.03.02. Settings: Series X, 4K output, DLSS Performance, frame generation 2x.
Method: scripts/bench.ps1 -RayTracing on|off -Dlss performance -FrameGen 2 -AllowMenuFile -Seconds 180 -Warmup 0, the same copied save each run (the opening cinematic from its first frame), no input. The RT runs log hardware DXR 1.1 RT manager initialized (DARNER_HW_RT=1). The window is 0-180 s after the world's first frame. "The first 75 s of building" starts at the first hwrt: line with BLAS built; BLAS counts and blas_prep_ms are the differences of the hwrt: totals; "card busy" is the median of the card about N% busy (one line a second).

.03.01 RT run 1 .03.01 RT run 2 .03.02 RT run 2 .03.02 RT run 3 .03.02 RT run 4
fps, median of the 5 s lines 26.8 22.0 23.4 23.4 24.2
5 s lines under 15 fps / under 10 fps 9 / 5 8 / 3 3 / 1 2 / 1 4 / 3
lowest 5 s line 2.6 fps 2.0 fps 5.7 fps 4.9 fps 3.7 fps
first 75 s of building: BLAS built, blas_prep_ms added 10,017, 27.1 s 9,339, 16.2 s 11,383, 2.5 s 10,967, 2.3 s 9,993, 2.6 s
card busy in those 75 s, median 41 % 54 % 72.5 % 71 % 74 %
the rest of the window: BLAS, blas_prep_ms 5,751, 3.2 s 5,590, 3.7 s 4,818, 1.9 s 4,865, 1.9 s 5,822, 2.1 s
card busy after, median 87 % 89 % 75 % 76 % 83 %
video memory, mean (peak), nvidia-smi 15,656 MB (15,879) 15,709 MB (15,961) 14,580 MB (14,841) 14,285 MB (14,543) 14,323 MB (14,537)
Streamline Exceeded VRAM budget lines 3,416 3,165 0 0 0

RT off, for reference: 25.2 fps on .03.01 and 26.2 on .03.02, no 5 s line under 15 fps in either.

.03.01: every slow 5 s line falls in the first 75 s of building. Almost no pipelines were being made then (0 being made, once 1). After that phase, frame rate comes back to about RT off's.
.03.02: BLAS preparation in that phase is 2.3-2.6 s instead of 16-27 s for about as many BLAS, and the card stays 71-74 % busy. A few slow lines remain, mostly in the same phase, but they look different. In the three I checked, no BLAS were built in those 5 s. At most one pipeline was being made in any of them, and copies were large (23-129 MB a frame, 6-26 ms). In two of them the card itself took 72-79 ms a frame. So those look like streaming, not RT preparation. That's a guess from the log lines, not measured further.

One cold run left out: the first .03.02 run with RT on had no RT pipelines cached (the bench skips the preload). It spent about 3 minutes at 0-1 fps with 1,400-3,000 pipelines waiting to be made, an 18.4 s stall, and memory guard: a compile is put off. That's #70's case, not this one.

So on this PC, the CPU-side BLAS preparation spike described here is mostly gone in v2026.12.03.02. A log from the 8060S on .03.02 would show whether it went for the APU too, where CPU and graphics share one power budget.

Not checked: software RT, driving or camera movement, other places. These are release builds, so no frame-time percentiles.

Logs attached: darner-issue-191-logs.zip, the eight runs' logs (the cold run and both RT-off runs too), bench.ps1 summaries and nvidia-smi samples. User and PC names are replaced.

The same pattern on NVIDIA, and a before/after: on v2026.12.03.01 hardware RT drops to 2-15 fps while BLAS are first built, with the CPU-side BLAS preparation taking much of each second and the card idle. On v2026.12.03.02 that preparation is about 10 times shorter and the card stays busy. .03.02 has #92 among other changes; I haven't checked which change did it. It shows without moving the camera, in the opening cinematic, so it can be repeated with `bench.ps1`. **PC:** RTX 4080 16 GB (driver 32.0.16.1742), Ryzen 9 7900 (12 cores), 32 GB, Windows 11 Home 26200. **Builds:** the release `darner.exe` of v2026.12.03.01 and of v2026.12.03.02. **Settings:** Series X, 4K output, DLSS Performance, frame generation 2x. **Method:** `scripts/bench.ps1 -RayTracing on|off -Dlss performance -FrameGen 2 -AllowMenuFile -Seconds 180 -Warmup 0`, the same copied save each run (the opening cinematic from its first frame), no input. The RT runs log `hardware DXR 1.1 RT manager initialized (DARNER_HW_RT=1)`. The window is 0-180 s after the world's first frame. "The first 75 s of building" starts at the first `hwrt:` line with BLAS built; BLAS counts and `blas_prep_ms` are the differences of the `hwrt:` totals; "card busy" is the median of `the card about N% busy` (one line a second). | | .03.01 RT run 1 | .03.01 RT run 2 | .03.02 RT run 2 | .03.02 RT run 3 | .03.02 RT run 4 | |---|---|---|---|---|---| | fps, median of the 5 s lines | 26.8 | 22.0 | 23.4 | 23.4 | 24.2 | | 5 s lines under 15 fps / under 10 fps | 9 / 5 | 8 / 3 | 3 / 1 | 2 / 1 | 4 / 3 | | lowest 5 s line | 2.6 fps | 2.0 fps | 5.7 fps | 4.9 fps | 3.7 fps | | first 75 s of building: BLAS built, `blas_prep_ms` added | 10,017, 27.1 s | 9,339, 16.2 s | 11,383, 2.5 s | 10,967, 2.3 s | 9,993, 2.6 s | | card busy in those 75 s, median | 41 % | 54 % | 72.5 % | 71 % | 74 % | | the rest of the window: BLAS, `blas_prep_ms` | 5,751, 3.2 s | 5,590, 3.7 s | 4,818, 1.9 s | 4,865, 1.9 s | 5,822, 2.1 s | | card busy after, median | 87 % | 89 % | 75 % | 76 % | 83 % | | video memory, mean (peak), nvidia-smi | 15,656 MB (15,879) | 15,709 MB (15,961) | 14,580 MB (14,841) | 14,285 MB (14,543) | 14,323 MB (14,537) | | Streamline `Exceeded VRAM budget` lines | 3,416 | 3,165 | 0 | 0 | 0 | RT off, for reference: 25.2 fps on .03.01 and 26.2 on .03.02, no 5 s line under 15 fps in either. **.03.01:** every slow 5 s line falls in the first 75 s of building. Almost no pipelines were being made then (`0 being made`, once `1`). After that phase, frame rate comes back to about RT off's. **.03.02:** BLAS preparation in that phase is 2.3-2.6 s instead of 16-27 s for about as many BLAS, and the card stays 71-74 % busy. A few slow lines remain, mostly in the same phase, but they look different. In the three I checked, no BLAS were built in those 5 s. At most one pipeline was being made in any of them, and copies were large (23-129 MB a frame, 6-26 ms). In two of them the card itself took 72-79 ms a frame. So those look like streaming, not RT preparation. That's a guess from the log lines, not measured further. **One cold run left out:** the first .03.02 run with RT on had no RT pipelines cached (the bench skips the preload). It spent about 3 minutes at 0-1 fps with 1,400-3,000 pipelines waiting to be made, an 18.4 s stall, and `memory guard: a compile is put off`. That's #70's case, not this one. So on this PC, the CPU-side BLAS preparation spike described here is mostly gone in v2026.12.03.02. A log from the 8060S on .03.02 would show whether it went for the APU too, where CPU and graphics share one power budget. Not checked: software RT, driving or camera movement, other places. These are release builds, so no frame-time percentiles. Logs attached: `darner-issue-191-logs.zip`, the eight runs' logs (the cold run and both RT-off runs too), `bench.ps1` summaries and `nvidia-smi` samples. User and PC names are replaced.
Author
Contributor

Follow-up test on v2026.12.03.02 (same Strix Halo / Radeon 8060S)

Re-tested on v2026.12.03.02 (Series S 540p → 1080p, PC FSR 4 4.1.2 Performance, FSR FG 2x, DARNER_HW_RT=1).

  • Improved vs 4a92569:
    • BLAS prep dropped significantly (~5.4 s cumulative over 6+ min vs 32.4 s previously).
    • Steady camera / cruising (15:29:16–15:29:25): 18–20 base fps, median 52.8–62.7 ms, 0 frames > 100 ms, 91–100% GPU busy (0.0–5.1 ms idle, 0.1–2.0 ms waiting on the card).
  • Remaining camera-movement / driving stutter + GPU-idle wattage drop (15:28:20, 15:29:28–15:29:29):
    • 15:28:20: 13 base fps, median 93.4 ms, longest 133.9 ms (3 over 100 ms), GPU busy drops to 58% (nothing of ours queued 33.0 ms/frame). Driven by a blocking fence wait 2.4/frame (8.3 ms) + synchronous submission or present 2.0/frame (8.3 ms) → 17.1 ms waiting on the card, preparing per frame 78.3 ms (30.7 ms waiting for the submission lock, 10.5 ms waiting for flights).
    • 15:29:29: 14 base fps, median 83.7 ms, longest 136.0 ms (5 over 100 ms), GPU busy drops to 63% (nothing of ours queued 27.4 ms/frame). Driven by a blocking fence wait 1.3/frame (14.3 ms) + synchronous submission or present 0.9/frame (2.1 ms) → 19.1 ms waiting on the card, 17.6 ms waiting for the submission lock, and title threads stalled 33.1 ms at presents.

Attaching the redacted v2026.12.03.02 play log (darner-play-20261204-152411-24628.log).

### Follow-up test on `v2026.12.03.02` (same Strix Halo / Radeon 8060S) Re-tested on `v2026.12.03.02` (Series S 540p → 1080p, PC FSR 4 `4.1.2` Performance, FSR FG 2x, `DARNER_HW_RT=1`). - **Improved vs `4a92569`:** - `BLAS prep` dropped significantly (`~5.4 s` cumulative over 6+ min vs `32.4 s` previously). - Steady camera / cruising (`15:29:16`–`15:29:25`): `18–20` base fps, median `52.8–62.7 ms`, `0` frames > 100 ms, **`91–100%` GPU busy** (`0.0–5.1 ms` idle, `0.1–2.0 ms` waiting on the card). - **Remaining camera-movement / driving stutter + GPU-idle wattage drop (`15:28:20`, `15:29:28`–`15:29:29`):** - `15:28:20`: `13` base fps, median `93.4 ms`, longest `133.9 ms` (`3` over 100 ms), GPU busy drops to **`58%`** (`nothing of ours queued 33.0 ms/frame`). Driven by `a blocking fence wait 2.4/frame` (`8.3 ms`) + `synchronous submission or present 2.0/frame` (`8.3 ms`) → `17.1 ms` waiting on the card, `preparing per frame 78.3 ms` (`30.7 ms waiting for the submission lock`, `10.5 ms waiting for flights`). - `15:29:29`: `14` base fps, median `83.7 ms`, longest `136.0 ms` (`5` over 100 ms), GPU busy drops to **`63%`** (`nothing of ours queued 27.4 ms/frame`). Driven by `a blocking fence wait 1.3/frame` (`14.3 ms`) + `synchronous submission or present 0.9/frame` (`2.1 ms`) → `19.1 ms` waiting on the card, `17.6 ms waiting for the submission lock`, and title threads stalled `33.1 ms` at presents. Attaching the redacted `v2026.12.03.02` play log (`darner-play-20261204-152411-24628.log`).
TrustNo1 changed title from [performance] Camera movement / driving stutters (244-327 ms spikes) and drops GPU busy to 57-68% with RT enabled on Radeon 8060S (Strix Halo) to Camera movement / driving stutters (244-327 ms spikes) and drops GPU busy to 57-68% with RT enabled on Radeon 8060S (Strix Halo) 2026-12-06 03:23:20 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
3 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#191
No description provided.