[PR #854] [MERGED] docs/cpu_features.md: document hosts without AVX and SDE+Wine findings (DOC-NO-AVX-HOSTS) #892

Closed
opened 2026-11-26 20:19:24 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/854
Author: @dpalacios69
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/25/2026
Merged by: @aslan2142

Base: main ← Head: docs-no-avx-hosts


📝 Commits (1)

  • 37c6017 docs/cpu_features.md: document hosts without AVX and SDE+Wine findings (DOC-NO-AVX-HOSTS)

📊 Changes

2 files changed (+21 additions, -1 deletions)

View changed files

📝 docs/boot.md (+2 -1)
📝 docs/cpu_features.md (+19 -0)

📄 Description

Claimed in the coordination issue as: DOC-NO-AVX-HOSTS (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7134705196)

What and why

docs/boot.md says LEONIDA_SKIP_CPU_CHECK=1 skips the AVX preflight but that "the game itself still needs AVX", and docs/cpu_features.md covers AMD Zen 2+ and Intel Haswell/Broadwell+, not hosts before AVX. This adds a short "Hosts without AVX" subsection to docs/cpu_features.md (end of "What it means for the runtime") and a one-line pointer in docs/boot.md.

Everything in it was measured on one host: Intel Xeon X5675 (Westmere, SSE4.2; no AVX, AVX2, FMA, BMI2 or XSAVE), Fedora 44, wine-11.21 (Staging), Intel SDE 10.13.1, a local gta6rt.exe build from 2026-11-24:

  • What works without AVX: the native Linux runtime and Vulkan tools, the Vulkan GPU suite, shader translation, asset export.
  • gta6rt --init and --run exit 4 at the AVX preflight; with LEONIDA_SKIP_CPU_CHECK=1 the guest faults on its first AVX instruction.
  • Under Intel SDE (sde64 -hsw -chip_check_disable 1) the first AVX instruction is passed and the process reaches InitializeApiImplEx2 (offline) after about 110 s, then stops before any window or D3D12 call (SIGSEGV with -raise-int3; -ptr-raise makes Pin abort; LEONIDA_SKIP_INT3=1 --trace changes nothing). Conclusion stated as "no useful path found on this host", not "impossible".
  • Not measured, and said so: other emulators (QEMU TCG with AVX2) and Rosetta 2.

No addresses or paths from the game are quoted.

Tested

  • python3 -I tests/test_docs_*.py: all 12 modules pass, 0 failures. git diff --check clean.
  • Docs only; no runtime code changed. It does not touch docs/README.md (claimed in DOC-INDEX-MISSING-PAGES) or runtime/src/host_cpu.* (#183).

GPUs tested: n/a (docs only). The measurements above were taken with an NVIDIA GTX 1660 SUPER, 620.70.06, Fedora Linux 44.

AI-assisted: yes (Claude Code): the runs, the draft and the checks.

Checklist

  • Based on current main and merges cleanly (a conflicting pull request is labeled needs rebase).
  • One topic; follow-up work goes in a new pull request.
  • No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
  • A new translator rule is in the contract table of docs/design.md, with how it was confirmed. (n/a)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/854 **Author:** [@dpalacios69](https://github.com/dpalacios69) **Created:** 11/24/2026 **Status:** ✅ Merged **Merged:** 11/25/2026 **Merged by:** [@aslan2142](https://github.com/aslan2142) **Base:** `main` ← **Head:** `docs-no-avx-hosts` --- ### 📝 Commits (1) - [`37c6017`](https://github.com/ubiquitarianism/leonida/commit/37c601760e932935b7776fc2a9bf31a0771a1386) docs/cpu_features.md: document hosts without AVX and SDE+Wine findings (DOC-NO-AVX-HOSTS) ### 📊 Changes **2 files changed** (+21 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `docs/boot.md` (+2 -1) 📝 `docs/cpu_features.md` (+19 -0) </details> ### 📄 Description Claimed in the coordination issue as: DOC-NO-AVX-HOSTS (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7134705196) ### What and why `docs/boot.md` says `LEONIDA_SKIP_CPU_CHECK=1` skips the AVX preflight but that "the game itself still needs AVX", and `docs/cpu_features.md` covers AMD Zen 2+ and Intel Haswell/Broadwell+, not hosts before AVX. This adds a short "Hosts without AVX" subsection to `docs/cpu_features.md` (end of "What it means for the runtime") and a one-line pointer in `docs/boot.md`. Everything in it was measured on one host: Intel Xeon X5675 (Westmere, SSE4.2; no AVX, AVX2, FMA, BMI2 or XSAVE), Fedora 44, `wine-11.21 (Staging)`, Intel SDE 10.13.1, a local `gta6rt.exe` build from 2026-11-24: - What works without AVX: the native Linux runtime and Vulkan tools, the Vulkan GPU suite, shader translation, asset export. - `gta6rt --init` and `--run` exit 4 at the AVX preflight; with `LEONIDA_SKIP_CPU_CHECK=1` the guest faults on its first AVX instruction. - Under Intel SDE (`sde64 -hsw -chip_check_disable 1`) the first AVX instruction is passed and the process reaches `InitializeApiImplEx2` (offline) after about 110 s, then stops before any window or D3D12 call (`SIGSEGV` with `-raise-int3`; `-ptr-raise` makes Pin abort; `LEONIDA_SKIP_INT3=1 --trace` changes nothing). Conclusion stated as "no useful path found on this host", not "impossible". - Not measured, and said so: other emulators (QEMU TCG with AVX2) and Rosetta 2. No addresses or paths from the game are quoted. ### Tested - `python3 -I tests/test_docs_*.py`: all 12 modules pass, 0 failures. `git diff --check` clean. - Docs only; no runtime code changed. It does not touch `docs/README.md` (claimed in DOC-INDEX-MISSING-PAGES) or `runtime/src/host_cpu.*` (#183). GPUs tested: n/a (docs only). The measurements above were taken with an NVIDIA GTX 1660 SUPER, 620.70.06, Fedora Linux 44. AI-assisted: yes (Claude Code): the runs, the draft and the checks. ### Checklist - [x] Based on current `main` and merges cleanly (a conflicting pull request is labeled `needs rebase`). - [x] One topic; follow-up work goes in a new pull request. - [x] No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here. - [x] A new translator rule is in the contract table of `docs/design.md`, with how it was confirmed. (n/a) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
4ld0 2026-11-26 20:19:24 +01:00
Sign in to join this conversation.
No labels
bug
pull-request
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
starred/leonida#892
No description provided.