Camera movement / driving stutters (244-327 ms spikes) and drops GPU busy to 57-68% with RT enabled on Radeon 8060S (Strix Halo) #191
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
hle
input
INTEL
lighting
linux-proton
memory
MULDER
needs-info
needs-logs
needs-rebase
NVIDIA
performance
post-merge
pr-diagnostics
pr-docs
pre-merge
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
relevance
high
relevance
low
relevance
medium
relevance
very-high
rendering
report
roadmap-proposal
saves
series-s
shaders
startup
status
blocked-by-rework
status
needs-test-report
status
needs-triage
status
ready-for-review
status
stale
status
superseded
status
wip
tools
ui
upstream
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
TrustNo1/Darner#191
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What you see
With ray tracing turned on in F1 (
DARNER_MENU_RT=software, which Darner auto-upgrades toDARNER_HW_RT=1on 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:18:08:56–18:09:03):24–25 fps, median40–42 ms,0over 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 ms18: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 ms18:09:06–18:09:10):12–15 fps, median45.7–58.1 ms,p95 106–239 ms,longest 244–327 ms(2–3over 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 mswhile submitting thread is working +13.5–19.8 msoutside marked submit work)preparing per frame: rises to37.9–41.7 ms(write watch4.3 → 10.3 ms, refreshes7.8 → 13.5 ms)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 msBLAS prep 32,370 ms,TLAS prep 6,177 ms,37,755quant24 VB /41,507meshlet IB decoded (775 MB),AS memory 1468 MBdarner-play-20261203-174859-19688.log):27–29 fps, median35.6–36.7 ms,0frames over 100 ms,85–92%GPU busy (3.0–5.5 msidle).Shaders were fully preloaded before the run (
26,527cached shaders,0pipeline failures).(Minor side note: F1
RAY TRACING = softwaresetsDARNER_BVH_BUILDER=1, whichprefer_hardware_rt_env()automatically promotes toDARNER_HW_RT=1on DXR 1.1 cards — so pickingsoftwarein F1 still runs hardware RT unlessDARNER_RT_HARDWARE=0is 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
maincommit4a92569(pre-v2026.12.03.01) + PR #53 (5345be7) + window aspect-ratio lock (39a15c0)Settings
DARNER_MENU_CONSOLE=series-s,DARNER_MENU_S_RES=540)4.1.2), Performance (960x540 -> 1920x1080)DARNER_MENU_FRAMEGEN=0)software(auto-promoted toDARNER_HW_RT=1on DXR 1.1)DARNER_RELAY=2(runtime log notesDARNER_RELAY=1),DARNER_VRAM_BUDGET_MB=48000Logs
Play log attached (
darner-play-20261203-180019-620.log, ~9 min open-world run; no crash).Are you working on a fix?
No
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.
DARNER_AMBIENT=constant:0.3replaces 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.exeof 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 loghardware 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 firsthwrt:line with BLAS built; BLAS counts andblas_prep_msare the differences of thehwrt:totals; "card busy" is the median ofthe card about N% busy(one line a second).blas_prep_msaddedblas_prep_msExceeded VRAM budgetlinesRT 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, once1). 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.ps1summaries andnvidia-smisamples. User and PC names are replaced.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 44.1.2Performance, FSR FG 2x,DARNER_HW_RT=1).4a92569:BLAS prepdropped significantly (~5.4 scumulative over 6+ min vs32.4 spreviously).15:29:16–15:29:25):18–20base fps, median52.8–62.7 ms,0frames > 100 ms,91–100%GPU busy (0.0–5.1 msidle,0.1–2.0 mswaiting on the card).15:28:20,15:29:28–15:29:29):15:28:20:13base fps, median93.4 ms, longest133.9 ms(3over 100 ms), GPU busy drops to58%(nothing of ours queued 33.0 ms/frame). Driven bya blocking fence wait 2.4/frame(8.3 ms) +synchronous submission or present 2.0/frame(8.3 ms) →17.1 mswaiting 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:14base fps, median83.7 ms, longest136.0 ms(5over 100 ms), GPU busy drops to63%(nothing of ours queued 27.4 ms/frame). Driven bya blocking fence wait 1.3/frame(14.3 ms) +synchronous submission or present 0.9/frame(2.1 ms) →19.1 mswaiting on the card,17.6 ms waiting for the submission lock, and title threads stalled33.1 msat presents.Attaching the redacted
v2026.12.03.02play log (darner-play-20261204-152411-24628.log).[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)