Skip to content

[Backport] PR #8684 to release/3.0.0 - #8685

Merged
kellyguo11 merged 3 commits into
isaac-sim:release/3.0.0from
kellyguo11:codex/backport-8684-release-3.0.0
Oct 16, 2026
Merged

kellyguo11 merged 3 commits into
isaac-sim:release/3.0.0from
kellyguo11:codex/backport-8684-release-3.0.0

Conversation

@kellyguo11

Copy link
Copy Markdown
Contributor

Description

Backports #8684 to release/3.0.0.

Fresh asset downloads use the checkerboard textures currently published with Isaac Sim 6.2. This updates the existing ground-texture contract and refreshes the affected KUKA and visualizer golden images. Runtime code, scene configuration, comparison tolerances, and appearance-independent references are unchanged.

Source commit: 892d05eafed48643ad1f8329de4700ac9509721f

Type of change

  • Test reference and asset-contract maintenance

Validation

  • Changed-file pre-commit hooks passed; the changelog hook was run separately against upstream/release/3.0.0 because this release lockfile does not support the local Apple Silicon platform.
  • Changelog gate passed for all three touched packages.
  • Git LFS pointer checks and git lfs fsck passed.
  • All 47 changed PNGs opened successfully and retained their dimensions, modes, and RGBA alpha channels.
  • The backported file contents match the source PR commit exactly.
  • GPU renderer coverage will run in PR CI after the run-ci trigger.

Checklist

  • I have read and understood the contribution guidelines.
  • I have run the applicable pre-commit checks.
  • No documentation changes are required.
  • The changed tests retain their existing assertions, scenes, and tolerances; no duplicate coverage was added.
  • I have added test-only changelog fragments for every touched package.
  • My name already exists in CONTRIBUTORS.md.

@kellyguo11

Copy link
Copy Markdown
Contributor Author

run-ci

@github-actions github-actions Bot added the isaac-lab Related to Isaac Lab team label Oct 16, 2026
@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 16, 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

All reviewed code categories look good.

  • PR description: The description matches the visible diff and makes no performance claim; source-commit identity is author-reported validation not independently established by the supplied patch.
  • 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: Style consistency looks good.
  • Test quality: Test quality looks good.

No blocking issues. No inline findings.

Automated review; human maintainers own approval decisions.

@greptile-apps

greptile-apps Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

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

Summary

Updates the ground-texture test and 47 golden images for the published Isaac Sim 6.2 checkerboard.

  • Ground-texture tests and image references now match Isaac Sim 6.2.

Reviews (1) · Last reviewed commit: "Refresh rendering references for the pub..." · Reviewed by Greptile

@kellyguo11

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 16, 2026
@kellyguo11

Copy link
Copy Markdown
Contributor Author

CI monitoring update for 9025a00af320970f819258d516870df4f6fec222:

  • 50 checks passed; 6 were skipped by workflow conditions.
  • The release-specific KUKA OVRTX and ANYmal-D visualizer conflicts were refreshed from the first run's native x86 CI captures. Both rendering-correctness-kitless (legacy) and isaaclab_visualizers now pass.
  • The only remaining failure is ARM CI: the homogeneous KUKA OVRTX/albedo and Newton-renderer comparisons. The same four cases also fail on the unchanged source commit in #8684 ARM CI, so no backport-specific failures remain.

@kellyguo11
kellyguo11 merged commit b770aab into isaac-sim:release/3.0.0 Oct 16, 2026
59 of 60 checks passed
pv-nvidia added a commit to pv-nvidia/pv-isaac-lab that referenced this pull request Oct 22, 2026
On GPU PhysX, the first camera observation from `env.reset()` showed
rigid bodies at their spawn pose. The state observations were correct. A
physics step made the image correct.

Fixes isaac-sim#8428. This PR includes the regression test from isaac-sim#8427 (commit by
@Jean-Francois-Lafleche).

