Investigation of Machine-specific Frame Latency Issues (PresentData)

Aperta
#605 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
cpp
Ambito
performance

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
C++
Stelle
2.6k
Fork
201
Merge medio
2g 21h
PR unite (30g)
16

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di GameTechDev/PresentMon

Tutte le issue di GameTechDev/PresentMon

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.