Skip to content

[Backport] PR #7860 to release/3.0.0 - #7936

Merged
StafaH merged 1 commit into
release/3.0.0from
backport/release/3.0.0/pr-7860
Sep 22, 2026
Merged

StafaH merged 1 commit into
release/3.0.0from
backport/release/3.0.0/pr-7860

Conversation

@isaaclab-bot

@isaaclab-bot isaaclab-bot Bot commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

Backports #7860 to release/3.0.0.

The original cherry-pick conflicted. An NVIDIA inference model proposed this resolution, and deterministic validation confirmed that it changes no paths outside the original PR. Because conflict resolution cannot be certified as an exact patch replay, this PR is intentionally a draft and requires release-maintainer review.

Field Commit
Original merged change eaab09fd0a61ea1fe84067d25172797abc30b89a
Release base used 5da679fe1cef93813e5fc52dce0db81b6faae19e
Proposed backport 8889ead77e32eb4257b4925ba059c603ced9b901

OVRTX camera sensors sharing a renderer previously reused the first
sensor’s render product and camera bindings. This caused sensors to
receive images from the same product, while pose updates could overwrite
another sensor’s viewpoint.

Each sensor now owns a separate tiled render product and camera
bindings, while sharing the renderer and scene. For example:

  - `env0/cam0, env1/cam0` → RP0
  - `env0/cam1, env1/cam1` → RP1

The change supports independent resolutions, output types, and pose
updates on both the default and external-ovstage paths.
OVRTXRenderData.cleanup() owns per-camera resource teardown, allowing
other sensors to continue rendering.

Addresses the camera-ownership portion of #7772. Temporal instability
remains a separate investigation, so this PR should not close that
issue.

Docker and GPU tests run on demand. Push the commits you want tested,
then
comment `run-ci` on the pull request.

