[GH-ISSUE #915] Windows AMD report: RX 6800M (gfx1031, laptop) works with a self-built HIP engine — please add 0x73DF / gfx1031 to the Windows path #398

Closed
opened 2026-11-04 01:42:39 +07:00 by bsakaguchi · 4 comments
Owner

Originally created by @Ultmate-hub on GitHub (Oct 5, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/915

Strata 0.1.39 runs on a laptop RX 6800M (Navi 22, gfx1031) under Windows 11, using an engine I built with tools\hip\build_windows.bat for gfx1031. Setup needed one change: it doesn't recognise the card's PCI ID. Details below in case you want to add gfx1031 to the Windows build and release zip.

PC

  • ASUS ROG Strix G15 (G513QY), Windows 11 Home 23H2 (build 22631)
  • GPU: AMD Radeon RX 6800M, 12 GB (PCI VEN_1002&DEV_73DF), plus the Ryzen's integrated Radeon (DEV_1638, correctly listed as not supported)
  • AMD driver: 32.0.21045.5002 (8/17/2026), Adrenalin 26.8.1
  • CPU: Ryzen 9 5980HX (AVX2), RAM: 64 GB
  • Model: Qwen3.8-Flash-Next IQ2_XS, 32K context, 8-bit KV cache

What blocked the normal install

  • START-HERE.bat --check --backend hip reported AMD Radeon RX 6800M, 12 GB VRAM - not supported ... unknown (PCI 73DF). _WIN_AMD_DID in setup.py has no 0x73DF, and the name regex for gfx1030 deliberately excludes 6800M.
  • The release strata-windows-x64-hip.zip is built for gfx1100/1101/1102/1200/1201/1030, so it has no gfx1031 code either.

What I did

  1. Added the PCI ID to setup.py:
    0x73BF: "gfx1030", 0x73AF: "gfx1030", 0x73A5: "gfx1030",            # RX 6800 / 6800 XT / 6900 XT / 6950 XT
    0x73DF: "gfx1031"}                                                  # RX 6700 XT / 6750 XT, RX 6800M / 6850M XT
    
    (AMD_ARCHS already includes gfx1031.)
  2. Built the engine with STRATA_HIP_ARCHS=gfx1031. TheRock publishes rocm-sdk-device-gfx1031 10.2.0a20260930 as a win_amd64 wheel, so the pinned ROCm installed fine. The build itself had no errors (warnings only).
    • No git on this PC: I downloaded llama.cpp at 3cf03257 as a zip and passed STRATA_GGML_DIR.
    • The VS Build Tools CMake component wasn't installed, so I used cmake + ninja from pip in .rocm-win.
  3. Installed it with START-HERE.bat --yes --backend hip --prebuilt <dist folder> --family qwen --model IQ2_XS.

Minor: on the first run, package_windows.py failed while zipping with FileNotFoundError for a staged rocblas\library\TensileLibrary_..._fallback_gfx1031.dat. Most of the staged rocBLAS files had disappeared from the stage folder. Rerunning only the packaging step worked (142 files, 119 MiB zip). I couldn't find a cause, and I can't reproduce it.

engine\strata-device.exe --list-devices

device 0: AMD Radeon RX 6800M
  arch gfx1031, 12.0 GiB, wave32

engine\strata-device.exe --selftest (run while the server was up)

device 0: AMD Radeon RX 6800M
  HIP arch            gfx1031 wave32 (compiled for gfx1031)
  multiprocessors     20
  VRAM total / free   11.984 GiB (12868124672 B) / 11.068 GiB (11884216320 B)
  driver / runtime    71726391 / 71726391

memory plan  --max-context 20480
  KV + indexer keys   0.267387 GB
  expert cache        5.675613 GB  (4105 slots of 1,382,400 B)
  VRAM pool           5.943000 GB
  plan + KV vs free   FITS

selftest: over-allocation refused as required
strata-device selftest OK
strata: Windows budgets 11474 of this card's 12272 MiB for this process

End of strata-iq2_xs.log (startup)

strata generate: GPU 0: AMD Radeon RX 6800M (gfx1031)
strata generate: expert arena: locked 2951 MiB via working-set minimum + VirtualLock; cudaHostRegister of the whole arena FAILED (invalid argument); 44 slices pinned (30 GiB); large pages refused (VirtualAlloc error 1314); using 4 KB pages
strata generate: loaded 33.02 GiB at 1.27 GiB/s
strata generate: expert cache 4166 slots, 5.59 GiB of VRAM
strata generate: pre-filled 4166 of 4166 slots from the profile; slot 0 verified
strata generate: session is up (engine 0.1.39)
strata serve: the prompt path borrows 3123 CUDA0 cache slots (4.18 GiB)
strata serve: 462 MiB of VRAM free with everything loaded

Speed (first answers, reasoning_effort: none)

prompt 25 tokens ... read in 1458 ms (17.1 tok/s), 8 generated in 639 ms (12.5 tok/s), drafts accepted 6 of 6
prompt 30 tokens ... read in 1454 ms (20.6 tok/s), 106 generated in 6332 ms (16.7 tok/s), drafts accepted 79 of 84
prompt 57 tokens ... read in 2615 ms (21.8 tok/s), 367 generated in 20387 ms (18.0 tok/s), drafts accepted 239 of 332
decode expert cache hit rate: 67.7%; 3.9% of routed experts read over PCIe

The answers were correct: a factual question, and a short Python is_prime function that is right.

Side note on the driver

The PC first had a May 2023 driver (31.0.14057.5006). strata-device --list-devices found the card once on it. Later in the session the RX 6800M dropped into Device Manager code 31 (CM_PROB_FAILED_ADD), even after a reboot. I can't say whether Strata had anything to do with it. Updating to 32.0.21045.5002 fixed it, and everything above ran on the new driver.

Request

Could you add gfx1031 to the Windows HIP release zip (STRATA_HIP_ARCHS) and 0x73DF to _WIN_AMD_DID? Other Navi 22 IDs may be worth adding too. Then RX 6700 XT / 6750 XT / 6800M owners on Windows wouldn't need to build it themselves. I'm happy to test a build.

Originally created by @Ultmate-hub on GitHub (Oct 5, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/915 Strata 0.1.39 runs on a laptop **RX 6800M (Navi 22, gfx1031)** under Windows 11, using an engine I built with `tools\hip\build_windows.bat` for gfx1031. Setup needed one change: it doesn't recognise the card's PCI ID. Details below in case you want to add gfx1031 to the Windows build and release zip. ### PC - ASUS ROG Strix G15 (G513QY), Windows 11 Home 23H2 (build 22631) - GPU: AMD Radeon RX 6800M, 12 GB (PCI `VEN_1002&DEV_73DF`), plus the Ryzen's integrated Radeon (`DEV_1638`, correctly listed as not supported) - AMD driver: 32.0.21045.5002 (8/17/2026), Adrenalin 26.8.1 - CPU: Ryzen 9 5980HX (AVX2), RAM: 64 GB - Model: Qwen3.8-Flash-Next IQ2_XS, 32K context, 8-bit KV cache ### What blocked the normal install - `START-HERE.bat --check --backend hip` reported `AMD Radeon RX 6800M, 12 GB VRAM - not supported ... unknown (PCI 73DF)`. `_WIN_AMD_DID` in `setup.py` has no 0x73DF, and the name regex for gfx1030 deliberately excludes `6800M`. - The release `strata-windows-x64-hip.zip` is built for gfx1100/1101/1102/1200/1201/1030, so it has no gfx1031 code either. ### What I did 1. Added the PCI ID to `setup.py`: ```python 0x73BF: "gfx1030", 0x73AF: "gfx1030", 0x73A5: "gfx1030", # RX 6800 / 6800 XT / 6900 XT / 6950 XT 0x73DF: "gfx1031"} # RX 6700 XT / 6750 XT, RX 6800M / 6850M XT ``` (`AMD_ARCHS` already includes gfx1031.) 2. Built the engine with `STRATA_HIP_ARCHS=gfx1031`. TheRock publishes `rocm-sdk-device-gfx1031` 10.2.0a20260930 as a `win_amd64` wheel, so the pinned ROCm installed fine. The build itself had no errors (warnings only). - No git on this PC: I downloaded llama.cpp at `3cf03257` as a zip and passed `STRATA_GGML_DIR`. - The VS Build Tools CMake component wasn't installed, so I used `cmake` + `ninja` from pip in `.rocm-win`. 3. Installed it with `START-HERE.bat --yes --backend hip --prebuilt <dist folder> --family qwen --model IQ2_XS`. Minor: on the first run, `package_windows.py` failed while zipping with `FileNotFoundError` for a staged `rocblas\library\TensileLibrary_..._fallback_gfx1031.dat`. Most of the staged rocBLAS files had disappeared from the stage folder. Rerunning only the packaging step worked (142 files, 119 MiB zip). I couldn't find a cause, and I can't reproduce it. ### `engine\strata-device.exe --list-devices` ``` device 0: AMD Radeon RX 6800M arch gfx1031, 12.0 GiB, wave32 ``` ### `engine\strata-device.exe --selftest` (run while the server was up) ``` device 0: AMD Radeon RX 6800M HIP arch gfx1031 wave32 (compiled for gfx1031) multiprocessors 20 VRAM total / free 11.984 GiB (12868124672 B) / 11.068 GiB (11884216320 B) driver / runtime 71726391 / 71726391 memory plan --max-context 20480 KV + indexer keys 0.267387 GB expert cache 5.675613 GB (4105 slots of 1,382,400 B) VRAM pool 5.943000 GB plan + KV vs free FITS selftest: over-allocation refused as required strata-device selftest OK strata: Windows budgets 11474 of this card's 12272 MiB for this process ``` ### End of `strata-iq2_xs.log` (startup) ``` strata generate: GPU 0: AMD Radeon RX 6800M (gfx1031) strata generate: expert arena: locked 2951 MiB via working-set minimum + VirtualLock; cudaHostRegister of the whole arena FAILED (invalid argument); 44 slices pinned (30 GiB); large pages refused (VirtualAlloc error 1314); using 4 KB pages strata generate: loaded 33.02 GiB at 1.27 GiB/s strata generate: expert cache 4166 slots, 5.59 GiB of VRAM strata generate: pre-filled 4166 of 4166 slots from the profile; slot 0 verified strata generate: session is up (engine 0.1.39) strata serve: the prompt path borrows 3123 CUDA0 cache slots (4.18 GiB) strata serve: 462 MiB of VRAM free with everything loaded ``` ### Speed (first answers, `reasoning_effort: none`) ``` prompt 25 tokens ... read in 1458 ms (17.1 tok/s), 8 generated in 639 ms (12.5 tok/s), drafts accepted 6 of 6 prompt 30 tokens ... read in 1454 ms (20.6 tok/s), 106 generated in 6332 ms (16.7 tok/s), drafts accepted 79 of 84 prompt 57 tokens ... read in 2615 ms (21.8 tok/s), 367 generated in 20387 ms (18.0 tok/s), drafts accepted 239 of 332 decode expert cache hit rate: 67.7%; 3.9% of routed experts read over PCIe ``` The answers were correct: a factual question, and a short Python `is_prime` function that is right. ### Side note on the driver The PC first had a May 2023 driver (31.0.14057.5006). `strata-device --list-devices` found the card once on it. Later in the session the RX 6800M dropped into Device Manager code 31 (`CM_PROB_FAILED_ADD`), even after a reboot. I can't say whether Strata had anything to do with it. Updating to 32.0.21045.5002 fixed it, and everything above ran on the new driver. ### Request Could you add gfx1031 to the Windows HIP release zip (`STRATA_HIP_ARCHS`) and `0x73DF` to `_WIN_AMD_DID`? Other Navi 22 IDs may be worth adding too. Then RX 6700 XT / 6750 XT / 6800M owners on Windows wouldn't need to build it themselves. I'm happy to test a build.
Author
Owner

@Niko1221 commented on GitHub (Oct 7, 2026):

Thanks. The default arch list that tools\hip\build_windows.bat builds the Windows HIP zip from now includes gfx1031 in 0.1.40.2, and setup already knew 0x73DF. STRATA_HIP_ARCHS=gfx1031 builds it on its own, as you did. The package_windows.py folder copy you hit is already handled in 0.1.40.

<!-- gh-comment-id:6037871934 --> @Niko1221 commented on GitHub (Oct 7, 2026): Thanks. The default arch list that tools\hip\build_windows.bat builds the Windows HIP zip from now includes gfx1031 in 0.1.40.2, and setup already knew 0x73DF. STRATA_HIP_ARCHS=gfx1031 builds it on its own, as you did. The package_windows.py folder copy you hit is already handled in 0.1.40.
Author
Owner

@tmdrud0 commented on GitHub (Oct 9, 2026):

Thanks for adding gfx1031 to the default Windows arch list. It looks like it did not make it into the published zips, though.

strata-windows-x64-hip.zip from v0.1.41 (sha256 e8701d1d183f0f84742f6b9dcde7c5589cfd86271cdec70646f88cf441ee6716), BUILD.json:

"archs": ["gfx1100","gfx1101","gfx1102","gfx1200","gfx1201","gfx1030","gfx1151"]

On an RX 6750 XT (12 GB, Windows 11, Adrenalin 32.0.21045.5002):

> strata-device.exe --list-devices
device 0: AMD Radeon RX 6750 XT
  arch gfx1031, 12.0 GiB, wave32
  cannot run: GPU 0 (AMD Radeon RX 6750 XT, gfx1031) is not an architecture this Strata engine was compiled for (gfx1100,gfx1101,gfx1102,gfx1200,gfx1201,gfx1030,gfx1151); compile it for this card (./setup.sh --backend hip, or -DCMAKE_HIP_ARCHITECTURES=gfx1031, docs/AMD_HIP.md) or choose another GPU with HIP_VISIBLE_DEVICES

HSA_OVERRIDE_GFX_VERSION=10.3.0 does not change this on Windows.

The same holds for the v0.1.40.2 zip (BUILD.json "version": "0.1.40.2"): its archs list is identical and has no gfx1031, so the build_windows.bat default change does not seem to have reached the published zips yet. The release notes for 0.1.40.2 through 0.1.41 do not mention gfx1031 either.

Could gfx1031 be included in the next Windows HIP release zip? Happy to test it on this card.

<!-- gh-comment-id:6077156972 --> @tmdrud0 commented on GitHub (Oct 9, 2026): Thanks for adding gfx1031 to the default Windows arch list. It looks like it did not make it into the published zips, though. `strata-windows-x64-hip.zip` from v0.1.41 (sha256 `e8701d1d183f0f84742f6b9dcde7c5589cfd86271cdec70646f88cf441ee6716`), `BUILD.json`: ``` "archs": ["gfx1100","gfx1101","gfx1102","gfx1200","gfx1201","gfx1030","gfx1151"] ``` On an RX 6750 XT (12 GB, Windows 11, Adrenalin 32.0.21045.5002): ``` > strata-device.exe --list-devices device 0: AMD Radeon RX 6750 XT arch gfx1031, 12.0 GiB, wave32 cannot run: GPU 0 (AMD Radeon RX 6750 XT, gfx1031) is not an architecture this Strata engine was compiled for (gfx1100,gfx1101,gfx1102,gfx1200,gfx1201,gfx1030,gfx1151); compile it for this card (./setup.sh --backend hip, or -DCMAKE_HIP_ARCHITECTURES=gfx1031, docs/AMD_HIP.md) or choose another GPU with HIP_VISIBLE_DEVICES ``` `HSA_OVERRIDE_GFX_VERSION=10.3.0` does not change this on Windows. The same holds for the v0.1.40.2 zip (`BUILD.json` `"version": "0.1.40.2"`): its archs list is identical and has no gfx1031, so the `build_windows.bat` default change does not seem to have reached the published zips yet. The release notes for 0.1.40.2 through 0.1.41 do not mention gfx1031 either. Could gfx1031 be included in the next Windows HIP release zip? Happy to test it on this card.
Author
Owner

@nfs6car commented on GitHub (Oct 9, 2026):

Strata-0.1.40.3上,成功自编译6700XT引擎,运行成功。配置:WIN11系统 i5 9600KF 48G内存(2666) 6700XT 12G。Strata-0.1.40.3上(先安装Visual Studio 2026 勾选工作负载 "使用 C++ 的桌面开发",以及Windows 的 最新版Git ( 2.56.0(2) x64 ) ),然后
cd /d G:\Strata
set PYTHONUTF8=1
set STRATA_HIP_ARCHS=gfx1031
tools\hip\build_windows.bat
等待编译6700XT引擎,最终得到Done: G:\Strata\dist\strata-windows-x64-hip.zip
编辑修改:START-HERE.bat
run
set PYTHONUTF8=1
".venv\Scripts\python.exe" setup.py --gguf-dir "G:\Strata-Models" --data-dir "G:\Strata-data" --backend hip --prebuilt dist %*
if errorlevel 1 pause
exit /b
最终测试可以跑,我下载的模型是Q2_0 32K 测试速度27token/s
感谢作者的辛勤劳动!希望作者能加入预编译gfx1031。同时也感谢RX 6800M这位显卡仁兄,给我自编译这条路指明方向!

<!-- gh-comment-id:6077983392 --> @nfs6car commented on GitHub (Oct 9, 2026): Strata-0.1.40.3上,成功自编译6700XT引擎,运行成功。配置:WIN11系统 i5 9600KF 48G内存(2666) 6700XT 12G。Strata-0.1.40.3上(先安装Visual Studio 2026 勾选工作负载 "使用 C++ 的桌面开发",以及Windows 的 最新版Git ( 2.56.0(2) x64 ) ),然后 cd /d G:\Strata set PYTHONUTF8=1 set STRATA_HIP_ARCHS=gfx1031 tools\hip\build_windows.bat 等待编译6700XT引擎,最终得到Done: G:\Strata\dist\strata-windows-x64-hip.zip 编辑修改:START-HERE.bat run set PYTHONUTF8=1 ".venv\Scripts\python.exe" setup.py --gguf-dir "G:\Strata-Models" --data-dir "G:\Strata-data" --backend hip --prebuilt dist %* if errorlevel 1 pause exit /b 最终测试可以跑,我下载的模型是Q2_0 32K 测试速度27token/s 感谢作者的辛勤劳动!希望作者能加入预编译gfx1031。同时也感谢RX 6800M这位显卡仁兄,给我自编译这条路指明方向!
Author
Owner

@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.

<!-- gh-comment-id:6155984552 --> @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](https://github.com/Niko1221/Strata/releases/tag/v0.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.
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#398
No description provided.