Skip to content

Silence OpenXR runtime error printing in teleop sessions - #8394

Merged
rwiltz merged 2 commits into
isaac-sim:developfrom
rwiltz:rwiltz/teleop-oxr-no-printing-develop
Oct 9, 2026
Merged

rwiltz merged 2 commits into
isaac-sim:developfrom
rwiltz:rwiltz/teleop-oxr-no-printing-develop

Conversation

@rwiltz

@rwiltz rwiltz commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

Description

The CloudXR client library (Monado) prints every failed OpenXR call to stderr. A normal Quest/AVP
teleop session logs ~55 such XR_ERROR_* lines (50 XR_ERROR_FEATURE_UNSUPPORTED from IsaacTeleop
probing each XDev for hand tracking at startup, plus XR_ERROR_INSTANCE_LOST at shutdown) even though
hand tracking and recording work. This buries real failures in QA logs.

The proper fix (quiet XDev hand-tracker rejection in Monado) lands in a future CloudXR runtime, so this
defaults OXR_NO_PRINTING=true in TeleopSessionLifecycle.start(). It uses setdefault, so
OXR_NO_PRINTING=false restores the messages for debugging (documented under teleop Known Issues).
IPC-level (ERROR [ipc_...]) and Kit [Error] lines are unaffected.

Fixes # (issue)

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

Checklist

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

  • 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

rwiltz added 2 commits October 8, 2026 16:53
The CloudXR client library (Monado) prints every failed OpenXR call to
stderr. During a normal Quest or AVP teleop session that is 55 error
lines: 50 XR_ERROR_FEATURE_UNSUPPORTED lines from IsaacTeleop probing
each XDev for hand tracking at startup, and XR_ERROR_INSTANCE_LOST lines
when the runtime stops before Kit's OpenXR teardown. Hand tracking and
recording work; the output buries real failures (NVBugs 6646096,
6833873, 6646097, 6267782).

The proper fix (quiet XDev hand-tracker rejection in Monado) will not
reach this Isaac Lab release, so default OXR_NO_PRINTING=true in
TeleopSessionLifecycle.start(), before Kit loads the runtime. setdefault
keeps a user's OXR_NO_PRINTING=false for debugging. IPC-level
(ERROR [ipc_...]) and Kit [Error] lines are not affected.

Verified with a Meta Quest 3 GR1T2 session: OpenXR-layer error lines
55 -> 0, HandTracker still initializes with 3 candidates per hand.

The changelog pre-commit hook is skipped because it compares against
develop; tools/changelog/cli.py check release/3.0.0 passes.
@rwiltz
rwiltz requested a review from a team October 8, 2026 20:56
@github-actions github-actions Bot added documentation Improvements or additions to documentation isaac-lab Related to Isaac Lab team labels Oct 8, 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 body matches the diff; remove the unresolved Fixes # (issue) line and name the focused lifecycle test run. No performance evidence is needed.
  • 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 8, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

[Low impact] The PR appears safe to merge; no actionable defect was found.

Summary

Defaults OXR_NO_PRINTING to true when teleoperation sessions start, while preserving values set before launch.

  • Documents how to restore OpenXR error messages.
  • Adds coverage for the default and the false override.

Reviews (1) · Last reviewed commit: "Use develop changelog fragment format fo..." · Reviewed by Greptile

@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 8, 2026
@rwiltz
rwiltz enabled auto-merge (squash) October 8, 2026 23:41
@rwiltz
rwiltz merged commit 2742c39 into isaac-sim:develop Oct 9, 2026
61 checks passed
@isaaclab-bot

isaaclab-bot Bot commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

Backported to release/3.0.0 as 2b7a0b1.

isaaclab-bot Bot pushed a commit that referenced this pull request Oct 9, 2026
# Description

The CloudXR client library (Monado) prints every failed OpenXR call to
stderr. A normal Quest/AVP
teleop session logs ~55 such `XR_ERROR_*` lines (50
`XR_ERROR_FEATURE_UNSUPPORTED` from IsaacTeleop
probing each XDev for hand tracking at startup, plus
`XR_ERROR_INSTANCE_LOST` at shutdown) even though
hand tracking and recording work. This buries real failures in QA logs.
  
The proper fix (quiet XDev hand-tracker rejection in Monado) lands in a
future CloudXR runtime, so this
defaults `OXR_NO_PRINTING=true` in `TeleopSessionLifecycle.start()`. It
uses `setdefault`, so
`OXR_NO_PRINTING=false` restores the messages for debugging (documented
under teleop Known Issues).
  IPC-level (`ERROR [ipc_...]`) and Kit `[Error]` lines are unaffected.

Fixes # (issue)

## Type of change

<!-- As you go through the list, delete the ones that are not
applicable. -->

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

## Release backport

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

## Checklist

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`
- [x] 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

(cherry picked from commit 2742c39)
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 isaac-lab Related to Isaac Lab team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants