mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #3111] [Windows/AMD 26.9.2] exception 0xC0000005 IQ3_S #1246
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#1246
Loading…
Add table
Add a link
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?
Originally created by @angelonger on GitHub (Oct 18, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3111
Summary
I'm troubleshooting an issue with Strata on an AMD Radeon RX 9070 XT under Windows. I've tried several environment-variable changes, adjusted the VRAM reserve, disabled HIPBLASLt-related settings, and replaced the bundled amdhip64_7.dll with the copy from C:\Windows\System32.
The issue remains unresolved after these troubleshooting attempts.
I'm sharing the hardware configuration and changes tested to help determine whether this is related to the Windows HIP backend, HIPBLASLt, VRAM allocation, or a runtime DLL compatibility issue.
System Configuration
9070 XT with 9800X3D & 64 GB of DDR5 / 6400. Driver version: 26.9.2 at Strata 0.1.45
Troubleshooting performed
Removed the HIPBLASLt tuning setting from the environment configuration to test whether the tuning path was contributing to the problem.
Tested different values for --vram-reserve-mib:
2048
1536
The purpose was to test whether changing the amount of VRAM reserved for the engine would affect the issue.
Added the following environment parameters:
{
"ROCBLAS_USE_HIPBLASLT": "0",
"STRATA_HIPBLASLT": "0",
"STRATA_GFX12_DEFAULTS": "0"
}
These settings were tested to see whether disabling HIPBLASLt-related paths and GFX12-specific defaults would change the behavior.
Added the following environment parameters:
{
"ROCBLAS_WORKSPACE_STACK_SIZE": "33554432",
"HIPBLASLT_WORKSPACE_STACK_SIZE": "33554432",
"STRATA_WDDM_BUDGET": "1"
}
These changes were tested to investigate whether workspace allocation or Windows GPU memory-budget handling was contributing to the problem.
Replaced:
Strata-main\engine\amdhip64_7.dll
with the copy located at:
C:\Windows\System32\amdhip64_7.dll
This was tested to check whether the bundled HIP runtime DLL was involved.
Current status
The above configuration changes and troubleshooting steps have been attempted, but the issue is not yet resolved.
I have not established which setting, if any, affects the underlying cause.
Log attached.
strata-iq3_s.log
@angelonger commented on GitHub (Oct 19, 2026):
vibecode fixed it:
Done — everything is fixed, verified, and cleaned up. Here's the full picture:
Root cause
Your engine config, model, and VRAM sizing were all fine. The crash chain is an AMD runtime defect on Windows + RDNA4 (gfx1201), in the bundled amdhip64_7.dll (ROCm 10.2.0a20260930 prebuilt in engine):
Every kernel dispatch walks ROCprofiler's callback chain, which contains an uninitialized/garbage node on this OS/driver combination → 0xC0000005 on the first small prefill. (Public analysis: netacoding; AMD tickets ROCm/TheRock#7732, rocm-systems#10924.)
The hipBLASLt prefill path additionally dies inside TensileLite's hipModuleLoad → memcpy with a corrupted pointer (Strata issue #2781/#3111 report the identical byte-offsets in your stack). Config-level disables alone do not fix this (proven by #3111), and the dispatch walk resurfaces anywhere.
What I changed
Change Purpose Revert
Patched engine\amdhip64_7.dll and engine\rocm\bin\amdhip64_7.dll (export hipProfilerRegisterChunkCallbackExt, RVA 0x3664E0 → xor eax, eax; ret) Stops the profiler-callback chain fault on every kernel dispatch engine\amdhip64_7.dll.bak-original backup kept
strata-iq3_s.json: removed STRATA_HIPBLASLT_TUNING, added "ROCBLAS_USE_HIPBLASLT": "0" Skips the TensileLite hipModuleLoad memcpy fault on the big-prefill path (plain rocBLAS fallback is used) Edit the "env" block back
@Niko1221 commented on GitHub (Oct 19, 2026):
Thanks for taking the time to report this.
We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open issues and pull requests, too many for us to read properly, so we're closing everything that isn't being worked on right now. Closed here does not mean rejected.
To reopen it takes about two minutes:
/reopen. A check runs and either reopens the issue or lists what is still missing.The rules are in CONTRIBUTING.md.