diff --git a/artifacts/runtime/mimir-perfect-machine-gpu-feature-extraction-headless.png b/artifacts/runtime/mimir-perfect-machine-gpu-feature-extraction-headless.png new file mode 100644 index 0000000..50978ad Binary files /dev/null and b/artifacts/runtime/mimir-perfect-machine-gpu-feature-extraction-headless.png differ diff --git a/docs/implementation-plan.md b/docs/implementation-plan.md index e6ec3df..d5a7575 100644 --- a/docs/implementation-plan.md +++ b/docs/implementation-plan.md @@ -349,9 +349,11 @@ a named invariant that the native runtime cannot protect yet. --perfect-machine-live-smoke` opens all five configured video sources, attaches Fensalir texture leases, and passes only when at least five live camera textures, a Leap stereo-depth lowering, a disparity SurfacePage, and a - derived point-cloud Mesh are present. It prints deferred camera texture - Feature requests explicitly; those are not capture failures, they are the - future Fensalir D3D12 feature-extraction cut. + derived point-cloud Mesh are present. Fensalir now plans the camera texture + Feature requests through its `GpuSensorFusion` backend instead of deferring + them. The current dispatch samples LeapStereoIr plus both Bayer8 PS3 Eyes; + Kiyo YUY2 claims are selected but skipped by the shader inlet until Fensalir + owns an explicit YUY2 conversion/feature lane. `MimirMediaFoundationGpuVideoCaptureDriver` is the first compressed camera path: `native/camera_capture/mimir_mf_gpu_capture.dll` uses Media Foundation SourceReader with a D3D11 device manager, selects MJPG/H264 camera modes, @@ -440,9 +442,13 @@ a named invariant that the native runtime cannot protect yet. declared eight field resources, resolved six Texture2D resources, dispatched one packed-Leap stereo-depth kernel, generated one point-cloud/surface stream, and reported 19,200 visible reservoir splats. The captured proof is - `artifacts/runtime/mimir-perfect-machine-all-sensors-headless.png`. Generic - camera Feature claims still defer; live PS3/Kiyo feature extraction remains a - Fensalir compute shader owner, not the CPU tracker. + `artifacts/runtime/mimir-perfect-machine-all-sensors-headless.png`. The + follow-up Fensalir compute proof captured + `artifacts/runtime/mimir-perfect-machine-gpu-feature-extraction-headless.png`: + Mimir planned 12 FieldEvidence packets with zero deferred requests, and + Fensalir dispatched GPU sensor fusion over three sampleable live camera + textures, generating 49,152 sparse gaussians. Kiyo YUY2 support remains the + next format-aware shader cut. Phase 6 program-output receipts are also structurally complete: Fensalir publishes the final program surface through named shared D3D12 texture/fence resources, the OBS plugin consumes that surface with an explicit D3D12-to- diff --git a/docs/sensor-fusion-architecture.md b/docs/sensor-fusion-architecture.md index 7dd2830..5060dd4 100644 --- a/docs/sensor-fusion-architecture.md +++ b/docs/sensor-fusion-architecture.md @@ -46,8 +46,10 @@ flowchart TD Pro, and regular Kiyo all enter the runtime as Fensalir texture leases. The smoke requires five live camera Texture2D resources, one Leap stereo-depth lowering, one disparity SurfacePage, and one derived point-cloud Mesh. - Deferred generic camera Feature requests are printed as the selected future - shader work, not hidden as capture success. + Camera Feature/SensorObservation claims now plan through Fensalir's + `GpuSensorFusion` backend instead of deferring. The current compute dispatch + samples LeapStereoIr plus both Bayer8 PS3 Eyes; Kiyo YUY2 texture claims are + selected but wait for a format-aware YUY2 conversion/feature lane. - PS3 Eyes own high-rate sparse tracking evidence before they own depth: `MimirSparseFeatureTracker` turns live Bayer/luma frames into stable sensor-local feature tracks, and `MimirFeatureTrackFieldCandidate` lowers diff --git a/notes/current-system-map.md b/notes/current-system-map.md index dfe2a8a..0c2237f 100644 --- a/notes/current-system-map.md +++ b/notes/current-system-map.md @@ -552,9 +552,12 @@ all-sensor runtime profile: Leap packed stereo IR, both PS3 Eyes at --perfect-machine-live-smoke` opens all five video sources through the runtime, attaches Fensalir texture leases, and requires five camera Texture2D resources, one Leap stereo-depth lowering, one disparity SurfacePage, and one derived -point-cloud Mesh. It prints the remaining deferred generic camera Feature -claims so the gap stays visible: PS3/Kiyo/Leap texture feature extraction is -still a Fensalir D3D12 compute owner, not a CPU tracker hidden in the hot path. +point-cloud Mesh. Fensalir now plans those camera Feature/SensorObservation +claims through its `GpuSensorFusion` backend instead of deferring them, then +derives compute input metadata and SRVs from resolved FieldEvidence Texture2D +resources. The first dispatch samples LeapStereoIr plus both Bayer8 PS3 Eyes. +Kiyo YUY2 claims are selected but skipped until Fensalir owns an explicit YUY2 +conversion/feature lane; they are not silently treated as RGBA. `MimirMediaFoundationGpuVideoCaptureDriver` plus `native/camera_capture/mimir_mf_gpu_capture.dll` is the compressed camera path: Media Foundation SourceReader runs with a D3D11 device manager, decodes MJPG or @@ -659,7 +662,13 @@ all-sensor profile started all five video sources, declared eight field resources, resolved six Texture2D resources, dispatched one packed-Leap stereo-depth kernel, generated one point-cloud/surface stream, reported 19,200 visible reservoir splats, and captured -`artifacts/runtime/mimir-perfect-machine-all-sensors-headless.png`. Once the +`artifacts/runtime/mimir-perfect-machine-all-sensors-headless.png`. The +follow-up GPU feature-extraction proof planned 12 packets with zero deferred +requests, dispatched sensor fusion over three sampleable camera textures, +generated 49,152 sparse gaussians at about 0.059 ms/frame sensor-fusion GPU +time, and captured +`artifacts/runtime/mimir-perfect-machine-gpu-feature-extraction-headless.png`. +Once the frustum fit is coherent, detected surface candidates can be sampled across every synchronized view before Fensalir resolves them into 4D Gaussian/surface splat claims. diff --git a/state/evidence.jsonl b/state/evidence.jsonl index ef0dc04..62a30d9 100644 --- a/state/evidence.jsonl +++ b/state/evidence.jsonl @@ -259,3 +259,4 @@ {"ts": "2026-05-31T02:45:05+01:00", "type": "verification", "status": "ok", "note": "Eve dashboard now renders voidbot.swarm as a native VoidBot-style cockpit with CTB avatar URLs, selected Face/status pane, state tree, and detail panel; device build/install passed and broker smoke reported 8 CTB avatar URLs."} {"ts": "2026-05-31T03:22:00+01:00", "type": "verification", "status": "ok", "note": "PS3 Eye sparse tracking bootstrap is live. `--ps3eye-tracking-smoke` produced 13 synthetic tracks, 12 stable tracks, and one Feature claim. The final default `--ps3eye-tracking-live --seconds 1.0` captured both Eyes at 320x240@187 and returned 160 tracks / 160 stable tracks from `ps3-eye-0` and 160 tracks / 156 stable tracks from `ps3-eye-1`. This is CPU diagnostic tracking; production feature extraction remains a Fensalir D3D12 owner."} {"ts": "2026-05-31T03:31:08+01:00", "type": "verification", "status": "ok", "note": "2026-05-31 all-sensor GPU proof: config/mimir-runtime.perfect-machine.local.json opened Leap, both PS3 Eyes, Kiyo Pro, and regular Kiyo; BufferSmoke --perfect-machine-live-smoke reported 5 camera Texture2D leases, Leap stereo lowering, SurfacePage, Mesh, 7 planned packets, and 5 deferred generic camera Feature requests. Mimir.App headless D3D12 dispatched packed-Leap stereo depth, generated one point-cloud/surface stream, reported 19,200 visible reservoir splats, and captured artifacts/runtime/mimir-perfect-machine-all-sensors-headless.png."} +{"ts": "2026-05-31T03:54:00+01:00", "type": "verification", "status": "ok", "note": "Fensalir now owns the first compute feature-extraction lowering for Mimir camera Feature/SensorObservation claims. --perfect-machine-live-smoke planned 12 packets with 0 deferred. Mimir.App headless D3D12 dispatched GpuSensorFusion for LeapStereoIr plus both Bayer8 PS3 Eyes at 16,384 sparse samples per texture, generated 49,152 gaussians, reported sensor-fusion GPU timing around 0.059 ms/frame, and captured artifacts/runtime/mimir-perfect-machine-gpu-feature-extraction-headless.png. Kiyo YUY2 claims are selected but skipped until Fensalir owns a YUY2 conversion/feature shader."} diff --git a/state/map.yaml b/state/map.yaml index 92faa37..b7a2fa0 100644 --- a/state/map.yaml +++ b/state/map.yaml @@ -111,9 +111,13 @@ invariants: generated one point-cloud/surface stream, reported 19,200 visible reservoir splats, and captured `artifacts/runtime/mimir-perfect-machine-all-sensors-headless.png`. - Generic camera Feature claims still defer because PS3/Kiyo/Leap texture - feature extraction belongs to a future Fensalir D3D12 compute lowering, not - the CPU diagnostic tracker. + Generic camera Feature/SensorObservation claims now plan through Fensalir's + `GpuSensorFusion` backend with zero deferred requests. The first dispatch + samples LeapStereoIr plus both Bayer8 PS3 Eyes, generates 49,152 sparse + gaussians at about 0.059 ms/frame sensor-fusion GPU time, and captured + `artifacts/runtime/mimir-perfect-machine-gpu-feature-extraction-headless.png`. + Kiyo YUY2 claims are selected but skipped until Fensalir owns an explicit + YUY2 conversion/feature shader; packed video must not masquerade as RGBA. Calibrated projection constants, full SGM, temporal/spatial reservoir reuse in a compilable shader, and global residual/calibration ownership remain open. @@ -582,9 +586,9 @@ accepted_design: is the current local all-sensor runtime profile, and `--perfect-machine-live-smoke` proves the five camera texture leases plus Leap depth/page/mesh sockets are present in one live frame. Camera image - claims stay debug-view-only for now; production visual fusion/feature - extraction lowerings are deferred until Fensalir owns the D3D12 feature - shader. Fensalir now owns the first in-process + claims now select Fensalir's D3D12 `GpuSensorFusion` backend; Leap and PS3 + Eye formats dispatch today, while Kiyo YUY2 needs a format-aware conversion + cut before RGB feature extraction is true. Fensalir now owns the first in-process D3D12 field resource registry: declared shared structured/curve buffers import/alias GPU-resident resources by handle, while Fensalir-owned resources allocate GPU slots only when Fensalir is the producer.