usdrecord keeps waiting after its Arras render worker exits

Đang mở
#309 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
53/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
cpp
Lĩnh vực
backend

Hướng nghiên cứu

Start by reading ArrasRenderer::statusHandler and the frame completion logic around isFrameComplete() in hdMoonray, then trace how usdrecord waits for convergence after the Arras session stops. The control probe and logs linked in the issue reproduce the hang by killing execComp during rendering. Done means usdrecord reports the failed render and stops waiting after Arras reports a stopped session, allowing a batch to continue.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

During a benchmark run with the MoonRay Hydra delegate in OpenMoonRay v2026.29.1 and OpenUSD 24.08 on Rocky Linux 8.10.
The Moana Island worker exited with signal 9. Arras reported the failure, but usdrecord stayed alive without its render worker for about 2 hours 46 minutes, until the benchmark's own deadline stopped it. No Moana image was produced. I don't have evidence establishing why the worker died in this run.

I reproduced this behavior separately on OpenUSD 23.08, using McUsd under Xvfb/Mesa and deliberately killing the Arras worker (execComp). No OOM or GPU was needed:

Error: Arras session stopped, compExited: mcrt exited due to signal 9
RESULT: CLIENT STILL ALIVE 150s after its render worker died

Control probe and logs. The probe script starts usdrecord on McUsd, waits for the worker, kills it while the frame is still rendering, and observes the client.

In hdMoonray, ArrasRenderer::statusHandler logs stopped/stopping and sets the connection state to disconnected, but leaves the unfinished frame waiting for completion. Without a final image, isFrameComplete() remains false and usdrecord keeps waiting for convergence.

I would expect usdrecord to stop waiting and report the failed render when Arras reports that the worker has stopped. One failed render should not block the rest of a batch until an external timeout.

The reason the worker stopped and usdrecord's handling of an aborted recording are separate questions. This report is about the client continuing to wait after Arras has already reported the stopped session.

Benchmark issue and investigation.

Ngôn ngữ chính
CMake
Star
4.7k
Fork
321
Merge trung bình
13 phút
Pull request đã merge (30 ngày)
3

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của OpenMoonRay/openmoonray

Tất cả issue của OpenMoonRay/openmoonray

Issue tương tự

Thêm issue về Backend & API Design

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.