On Tue Jan 13 14:22:39 2026 +0000, Marc-Aurel Zent wrote:
With https://gitlab.winehq.org/wine/wine/-/merge_requests/9875 something like this should simplify the change a lot: ``` static inline uint64_t convert_monotonic_timestamp(uint64_t value) { KUSER_SHARED_DATA *user_shared_data = (void *)0x7ffe0000; return value / (NANOSECONDS_IN_A_SECOND / TICKSPERSEC) + user_shared_data->InterruptTimeBias; } ``` Reading the current timestamp at an arbitrary time doesn't look right. These extensions are supposed to return deterministic and correlated GPU / CPU timestamps with a specific maximum deviation. We have to rely on the host extension to do that right, or we will have to re-implement the full GPU / CPU time correlation ourselves and that doesn't seem possible to do in a reliable way.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/9859#note_126691