Skip to content

[6Aiv] Share GPU image views across visualizer windows - #8432

Merged
ooctipus merged 8 commits into
isaac-sim:developfrom
ooctipus:refactor/pr6aiv-shared-image-views
Oct 11, 2026
Merged

ooctipus merged 8 commits into
isaac-sim:developfrom
ooctipus:refactor/pr6aiv-shared-image-views

Conversation

@ooctipus

@ooctipus ooctipus commented Oct 9, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Visualizers now consume simulation-owned ImageViewCfg selections. Windows sharing a scene-camera view reuse one GPU composition and cached host readback; sensors retain their resolution, outputs, and capture cadence. Perspective views retain one rendering owner, reuse capture storage, and detach their callback when that viewer closes. RTX copies mapped native output into owned GPU storage before releasing the mapping.

Kit camera defaults are established once; camera-panel setup and updates stay directly in their lifecycle methods. Five unused or forwarding helpers were removed.

This also fixes frozen headless --video viz:newton_gl:streaming_view clips: image caching follows the physics step, independent of viewer updates. A regression changes camera pixels over three physics steps without advancing the viewer and checks both fresh recorded frames and repeated-read caching.

Camera binding stays in simulation initialization. Image processing moves out of environment utilities. Existing camera configurations and recording source strings remain supported. The RST migration guide covers public window settings.

view = ImageViewCfg(source="front_camera", envs=(0, 2), channels=("rgb", "depth"))
viewer = NewtonGLVisualizerCfg(view=view, window=WindowCfg(size=(1280, 720)))

Recording declarations, headless producer selection, and removal of CPU recording colorization are in 6Av, #8457. This PR is independent of that follow-up: 36 files, +1123 / −1025.

Previously measured image-path performance

Consumers / channels Tiles Before → after, ms/frame
One window / RGB 16 0.050 → 0.052
Two windows / RGB + depth 16 0.137 → 0.080

GPU0 RTX 5090, Threadripper PRO 7965WX; 640×480 synthetic, already-published GPU tiles. Compared 74303febb with pre-split 8e17a1165; the window image path is unchanged by the split. Three runs per revision, 30 warmups and 100 CUDA-synchronized frames each; median of run medians. Pixels matched. Physics, sensor rendering, display blit, recording, and startup are excluded. Single-window composition is essentially unchanged; the benefit is avoiding repeated composition for shared windows. The recording measurements are retained in 6Av; startup measurements remain in #8303.

Validation

  • CI follow-up: the marker fixture now binds its perspective image view; the quaternion sign test explicitly covers zero scalar components, which are valid. Both full files passed locally (31 marker tests under Kit and 240 math tests, GPU0 only). Production code is unchanged by these fixes.
  • 99 focused checks passed after the test audit: simulation initialization, shared images, and Newton adapters. Camera-pose checks share their existing lifecycle fixtures; image-layout and depth-range checks now live with the shared image owner. This removed 23 test lines without production changes. Four deliberate owner mutations were caught by the retained tests.
  • The frozen headless recording, perspective refresh, GPU channel-layout validation, CUDA capture, and copy/replace/pickle regressions remain covered. Formatting and changelog checks passed. The preceding clean, warning-free Sphinx build remains applicable; this audit changed only tests. GPU checks used GPU0 only.
  • Four native RTX sky/background cases were excluded locally because the prior baseline reproduced a stall in ovrtx.Renderer.attach_ovstage(). No new skips were added. The two existing lit-case skips remain pending shared-renderer integration after Newton [Bug Report] ValueError: Could not find module file for: 'isaaclab_tasks.manager_based.manipulation.pick_place.agents' #4627. The prior native RTX integration run timed out locally after 180 seconds; full native validation remains with CI.

Type of change

  • Bug fix
  • New feature
  • Documentation update

Release backport

  • Backport to the active release branch

Checklist

  • Read the contribution guidelines and audited the changed tests
  • Ran formatting, focused tests, changelog checks, and a clean documentation build
  • Updated public documentation and package changelog fragments
  • Contributor already listed
  • Pass full CI

