World renders now along with character models. [M4 Pro 24gb] #380
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by Ketan-Kapse on 2026-11-27T15:12:30Z.
The world is rendering now into the prologue at 1-3 fps. Character models load with no hair. Shader issues throughout. Player fully controllable. Please let me know if screenshots are needed before I make a PR.
Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by Ketan-Kapse on 2026-11-27T15:21:37Z.
Measured numbers for this report (no screenshots, per CONTRIBUTING; counts and descriptions only).
Setup. M4 Pro, 24 GB, macOS 27.0.1,
--console series-s, windowed 1280x720, warm shader cache. Local branch based on main2a3b03d1plus local changes (listed at the end). Switches:VICTORY_METAL_RESIDENCY_SETS=1 VICTORY_CONSOLE_PIPELINES=0 VICTORY_STEP_OVER=pool VICTORY_UPSCALER=6 VICTORY_PIPELINE_TIMEOUT_S=15 VICTORY_TRACE_FRAME_TIME=1(the last one is a local diagnostic).What the window shows. The prologue interior and the yard: geometry, textures, sky through the windows and character models are correct, lit, with the HUD prompts composited over the scene. Faults: heavy speckle noise on every indirectly lit interior surface, purple/green noise on the floor and at one doorway, dark smears on walls, hair missing on characters.
Speed and stability (10-minute run, world reached at about +3 min).
=heapgave 1.25 to 1.3 fps in an earlier run, but on 24 GB it runs out of memory at world load (19 to 20kIOGPUCommandBufferCallbackErrorOutOfMemory), and today it froze the whole machine for minutes at the load.=1: 0 failed command buffers, 0 out-of-memory errors.remirror_tables263 ms for about 114,000 descriptor mirrors; Metal encoding 25 ms (about 4,600 dispatches and 5,600 draws); GPU time 223 ms; kernel time of the command buffers 1,908 ms. So on this Mac the frame is waiting for memory first, and re-mirroring descriptors second.One warning for anyone batching residency-set updates. A local build that deferred the heap sets'
commit()(so one commit could carryremoveAllocation(X)andaddAllocation(X)of the same allocation) ended in a macOS kernel panic about 40 s after an out-of-memory burst:"Memory object not found in fMemoryCountedSet or fPendingMemorySet" @IOGPUGroupMemory.cpp:286(IOGPUFamily, panicked task = the host). Reconciling the set at commit instead (at most one add or one remove per allocation per commit, none when membership is unchanged) has run twice since without a panic. One occurrence, so the cause is not proven.Local changes behind this picture, in the order they mattered: mesh output stores emitted back to back after their values (Apple's compiler crashed on about 230 mesh+pixel pairs otherwise); buffer views spanning several pool runs; the view-stride table bound for shaders that take buffer views from the heap themselves (the GPU cullers were dropped without it); placed views aliasing the GPU-written object at the same address; the fourth corner of rectangle lists; PR 278 (typed and structured buffer views); present compositing the UI plane over the scene plane.
Next here: memory (host texture copies of placed textures seem to outlive the title's reuse of their memory), then the lighting noise.
Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by LakshanSivakumar on 2026-11-27T15:28:09Z.
Hi send me some screenshots to me on Discord! My discord is nethergamerhd