Repository navigation
[Backport release/3.0.0] Disable RTX eco mode on OVRTX render products (#8302) - #8434
Conversation
# Description With ovrtx 0.5, OVRTX camera images freeze after 500 frames, and no error is reported. RTX eco mode is on by default. It pauses rendering after 500 frames without a detected scene change. ovrtx 0.5 does not detect transform updates read from GPU (`read_gpu_transforms`, the Isaac Lab default) as scene changes. This PR disables eco mode on all OVRTX render products. This is a workaround. The fix belongs in ovrtx and is in progress in NVIDIA-Omniverse/kit#1806. Once an ovrtx release with that fix is in use, this setting can be reverted. ## Type of change - Bug fix (non-breaking change which fixes an issue) ## Release backport - [ ] <!-- backport-active-release --> Backport this pull request to the active release branch after it merges into `develop` ## Validation - `pytest source/isaaclab_ov/test/test_ovrtx_usd.py`: 32 passed. The new assertion checks that the render product disables eco mode. It fails without the fix. - Isaac-Cartpole-Camera with `renderer=ovrtx`, 1024 envs, 700 steps, ovrtx 0.5.0: without the fix, all camera images freeze at step ~505. With the fix, they keep updating through step 700. - Only the default (non-ovstage) OVRTX path was tested. The ovstage path was not tested. ## Checklist - [x] I have read and understood the [contribution guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html) - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with `uv run isaaclab --format` - [ ] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [x] I have validated the changed behavior with focused coverage and applied the [test-audit criteria](https://github.com/isaac-sim/IsaacLab/blob/develop/skills/developer/test-audit/SKILL.md) to any test changes - [x] I have added a changelog fragment under `source/<pkg>/changelog.d/` for every touched package (do **not** edit `CHANGELOG.rst` or bump package versions — CI handles that) - [x] I have added my name to the `CONTRIBUTORS.md` or my name already exists there --------- Co-authored-by: pv-nvidia <[email protected]> (cherry picked from commit c291d9a)
There was a problem hiding this comment.
Isaac Lab Review Bot
Needs attention: Style consistency (1), Test quality (1). Other reviewed categories look good.
- PR description: The title and body match the three-file backport; focused mutation, 30-test, formatting, and 700-step OVRTX evidence cover the stated freeze fix without making a performance claim.
- Design and architecture: Architecture looks good.
- Scope and over-engineering: No over-engineering issues.
- API: API changes look good.
- Compatibility and deprecation: No breaking changes identified.
- Implementation: Implementation looks good.
- Style consistency: The new comment uses lowercase “ovrtx” inconsistently with adjacent OVRTX references, reducing naming consistency and searchability; capitalize the product name.
- Test quality: The assertion repeats across three unrelated shading rows while missing the default render mode; move it to the existing default render-product test.
Minor fixes needed. Posted 2 inline findings.
Automated review; human maintainers own approval decisions.
| f"bool omni:rtx:minimal:castShadows = {'true' if enable_shadows else 'false'}", | ||
| ] | ||
|
|
||
| # Workaround: ovrtx 0.5 misses GPU-read transform changes, so eco mode freezes output after 500 frames. |
There was a problem hiding this comment.
🟡 Warning · Style Consistency — Comment spells OVRTX in lowercase
Adjacent comments in this function (lines 217 and 232) and the changelog fragment write "OVRTX"; this comment writes "ovrtx 0.5". Capitalize it to keep the product name consistent and searchable.
| assert layer.ImportFromString(render_product) | ||
| assert layer.GetAttributeAtPath("/RenderCamera_0/RenderProduct.omni:rtx:rendermode").default == "Minimal" | ||
| assert layer.GetAttributeAtPath("/RenderCamera_0/RenderProduct.omni:rtx:minimal:mode").default == minimal_mode | ||
| assert layer.GetAttributeAtPath("/RenderCamera_0/RenderProduct.omni:rtx:rt:ecoMode:enabled").default is False |
There was a problem hiding this comment.
🟡 Warning · Test Quality — Eco-mode assertion repeats across shading rows
ecoMode:enabled is authored unconditionally, so this assertion replays identically across all three Minimal-mode rows while leaving the default RealTimePathTracing product unchecked. Move it to test_render_product_default_background_is_dome_light, which owns the mode-independent block.
|
| assert layer.ImportFromString(render_product) | ||
| assert layer.GetAttributeAtPath("/RenderCamera_0/RenderProduct.omni:rtx:rendermode").default == "Minimal" | ||
| assert layer.GetAttributeAtPath("/RenderCamera_0/RenderProduct.omni:rtx:minimal:mode").default == minimal_mode | ||
| assert layer.GetAttributeAtPath("/RenderCamera_0/RenderProduct.omni:rtx:rt:ecoMode:enabled").default is False |
There was a problem hiding this comment.
Regular cameras lack test coverage
The new assertion only checks Minimal products. It would still pass if the eco-mode setting were moved inside the Minimal branch, leaving regular cameras unprotected. Add the same assertion for a RealTimePathTracing product so the test catches that regression.
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
|
run-ci |
# Description Fixes the two deterministic `isaaclab (core) [1/3]` failures affecting pull requests against `release/3.0.0`. The release branch intentionally pins Torch 2.11.0 and torchvision 0.26.0, but its release-only install test fixtures still used Torch 2.12.0 and torchvision 0.27.0. The installation-CI override file also retained usd-exchange 3.0.0 and usd-optimize 1.3.0 after the release branch moved to 3.0.1 and 1.3.1. This change: - updates both CUDA Torch fixtures to 2.11.0 while preserving the CUDA-tag scenarios they test; - synchronizes the installation-CI override file with the canonical root and published-wheel overrides; and - adds an `isaaclab` `.skip` fragment because only test and CI metadata changes. No runtime dependency or installation behavior changes. ## Type of change - Bug fix (non-breaking change which fixes an issue) - Release-branch CI fix ## Release backport - [x] Not applicable: this PR targets `release/3.0.0` directly and fixes release-only files. ## Screenshots Not applicable. ## Validation - Before the fix, the two focused tests failed with the same assertions reported by #8434 and #8439. - `uv run --no-sync python -m pytest source/isaaclab/test/cli/test_install_commands.py source/isaaclab/test/cli/test_wheel_builder_metadata.py -q` — 46 passed. - Confirmed `source/isaaclab/test/install_ci/uv_pip/uv-overrides.txt` exactly matches `tools/wheel_builder/uv-overrides.txt`. - `ISAACLAB_CHANGELOG_BASE_REF=fix-release-install-validation-base uv run --no-sync isaaclab -f` — passed using a temporary local validation ref at the current `upstream/release/3.0.0` tip; the ref was removed immediately afterward. - `git diff --check` — passed. ## Checklist - [x] I have read and understood the contribution guidelines. - [x] I have run the pre-commit checks. - [x] Documentation changes are not required because no user-facing workflow changed. - [x] My changes generate no new warnings. - [x] I reproduced both failures before the fix and ran the complete adjacent test files after it. - [x] I added an `isaaclab` `.skip` changelog fragment for the test/CI-only package changes. - [x] My name already exists in `CONTRIBUTORS.md`.
Description
Backports #8302 to
release/3.0.0.With OVRTX 0.5, RTX eco mode can pause rendering after 500 frames because transform updates read from GPU are not detected as scene changes. This backport disables eco mode on every OVRTX render product so camera output continues updating.
This is a clean cherry-pick of the source fix, including its focused assertion and
isaaclab_ovchangelog fragment.Type of change
Release backport
release/3.0.0directly.Screenshots
Not applicable.
Validation
uv run --extra test --extra ovrtx python -m pytest source/isaaclab_ov/test/test_ovrtx_usd.py -k test_ovrtx_simple_shading_alone_uses_ldr_color -q: all 3 parameterized assertions failed as expected because the setting was absent.uv run --extra test --extra ovrtx python -m pytest source/isaaclab_ov/test/test_ovrtx_usd.py -q: 30 passed.ISAACLAB_CHANGELOG_BASE_REF=pr-8302-validation-base uv run isaaclab -fpassed using a temporary local validation ref at the currentupstream/release/3.0.0tip; the ref was removed immediately afterward.Checklist
isaaclab_ovchangelog fragment.CONTRIBUTORS.md.Original PR: #8302
Cherry-picked commit:
c291d9a3f0058657a384c4bc9a6a2850fdd364d1Backport commit:
85b512b1fcb5aff0bca61f602e0f12e634765dca