mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #613] AMD 9070 XT on Windows causes VIDEO_ENGINE_TIMEOUT_DETECTED #291
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#291
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 @galmok on GitHub (Oct 3, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/613
I just clones the repo, ran START-.bat, answered questions, and a browser window showed and I entered a few standard queries (tell me a joke, tell me a story) and I got a usable response at 54 tps but on the third query (tell me a longer story), the GPU drivers crashed, triggering a .dmp file that reports this error: VIDEO_ENGINE_TIMEOUT_DETECTED
Hardware:
AMD 98950X3D
128GB RAM
AMD 9070XT
Software:
Windows 11.
GPU driver: 26.8.1
This is my full command line history:
@Niko1221 commented on GitHub (Oct 3, 2026):
Thanks for the full transcript. The "saving a conversation checkpoint failed" error is the engine noticing that the GPU had stopped (the checkpoint waits for the GPU first), and VIDEO_ENGINE_TIMEOUT_DETECTED is Windows resetting the driver after the GPU hung. It happened while reading a prompt with KV streaming on (
--kv-resident 32768, which setup turns on from 64K context up), and we have two Linux reports on gfx1201 cards that stall at the same stage with the same setting (#579, #541).Could you run
SETUP.batagain, pick 32K context (no KV streaming there), and tell us whether it still happens on a few longer prompts? Please also post the last ~80 lines ofstrata-iq3_s.logafter a crash and your AMD driver version.@galmok commented on GitHub (Oct 3, 2026):
I tried running the start bat file again, and it didn't ask questions, but it worked fine then. I configured opencode to use the endpoint and have been working with it. The context got too large and I had to do a manual compaction. I am note sure what else I could do. Strata gave this message to opencode:
I have attached the log file as is.
strata-iq3_s.log
@Niko1221 commented on GitHub (Oct 4, 2026):
Thanks for the full transcript. The checkpoint error comes from the engine waiting for the GPU after the prompt was read, and VIDEO_ENGINE_TIMEOUT_DETECTED is Windows resetting the driver after the GPU hung. In 0.1.39 that error says so directly ("the GPU stopped responding"). 0.1.39 adds two switches for this cluster (#579, #541), and both work in the Windows AMD zip:
STRATA_PF_STEP_SYNC=1: the prompt path waits for the GPU after each step and logs any step over 250 ms, so the log names the step that hangs.STRATA_KV_HOST_DMA=1: no GPU kernel writes the RAM copy of the K/V during a prompt; it is copied by DMA instead. Same answers.It would help to know whether it still happens with
STRATA_KV_HOST_DMA=1set in the config's"env"block, and whether it happens at 32K context (no KV streaming). Please also post the last ~80 lines ofstrata-iq3_s.logand your AMD driver version.@Niko1221 commented on GitHub (Oct 6, 2026):
0.1.40 has the doorbell fence from #697 (HIP only). If you can, please test a prompt with KV streaming on that build and tell us if the TDR still happens.
@Niko1221 commented on GitHub (Oct 7, 2026):
Please retest on 0.1.40: it adds the #697 fence and the TDR you saw happened with KV streaming on a prompt. Try STRATA_PF_STEP_SYNC=1 and tell us whether the VIDEO_ENGINE_TIMEOUT_DETECTED comes again, with the log.
@galmok commented on GitHub (Oct 7, 2026):
I tried pulling the latest changes using with "git pull", but got an error I haven't seen before. I guess I have to pull a new clone and start all over:
fatal: refusing to merge unrelated histories
It'll take a bit of time and I do not entirely remember the options I chose, so it wont be a one-to-one test.
@galmok commented on GitHub (Oct 7, 2026):
I cloned the repo again, copied over strata-iq3_s.json, ran START-HERE.bat, it failed, then ran SETUP.bat, answered the question like I did the first time (without setting the two environment variables) and it started up just fine. I asked it to generate some text and it went along at expected speed. I told it to create a story.
I tried downloading the binary (for amd hip) but it was too cumbersome to start (never managed it, but didn't try very hard), which is why I cloned the repo fresh. That was much easier to get going.
Afterwards, I set the env var and started, and it also went fine:
PS C:\Tools\Strata\Strata> $env:STRATA_PF_STEP_SYNC=1
PS C:\Tools\Strata\Strata> .\START-HERE.bat
I am on commit:
commit
e8ca9afd03(HEAD -> main, tag: v0.1.40.2, origin/main, origin/HEAD)@Niko1221 commented on GitHub (Oct 13, 2026):
Thanks for the report. To keep the tracker current we are closing issues older than three days: 0.1.44 is out with a long list of fixes, and many older reports are covered by it or by 0.1.43.1.
If this still happens on 0.1.44, please leave a comment here with your engine log (and the version line it prints), and we will reopen it. A new issue that links this one works too.