The renderer is correct. Fabric is stale. After the first `env.reset()`
on `cuda:0`, the cube has these x positions:

| Source | x [m] |
| --- | --- |
| PhysX tensor view (`root_view.get_transforms()`) | -0.20 (reset pose)
|
| Fabric `omni:fabric:worldMatrix` | -0.35 (spawn pose) |
| Rendered silhouette | spawn pose |

The cause is the Fabric re-synchronization in `PhysxManager.play()`
(isaac-sim#5178, isaac-sim#5610). The sequence is:

1. `SimulationContext.reset()` calls `PhysxManager.play()` on the
initial stop-to-play transition.
2. `play()` calls `_sync_fabric_after_resume()`, which detaches and
re-attaches the `omni.physx.fabric` stage.
3. After the re-attach, `force_update()` ignores poses written through
the GPU tensor API until the next `simulate()`.
4. `ManagerBasedEnv.reset()` writes the reset pose through the GPU
tensor API. `forward()` calls `force_update()`, but Fabric keeps the
spawn pose.

These checks confirm the sequence:

* With `_re_sync_fabric()` disabled, the first reset frame shows the
reset pose at step 0.
* A raw `simulate()` before `env.reset()` also fixes the frame. The same
call at the end of `PhysxManager.reset()`, before `play()`, does not.
* `fabric.update()`, `fabricUseGPUInterop=false`, and an extra
detach/attach with `force_update()` do not fix the frame.
* The CPU pipeline is not affected.
* After the first physics step, later resets publish correctly without a
step. This is why the test from isaac-sim#7891 passes.

`PhysxManager.play()` now re-syncs Fabric only when the timeline resumes
from pause. A fresh stop-to-play transition does not need the isaac-sim#4279
workaround.

The isaac-sim#4279 workaround is still necessary on Isaac Sim 6.1. With the
re-sync removed completely, the Kit pause/resume test fails: the robot
stays frozen after resume (12 changed pixels, at least 100 required).

This PR avoids the defect at start-up only. The defect itself is in
`omni.physx.fabric` 110.3.2. After `detach_stage()` and
`attach_stage()`, `force_update()` does not publish GPU tensor API pose
writes until the next `simulate()`. The `force_update()` docstring says
that it updates Fabric "even if simulation did not run", so this
behavior is a PhysX defect. Thus, this sequence still returns a stale
first frame:

```python
sim.pause()
sim.play()      # re-attaches Fabric
env.reset()     # reset poses do not reach Fabric before a physics step
```

A PhysX ticket for this defect will be filed and linked in isaac-sim#8428. When
PhysX fixes it, Isaac Lab can remove the re-sync condition in `play()`.
If PhysX also fixes the isaac-sim#4279 resume freeze, Isaac Lab can remove the
detach/attach workaround.

Isaac Sim 6.1.0.0, RTX A6000, driver 595.91.07:

| Test | Before | After |
| --- | --- | --- |
| `test_first_frame_textured_rendering.py` | first-reset test failed
(IoU 0.370) | 2 passed |
| `test_visualizer_integration_physx.py` (Kit pause/resume, isaac-sim#4279) | — |
passed |
| `test_simulation_context.py` | — | 26 passed |
| `test_simulation_context_kit.py` | — | 4 passed |

`test_visualizer_tiled_integration_physx.py` fails in my container with
`Canvas must be an instance of HeadlessCanvas` (pyglet). It fails the
same way without this change.

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

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

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

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

Conflict: source/isaaclab_visualizers/test/golden_images/anymal_d/physx-kit-tiled.png keeps the
release version. The release refreshed this golden for the published 6.2 checkerboard (isaac-sim#8685),
and the version from PR 8433 predates that refresh. The test
test_visualizer_golden[physx-anymal_d-kit-tiled] passes with the kept golden.

---------

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]>
(cherry picked from commit 4eccae0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

isaac-lab Related to Isaac Lab team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants