Files
strata/docs/TROUBLESHOOTING.md
T
Niko1221 f06bfc30e7 docs/TROUBLESHOOTING.md: the Windows AMD driver-reset entry is back
The 0.2.5 rewrite of the page dropped the 'Windows AMD: the driver resets' entry (v0.2.4.2 had it), although setup.py still tells a Windows gfx12
card owner to read it and tools/test_setup_amd.py (TdrPointer) checks for it, so that test failed on main. Restored from v0.2.4.2 with the
log and config locations worded for a source checkout.
2026-10-26 18:37:19 +01:00

12 KiB

Troubleshooting

This page is for anyone whose install or startup fails. Find your symptom below. Each entry gives one fix. Start from the route you installed: desktop app or Terminal, or source checkout. The normal release uses the app or strata launch and needs no .bat file. Detailed engine errors are in the engine reference.

Quick check. Run these and keep the output for a bug report:

strata --version
strata doctor --live
strata launch --status

The desktop app and the Terminal

I cannot find START-HERE.bat or SETUP.bat. Open the installed Strata app, or run strata launch. Those wrappers are in the source repository and are not the startup path for the app. For a fresh desktop install, download the one installer for your system (Strata-0.2.6-windows-x64-setup.exe, Strata-0.2.6-linux-x86_64.AppImage or Strata-0.2.6-macos-arm64.dmg), not a strata-engine-… archive.

strata is not found. On Windows, open a new PowerShell window after installing. On Linux or Mac, use the full path the installer printed, normally ~/.local/bin/strata, and add ~/.local/bin to PATH if needed. Check strata --version.

Strata could not find an engine for this computer. Run strata doctor --live and strata update --check. Check the selected GPU, driver and backend guide. Supported paths include Apple Silicon and Intel Arc on Linux; do not assume every machine without an NVIDIA/AMD discrete card is unsupported. A model download can finish even when no engine starts. Verify strata launch --status and /health before calling the installation successful.

This model needs a newer engine. Unload running models, then use the app's engine update or strata update. Minimum engine versions vary by model and backend. Check the model guide and the installed engine, not only the app version. If the feed has no compatible engine, report the missing combination.

An update says it succeeded but strata --version is still old. The Terminal switches to the updated Control on the next command, so run strata --version again. If it is still old, run the one-line installer once more; it keeps models and settings. The app, Control and engine have separate version numbers; see updating and the release notes.

A new engine misbehaves after an update. Stop the model, then use the app's rollback control or strata components rollback. Source-checkout engines use a separate rollback workflow, python setup.py --rollback-engine, described in source setup.

The Mac app cannot be opened. Check that the download is for Apple Silicon and that macOS is 15 or newer. Follow Mac installation. A warning alone does not establish that a file is safe or intact: verify the download source and release before changing quarantine settings. Release signing and test-build handling are described in Mac packaging.

The Linux AppImage does not open. Make the downloaded file executable. It may need FUSE 2 (libfuse2 on Ubuntu 22.04, libfuse2t64 on newer Ubuntu; package names vary by distribution). Without FUSE, run the file with --appimage-extract-and-run. For a crash log, run it with --save-logs; see the logs section below.

While installing or starting

A download stopped. Retry it in the app, or rerun the same strata launch command. Completed model-download steps are reused. Check free space and the error message. For an interrupted Terminal installer, rerun the install command. Only a source checkout uses START-HERE.bat / ./setup.sh to resume source setup.

Startup takes a long time or the computer becomes slow. Large models need time to check files, prepare packs and fill memory. A first launch can take many minutes; there is no fixed startup time. Watch progress and the engine log. If memory pressure is high, close memory-heavy programs and try a smaller model or context. DeepSeek V4.1-Flash needs 46 GB of RAM at least (model page); strata launch --plan --family deepseek41 --model ist-das-2.00bpw shows what your computer is missing.

The NVIDIA driver is too old. Use the driver required by the engine package. CUDA 13 needs driver 580 or newer; older cards use the CUDA 12 route. After updating the driver and restarting if needed, open the app or rerun strata launch.

Port 8080 is already in use, or I changed a running model's settings. Check strata launch --status. To replace your existing launch, rerun the intended command with --restart; it stops current answers. To run beside it, choose another port, for example --port 8081, if memory permits. Do not stop an unrelated program just because it holds the port. --yes alone does not restart a running model.

The engine stops on a small GPU or low-memory computer. Try a smaller pack or context. The draft layer also uses memory. In the app, set the model's Draft layer to Off; in the Terminal, an explicit example is:

strata launch --family qwen --model q2_0 --context 32k --mtp off

Use --restart if replacing an active run. Turning MTP off can slow decoding. Keep some VRAM free for the display; setting the reserve to zero is not a general speed fix.

Pictures do not work. The model, backend and installed engine package must include a compatible picture reader. Inspect the startup error and the model guide. --vision off disables reading pictures; it is different from optional image generation. In the Terminal, use on|off|gpu|cpu, not source setup's yes|no spelling.

