Skip to content

Qwen3.8-Flash-Next on any consumer hardware: one-click install for Windows / Linux. Strata inference engine, OpenAI/Anthropic API on localhost, optional image input.

C++

docs: TROUBLESHOOTING for Smart App Control, the port error, the engine rollback, Linux read-ahead and THP (#735 #769 #670 #699 #771)

Niko12213982b2250ab6
diff --git a/docs/TROUBLESHOOTING.md b/docs/TROUBLESHOOTING.md
index bd9226c62..231ab8bd5 100644
--- a/docs/TROUBLESHOOTING.md
+++ b/docs/TROUBLESHOOTING.md
@@ -21,6 +21,18 @@ Update it (NVIDIA App or [nvidia.com/drivers](https://www.nvidia.com/drivers)),
**It says port 8080 is already in use.**
Strata is already running. Look for its window. Or another program uses the port: `START-HERE.bat --port 8081`.
+Only an address that is really taken says "already in use". Any other reason (Windows keeps the port reserved, or
+the config's `"host"` is not an address of this PC) is printed as what the OS said, with what to change (#769).
+
+**"Windows blocked the Strata engine (or the image encoder) ... Smart App Control".**
+On a clean Windows 11, Smart App Control refuses programs that are not signed, and Strata's `strata.exe` and
+`strata-vision.exe` are not (#735). Turn it off (Windows Security > App & browser control > Smart App Control
+settings; it cannot be turned back on without a reset of Windows), or, if only the image encoder is blocked, run
+`START-HERE.bat --setup --vision no`.
+
+**A new engine misbehaves after an update.**
+An update keeps the engine it replaced in `engine\.previous` (one generation, about 210 MiB).
+`python setup.py --rollback-engine` puts it back (and keeps the newer one there: run it again to go forward) (#670).
**Python or the build tools could not be installed.**
Install what it names (links are printed), then run it again. Everything already done is kept.
@@ -36,6 +48,10 @@ Install what it names (links are printed), then run it again. Everything already
**The first start takes minutes.**
It is reading 34-55 GB into RAM; the second start is faster while the files are in the OS cache. Started from Task
Scheduler, it can be 24x slower: see [Running it at startup](DETAILS.md#running-it-at-startup-task-scheduler).
+On Linux the engine now asks the kernel to read the model files ahead (a cold start went from ~920 s to 70 s on one
+PC); `STRATA_READ_AHEAD=0` turns that off. On Linux with transparent huge pages on `always`, the arena no longer asks
+for `MADV_HUGEPAGE` on top (a fragmented machine spent minutes compacting memory, #771); `STRATA_NO_ARENA_THP=1` skips
+that request on any setting.
## While it answers