[PR #26] [MERGED] Verify macOS OpenGL clients in title screens and demo worlds #2278

Closed
opened 2026-11-02 15:54:34 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/26
Author: @ludovic111
Created: 10/4/2026
Status: ✅ Merged
Merged: 10/4/2026
Merged by: @ludovic111

Base: main ← Head: mac-native-smoke


📝 Commits (6)

  • d175741 Verify native macOS client startup and framebuffer readback
  • ad00f1c Trace backend initialization categories in private graphics probes
  • 3858ab3 Isolate vanilla and core Vulkan startup failures on macOS
  • a5000ed Check recommended Mac profiles in demo worlds and retain separate Vulkan research
  • f2050a3 Merge remote-tracking branch 'origin/main' into mac-native-smoke
  • 28e2e1d Document macOS scene checks and virtualized Vulkan limitations

📊 Changes

11 files changed (+847 additions, -4 deletions)

View changed files

📝 .github/workflows/ci.yml (+10 -0)
➕ .github/workflows/macos-vulkan-research.yml (+50 -0)
📝 README.md (+4 -0)
➕ benchmarks/client-graphics-2026-10-04/live-observations.json (+401 -0)
➕ docs/client-graphics-smoke.md (+79 -0)
📝 docs/mac-first-test.md (+3 -2)
➕ mods/horizon-lab/src/test/java/dev/horizonlab/dispatch/fixture/GraphicsBackendTraceMixin.java (+58 -0)
➕ mods/horizon-lab/src/test/java/dev/horizonlab/metrics/ClientGraphicsIntegration.java (+96 -0)
📝 tests/test_fixtures.py (+19 -0)
📝 tools/build_mod.py (+3 -2)
➕ tools/test_client_graphics.py (+124 -0)

📄 Description

Compilation alone did not establish whether the recommended clients run on macOS. This adds a separate graphics test mod and required Apple Silicon CI cases for core and balanced OpenGL: title startup, ordinary demo-world loading, focused framebuffer readback, saved world data and clean exit. The published 0.20.0 game mod is unchanged.

Private startup wrappers preserve backend operations/errors while recording selected initialization stages, exception types and Vulkan identifiers. A separate manual Vulkan research workflow runs all cases and retains failed outcomes; experimental Vulkan results do not count as successful required OpenGL checks. Full logs, raw PNGs, assets and worlds remain private.

Validation: 45 offline checks pass; local OpenGL/Vulkan title probes and core/balanced demo-world probes pass. Final head 28e2e1d passes all four CI jobs, including both profiles’ macOS title/world tests. The independently built Mac production JAR is identical to published 0.20.0 and excludes probe classes.

The hosted Mac uses Apple Software Renderer. Earlier Vulkan probes on Apple Paravirtual device/MoltenVK fail with VK_ERROR_FEATURE_NOT_PRESENT for vanilla, core and distant terrain; those failures are retained and the failing later stage is under investigation. This does not claim physical M2 GPU compatibility, FPS/CPU/RAM gains, completed LOD generation or exhaustive vanilla equivalence.


🔄 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/horizon-rust/horizon/pull/26 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/4/2026 **Status:** ✅ Merged **Merged:** 10/4/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `mac-native-smoke` --- ### 📝 Commits (6) - [`d175741`](https://github.com/horizon-rust/horizon/commit/d175741de3fffa75e36cafa47d36544cba4c07bf) Verify native macOS client startup and framebuffer readback - [`ad00f1c`](https://github.com/horizon-rust/horizon/commit/ad00f1c30c238f0fedc4d6dc3413d553235426bd) Trace backend initialization categories in private graphics probes - [`3858ab3`](https://github.com/horizon-rust/horizon/commit/3858ab38b51f434ebe892b564e013c7c8bcaba45) Isolate vanilla and core Vulkan startup failures on macOS - [`a5000ed`](https://github.com/horizon-rust/horizon/commit/a5000edf11094e00ebef0fc362aa4adc322f2df6) Check recommended Mac profiles in demo worlds and retain separate Vulkan research - [`f2050a3`](https://github.com/horizon-rust/horizon/commit/f2050a34306290aa80a0572698c933e75b8ed103) Merge remote-tracking branch 'origin/main' into mac-native-smoke - [`28e2e1d`](https://github.com/horizon-rust/horizon/commit/28e2e1def78a10ba54cda018e43fbfc0cd6b7cd7) Document macOS scene checks and virtualized Vulkan limitations ### 📊 Changes **11 files changed** (+847 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/ci.yml` (+10 -0) ➕ `.github/workflows/macos-vulkan-research.yml` (+50 -0) 📝 `README.md` (+4 -0) ➕ `benchmarks/client-graphics-2026-10-04/live-observations.json` (+401 -0) ➕ `docs/client-graphics-smoke.md` (+79 -0) 📝 `docs/mac-first-test.md` (+3 -2) ➕ `mods/horizon-lab/src/test/java/dev/horizonlab/dispatch/fixture/GraphicsBackendTraceMixin.java` (+58 -0) ➕ `mods/horizon-lab/src/test/java/dev/horizonlab/metrics/ClientGraphicsIntegration.java` (+96 -0) 📝 `tests/test_fixtures.py` (+19 -0) 📝 `tools/build_mod.py` (+3 -2) ➕ `tools/test_client_graphics.py` (+124 -0) </details> ### 📄 Description Compilation alone did not establish whether the recommended clients run on macOS. This adds a separate graphics test mod and required Apple Silicon CI cases for core and balanced OpenGL: title startup, ordinary demo-world loading, focused framebuffer readback, saved world data and clean exit. The published 0.20.0 game mod is unchanged. Private startup wrappers preserve backend operations/errors while recording selected initialization stages, exception types and Vulkan identifiers. A separate manual Vulkan research workflow runs all cases and retains failed outcomes; experimental Vulkan results do not count as successful required OpenGL checks. Full logs, raw PNGs, assets and worlds remain private. Validation: 45 offline checks pass; local OpenGL/Vulkan title probes and core/balanced demo-world probes pass. Final head 28e2e1d passes all four CI jobs, including both profiles’ macOS title/world tests. The independently built Mac production JAR is identical to published 0.20.0 and excludes probe classes. The hosted Mac uses Apple Software Renderer. Earlier Vulkan probes on Apple Paravirtual device/MoltenVK fail with VK_ERROR_FEATURE_NOT_PRESENT for vanilla, core and distant terrain; those failures are retained and the failing later stage is under investigation. This does not claim physical M2 GPU compatibility, FPS/CPU/RAM gains, completed LOD generation or exhaustive vanilla equivalence. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-02 15:54:34 +07:00
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
horizon-rust/horizon#2278
No description provided.