Windows blocks an executable. Verify the official release and the component named in the message. Feed signatures and Windows code-signing are different checks. If only the picture reader is blocked, --vision off may let text requests run. Do not disable system-wide protection as the routine installation fix; include the blocked file and exact message in a bug report.

While it answers

It is slow and the disk stays busy. The chosen model may exceed available RAM/VRAM and be using the file tier. Close other programs, check memory in the monitor, and choose a smaller model or context. Compare performance only with the same hardware and workload.

The prompt exceeds the context. Start a new chat, shorten the input, or use the app's Summarize and continue action. A larger context needs more memory. In the Terminal, restart your chosen model with an explicit --context, such as 64k; preserve its family, model and other choices. Do not look for SETUP.bat in an app install.

On Linux the engine exits with code -9. Check system logs for an out-of-memory kill. Also check ulimit -R: a desktop-session real-time limit can cause a kill even when memory is available. The engine prints a warning for that condition; see the detailed troubleshooting table before changing system limits.

Windows AMD: the driver resets (VIDEO_ENGINE_TIMEOUT_DETECTED / screen flicker / the engine dies mid-answer). Windows gives a GPU about 2 seconds to answer; when a graphics card does not, it resets the driver (a TDR): the screen flickers, the engine dies, and the Event Viewer shows VIDEO_ENGINE_TIMEOUT_DETECTED (#613, with #579 and #541 on Linux). Strata 0.1.39 and newer say "the GPU stopped responding" in the log. It was seen with KV streaming on (--kv-resident 32768, which setup turns on from 64K context) while reading a long prompt on a gfx1201 card. Try these in order, one at a time, and tell us what changed:

  1. Send us the evidence. The last ~80 lines of the engine log (strata-<model>.log in the Strata folder of a source checkout; the server window shows the same lines), your AMD driver version (AMD Software > System), your card and Windows version, the Strata version, and the exact steps (context size, how long the prompt was, which app sent it). If Windows wrote a dump, the newest .dmp in C:\Windows\LiveKernelReports\WATCHDOG (or C:\Windows\Minidump) helps; it holds no chats, only the driver state.
  2. Find the step that hangs: add "STRATA_PF_STEP_SYNC": "1" to the "env" block of the model's run config (strata-<model>.json in a source checkout) and restart. The prompt path then waits for the GPU after each step and logs any step over 250 ms, so the log names the step. It is slower; use it to diagnose, then take it out.
  3. "STRATA_KV_HOST_DMA": "1" in the same "env" block: no GPU kernel writes the RAM copy of the K/V during a prompt, it is copied by DMA instead. Same answers.
  4. No KV streaming: run setup again and pick 32K context (or remove --kv-resident and its number from "args" in the JSON, with a context that fits the VRAM).
  5. A smaller prompt chunk: change --prefill in "args" (for example --prefill 512): each GPU launch then does less work between two checks by Windows. Prompts are read more slowly.
  6. Optional, your decision: give Windows more time (TdrDelay). The default is 2 seconds. In the registry, HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers, a DWORD TdrDelay of 10 (seconds) lets a long GPU job finish before Windows resets the driver; restart the PC. It hides the symptom and does not fix a GPU that has really hung, and a hung GPU then freezes the screen for those 10 seconds. Strata changes no Windows setting itself; to undo it, delete the value.
  7. Driver: use the newest AMD Software release for your card (Adrenalin, not a Windows Update driver) and restart after installing. If it started after a driver update, tell us both versions; going back one version is a fair test.

Large pinned host allocations fail on ROCm although RAM is free. See AMD_HIP.md: the mapped expert mode avoids the full pinned arena.

"verify: timed out at layer N" or "no progress for 60 s" on AMD (Linux), mostly with --mmap-experts.

A hand-edited engine option disappears. The run config tracks explicit options in user_args and the generated baseline in args_written. Prefer the app's Expert settings or Terminal --set for supported overrides. Context, KV, picture reading and drafting are launch choices; set them through the app or the corresponding strata launch flags. Inspect the effective config rather than assuming a saved preference was applied.

Source-checkout problems

Python/venv, CUDA compiler versions, ROCm builds, UPDATE.bat, update.sh and generated run-<model> scripts belong to SOURCE_INSTALL.md. Use the backend guide for build prerequisites. The packaged Terminal carries Python; a missing system Python is not a reason to install a compiler for the normal release.

If git pull fails in an old clone, back up your local work and follow the recovery steps the source update script prints. Do not overwrite local branches or edits just to make git pull succeed.

Logs and bug reports

  • App: Settings → Engine → Diagnostics → View logs → Save logs. The diagnostic file goes to Downloads.
  • Terminal: include strata --version, strata doctor --live, strata launch --status, and the relevant log excerpt.
  • Windows app crash: inspect %LOCALAPPDATA%\Strata\logs for desktop-crash-<date>.log.
  • Linux app crash: start the AppImage with --save-logs to collect diagnostics.

Include model and quantization, OS, GPU/VRAM, RAM, driver, install route, exact command, expected result and actual error. Remove API keys and private data before sharing. Follow CONTRIBUTING.md.