Investigation of Machine-specific Frame Latency Issues (PresentData)

Aberta
#605 3 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 2 dias

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
25/100
Tipo de issue
Bug
Clareza
Precisa de esclarecimento
Status de atividade
Estagnada
Stack de tecnologia
cpp
Domínio
performance

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
C++
Estrelas
2.6k
Forks
201
Merge médio
2d 21h
PRs com merge (30d)
16

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de GameTechDev/PresentMon

Todas as issues de GameTechDev/PresentMon

Issues semelhantes

Mais issues de C++

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.