CloudXR + Apple Vision Pro: ~50% of connects permanently wedge xrWaitFrame (pthread_cond_clockwait in omni.kit.xr.core); session never torn down, reconnect impossible until process restart
Los mantenedores suelen responder en 1 día
@rwiltz ya está trabajando en esto.
Desde el 29/8/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
Summary
In a headless Isaac Lab + IsaacTeleop teleoperation deployment streamed to an Apple Vision Pro via CloudXR, roughly 50% of first client connects permanently wedge the server inside xrWaitFrame. The session is never torn down, so client reconnects cannot renegotiate; only restarting the server process recovers. The other ~50% of connects work normally.
Environment
- Isaac Lab 3.0 generation (
isaaclab_physxbackend), running headless with--xr - Kit XR extensions:
omni.kit.xr.system.openxr-109.0.0,isaaclab.python.xr.openxr-3.0.0(+.headless-3.0.0) - IsaacTeleop commit
6ee69410efc453b3af0160f5e59fedf260ed941e - CloudXR runtime launched in-container by the IsaacTeleop launcher; runtime binaries identify as 6.3.0-rc4 (Monado-based OpenXR runtime)
- GPU: RTX PRO 6000 Blackwell Server Edition, driver 580.159.03, Ubuntu 24.04
- Kubernetes pod behind a cloud network load balancer, ports exactly per the Isaac Lab CloudXR teleoperation docs (TCP 48010 + UDP 47998/47999/48000/48005/48008/48012)
- Client: Isaac XR Teleop Sample Client 3.0.1 on Apple Vision Pro, visionOS 26.3.1. Reproduced with CloudXRKit 6.0.3 (stock pin) and 6.2.0.
Symptom
On ~50% of first connects (intermittent; the rest work):
-
Client connects; server logs
IsaacTeleop session started; at most a handful of hand-tracking frames arrive, then the pose/tracker path stops permanently (an MCAP recording of the tracker stream stays at 0 bytes). -
Client display: with CloudXRKit 6.0.3, one frozen (stale) frame; with CloudXRKit 6.2.0 (which fixed the stale-frame-on-connect), a blank view. Same server-side failure either way.
-
The server main thread is permanently blocked inside Kit's XR frame wait. Native stack captured during a live wedge (py-spy
--native):Thread (MainThread): pthread_cond_clockwait (libc.so.6) libomni.kit.xr.core.plugin.so (+0x...506, +0x...741) libomni.usd.so libcarb.eventdispatcher.plugin.so libomni.kit.loop-isaac.plugin.so libomni.kit.app.plugin.so (app update) ... Python: SimulationContext.render -> app updateGPU utilization drops to ~0%. The wait never returns (observed > 30 minutes).
-
The CloudXR opaque data channel outlives the wedge: client
{"type":"ping"}keepalives keep arriving throughout (logged byomni.kit.xr.system.openxr.pluginasMessage received from CloudXR has no 'message' or 'payload' field). -
Client disconnect/reconnect does not recover: the runtime never tears the session down (no teardown log ever appears) and no new session can be negotiated. Only a process/container restart recovers. Application-side teardown is impossible because Kit pumps the XR session state machine from the thread blocked inside the frame wait.
Timeline detail
Headless --xr creates the OpenXR session and trackers ~45–60 s before any client attaches. The wedge occurs during the session/pacing state cycle at client attach.
Mitigations tested (none prevent the wedge)
NV_ENABLE_POSE_WAIT=0(present in the shippedavp-cloudxr.env) — wedge still occurs.NV_PACER_FIXED_TIME_STEP_MS=33— verified loaded via env override; wedge still occurred on the next connect with an identical native stack.- Server runtime already 6.3.0-rc4; client rebuilt on CloudXRKit 6.2.0 — changes the frozen frame to a blank view, does not prevent the wedge.
- Container CPU allocation raised 14 → 48 cores — no effect on wedge frequency.
Possibly related upstream
- Monado MR !2344 (supersedes !1934): frame-sync semaphore left at 0 across session state cycling makes the next
xrWaitFrameblock forever; fixed in Monado 25.0.0. Is the CloudXR runtime's Monado fork point past this fix? - Monado issue #492: a wedged per-client IPC thread leaves a zombie session the runtime can never tear down (teardown would run on the wedged thread) — matches the reconnect-impossible behavior exactly.
- isaac-sim/IsaacLab#6214 and isaac-sim/IsaacLab#5575 (hand-pose stream dying while streaming works).
Ruled out
xrCreateHandTrackerEXT ... XDev does not support hand trackingspam at session start: expected XDev enumeration until the client hand device attaches (per #344). Occurs on healthy sessions too.- Load balancer / port configuration (matches the docs; the data channel survives the wedge, so transport is alive).
Questions
- What is the CloudXR OpenXR runtime's Monado fork point relative to Monado 25.0.0 / MR !2344?
- Which condition variable in
omni.kit.xr.coreis the main thread waiting on here, and what runtime-side signal is expected to satisfy it? Under what conditions can that wait be unbounded when the client pose/timing stream dies? - Can the runtime detect a client whose pose stream died (data channel still live) and force session teardown so the app's frame wait returns with a session-loss event?
Attachments available on request
Full server logs of wedged and healthy connects, py-spy native stack dumps of the Kit process and the CloudXR runtime process captured during a live wedge, and deployment/load-balancer configuration.
- Lenguaje dominante
- Python
- Estrellas
- 425
- Forks
- 101
- Merge medio
- 1 d 14 h
- PR fusionados (30 d)
- 165
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de NVIDIA/IsaacCapture
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
NVIDIA/IsaacCapture#910 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
NVIDIA/IsaacCapture#891 ·
Los mantenedores suelen responder en 1 día
-
HandTracker: sample timestamps of hands injected via push devices are lost; MCAP `sample_time` is the query timePosiblemente ocupada @nv-jakob la tomó hoy. Abierto
NVIDIA/IsaacCapture#1382 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
cloudxr: possible exec race in background.start_and_wait() (needs owner triage)Posiblemente ocupada @nv-jakob la tomó hace 1 día. AbiertoNVIDIA
NVIDIA/IsaacCapture#1378 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Expose per-glove health and data freshness in the Avatar SDK and Isaac Teleop pluginPosiblemente ocupada @zihanjiang321 la tomó hace 3 días. Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
NVIDIA/IsaacCapture#1319 ·
Los mantenedores suelen responder en 1 día
Todos los issues de NVIDIA/IsaacCapture
Issues similares
-
Context/namespace resources fail in-cluster: "Invalid kube-config file. No configuration found."Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
-
bug documentation
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
awslabs/visual-asset-management-system#880 ·
Los mantenedores suelen responder en 1 día
-
netbox status: needs owner type: documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
netbox-community/netbox#23533 ·
Los mantenedores suelen responder en 1 día
-
app: scripts status: backlog type: documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
netbox-community/netbox-scripts#68 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 91/100
marin-community/marin#10765 ·
Los mantenedores suelen responder en 1 día