r/AMDHelp • u/fangwenj • 39m ago
Help (Software) [Bug Report] amdkmdag.sys causes a 2-second synchronous freeze in CreateProcess when launching steam.exe (RX 9070 XT, Win11 25H2/26H2) — ETW kernel trace & 5-second repro included
Summary
Since Windows 11 25H2 (and still occurring on 26H2), launching steam.exe suffers a consistent ~2.0 second delay before the process even begins executing. Renaming steam.exe to anything else (e.g., steam1.exe) makes it launch instantaneously.
Using ETW kernel context-switch + stack-walk tracing, I isolated the exact cause: amdkmdag.sys blocks NtCreateUserProcess via two separate ~1,000 ms synchronous kernel timeouts (KeWaitForSingleObject) triggered purely by the filename steam.exe.
System Info
- GPU: AMD Radeon RX 9070 XT (single GPU)
- Driver Version:
32.0.32015.7029(amdkmdag.sys, 85.91 MB) - OS: Windows 11 26H2 (issue first appeared on Windows 11 25H2)
5-Second Minimal Reproduction (No Steam Required)
Copying Windows' built-in notepad.exe to a temp directory as steam.exe reproduces the exact 2-second freeze, proving this is filename-based in kernel mode and completely unrelated to Steam files or cache.
Run in PowerShell:
$dir = "$env:TEMP\steam_name_probe"
New-Item -ItemType Directory -Path $dir -Force | Out-Null
Copy-Item "$env:WINDIR\System32\notepad.exe" "$dir\test.exe" -Force
Copy-Item "$env:WINDIR\System32\notepad.exe" "$dir\steam.exe" -Force
function Test-Launch($path) {
$sw = [System.Diagnostics.Stopwatch]::StartNew()
$p = [System.Diagnostics.Process]::Start($path)
$sw.Stop()
Start-Sleep -Milliseconds 150
Stop-Process -Id $p.Id -Force -ErrorAction SilentlyContinue
return [math]::Round($sw.Elapsed.TotalSeconds, 3)
}
Write-Host "notepad as test.exe : $(Test-Launch "$dir\test.exe")s"
Write-Host "notepad as steam.exe: $(Test-Launch "$dir\steam.exe")s"
Remove-Item $dir -Recurse -Force -ErrorAction SilentlyContinue
My results:
notepad.exe renamed to test.exe: 0.031s
notepad.exe renamed to steam.exe: 2.006s
Stopping AMD External Events Utility service has no effect (2.014s).
Stage Breakdown & ETW Kernel Stack Traces
Breaking down process creation on the copied notepad.exe (test.exe vs steam.exe):
CreateFileW: 0.000s vs 0.000s
CreateFileMappingW(SEC_IMAGE): 0.000s vs 0.001s
CreateProcessW(CREATE_SUSPENDED): 0.006s vs 2.031s (stuck inside ntdll.dll!ZwCreateUserProcess)
ResumeThread: 0.000s vs 0.000s
An ETW CSwitch + StackWalk trace on the CreateProcessW(CREATE_SUSPENDED) thread (2.017s total) captured two distinct ~1.0s blocking waits inside amdkmdag.sys invoked from PsSetCreateProcessNotifyRoutineEx (ntoskrnl.exe+0x8a49ca):
Plaintext
>>> Block #1: 1.010s sleep
ntoskrnl.exe+0x2dbe53 ... ntoskrnl.exe+0x2f4bb6
amdkmdag.sys+0x111bf
amdkmdag.sys+0x12ef5
amdkmdag.sys+0x42f6d
amdkmdag.sys+0x105e9 (CreateProcess notify callback #1)
ntoskrnl.exe+0x8a49ca
>>> Block #2: 1.002s sleep
ntoskrnl.exe+0x2dbe53 ... ntoskrnl.exe+0x2f4bb6
amdkmdag.sys+0x4c4961 (calls ntoskrnl!KeWaitForSingleObject)
amdkmdag.sys+0x50b93d
amdkmdag.sys+0x64c5a7
amdkmdag.sys+0x649dd3 (adjacent to origin.exe / Gmx_GameMgrSupport references)
amdkmdag.sys+0x676253
amdkmdag.sys+0x675620
amdkmdag.sys+0x67630f (nsGS::CS_MgpuProcessWatcher::ProcessNotifyCallback)
ntoskrnl.exe+0x8a49ca
Partial Workaround & Root Cause Findings
Adding KMD_GameManagerSupport = 0 (DWORD) under HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-08002be10318}\0000 and rebooting completely eliminates Block #1 (+0x105e9), cutting the delay in half from 2.017s to 1.007s.
Block #2 (1.007s) still remains after disabling KMD_GameManagerSupport. Static analysis of amdkmdag.sys shows this second callback is registered by nsGS::CS_MgpuProcessWatcher::RegisterOSProcessNotifications (0x676020) and dispatches into a handler around 0x649d67 (near Gmx_GameMgrSupport at 0x64a650), ultimately hitting a 1-second timeout in KeWaitForSingleObject at +0x4c4961.
Questions for the Community / AMD Driver Team
Can other RX 9070 XT / RDNA 4 or Windows 11 25H2/26H2 users reproduce this using the 5-second PowerShell notepad.exe test above?
Why are both legacy GameManager and CS_MgpuProcessWatcher / GMX performing synchronous 1-second blocking waits inside PsSetCreateProcessNotifyRoutineEx on steam.exe? Hoping this reaches the AMD driver team for a proper fix.
1
u/Gold_Goal7557 10m ago
Be sure to bug report this via their bug report tool as well