Skip to content

[3.0] Avoid runtime launches from viewer defaults - #8564

Merged
kellyguo11 merged 1 commit into
isaac-sim:release/3.0.0from
maxkra15:maximiliank/fix-visualizer-default-launch
Oct 14, 2026
Merged

kellyguo11 merged 1 commit into
isaac-sim:release/3.0.0from
maxkra15:maximiliank/fix-visualizer-default-launch

Conversation

@maxkra15

Copy link
Copy Markdown
Contributor

Description

On release/3.0.0, training IsaacContrib-Franka-Pour or IsaacContrib-UR10-Particle-Push without --viz starts Isaac Sim even though the run summary reports none (headless). The launcher counts the tasks' default_visualizer_cfg as an active visualizer. Playback defaults can similarly start the OVRTX runtime unnecessarily.

Exclude the default_visualizer_cfg subtree from runtime discovery. These settings customize a selected visualizer; active visualizers, physics, and camera sensors continue to determine which runtimes start. Retain shared Kit streaming-camera requirements when Kit is selected. The regression also covers a renderer nested inside the defaults.

This PR targets release/3.0.0. Both tasks already resolve to Kit-free training on current develop after #8457; that larger visualizer and recording refactor was not backported.

Type of change

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

Validation

  • All three regression cases failed without the fix for the intended reason: Kit, Newton RTX, and nested OVRTX renderer defaults requested a runtime. All pass with the fix.
  • Focused pytest files: visualizer intent 12 passed, runtime compatibility 27 passed, and launcher requirements/lifecycle 11 passed (50 total). Coverage also preserves camera auto-enabling for selected Kit streaming views.
  • Resolved training and playback configs for both affected tasks: defaults no longer request Kit or OVRTX; UR10's configured Newton GL playback visualizer is retained.
  • GPU smoke run completed one Franka Pour training iteration without --viz or --viz none, with the Isaac Sim 6.2 extra installed. No Kit startup occurred:
    uv run --no-sync --extra isaacsim isaaclab train --rl_library rsl_rl \
      --task IsaacContrib-Franka-Pour --max_iterations 1
  • Repository-wide ./isaaclab.sh -f and git diff --check passed, including the changelog gate against release/3.0.0.

Checklist

  • I have read and understood the contribution guidelines.
  • I have run the pre-commit checks.
  • My changes generate no new warnings.
  • I have validated the changed behavior with focused coverage and applied the test-audit criteria.
  • I have added a changelog fragment for every touched package.
  • My name already exists in CONTRIBUTORS.md.

Keep shared viewer defaults out of runtime discovery so Newton tasks
stay kitless when no visualizer is selected. Preserve camera startup
requirements when a Kit streaming view is selected.

Cover concrete viewer defaults and nested renderer settings at the
launcher boundary.
@maxkra15
maxkra15 requested a review from a team October 14, 2026 17:15
@github-actions github-actions Bot added bug Something isn't working isaac-lab Related to Isaac Lab team labels Oct 14, 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 title and body accurately describe the scan exclusion, retained Kit camera behavior, backport scope, validation, and package changelog fragments; no measurable performance claim needs further evidence.
  • 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 14, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 4/5

[Medium impact] Fixes visualizer defaults from triggering runtime launches.

Preserve startup requirements for inherited streaming renderers before merging.

Findings

  1. P1 Inherited renderer startup is skipped ▶

Summary

The PR stops unused viewer defaults from starting Isaac Sim or OVRTX.

  • Viewer defaults no longer start a runtime by themselves.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[Simulation settings] --> B[Runtime scan]
    B --> C[Active physics cameras and viewers]
    B --> D[Skip shared viewer defaults]
    C --> E[Start required launchers]
    E --> F[Create simulation context]
    D --> G[Shared renderer requirement omitted]
    F --> H[Copy shared settings into selected viewer]
    H --> I[Create inherited streaming renderer]
    G --> I
Loading

Reviews (1) · Last reviewed commit: "Fix runtime launches from visualizer def..." · Reviewed by Greptile

Comment on lines +398 to +401
if name == "default_visualizer_cfg":
if isinstance(child, VisualizerCfg):
default_visualizer_cfgs.append(child)
continue

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 Inherited renderer startup is skipped

Skipping the whole default_visualizer_cfg subtree also drops renderer requirements used by selected viewers. For example, select newton_gl with Newton physics and shared VisualizerCfg settings that set streaming_view=True, streaming_cam_target_prim_path, and streaming_cam_renderer_cfg=OVRTXRendererCfg().

SimulationContext copies those settings into the selected viewer, and BaseVisualizer creates the renderer. But scan now misses it, so OvrtxLauncher never registers the required USD schemas before the scene opens. Ignore unused defaults, but include renderer requirements inherited by selected viewers.

Knowledge Base Used:

@kellyguo11

Copy link
Copy Markdown
Contributor

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 14, 2026
@kellyguo11
kellyguo11 merged commit 1877a67 into isaac-sim:release/3.0.0 Oct 14, 2026
58 checks passed
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.

2 participants