Merge pull request #33 from ludovic111/integrated-tick-context
Capture shared graphics context in integrated-server tick reports
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
# First test on the M2 Pro Mac
|
||||
|
||||
For the 16 GB M2 Pro, start with the published 0.20.0 packs. Core and balanced
|
||||
For the 16 GB M2 Pro, start with the published 0.21.0 packs. Core and balanced
|
||||
pass title/demo-world rendering and save/exit probes on the hosted macOS ARM64
|
||||
software renderer. Gameplay and FPS on this physical Mac remain unmeasured.
|
||||
The Linux software-rendering observations do not predict an M2 speedup.
|
||||
|
||||
## Import after installing Prism
|
||||
|
||||
1. Download [horizon-mac-starter-0.20.0.zip](https://github.com/ludovic111/minecraft-optimization-lab/releases/download/v0.20.0/horizon-mac-starter-0.20.0.zip)
|
||||
1. Download [horizon-mac-starter-0.21.0.zip](https://github.com/ludovic111/minecraft-optimization-lab/releases/download/v0.21.0/horizon-mac-starter-0.21.0.zip)
|
||||
and extract it in Finder.
|
||||
2. In Prism, choose **Add Instance > Import**, then select
|
||||
`horizon-m2-balanced-0.20.0.mrpack` from the extracted folder. The individual
|
||||
`horizon-m2-balanced-0.21.0.mrpack` from the extracted folder. The individual
|
||||
`.mrpack` is the import file; the starter ZIP contains several different packs.
|
||||
[Prism's import guide](https://prismlauncher.org/wiki/help-pages/zip-import/)
|
||||
describes the supported archive formats.
|
||||
@@ -38,8 +38,8 @@ experiments to try after this first launch succeeds.
|
||||
|
||||
## Measure performance at the same view distance
|
||||
|
||||
Import `horizon-baseline-0.20.0.mrpack` and
|
||||
`horizon-core-performance-0.20.0.mrpack` from the same starter folder. Both use
|
||||
Import `horizon-baseline-0.21.0.mrpack` and
|
||||
`horizon-core-performance-0.21.0.mrpack` from the same starter folder. Both use
|
||||
12 full-detail chunks, 12 simulation chunks and no distant LOD or shaders. Core
|
||||
adds the pinned performance mods; all original experimental controllers are off.
|
||||
Comparing these two isolates the core stack more closely than comparing baseline
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
# Integrated-server graphics context
|
||||
|
||||
Client rendering competes with the integrated server for CPU time. Version 0.21
|
||||
copies GPU, backend and driver into the tick report when F8 or `/horizon bench`
|
||||
starts a single-player recording. The values come from the client/render thread
|
||||
and are copied into immutable metadata; server ticks never access GPU APIs.
|
||||
|
||||
Reports identify `server_runtime_kind` as integrated, dedicated or unknown.
|
||||
`client_graphics_capture_status` is `captured_at_recording_start` only when all
|
||||
three graphics fields are supplied for an integrated server. The server-only
|
||||
command does not inspect client graphics. Old callers retain their compatible
|
||||
four-argument recording entrypoint and report unknown runtime context.
|
||||
|
||||
The offline viewer and CLI flag differing runtime kinds, graphics backends and
|
||||
drivers. Legacy reports remain readable, with unknown-context warnings. A
|
||||
matched start snapshot does not establish unchanged graphics throughout the
|
||||
recording, equivalent client quality, world work or scheduling. Rendering changes
|
||||
still require paired frame reports and an explicitly controlled experiment.
|
||||
This metadata change makes no FPS, TPS or RAM improvement claim.
|
||||
|
||||
```sh
|
||||
python3 tools/build_mod.py
|
||||
python3 tools/test_server_graphics.py --native-display --backend opengl
|
||||
# Separate fresh private instance; Linux software renderer research only:
|
||||
python3 tools/test_server_graphics.py --native-display --backend vulkan
|
||||
```
|
||||
|
||||
The private fixture starts a normal 10-second frame/tick recording through the
|
||||
client recorder, checks both reports against the actual device, saves the demo
|
||||
world and exits. It does not change simulation rate or gameplay rules. Windows
|
||||
compiles the fixture; Linux and hosted macOS check the actual game-selected backend. An explicit
|
||||
`--backend` experiment still rejects fallback; the default metadata check does
|
||||
not require a particular renderer. Full logs,
|
||||
worlds and fixture JARs remain private and outside playable downloads.
|
||||
Reference in New Issue
Block a user