- [ ] I have read and understood the [contribution
guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html)
- [ ] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.sh --format`
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] I have added a changelog fragment under
`source/<pkg>/changelog.d/` for every touched package (do **not** edit
`CHANGELOG.rst` or bump `extension.toml` — CI handles that)
- [ ] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there

<!--
As you go through the checklist above, you can mark something as done by
putting an x character in it

For example,
- [x] I have done this task
- [ ] I have not done this task
-->

- [x] <!-- backport-active-release --> Backport this pull request to the
active release branch after it merges into `develop`

(cherry picked from commit eaab09f)
@github-actions github-actions Bot added documentation Improvements or additions to documentation isaac-lab Related to Isaac Lab team labels Sep 21, 2026
@StafaH
StafaH marked this pull request as ready for review September 21, 2026 23:19
@StafaH
StafaH requested a review from a team September 21, 2026 23:19
@StafaH

StafaH commented Sep 21, 2026

Copy link
Copy Markdown
Collaborator

run-ci

@isaaclab-bot isaaclab-bot Bot added ci:run-docker Trigger the on-demand Docker and GPU CI workflow and removed ci:run-docker Trigger the on-demand Docker and GPU CI workflow labels Sep 21, 2026
@greptile-apps

greptile-apps Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 4/5

The PR is not safe to merge until scoped RenderVar lookup works with the explicitly supported OVRTX 0.5+ frame-key behavior.

Findings

  1. P1 Scoped RenderVars Break Lookup ▶

Summary

This backport gives each OVRTX camera sensor an independently owned render product, pose binding, output configuration, and cleanup lifecycle while retaining a shared scene and renderer.

  • Adds unique render scopes and per-camera native resource ownership.
  • Routes updates and rendering through each camera's own product and transform binding.
  • Adds multi-camera integration coverage for independent resolutions, outputs, poses, and cleanup.
  • Documents the shared-renderer, separate-product behavior.
  • The new scoped RenderVar paths are not reflected in OVRTX 0.5+ frame-key lookup, so that runtime cannot retrieve camera outputs.

Diagram

sequenceDiagram
    participant C as Camera sensor
    participant R as Shared OVRTXRenderer
    participant P as Per-camera RenderProduct
    participant F as OVRTX frame
    C->>R: create_render_data(spec)
    R->>P: Author /RenderCamera_N
    C->>R: update_camera(render_data)
    R->>P: Write camera transform
    C->>R: render(render_data)
    R->>P: Step selected product
    P-->>F: RenderVars keyed by scoped paths
    R->>F: Lookup AOV keys
    Note over R,F: OVRTX 0.5 lookup still uses /Render/Vars/*
Loading

Reviews (1) · Last reviewed commit: "Fix per-sensor render products in OVRTX ..."

Comment on lines +320 to +322
render_var_configs = [
(path.replace("/Render/", f"/{render_scope_name}/", 1), name, source)
for path, name, source in get_render_var_configs(data_types)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Scoped RenderVars Break Lookup

On OVRTX 0.5+, frame.render_vars is keyed by each RenderVar's absolute prim path. These lines move each camera's variables under /RenderCamera_N/Vars/..., but the renderer still looks them up using fixed /Render/Vars/... keys. As a result, OVRTX 0.5+ cannot find the camera AOVs, leaving RGB, depth, segmentation, and other output buffers stale or unpopulated. The frame keys need to use the scope of the camera's render product.

Knowledge Base Used: Omniverse backend

@isaaclab-review-bot isaaclab-review-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isaac Lab Review Bot

The per-camera OVRTX ownership refactor is coherent, but dynamically scoped RenderVar prims are inconsistent with the fixed path mapping used for frame lookups on path-keyed OVRTX versions.

  • Design and architecture: Per-camera render products, USD references, pose bindings, and cleanup are consistently owned by OVRTXCameraRenderData while shared scene and physics resources remain renderer-owned. The remaining issue is that unique render scopes were introduced without propagating that scope to the RenderVar path consumer.
  • API: The new render_scope_name parameters are defaulted and preserve existing callers. However, render_var_prim_paths_by_source() still promises and returns fixed /Render/Vars/... paths even though products can now author RenderVars under /RenderCamera_N/Vars/....
  • Implementation: build_render_product_as_string() rewrites authored RenderVar paths to the camera-specific scope, while the fixed mapping used by path-keyed RENDER_VAR_FRAME_KEYS remains unchanged. On OVRTX versions that key frame outputs by prim path, _process_render_frame() can therefore miss the requested AOVs. The lookup mapping must be derived from the scope actually authored.

Minor fixes needed. Posted 1 actionable finding inline.

Automated review; human maintainers own approval decisions.

render_product_path = f"/{render_scope_name}/{render_product_name}"

render_var_configs = get_render_var_configs(data_types)
render_var_configs = [

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Warning · Implementation — Render-var prim path mapping not scope-aware

RenderVar prims are now authored under /{render_scope_name}/Vars/..., but render_var_prim_paths_by_source() still returns the fixed /Render/Vars/... paths it documents as "the absolute path of the RenderVar prim this module authors". RENDER_VAR_FRAME_KEYS uses that prim-path form on OVRTX builds that key frames by path (see the /Render/Vars/LdrColor key form in test_ovrtx_renderer_contract), so _process_render_frame lookups would miss every AOV. Derive the mapping from the scope actually authored.

@StafaH
StafaH merged commit bab383d into release/3.0.0 Sep 22, 2026
53 of 54 checks passed
@StafaH
StafaH deleted the backport/release/3.0.0/pr-7860 branch September 22, 2026 01:04
ooctipus added a commit that referenced this pull request Sep 24, 2026
…ng docs (#7957)

Backports the three changes from the September 20–23 `develop` audit
that are missing from `release/3.0.0`, alongside the existing
cloning-guide backport:

- #7722 (`4cf439dfeb`): reject a second `SimulationContext` construction
instead of silently discarding its configuration. Includes the original
fixture cleanup and regression coverage.
- #7893 (`22fcd71bc4`): validate DelayBuffer lag values before mutating
its live configuration.
- #7947 (`6e9ef17f59`): make `v3.0.0-EA` the default documentation
version in deployment and local multi-version builds.
- #7129 (`354168560f`): clarify that `replicate_physics=False` skips the
active physics context while other declared replication contexts still
run.

**Compatibility:** repeated `SimulationContext(...)` calls now raise.
Retrieve the live context with `SimulationContext.instance()`, or call
`clear_instance()` before constructing a replacement. The original major
changelog fragment includes this migration.

The runtime and test files match current `develop`. The docs-default
backport adapts the release branch's existing redirect template,
validates the target page, and preserves explicit overrides. The
cloning-guide backport preserves the current release APIs; its obsolete
sections were already removed.

## Release audit

Checked all **35 PRs** merged into `develop` from **2026-09-20 16:43:18
UTC** through `cff81e8473` (September 23), against release head
`5d3e0b695e`. **32 are already covered; the remaining three are included
here.** Git history, patch equivalence, GitHub's merged PR list, and
remaining file differences were checked. Branch-specific
version/changelog compilation and existing release-only changes are
preserved.

<details>
<summary>Already covered PRs</summary>

26 have an equivalent patch in release: #7919, #7922, #7923, #7924,
#7925, #6758, #7928, #7902, #7927, #7891, #7931, #7691, #7861, #7929,
#7916, #7939, #4609, #7942, #7940, #7948, #7937, #7955, #7960, #7961,
#7970, #7958.

Six were squash-merged or adapted: #7530 and #7899 in #7926; #7637 in
#7933; #7860 in #7936; #7954 and #7950 in #7964. Their implementation
differences were checked against the current release tree.

</details>

## Validation

- **276 tests passed**: SimulationContext (51, including CPU/CUDA),
headless context construction (15), nine schema/fragment suites (165),
four manager suites (38), and DelayBuffer (7).
- Both backported regressions reproduce with the original release
implementations.
- Docs redirect recipe: local/deployment EA defaults, explicit override,
and missing-target rejection passed with a stubbed Sphinx builder.
- All 22 changed files match the intended backport scope; `uv run
isaaclab -f` and `git diff --check` passed.
- Fresh Sphinx validation (`-b dummy -W --keep-going`): passed without
warnings, excluding static assets as the HTML builder does. Full HTML
documentation CI is running.

Local runtime validation used PyTorch 2.12.0, CUDA 13.0, Isaac Sim
6.0.1.0, and an RTX 5090. Existing runtime/deprecation warnings
occurred; the CI jobs validate the pinned environments.

The previous [docs CI
failure](https://github.com/isaac-sim/IsaacLab/actions/runs/35795116307/job/106972539281)
was an external connection reset fetching the Omniverse intersphinx
inventory, producing one warning under `-W`. That URL returned HTTP 200
when rechecked. This update starts a fresh docs build.

---------

Co-authored-by: hujc <[email protected]>
Co-authored-by: Zihan Xu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation isaac-lab Related to Isaac Lab team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants