Measuring the Latency of Graphics Frameworks on X11-Based Systems

Andreas Schmid and Raphael Wimmer

Abstract

Latency is an intrinsic property of all human-computer systems. As it can affect user experience and performance, it should be kept as low as possible for real-time applications. To identify the source of latency, measuring partial latencies is necessary. We present a new method for measuring the latency of graphics frameworks on X11-based systems. Our tool measures the time between an input event arriving at the kernel until a pixel is updated in graphics memory. In a systematic evaluation with 36 test applications, we found that our method delivers consistent results for most tested frameworks, and does not add a significant amount of additional end-to-end latency. Even though further investigation is required to explain inconsistencies with Qt-based frameworks, our method measures the latency of graphics frameworks reliably and accurately in all other cases.

Venue
CHI 2023
Volume
Extended Abstracts of the 2023 CHI Conference on Human Factors in Computing Systems
DOI
10.1145/3544549.3585779
PDF
https://dl.acm.org/doi/pdf/10.1145/3544549.3585779
Anthology ID
2023.chi-ea.467

Cite

@inproceedings{schmid-wimmer-2023-measuring,
    title = {{Measuring the Latency of Graphics Frameworks on X11-Based Systems}},
    author = {Andreas Schmid and Raphael Wimmer},
    booktitle = {Extended Abstracts of the 2023 CHI Conference on Human Factors in Computing Systems},
    isbn = {9781450394222},
    year = {2023},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/3544549.3585779},
    url = {https://doi.org/10.1145/3544549.3585779},
    abstract = {Latency is an intrinsic property of all human-computer systems. As it can affect user experience and performance, it should be kept as low as possible for real-time applications. To identify the source of latency, measuring partial latencies is necessary. We present a new method for measuring the latency of graphics frameworks on X11-based systems. Our tool measures the time between an input event arriving at the kernel until a pixel is updated in graphics memory. In a systematic evaluation with 36 test applications, we found that our method delivers consistent results for most tested frameworks, and does not add a significant amount of additional end-to-end latency. Even though further investigation is required to explain inconsistencies with Qt-based frameworks, our method measures the latency of graphics frameworks reliably and accurately in all other cases.}
}