Repository navigation
[OVRTX] Disable RTX eco mode on render products - #8302
Conversation
There was a problem hiding this comment.
Isaac Lab Review Bot
The focused OVRTX USD workaround disables eco mode for both render paths and adds owner-boundary assertions, with only the unsupported step-time claim needing description correction.
- PR description: The scope matches the diff; substantiate “step time is unchanged” with baseline/candidate revisions, command, GPU, OVRTX version, 1,024 environments, warmup, and mean step-time metric, or remove it.
- Scope: Minimal implementation: keep
build_render_scope_usdas the existing render-product owner, plus the changelog fragment and two owner-boundary assertions; no source modules or avoidable layers were added, and the essential flow remains direct. Scope is cohesive; no split recommended. - Compatibility and deprecation: Breaking changes: none identified; no symbols, defaults, configuration keys, accepted inputs, or extension hooks were removed or changed.
No blocking issues. No inline findings.
Automated review; human maintainers own approval decisions.
|
AntoineRichard
left a comment
There was a problem hiding this comment.
🤖 AI-generated review (Claude Code). It checks this PR against the repo's test-audit and coding-style rules. Treat the findings as suggestions.
The fix itself is small and well-scoped. Most of the comments below are about how the shared rendering contract was restructured to make room for the new 520-frame test, plus the PR description.
Code (details in the inline comments)
rigid_object_rendering_contract.py: the_ContractCheckcallback and_run_in_contract_scenerunner add a layer of scaffolding. A@contextmanagerthat yields the scene objects would do the same job with less indirection.- The long-motion loop copies rgb on all 520 frames using a list trick. Only the last two frames need a copy.
test_ovrtx_usd.py:117is an exact string grep, and the new pixel test already covers the RealTimePathTracing mode. The parsed-layer assert at:273is the only Minimal-mode coverage, so keep that one.ovrtx_usd.py: the 3-line rationale comment could be one line that also marks this as a workaround.
PR description
- Title: suggest
[OVRTX] Disable RTX eco mode on render products. - The "Test" section predates the third commit, so it doesn't mention the 520-frame pixel test, which is the strongest evidence here. Suggest renaming it to "Validation" with the exact
uv run --frozen ... pytestcommands, pass counts, and a note that the test fails without the fix and passes with it. - "The step time is unchanged" has no numbers behind it. Either add a before/after table (GPU, ovrtx version, envs, steps) or remove the sentence.
- Please link the Kit/ovrtx ticket and add a follow-up to revert this once ovrtx detects GPU-read transforms. Also say whether the ovstage path is affected, since the new test only runs the legacy stage mode.
- 520 frames is a long sim loop, but it's intrinsic to the regression. One sentence in the description would preempt pushback, e.g. "520 frames is the minimum that crosses eco mode's 500-frame idle limit. Only OVRTX runs it, on one stage mode with 2 envs."
|
I am not sure we have to merge this PR, since a tiny fix is made to OVRTX is fix this; Better to wait for this fix? Otherwise I would suggest we reduce this to a tiny one liner that disables ECO mode, all these LLM reviews about making a reproducible test case here sounds silly, such a test does NOT belong in IsaacLab, but in Kit/OVRTX. |
RTX eco mode is on by default and pauses rendering after 500 frames without a detected scene change. OVRTX does not detect transform-only updates read from GPU (read_gpu_transforms, the Isaac Lab default), so camera outputs freeze after 500 frames even though the scene moves.
Add a long-motion case to the shared rigid-object rendering contract: the object moves every frame for 520 frames, and every camera's rgb output must still change between the last two frames. It checks rgb because RTX eco mode freezes color output while depth keeps updating. The OVRTX adapter runs it. Without the eco-mode fix it fails with frozen rgb in every camera.
Drop the 520-frame rendering test and the shared contract refactor: the freeze is an ovrtx regression, and its regression test belongs in ovrtx. Shorten the workaround comment, and drop the string assertion. The parsed Minimal-mode assertion covers the same line, because it applies to every render mode.
b5758bc to
43c642e
Compare
|
run-ci |
#8302) (#8434) # 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_ov` changelog fragment. ## Type of change - Bug fix (non-breaking change which fixes an issue) - Release backport ## Release backport - [x] Not applicable: this PR targets `release/3.0.0` directly. ## Screenshots Not applicable. ## Validation - Temporarily removed the eco-mode setting and ran `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. - Restored the fix and ran `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 -f` passed using a temporary local validation ref at the current `upstream/release/3.0.0` tip; the ref was removed immediately afterward. - The original PR also validated Isaac-Cartpole-Camera with OVRTX 0.5.0 for 700 steps at 1024 environments: output froze near step 505 without the fix and continued updating through step 700 with it. ## Checklist - [x] I have read and understood the contribution guidelines. - [x] I have run the pre-commit checks. - [x] Documentation changes are not required for this focused workaround. - [x] My changes generate no new warnings. - [x] I have validated the changed behavior with focused regression coverage. - [x] I have added the required `isaaclab_ov` changelog fragment. - [x] The original author's name already exists in `CONTRIBUTORS.md`. Original PR: #8302 Cherry-picked commit: `c291d9a3f0058657a384c4bc9a6a2850fdd364d1` Backport commit: `85b512b1fcb5aff0bca61f602e0f12e634765dca` Co-authored-by: Peter Verswyvelen <[email protected]> Co-authored-by: pv-nvidia <[email protected]>
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 https://github.com/NVIDIA-Omniverse/kit/pull/1806. Once an ovrtx release with that fix is in use, this setting can be reverted.
Type of change
Release backport
developValidation
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.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.Checklist
pre-commitchecks withuv run isaaclab --formatsource/<pkg>/changelog.d/for every touched package (do not editCHANGELOG.rstor bump package versions — CI handles that)CONTRIBUTORS.mdor my name already exists there