Merge pull request #28 from ludovic111/mac-vulkan-failure-location
Verify Mac Vulkan scene readiness and retain failed readbacks
This commit is contained in:
@@ -10,13 +10,18 @@ The required macOS CI cases use the recommended OpenGL `core-performance` and
|
||||
separate instance, creates or opens an ordinary limited-demo world. World mode
|
||||
dismisses the demo-help popup, waits for focused, unpaused gameplay, reads back
|
||||
the main render target, and stops the client so its integrated server saves.
|
||||
Private screenshots must have a nonuniform sample grid and a verified file hash;
|
||||
The readiness counter resets while a loading overlay is present: a title screen
|
||||
object can already exist underneath asynchronous loading. Private screenshots
|
||||
must have a nonuniform sample grid and a verified file hash;
|
||||
world mode also checks for saved world data after a clean process exit.
|
||||
|
||||
The startup wrapper observes backend library/device creation and preserves the
|
||||
original calls and thrown exceptions. Selected diagnostics contain initialization
|
||||
stages, bounded exception type names, Vulkan error-code identifiers and device
|
||||
labels. Expected demo authentication errors are reported separately. Full log
|
||||
labels. Failed probes also select up to eight graphics stack method names, without
|
||||
module prefixes, filenames, line numbers or messages. Those observed locations
|
||||
do not by themselves identify a root cause. Expected demo authentication errors
|
||||
are reported separately. Full log
|
||||
messages, raw screenshots, assets and world files stay under gitignored `.local/`.
|
||||
Nonuniform pixels are not proof of correct visuals, full LOD completion or
|
||||
exhaustive gameplay equivalence.
|
||||
@@ -57,14 +62,50 @@ The manual **macOS Vulkan research** workflow separately probes vanilla, core an
|
||||
the distant-terrain Vulkan profile. It runs every case, retains selected successful
|
||||
and failed outcomes, and exits unsuccessfully when a case fails. Its exploratory
|
||||
results do not count as passing the required OpenGL checks.
|
||||
Its optional `world` input selects disposable demo-world probes for every case;
|
||||
the default still probes titles.
|
||||
|
||||
Local Linux software OpenGL/Vulkan title readbacks passed. Early macOS OpenGL
|
||||
title checks for core and balanced also passed with **Apple Software Renderer**.
|
||||
The macOS runner's **Apple Paravirtual device**, using MoltenVK 1.4.2, created
|
||||
Vulkan devices but all three Vulkan cases failed with `VK_ERROR_FEATURE_NOT_PRESENT`.
|
||||
The failure also occurs with vanilla; these observations do not isolate an
|
||||
optimization-mod fault or prove behavior on a physical M2 GPU. Later diagnostics
|
||||
identify whether readback was requested before failure.
|
||||
optimization-mod fault or prove behavior on a physical M2 GPU.
|
||||
|
||||
The separate [readback-stage observations](../benchmarks/mac-vulkan-2026-10-04/live-observations.json)
|
||||
from manual run 37193558884 show that all three cases reached the client test
|
||||
initializer and requested readback before failing. They produced no completed
|
||||
readback report. This narrows the observed sequence; it does not establish whether
|
||||
the screenshot operation itself or subsequent rendering failed. Graphics stack
|
||||
locations from the next run, 37193954843, place each observed failure in the
|
||||
screenshot callback after Vulkan submission. Later probes also record callback
|
||||
entry, a whitelist of numeric readback dimensions/sample counts, and fixed failure
|
||||
categories from our own assertions. Separately logged Vulkan codes are not
|
||||
treated as the cause of a probe assertion.
|
||||
|
||||
Run 37194354615 identifies the actual probe assertion: each callback received a
|
||||
1280×646 image, but its 4,160 sampled pixels had only one distinct RGB colour.
|
||||
The strict nonuniform-readback assertion rejected all three cases. Overlay state
|
||||
was not recorded in those failures; later probes wait for its removal before
|
||||
counting readiness. This tests an initialization hypothesis while preserving the
|
||||
same nonuniform-image requirement. It is not evidence that the game's displayed
|
||||
Vulkan window was uniform or that a physical M2 GPU has the same problem.
|
||||
|
||||
After the overlay guard, run 37194690645 has mixed results: core and distant-terrain
|
||||
title probes pass on the Apple Paravirtual Vulkan device, with no overlay and
|
||||
nonuniform readback, then exit cleanly. Vanilla still fails the uniform-readback
|
||||
assertion. The overall research run therefore remains failed. These outcomes
|
||||
justify retaining the readiness guard; they do not establish the cause of the
|
||||
remaining failure, full visual correctness, world rendering or physical M2 speed.
|
||||
|
||||
The subsequent world-mode run 37195149166 passes all three cases on the hosted
|
||||
Apple Paravirtual Vulkan device. Each reaches focused gameplay without an overlay,
|
||||
returns a nonuniform framebuffer, produces saved demo-world data and exits with
|
||||
code zero. This verifies short Vulkan world startup on that runner, while the
|
||||
failed title observations remain retained. A local Linux core Vulkan world probe
|
||||
also passes, and its private screenshot was visually inspected. These checks do
|
||||
not prove exhaustive graphics/gameplay equivalence, completed distant terrain,
|
||||
physical M2 GPU compatibility or an FPS improvement.
|
||||
|
||||
For an isolated private preference override:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user