@ooctipus
ooctipus requested a review from a team October 9, 2026 18:57
@github-actions github-actions Bot added documentation Improvements or additions to documentation isaac-lab Related to Isaac Lab team labels Oct 9, 2026
@ooctipus

ooctipus commented Oct 9, 2026

Copy link
Copy Markdown
Collaborator 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 9, 2026
@greptile-apps

greptile-apps Bot commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 1/5

[High impact] Refactors visualizer initialization and image view sharing across windows and recording.

Fix the recording regressions and the broken gallery capture tool before merging.

Findings

  1. P1 Recording loses its viewer ▶
  2. P1 Ray-camera recording breaks ▶
  3. P1 Recording errors stop training ▶

Summary

Adds simulation-owned ImageView frames shared by windows and video recorders.

  • Windows and recorders now share one selected image view.
  • Newton GL and RTX now switch between scene cameras and perspective views.
  • Camera navigation now reads and updates live sensor poses.
  • Visualizers now get their simulation owner directly.
  • Updated visualizer and scene configuration now describes the new camera-view setup.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart LR
  C[Scene camera] --> V[Simulation-owned ImageView]
  P[Perspective viewer] --> V
  V --> G[Shared device image]
  G --> W[Window]
  G --> H[Cached host readback]
  H --> R[Video recorder]
Loading

Reviews (1) · Last reviewed commit: "Share GPU image views between windows an..." · Reviewed by Greptile

Comment on lines +217 to +220
owners = [cfg for cfg in visualizer_cfgs if cfg.window is not None and cfg.window.view is recorder.view]
if len(owners) != 1:
raise ValueError("A recorded perspective view requires exactly one configured visualizer.")
video_visualizers.append(owners[0].visualizer_type)

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 Recording loses its viewer

_resolve_video_sources finds the recorded perspective view's owner by identity, but keeps only its visualizer_type. During headless launch, resolve_visualizer_cfgs picks the first configured viewer of that type. If an unrelated newton_gl viewer comes before the owner, the launcher drops the owner. Recording then stops because the shared view has no rendering callback.

Preserve the actual owner when selecting headless viewers.

Comment on lines +135 to +137
if cfg is not None:
view = sim.get_image_view(cfg)
return lambda: view.read_rgb(sim.get_physics_step_count())

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 Ray-camera recording breaks

Legacy recording such as source="sensor:ray_camera:depth" previously read and colorized the sensor's distance_to_image_plane output. The new path uses get_camera_sensors, which excludes ray-caster cameras because they are not Camera instances. The first recording step now raises ValueError instead of recording the image.

Keep camera-like sensors supported when binding legacy sensor sources.

Comment on lines +109 to +111
if self._capture is None:
self._capture = self._bind_source()
frame = self._capture()

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 Recording errors stop training

For an RGB-only camera recorded with source="sensor:front:depth", ImageView.read raises KeyError when selecting channels. _get_frame catches only RuntimeError, so the error now escapes the recorder and aborts the environment step. The previous sensor reader converted missing-output errors to RuntimeError and stopped only the recording.

Convert expected binding and channel errors to RuntimeError, or catch them here, to preserve that log-and-stop behavior.

@greptile-apps

greptile-apps Bot commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

Comments Outside Diff

These findings could not be posted inline.

  • P1 Gallery capture cannot start source/isaaclab/isaaclab/envs/utils/camera_colorizer.py:68 ▶

    Deleting camera_colorizer.py breaks capture_renderer_gallery.py. Its _capture function still imports CameraFrameColorizer unconditionally and uses it for depth, normals, and segmentation. Every capture now fails at that import, including RGB-only captures.

    Migrate this caller to the shared composition code before removing the module.

