frame: vrlink: decoder worker stops on `EAGAIN` and takes a second to restart
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 12/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- linux
- Lĩnh vực
- audio-video-rtc
Hướng nghiên cứu
The payload names SVLCodecV4L2::MediaThread, SVLCodecV4L2::CheckStuck, SoftReset and HardReset, and the VIDIOC_DQBUF call that returns EAGAIN. This repository is a community tracker, so the source for these is not in it, and the payload does not show where to start reading. The issue asks for no specific change, so a first step would be confirming with maintainers where the code lives and whether a reproduction exists before any edit.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
This seems to happen shortly after the headset issues a stream reset, so I think there's a race between decoder reset and the decoder worker dequeueing the output buffer. Here's a log of one such event:
19:12:55.502540 Received frame outside of backtrack window. Resetting.
19:12:55.503863 SVLCodecV4L2::MediaThread: Failed to dequeue output buffer. -1 [11 Resource temporarily unavailable]
19:12:55.880790 SVLCodecV4L2::CheckStuck: > 300ms between our last forward progress. Asking remote side for a new IFrame
...
19:12:56.556407 SVLCodecV4L2::CheckStuck: > 800ms between our last forward progress. Reset.
19:12:56.556424 SVLCodecV4L2::SoftReset: Doing a hard reset.
19:12:56.556437 SVLCodecV4L2::HardReset: Called!
What happens is SVLCodecV4L2::MediaThread gets an EAGAIN on VIDIOC_DQBUF, indicating that there's nothing to dequeue. At which point it exits...
This completely stops frame decoding, the watchdog (SVLCodecV4L2::CheckStuck) notices something went wrong after 300ms (so about 300 years in frame time) and issues another stream reset. Then it waits some more time before deciding to restart the decoder (and issue yet another reset).
So, all in all, a reset can trigger a 1 second freeze.
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 2.6k
- Fork
- 88
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của ValveSoftware/SteamOS
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
ValveSoftware/SteamOS#2983 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
ValveSoftware/SteamOS#2927 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
ValveSoftware/SteamOS#2875 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
ValveSoftware/SteamOS#2856 ·
-
steam-short-session-tracker: incorrect registry backup path resets settings during automatic repairĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
ValveSoftware/SteamOS#2829 ·
Tất cả issue của ValveSoftware/SteamOS
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 1 ngày
-
issue: Kokoro.js (Browser) never finishes loading when the browser offers WebGPU but has no GPU adapterCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởbug confirmed issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
open-webui/open-webui#33232 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
WebRTC audio: stop_recording() doesn't flush queued samplesCó thể đã có người làm @bniladridas đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
pollen-robotics/reachy_mini#1508 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
libsndfile/libsndfile#1188 ·
Maintainer thường phản hồi trong vòng 7 ngày