Skip to content

Run the Fabric Hierarchy update after seeding Fabric frame views - #8739

Merged
pv-nvidia merged 4 commits into
isaac-sim:mainfrom
pv-nvidia:pv/fix-fabric-hierarchy-update-after-seed
Oct 20, 2026
Merged

pv-nvidia merged 4 commits into
isaac-sim:mainfrom
pv-nvidia:pv/fix-fabric-hierarchy-update-after-seed

Conversation

@pv-nvidia

@pv-nvidia pv-nvidia commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Description

With PhysX and a camera that Kit does not render (for example the Newton Warp renderer), every camera whose environment resets moves to its env-local pose. The camera then renders an empty floor instead of its environment. Training runs are affected after the first episode.

Fabric frame views seed their transforms with usdrt's *XformFromUsd helpers, which write legacy transform attributes. Only the host Fabric Hierarchy update turns these into the omni:fabric matrices, and Kit runs that update every frame only when the Fabric Scene Delegate is on. The headless experience has it off. PhysX's GPU hierarchy update then rebuilt the environment prims from identity local matrices.

This PR runs the host Fabric Hierarchy update once after each Fabric xform selection seeds its transforms.

It replaces #8682.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Release backport

  • Backport this pull request to the active release branch after it merges into develop

release/3.0.0 needs its own PR, because its PhysxManager.play() differs.

Validation

Isaac-Lift-KukaAllegro-Camera, PhysX, Newton Warp renderer, 8192 environments, RTX A6000:

  • On c8a06a87c, after all environments reset, all 8192 cameras are correct in training and in the summary benchmark mode.
  • On the current develop, no camera falls back to its env-local pose anymore. A separate regression on develop assigns cameras to the wrong environments, with or without this PR. It also happens with the Fabric Scene Delegate on.
  • The new test test_hierarchy_update_keeps_seeded_world_poses fails without the fix and passes with it.
  • The Fabric frame view tests, the RTX rigid object rendering tests, the First reset camera observation remains stale on Isaac Sim 6.1 #8428 first-frame tests, the simulation context tests, and the Kit pause/resume tests pass.
  • Startup cost: the runtime benchmark (isaaclab.benchmark.entrypoints.runtime --benchmark_formatter json --num_envs 8192 --num_steps 300 --warmup_steps 50 --seed 42 presets=isaacsim_physx, two runs each) reported a "simulation start" time of 110.9 s and 112.1 s on c8a06a87c. With the host update (a5211fa0d), it reported 113.8 s and 113.6 s. FPS and peak memory stayed within run-to-run noise.

Checklist

  • I have read and understood the contribution guidelines
  • I have run the pre-commit checks with uv run isaaclab --format
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have validated the changed behavior with focused coverage and applied the test-audit criteria to any test changes
  • 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)
  • I have added my name to the CONTRIBUTORS.md or my name already exists there

@pv-nvidia
pv-nvidia requested a review from a team October 19, 2026 20:51
@github-actions github-actions Bot added bug Something isn't working isaac-lab Related to Isaac Lab team labels Oct 19, 2026
@pv-nvidia
pv-nvidia marked this pull request as draft October 19, 2026 20:51
@pv-nvidia

Copy link
Copy Markdown
Contributor Author

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 Oct 19, 2026

@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

Needs attention: Implementation (1), Style consistency (1). Other reviewed categories look good.

  • PR description: The title and body match the five-file diff; substantiate the two-second startup claim with exact baseline and candidate revisions, command, warmup, and startup metric methodology.
  • 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: The full-stage hierarchy update runs even when construction seeds no transforms, adding avoidable startup work; track whether any helper seeded a matrix and update only then.
  • Style consistency: The new constraint comment uses the undefined acronym “FSD”; spell out “Fabric Scene Delegate” as the adjacent changelog does.
  • Test quality: Test quality looks good.

Minor fixes needed. Posted 2 inline findings.

Automated review; human maintainers own approval decisions.

@greptile-apps

greptile-apps Bot commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; no actionable defects were found.

Summary

