Investigation of Machine-specific Frame Latency Issues (PresentData)

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

Maintainer thường phản hồi trong vòng 2 ngày

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
25/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
cpp
Lĩnh vực
performance

Hướng nghiên cứu

Start by capturing an ETL trace on a misbehaving system while confirming the frame-metric drops, then investigate the PresentData state machinery mentioned in the issue. Compare event sequences and test whether playback reproduces the dynamic query behavior. Done means narrowing down the cause; the issue also identifies automated test cases as a future safeguard.

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

Mô tả

As first reported in #590, on certain machines we see frequent drops to zero on all frame data metrics in the overlay (telemetry unaffected). This has been tentatively traced back and linked to PresentData. The ETW events themselves come in with low latency, but the frames fail to be completed and output in a timely fashion by the PresentData state machinery.

pmlog.txt
pmlog-mid.txt
pmsvc-log-260305-164320.txt

Possible scenarios:

  • Event sequences on some platforms differ in a way that trips up the state tracking
  • Expected events were changed or removed
  • Drivers or components are emitting essential events very late (seems unlikely)

First steps: capture ETL on misbehaving system concurrent with confirming behavior during capture period. If this can reproduce the dynamic query behavior on playback, it would confirm several theories and narrow down possible causes. Such ETL could then be used for system-agnostic analysis and for automated test cases to guard against such issues in the future.

Ngôn ngữ chính
C++
Star
2.6k
Fork
201
Merge trung bình
2 ngày 21 giờ
Pull request đã merge (30 ngày)
16

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

  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 GameTechDev/PresentMon

Tất cả issue của GameTechDev/PresentMon

Issue tương tự

Thêm issue về C++

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.