@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: Design and architecture (1), Compatibility and deprecation (4), Implementation (2), Style consistency (3), Test quality (1). Other reviewed categories look good.

  • PR description: Update stale 33-file/+903/−933 scope to 65 files/+2246/−3116, enumerate breaking migrations, and substantiate composition claims with baseline/candidate revisions, command, hardware, backend, env count, warmup, allocations, copies, and readback.
  • Design and architecture: ImageViewCfg.deepcopy globally aliases mutable state instead of using borrowed fields, making unrelated deep copies share selections; mark consumer view fields as borrowed and remove the override.
  • Scope and over-engineering: No over-engineering issues.
  • API: API changes look good.
  • Compatibility and deprecation: Breaking changes: BaseVisualizer.initialize, background_color, display helpers, and Newton RTX config fields lack functional deprecated behavior, targeted warnings, migration guidance, removal guidance, and transition coverage.
  • Implementation: Shared-view binding normalizes neither launcher collections nor recorder exceptions, causing TypeError or uncaught ValueError and KeyError; normalize inputs and translate binding failures at both boundaries.
  • Style consistency: Feature-specific architecture rules are duplicated into AGENTS.md instead of the contribution guide, creating competing policy owners; move them to the maintained guide and remove the duplication.
  • Test quality: The added deletion-inventory assertions protect removed names rather than behavior and block required compatibility shims; delete them and retain the frame-sharing contract checks.

Significant concerns. Posted 11 inline findings.

Automated review; human maintainers own approval decisions.

Comment thread AGENTS.md Outdated
@@ -21,6 +21,18 @@ The guide owns shared contribution rules. Update them there instead of copying t
- Preserve unrelated workspace changes and do not commit generated plans, scratch files, or agent artifacts.
- Use the repository's current SPDX header template for new source files; do not change existing file headers.
- Follow the existing style and abstractions in the affected package.
- Keep visualizer backend construction and rebinding in its implementation. Core initialization and

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 · Style Consistency — Feature rules added to AGENTS.md

These twelve visualizer and OV-specific design rules contradict line 16, which assigns shared contribution rules to the contribution guide. Move durable guidance into docs/source/refs/contributing.rst and drop the rest.

visualization markers, live plots, and pause rendering. All are available in the other
visualizers. The streaming camera panel's live on-screen preview is also unavailable, but
headless streaming capture (e.g. for :class:`~isaaclab.envs.VideoRecorderCfg`) works.
live plots and rigid-body dragging. Visualization markers, camera selection, scene-camera

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 · Style Consistency — RTX capability text contradicts table

This now claims RTX supports visualization markers, scene-camera display, and pause controls, while the unchanged feature table below still marks all three unsupported for Newton RTX. Update the table.

if recorder.view is not None:
if isinstance(recorder.view.source, str):
continue
owners = [cfg for cfg in visualizer_cfgs if cfg.window is not None and cfg.window.view is recorder.view]

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 — Non-list visualizer_cfgs raises TypeError

visualizer_cfgs is still unnormalized here and may be a single cfg or None, as resolve_visualizer_cfgs and the visualizer test helpers allow, so this comprehension raises TypeError. Normalize before iterating.

class CameraFrameColorizer:
"""Colorize raw camera sensor frames for streaming display.

Each method accepts a single-env frame tensor ``(H, W, C)`` and returns a

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 · Compatibility — Public display helpers removed outright

camera_colorizer, referenced from the VisualizerCfg docstring, plus camera_view's camera_gt_batch, camera_rgb_batch, compose_streaming_grid, and compose_rgb_grid_tensor are deleted with no shim. Keep deprecated importable aliases through the removal window.

output = getattr(getattr(sensor, "data", None), "output", None)
if output is None:
if cfg is not None:
view = sim.get_image_view(cfg)

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 — Binding errors escape recorder handling

get_image_view raises ValueError for an unknown camera name and ImageView.read raises KeyError for a missing channel, but _get_frame catches only RuntimeError, so a misconfigured view aborts env.step().

from ..envs.utils.camera_view import image_grid_columns, sensor_key_for_gt_type
from ..utils import validate
from ..utils.buffers import TimestampedBuffer
from ..utils.images import _resize_rgba_image, compose_image

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 · Style Consistency — Private kernel imported across modules

_resize_rgba_image is underscore-private to utils/images.py but is launched from this module, contrary to the guide's file-local private convention. Give it a public name beside compose_image, or keep the resize in images.py.

depth_range: tuple[float, float] = (0.1, 10.0)
"""Near and far limits [m] for depth colorization."""

def __deepcopy__(self, memo):

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 · Design Architecture — Use borrowed fields, not deepcopy

Returning self makes every copy.deepcopy of an enclosing config silently share this mutable selection for all callers. The repository's clone/replace already preserve fields explicitly marked as borrowed; mark view borrowed instead.

@@ -186,11 +253,11 @@ class VisualizerCfg:
focal_length: float = 12.0
"""Camera focal length in millimeters for visualizer camera views."""

background_color: tuple[float, float, float] | None = (0.30, 0.55, 0.82)
background_color: tuple[float, float, float] | None = None

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 · Compatibility — background_color default changes silently

Every configuration omitting background_color now renders the backend's native background instead of the documented sky blue, with no runtime warning. Keep the old default and warn before switching it.

from isaaclab.utils.warp import ProxyArray
from isaaclab.visualizers import GLWindowCfg, ImageViewCfg

assert find_spec("isaaclab.envs.utils.camera_colorizer") is None

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 · Test Quality — Deletion inventory asserts absent symbols

Asserting camera_colorizer is unimportable and four helper names are gone protects no behavior and would fail the deprecation shim these removals require. Delete them; the frame-sharing checks below own the contract.

:attr:`window_width` by :attr:`window_height`. The tiled camera panel remains
unsupported because ``ViewerRTX.log_image`` has no display sink.
@configclass
class NewtonRTXVisualizerCfg(_NewtonWindowCfg):

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 · Compatibility — RTX config drops inherited fields

Rebasing NewtonRTXVisualizerCfg on NewtonWindowCfg removes accepted rtx_environment, world_spacing, enable_picking, and show* arguments, so existing configs raise TypeError. Keep them accepted and ignored with a targeted FutureWarning during deprecation.

@ooctipus

ooctipus commented Oct 9, 2026

Copy link
Copy Markdown
Collaborator 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 9, 2026
@ooctipus

ooctipus commented Oct 9, 2026

Copy link
Copy Markdown
Collaborator 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 9, 2026
@ooctipus

ooctipus commented Oct 9, 2026

Copy link
Copy Markdown
Collaborator Author

run-ci

@isaaclab-bot isaaclab-bot Bot removed the ci:run-docker Trigger the on-demand Docker and GPU CI workflow label Oct 11, 2026
@ooctipus

Copy link
Copy Markdown
Collaborator 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 11, 2026
@ooctipus

Copy link
Copy Markdown
Collaborator 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 11, 2026
@ooctipus

Copy link
Copy Markdown
Collaborator 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 11, 2026
@ooctipus

Copy link
Copy Markdown
Collaborator 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 11, 2026
@ooctipus

Copy link
Copy Markdown
Collaborator 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 11, 2026
@ooctipus

Copy link
Copy Markdown
Collaborator 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 11, 2026
@ooctipus
ooctipus merged commit cfa9e35 into isaac-sim:develop Oct 11, 2026
59 checks passed
@ooctipus
ooctipus deleted the refactor/pr6aiv-shared-image-views branch October 11, 2026 07:06
ooctipus added a commit that referenced this pull request Oct 12, 2026
…8457)

# Description

Video recorders accept an `ImageViewCfg` or a source string through one
`source` field (default `"viz"`), consuming the same image selection as
a window, reusing its composed GPU frame and host readback. Sensor
recording uses the GPU image path, removing the duplicate CPU colorizer
and repeated source discovery. Existing `sensor:<name>` and
`viz:<type>[:streaming_view]` strings remain supported; recorders bind
their capture function after the initial simulation reset. Invalid
sources or channels fail during construction; empty warmup frames are
skipped.

Launch selects display and recording producers together. A perspective
recording retains its exact configured producer headlessly when `--viz`
does not select it, including when multiple viewers use the same
backend. Device handling stays at the launch boundary, and physics
configuration subclasses retain compatibility checks without class-name
guessing. Visualizer loading propagates ordinary Python import errors
without installation-hint wrappers. Viser initializes its native client
state directly, applies camera updates without capability probes, and
keeps only the pending pose needed while clients are disconnected. The
CLI defaults to an empty visualizer selection; CSV validation and
deprecated aliases remain supported.

```python
view = ImageViewCfg(source="front_camera", envs=(0, 2), channels=("rgb", "depth"))
viewer = NewtonGLVisualizerCfg(view=view, window=WindowCfg(size=(1280, 720)))
recording = VideoRecorderCfg(source=view)
```

Rebased onto merged #8432 (6Aiv). This PR now contains only 6Av: **48
files, +938 / −1,672 (734 fewer lines)** against `develop`.

## Previously measured recording performance

**Before the series → complete 6Aiv + 6Av implementation, ms/frame.
These are not incremental 6Av speedups.** Compared `74303febb` with
pre-split `8e17a1165`; the measured production paths are preserved by
this split.

| Consumers / channels | Tiles | Frame preparation | Preparation + RGB
byte packing |
|---|---:|---:|---:|
| One window / RGB | 16 | 0.050 → 0.052 | — |
| Two windows / RGB + depth | 16 | 0.137 → 0.080 | — |
| Sensor recorder / RGB | 1 | 1.179 → 0.146 | 1.198 → 1.164 |
| Sensor recorder / depth | 1 | 2.541 → 0.152 | 2.579 → 1.171 |
| Window + recorder / RGB | 16 | 17.838 → 1.356 | 18.844 → 17.650 |
| Window + recorder / RGB + depth | 16 | 45.279 → 19.480 | 55.453 →
52.108 |
| Two windows + recorder / RGB + depth | 16 | 54.126 → 20.560 | 63.343 →
53.271 |

GPU0 RTX 5090, Threadripper PRO 7965WX; 640×480 synthetic,
already-published RGBA8/depth GPU tiles. Three runs per revision in
balanced order, 30 warmups and 100 CUDA-synchronized frames per case;
median of run medians. Pixels matched. Preparation includes composition
and readback; the last column adds MoviePy's RGB byte packing, excluding
codec, disk I/O, sensor rendering, display, physics, and startup. Much
of the RGB acquisition saving moves to byte packing; this is not a claim
of comparable end-to-end encoding speedup.

## Visualizer test startup

Native RTX cases now run in their existing RTX integration file. Kit
viewport and tiled tests share one process, and the duplicate Kit-only
tiled scene is removed. Scenes still initialize and close independently.
This cleanup removes **83 lines**, preserving all **51 cases and CI
markers**, image tolerances, motion steps, and the two existing lighting
skips.

Passing CI runs, including the earlier 6Aiv baseline:

| Measurement | 6Aiv | 6Av before cleanup | 6Av after cleanup |
|---|---:|---:|---:|
| Full GitHub visualizer job | 13m37s | 15m39s | 14m57s |
| Actual pytest elapsed time (start to suite completion) | 12m54s |
12m56s | 9m26s |
| Docker image pull | 0.3s (cached) | 1m54s | 4m17s |
| Summed test-file wall time | 13m15s | 13m17s | 10m35s |
| Changed test groups, summed wall time | 443.4s | 446.4s | 273.6s |


[6Aiv](https://github.com/isaac-sim/IsaacLab/actions/runs/38113284316/job/114393159193)
/ [6Av before
cleanup](https://github.com/isaac-sim/IsaacLab/actions/runs/38114164432/job/114398247326)
/ [6Av after
cleanup](https://github.com/isaac-sim/IsaacLab/actions/runs/38121538132/job/114428342582).
Test-file times overlap when files run concurrently; their sum is not
the full job duration. These are CI observations, not a controlled
multi-run benchmark. Tests finished about **3m30s sooner** after
cleanup, but the slower image pull left the full job **1m20s slower than
6Aiv** and **42s faster than the preceding 6Av run**. Local GPU0 (RTX
5090) warm-cache Newton tests measured **55.4 → 52.9s**.

Newton+Kit golden cases remain intermittent: the passing run above
followed a failure on the same commit. The earlier [`c8b514444`
run](https://github.com/isaac-sim/IsaacLab/actions/runs/38176584123/job/114580906325)
again failed six Kit golden cases after RTX command-buffer
synchronization errors, 30-second streaming timeouts, and
empty/wrong-size frames. This cleanup does not claim to fix that
failure.

## Validation

- Kit tiled-camera warmup: moved the existing Kit update inside the
convergence loop. The before/after probe measured **1 update / 21
identical reads → 50 updates / 50 distinct frames**; its minimum-update
assertion failed before the fix and passed afterward. Cartpole Kit tiled
golden and Newton/PhysX tiled motion/pause tests passed on GPU0;
formatting and changelog checks passed. The latest CI failure was ANYmal
Kit tiled (14.94% pixel difference against a 12% limit). Local Kit 6.1
still has the separate ANYmal image mismatch already reproduced on
merged 6Aiv (~65%); CI uses Kit 6.2 and is being rerun. No image
thresholds or retry counts changed.
- Marker follow-up: updated the test double to expose Viser's
connected-client server interface. Reproduced the failure before the
one-line fix; all **31 marker tests passed** afterward. An earlier CI
native exit 139 was not reproduced locally and did not recur in the
latest CI run; no skip or rendering workaround was added.
- Source API follow-up: **109 focused tests passed** across shared GPU
composition, producer selection, recorder behavior, and recording CLI
integration. The existing sharing regression failed before the fix.
Removed the optional recorder `view` field and its conflicting-source
check; updated examples and migration guidance. Narrowed an overbroad
CLI test mock to runtime launchers so it no longer intercepts visualizer
configuration imports.
- Earlier cleanup: **253 focused tests passed**, including
launcher/backend selection, recording entrypoints, Viser initialization
and camera updates, managers, actuator authoring, and native RTX
motion/markers. The affected manager and actuator CI cases now check
original import errors and real unsupported actuator classes. GPU checks
used GPU0 only.
- Consolidated Viser visibility checks into the initialization/reset
test and verified that deliberately losing the environment selection
fails it. The RTX test now contains its own setup and assertions; its
warm-cache body measured **12.0 → 11.8 seconds** locally, preserving
motion, pause, first-frame, and marker checks. A real Viser
startup/step/close smoke test passed. These two follow-ups removed **234
lines net: 168 fewer production lines, 73 fewer test lines, and 7 added
documentation/changelog lines**.
- Earlier eager-binding, import-error, FPS, and gallery regressions
failed before their fixes. Direct and manager-based Cartpole each
produced a moving 20-frame, 60-FPS headless GL recording without
`--viz`. The original visualizer consolidation passed **49 cases with 2
existing skips**; its deliberate frozen readback failed the retained
motion test. Local Kit 6.1 needed the existing retry policy; CI uses Kit
6.2.
- A fresh Sphinx build, formatting, and changelog checks against merged
`develop` passed. Full CI is being rerun. The preceding ARM installation
run failed with CUDA out-of-memory; this cleanup does not claim to fix
that or the intermittent Kit golden failures above.

## Type of change

- New feature
- Breaking change: invalid recording sources fail at initialization;
missing dependencies retain `ModuleNotFoundError`
- Documentation update

## Release backport

- [ ] <!-- backport-active-release --> Backport to the active release
branch

## Checklist

- [x] Read the contribution guidelines and audited the changed tests
- [x] Ran formatting, focused tests, changelog checks, and a clean
documentation build
- [x] Updated public documentation and package changelog fragments
- [x] Contributor already listed
- [ ] Pass full CI
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 infrastructure isaac-lab Related to Isaac Lab team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants