Skip to content

Investigate OVRTX sensor frame selection when DLSS frame generation returns multiple frames #8881

Closed

Description

@AntoineRichard

The replacement RTX pipeline still assumes the first OVRTX output frame is the camera capture. Investigate the native multi-frame contract before choosing a fix.

At current main 90a16f06685dbf7948262eafa628c470b4cdc78c:

If an intermediate image is first, IsaacLab publishes it and ignores the real/current capture. A lightweight reproduction executing the unchanged current-main selection method with synthetic frames produced:

single real frame: selected=real/current, capture_time=1.0, ignored=0
chronological multi-frame output: selected=generated/intermediate, capture_time=0.5, ignored=1

This confirms selection behavior for that input, not native OVRTX frame ordering. No native DLSS benchmark was run: the installed OVRTX version differs from the pinned runtime, and dependencies were left unchanged.

Investigation and acceptance criteria

  • On the pinned OVRTX runtime and supported hardware, record returned frame counts, capture times, ordering, and AOV keys with frame generation enabled.
  • Define the single-frame sensor contract and explicitly select the intended real/current capture. Use list position only if the SDK guarantees its meaning.
  • Preserve matching asynchronous capture metadata and PPISP inputs.
  • Extend the existing renderer contract coverage, which supplies one frame per product, with distinguishable intermediate/real outputs and capture times. Assert published pixels and matching metadata, and demonstrate fail-before/pass-after.
  • Preserve ordinary single-frame behavior.

The current RTX visualizer displays sensor pixels in a Newton GL window. Presenting every generated frame at an increased cadence requires separate presentation work; repeatedly overwriting one camera buffer would not achieve it.

Related: #8583, closed as superseded by the adapter removal in #8585. This issue tracks the remaining question against the active architecture.

Activity

  1. AntoineRichard commented on Oct 29, 2026

    @AntoineRichard
    CollaboratorAuthor

    Implemented in draft PR #8882.

    Native reproduction on the pinned OVRTX 0.6.0.1791947691 / OVStage 0.3.0.1791986420, RTX 5090, driver 610.57.04, confirmed the selection defect:

    • Generation disabled: one real frame in every one of 16 captures.
    • Generation enabled: two frames in every capture, earlier intermediate first, real capture second.
    • At step 15, the first frame ended at 0.2583333333 s, while the real capture ended at 0.2666666667 s. The old selector published an image 8.33 ms earlier, with 87,969 RGBA channel values differing from the real image (maximum error 79/255).
    • Replaying the unchanged baseline and fixed methods against recorded native timestamps/pixels confirmed that the fix selects the real capture. At saved steps 2 and 15, its pixels exactly match the generation-disabled control; the baseline differs at both.

    The fix selects the latest capture end time before shared output extraction and PPISP, keeping the single-frame fast path unchanged. Existing tests now protect multi-output extraction and asynchronous capture metadata. The focused regressions failed before the fix, and the full renderer contract file passes 53/53, including five GPU integration cases. Repository formatting/lint and changelog checks passed; independent review found no blocking issues.

    Successful native activation combined an LDR-only product with explicit settings schemas, limitedOps=false, inverse-compositing settings, and a RenderSettings product relationship. The specific companion setting that enabled generation was not isolated. Native intermediate frames carried only the requested LdrColor output; the missing-AOV regression is synthetic coverage. Presenting every generated image at a higher cadence remains separate from publishing the correct sensor observation.

  2. added a commit that references this issue on Oct 30, 2026
    bfcf3ca
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions