Investigation of Machine-specific Frame Latency Issues (PresentData)

オープン
#605 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
cpp
領域
performance

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
C++
スター
2.6k
フォーク
201
平均マージ
2日 21時間
マージ済み PR(30日)
16

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

GameTechDev/PresentMon のほかの issue

GameTechDev/PresentMon の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。