[GH-ISSUE #4017] [Engine] Windows rdna2 package 0.1.48: the GPU picture reader (strata-vision-hip.exe) is built for gfx1200/gfx1201 only, so --vision gpu falls back to the CPU on RX 6000 #1731

Closed
opened 2026-11-04 01:53:32 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @Vop3p on GitHub (Oct 24, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4017

What happened. On an RX 6900 XT (gfx1030), Windows 11, with the official 0.1.48-windows-x86_64-hip-rdna2 engine package, a run config whose vision section points at the package's strata-vision-hip.exe with "gpu": true does not start:

loading the vision encoder ...
RuntimeError: the vision encoder did not start: ERR this GPU (gfx1030) is not in the picture reader's build (gfx1200,gfx1201) (exit code 1)

The engine never starts; strata serve exits (with this hand-written section, which has no cpu_exe; see point 2). The same package's engine (strata.exe) is built for gfx1030 / gfx1031 and runs (strata-device --selftest: "compiled for gfx1030,gfx1031", selftest OK), and the package's CPU reader (strata-vision.exe, "gpu": false / strata launch --vision cpu) reads pictures correctly. So the GPU reader shipped in the RX 6000 package looks like the RX 9070 package's build.

Two things, separately:

  1. The rdna2 package's strata-vision-hip.exe has no gfx1030 / gfx1031 code. Either build it for the package's architectures, or leave it out of the package so --vision on / gpu cannot pick it on these cards.
  2. When the GPU reader refuses the card, the server raises instead of falling back to the CPU reader. Corrected (see the comment below): the fallback works when the run config names the CPU reader (cpu_exe, as vision_reader.vision_section writes it); my repro's hand-written section had none. With it the server logs the GPU picture reader did not start (... not in the picture reader's build (gfx1200,gfx1201) ...); pictures are read on the CPU and serves. So on an RX 6000 card --vision gpu quietly ends up on the CPU reader, because BUILD.json lists "vision_archs": ["gfx1030", "gfx1031"].

Reproduce: the vision section {"exe": "<package>\\strata-vision-hip.exe", "mmproj": "<mmproj-Qwen3.8-Flash-Next-BF16.gguf>", "model": "<IQ3_S shard 1>", "gpu": true} plus --vision, strata serve --profile <that config>. Strata Terminal 0.2.3.1 (control 0.1.48.1), driver 32.0.21045.16010, i9-10900K, 64 GB.

Not checked: the Linux rx6000 package's reader; other RX 6000 cards.

Developed with an AI coding assistant; the output above was produced on the PC described.

Originally created by @Vop3p on GitHub (Oct 24, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/4017 **What happened.** On an RX 6900 XT (gfx1030), Windows 11, with the official `0.1.48-windows-x86_64-hip-rdna2` engine package, a run config whose `vision` section points at the package's `strata-vision-hip.exe` with `"gpu": true` does not start: ``` loading the vision encoder ... RuntimeError: the vision encoder did not start: ERR this GPU (gfx1030) is not in the picture reader's build (gfx1200,gfx1201) (exit code 1) ``` The engine never starts; `strata serve` exits (with this hand-written section, which has no `cpu_exe`; see point 2). The same package's engine (`strata.exe`) is built for gfx1030 / gfx1031 and runs (`strata-device --selftest`: "compiled for gfx1030,gfx1031", selftest OK), and the package's CPU reader (`strata-vision.exe`, `"gpu": false` / `strata launch --vision cpu`) reads pictures correctly. So the GPU reader shipped in the RX 6000 package looks like the RX 9070 package's build. **Two things, separately:** 1. The `rdna2` package's `strata-vision-hip.exe` has no gfx1030 / gfx1031 code. Either build it for the package's architectures, or leave it out of the package so `--vision on` / `gpu` cannot pick it on these cards. 2. ~~When the GPU reader refuses the card, the server raises instead of falling back to the CPU reader.~~ **Corrected (see the comment below):** the fallback works when the run config names the CPU reader (`cpu_exe`, as `vision_reader.vision_section` writes it); my repro's hand-written section had none. With it the server logs `the GPU picture reader did not start (... not in the picture reader's build (gfx1200,gfx1201) ...); pictures are read on the CPU` and serves. So on an RX 6000 card `--vision gpu` quietly ends up on the CPU reader, because `BUILD.json` lists `"vision_archs": ["gfx1030", "gfx1031"]`. **Reproduce:** the vision section `{"exe": "<package>\\strata-vision-hip.exe", "mmproj": "<mmproj-Qwen3.8-Flash-Next-BF16.gguf>", "model": "<IQ3_S shard 1>", "gpu": true}` plus `--vision`, `strata serve --profile <that config>`. Strata Terminal 0.2.3.1 (control 0.1.48.1), driver 32.0.21045.16010, i9-10900K, 64 GB. Not checked: the Linux `rx6000` package's reader; other RX 6000 cards. Developed with an AI coding assistant; the output above was produced on the PC described.
Author
Owner

@Vop3p commented on GitHub (Oct 25, 2026):

Correction to point 2: the server does fall back to the CPU reader when the run config names one. My repro used a hand-written vision section without cpu_exe, so vision_reader.cpu_fallback had nothing to fall back to. With "cpu_exe": "<package>\\strata-vision.exe" added (as vision_reader.vision_section writes it for --vision gpu), the same package and card give:

loading the vision encoder ...
[strata] the GPU picture reader did not start (the vision encoder did not start: ERR this GPU (gfx1030) is not in the picture reader's build (gfx1200,gfx1201) (exit code 1; ...)); pictures are read on the CPU

and the server comes up and answers a test image correctly (engine log: strata-vision: on the CPU, 10 threads). So point 2 is not a bug; sorry for the noise.

Point 1 stands, and with the fallback it is quiet rather than loud: the package's BUILD.json lists "vision_archs": ["gfx1030", "gfx1031"], so --vision gpu on an RX 6000 card chooses strata-vision-hip.exe, which then refuses the card, and pictures end up on the CPU with one line in the server log. Built from the package's own commit (6f8800aefe27, tools/vision unchanged) with STRATA_VISION_HIP_ARCHS=gfx1030;gfx1031 and the same ROCm (10.2.0a20260930), the reader runs on the RX 6900 XT next to the official engine and DLLs: warmed up at 1024 image tokens, 4/4 picture answers correct, big pictures at 1,059 image tokens instead of the CPU reader's 300, about 1.3 GB of VRAM that the engine takes from its expert cache by itself (3,479 instead of 4,166 slots; decode at 4K 44.4 vs 44.5 tok/s, one run each). That suggests the rdna2 package was packed with the gfx1200/gfx1201 reader rather than one built for its archs.

Developed with an AI coding assistant; the output above was produced on the PC described in the issue.

<!-- gh-comment-id:6391587087 --> @Vop3p commented on GitHub (Oct 25, 2026): **Correction to point 2: the server does fall back to the CPU reader when the run config names one.** My repro used a hand-written `vision` section without `cpu_exe`, so `vision_reader.cpu_fallback` had nothing to fall back to. With `"cpu_exe": "<package>\\strata-vision.exe"` added (as `vision_reader.vision_section` writes it for `--vision gpu`), the same package and card give: ``` loading the vision encoder ... [strata] the GPU picture reader did not start (the vision encoder did not start: ERR this GPU (gfx1030) is not in the picture reader's build (gfx1200,gfx1201) (exit code 1; ...)); pictures are read on the CPU ``` and the server comes up and answers a test image correctly (engine log: `strata-vision: on the CPU, 10 threads`). So point 2 is not a bug; sorry for the noise. Point 1 stands, and with the fallback it is quiet rather than loud: the package's `BUILD.json` lists `"vision_archs": ["gfx1030", "gfx1031"]`, so `--vision gpu` on an RX 6000 card chooses `strata-vision-hip.exe`, which then refuses the card, and pictures end up on the CPU with one line in the server log. Built from the package's own commit (`6f8800aefe27`, `tools/vision` unchanged) with `STRATA_VISION_HIP_ARCHS=gfx1030;gfx1031` and the same ROCm (10.2.0a20260930), the reader runs on the RX 6900 XT next to the official engine and DLLs: `warmed up at 1024 image tokens`, 4/4 picture answers correct, big pictures at 1,059 image tokens instead of the CPU reader's 300, about 1.3 GB of VRAM that the engine takes from its expert cache by itself (3,479 instead of 4,166 slots; decode at 4K 44.4 vs 44.5 tok/s, one run each). That suggests the rdna2 package was packed with the gfx1200/gfx1201 reader rather than one built for its archs. Developed with an AI coding assistant; the output above was produced on the PC described in the issue.
Author
Owner

@Niko1221 commented on GitHub (Nov 5, 2026):

Thanks for taking the time to report this.

Strata has changed a lot since this was opened, and 0.2.11 is out now, so many older reports no longer apply. We're closing issues older than a week that have had no new reports in the last week. Closed here does not mean rejected.

To reopen it takes about two minutes:

  1. Re-test on 0.2.11. It may already be fixed. Write down what you see.
  2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other].
  3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system.
  4. Comment /reopen. A check runs and either reopens the issue or lists what is still missing.

The rules are in CONTRIBUTING.md.

<!-- gh-comment-id:6659848057 --> @Niko1221 commented on GitHub (Nov 5, 2026): Thanks for taking the time to report this. Strata has changed a lot since this was opened, and 0.2.11 is out now, so many older reports no longer apply. We're closing issues older than a week that have had no new reports in the last week. Closed here does not mean rejected. To reopen it takes about two minutes: 1. Re-test on 0.2.11. It may already be fixed. Write down what you see. 2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other]. 3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system. 4. Comment `/reopen`. A check runs and either reopens the issue or lists what is still missing. The rules are in [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#1731
No description provided.