Runs the host Fabric Hierarchy update after frame views seed their transforms. This fills the hierarchy matrices before later GPU updates, including when the Fabric Scene Delegate is off.

  • Fabric frame views keep seeded poses through later hierarchy updates.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart LR
  A[Seed transforms from USD] --> B[Run host Fabric Hierarchy update]
  B --> C[Build frame view selections]
  C --> D[Later GPU hierarchy updates]
  D --> E[Keep camera world positions]
Loading

Reviews (2) · Last reviewed commit: "Run the Fabric Hierarchy update for ever..." · Reviewed by Greptile

usdrt's *XformFromUsd helpers write legacy transform attributes. Only the
host Fabric Hierarchy update converts them into the omni:fabric matrices, and
Kit runs that update per frame only with the Fabric Scene Delegate. Without
it, PhysX's GPU hierarchy update recomposed the environment prims from
identity local matrices, so cameras of reset environments moved to their
env-local pose.

The selection now runs the host update once after seeding. This makes the
second Kit update at simulation start unnecessary. The Fabric re-attach
stays for timeline resumes (isaac-sim#4279).
Skip the full-stage host update for selections that seed nothing, for example
an empty view or a view whose prims already carry both matrices. Spell out the
Fabric Scene Delegate in the comment.
Without it, the RTX renderer draws root-scaled kinematic rigid objects with the
wrong scale (test_kinematic_rigid_object_scale_and_pose_are_rendered). The host
Fabric Hierarchy update alone fixes the camera reset bug.
@pv-nvidia
pv-nvidia force-pushed the pv/fix-fabric-hierarchy-update-after-seed branch from cbdb3a6 to e4ecc68 Compare October 20, 2026 13:24
The update now runs whether or not the selection seeded transforms, so a
selection behaves the same regardless of what another system authored before.
@pv-nvidia

Copy link
Copy Markdown
Contributor Author

run-ci

@pv-nvidia
pv-nvidia marked this pull request as ready for review October 20, 2026 15:42
@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 Oct 20, 2026
@pv-nvidia
pv-nvidia merged commit 1d1ed59 into isaac-sim:main Oct 20, 2026
92 of 93 checks passed
pv-nvidia added a commit to pv-nvidia/pv-isaac-lab that referenced this pull request Oct 22, 2026
usdrt's *XformFromUsd helpers write legacy transform attributes. Only the
host Fabric Hierarchy update converts them into the omni:fabric matrices, and
Kit runs that update per frame only with the Fabric Scene Delegate. Without
it, PhysX's GPU hierarchy update recomposed the environment prims from
identity local matrices, so cameras of reset environments moved to their
env-local pose.

Release counterpart of isaac-sim#8739.
kellyguo11 pushed a commit that referenced this pull request Oct 26, 2026
#8760)

# Description

This is the release counterpart to #8433 and #8739.

On `release/3.0.0`, PhysX camera tasks have two camera pose problems:

- When the benchmark loads the RTX renderer at runtime (`summary` or
`omniperf` formatter), cameras with the Newton Warp renderer sit at the
world origin and render empty images. Benchmark FPS for these tasks is
therefore too high. With 8192 environments, the render step takes 12.6
ms instead of about 140 ms.
- The first camera observation after a reset shows the poses from before
the reset (#8428).

Both come from the Fabric re-attach in `PhysxManager.play()` at
simulation start. This PR:

- Backports #8433: `play()` re-attaches Fabric only after a timeline
resume (#4279), not at simulation start. At simulation start, it runs
one extra Kit update instead. #8433 also refreshes nine task rendering
goldens (cartpole, Cartpole-Camera-Direct,
Reorient-Cube-Shadow-Camera-Direct, and shadow hand) and the cartpole
`physx-kit-tiled` visualizer golden.
- Backports #8739: Fabric frame views run the host Fabric Hierarchy
update once after they seed their transforms. Without it, removing the
re-attach makes every camera of a reset environment move to its
env-local pose when the Fabric Scene Delegate is off.

## Type of change

- Bug fix (non-breaking change which fixes an issue)

## Validation

Tested on an RTX A6000 with `Isaac-Lift-KukaAllegro-Camera`, PhysX, the
Newton Warp renderer, and 8192 environments:

- After all environments reset, all 8192 cameras are correct in
training.
- In the `summary` benchmark mode, all 8192 cameras are correct. On the
unchanged release, all 8192 sit at the world origin.
- The new test `test_hierarchy_update_keeps_seeded_world_poses` fails
without the fix and passes with it.
- The Fabric frame view tests, the RTX rigid object rendering tests, the
#8428 first-frame tests, the simulation context tests, and the Kit
pause/resume tests pass.

The play() change makes two release tests need an update:

- `test_visualizer_golden[physx-anymal_d-kit-tiled]` now captures the
robots after the reset events. This PR uses the golden from `main`,
which also has the 6.2 checkerboard refresh (#8684).
- On CPU, the Kit update at simulation start runs one more physics step
before the first test step. The finite-difference acceleration in the
PhysX `test_gravity_vec_w` tests then misses 9.81 by 2.7e-5. These tests
now allow `atol=1e-4`. GPU runs the same number of steps as before.

This PR also updates
`test_published_wheel_docs_cover_one_off_and_managed_uv_workflows`.
#8738 pinned Python 3.12 in the release `uvx` commands, but not in this
test, so the core tests failed for every release PR.

#8739 is still open on `main`. This PR carries its final change.

## 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
- [ ] 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

---------

Signed-off-by: JF Lafleche <[email protected]>
Co-authored-by: JF Lafleche <[email protected]>
Co-authored-by: pv-nvidia <[email protected]>
Co-authored-by: Octi Zhang <[email protected]>
Yanbo-Zhu pushed a commit to Yanbo-Zhu/IsaacLab that referenced this pull request Nov 6, 2026
isaac-sim#8760)

# Description

This is the release counterpart to isaac-sim#8433 and isaac-sim#8739.

On `release/3.0.0`, PhysX camera tasks have two camera pose problems:

- When the benchmark loads the RTX renderer at runtime (`summary` or
`omniperf` formatter), cameras with the Newton Warp renderer sit at the
world origin and render empty images. Benchmark FPS for these tasks is
therefore too high. With 8192 environments, the render step takes 12.6
ms instead of about 140 ms.
- The first camera observation after a reset shows the poses from before
the reset (isaac-sim#8428).

Both come from the Fabric re-attach in `PhysxManager.play()` at
simulation start. This PR:

- Backports isaac-sim#8433: `play()` re-attaches Fabric only after a timeline
resume (isaac-sim#4279), not at simulation start. At simulation start, it runs
one extra Kit update instead. isaac-sim#8433 also refreshes nine task rendering
goldens (cartpole, Cartpole-Camera-Direct,
Reorient-Cube-Shadow-Camera-Direct, and shadow hand) and the cartpole
`physx-kit-tiled` visualizer golden.
- Backports isaac-sim#8739: Fabric frame views run the host Fabric Hierarchy
update once after they seed their transforms. Without it, removing the
re-attach makes every camera of a reset environment move to its
env-local pose when the Fabric Scene Delegate is off.

## Type of change

- Bug fix (non-breaking change which fixes an issue)

## Validation

Tested on an RTX A6000 with `Isaac-Lift-KukaAllegro-Camera`, PhysX, the
Newton Warp renderer, and 8192 environments:

- After all environments reset, all 8192 cameras are correct in
training.
- In the `summary` benchmark mode, all 8192 cameras are correct. On the
unchanged release, all 8192 sit at the world origin.
- The new test `test_hierarchy_update_keeps_seeded_world_poses` fails
without the fix and passes with it.
- The Fabric frame view tests, the RTX rigid object rendering tests, the
isaac-sim#8428 first-frame tests, the simulation context tests, and the Kit
pause/resume tests pass.

The play() change makes two release tests need an update:

- `test_visualizer_golden[physx-anymal_d-kit-tiled]` now captures the
robots after the reset events. This PR uses the golden from `main`,
which also has the 6.2 checkerboard refresh (isaac-sim#8684).
- On CPU, the Kit update at simulation start runs one more physics step
before the first test step. The finite-difference acceleration in the
PhysX `test_gravity_vec_w` tests then misses 9.81 by 2.7e-5. These tests
now allow `atol=1e-4`. GPU runs the same number of steps as before.

This PR also updates
`test_published_wheel_docs_cover_one_off_and_managed_uv_workflows`.
isaac-sim#8738 pinned Python 3.12 in the release `uvx` commands, but not in this
test, so the core tests failed for every release PR.

isaac-sim#8739 is still open on `main`. This PR carries its final change.

## 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
- [ ] 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

---------

Signed-off-by: JF Lafleche <[email protected]>
Co-authored-by: JF Lafleche <[email protected]>
Co-authored-by: pv-nvidia <[email protected]>
Co-authored-by: Octi Zhang <[email protected]>
Yanbo-Zhu pushed a commit to Yanbo-Zhu/IsaacLab that referenced this pull request Nov 7, 2026
isaac-sim#8760)

# Description

This is the release counterpart to isaac-sim#8433 and isaac-sim#8739.

On `release/3.0.0`, PhysX camera tasks have two camera pose problems:

- When the benchmark loads the RTX renderer at runtime (`summary` or
`omniperf` formatter), cameras with the Newton Warp renderer sit at the
world origin and render empty images. Benchmark FPS for these tasks is
therefore too high. With 8192 environments, the render step takes 12.6
ms instead of about 140 ms.
- The first camera observation after a reset shows the poses from before
the reset (isaac-sim#8428).

Both come from the Fabric re-attach in `PhysxManager.play()` at
simulation start. This PR:

- Backports isaac-sim#8433: `play()` re-attaches Fabric only after a timeline
resume (isaac-sim#4279), not at simulation start. At simulation start, it runs
one extra Kit update instead. isaac-sim#8433 also refreshes nine task rendering
goldens (cartpole, Cartpole-Camera-Direct,
Reorient-Cube-Shadow-Camera-Direct, and shadow hand) and the cartpole
`physx-kit-tiled` visualizer golden.
- Backports isaac-sim#8739: Fabric frame views run the host Fabric Hierarchy
update once after they seed their transforms. Without it, removing the
re-attach makes every camera of a reset environment move to its
env-local pose when the Fabric Scene Delegate is off.

## Type of change

- Bug fix (non-breaking change which fixes an issue)

## Validation

Tested on an RTX A6000 with `Isaac-Lift-KukaAllegro-Camera`, PhysX, the
Newton Warp renderer, and 8192 environments:

- After all environments reset, all 8192 cameras are correct in
training.
- In the `summary` benchmark mode, all 8192 cameras are correct. On the
unchanged release, all 8192 sit at the world origin.
- The new test `test_hierarchy_update_keeps_seeded_world_poses` fails
without the fix and passes with it.
- The Fabric frame view tests, the RTX rigid object rendering tests, the
isaac-sim#8428 first-frame tests, the simulation context tests, and the Kit
pause/resume tests pass.

The play() change makes two release tests need an update:

- `test_visualizer_golden[physx-anymal_d-kit-tiled]` now captures the
robots after the reset events. This PR uses the golden from `main`,
which also has the 6.2 checkerboard refresh (isaac-sim#8684).
- On CPU, the Kit update at simulation start runs one more physics step
before the first test step. The finite-difference acceleration in the
PhysX `test_gravity_vec_w` tests then misses 9.81 by 2.7e-5. These tests
now allow `atol=1e-4`. GPU runs the same number of steps as before.

This PR also updates
`test_published_wheel_docs_cover_one_off_and_managed_uv_workflows`.
isaac-sim#8738 pinned Python 3.12 in the release `uvx` commands, but not in this
test, so the core tests failed for every release PR.

isaac-sim#8739 is still open on `main`. This PR carries its final change.

## 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
- [ ] 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

---------

Signed-off-by: JF Lafleche <[email protected]>
Co-authored-by: JF Lafleche <[email protected]>
Co-authored-by: pv-nvidia <[email protected]>
Co-authored-by: Octi Zhang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working isaac-lab Related to Isaac Lab team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants