Commit Graph
23 Commits
Author SHA1 Message Date
Patrick Nicolas ad9300f842 Implement refresh rate change 2025-01-07 20:07:06 +01:00
Patrick Nicolas c2fca9aa31 Tune pacer
now compute the time from present to display that passes 99.5% of the
frames, add 1ms.
2024-11-17 00:11:59 +01:00
Patrick Nicolas 45bb08987b Wake compositor when a frame is ready 2024-11-02 21:04:08 +01:00
Patrick Nicolas 50982f4a12 Fix pacer with vulkan video additional feedback packet 2024-11-02 21:03:28 +01:00
Patrick Nicolas 1a54b0c236 Add margin for frame skip logic 2024-10-11 20:33:11 +02:00
Patrick Nicolas 0579289855 Fix latency going up then down at regular intervals
Headsets lie about the frame duration, the actual time between display
may be a little more (or less). This causes phase information to
gradually increase, and eventually wrap around. The lowpass filter in
the pacer was unable to deal with wraparound and would instead average
in linear space.
2024-10-10 16:32:59 +02:00
Patrick Nicolas fbfa713c56 Add 1ms margin for present 2024-10-10 12:55:15 +02:00
Patrick Nicolas 28284a9694 wivrn namespace: move all server classes 2024-10-03 23:39:32 +02:00
Patrick Nicolas fdb79b1939 Drop xrt::drivers namespace 2024-10-03 23:39:32 +02:00
galister 44f48abf8a update monado 2024-09-12 19:32:47 +02:00
Patrick Nicolas aaacdacb3d Add pacer safeguards when comparing times 2024-09-03 23:34:23 +02:00
Patrick Nicolas b0290c037a Pacer rewrite 2024-09-03 23:34:23 +02:00
galister 3f25fed6df only rely on history if clock_offset is stable 2024-09-03 18:00:28 +02:00
Patrick Nicolas 79241835c1 Fix pacer bug from a8c99ea4c 2024-06-04 19:17:47 +02:00
Patrick Nicolas a8c99ea4c1 Fix pacer on reconnect 2024-06-03 20:59:06 +02:00
Patrick Nicolas 117546546c Fix pacer code for replayed frames 2024-05-07 16:31:01 +02:00
Patrick Nicolas b526c98683 Tweak pacer for faster convergence 2024-04-28 20:43:22 +02:00
Patrick Nicolas 63f4028d83 Select image to display based on predicted display time 2024-04-04 17:42:14 +02:00
Patrick Nicolas f5d73d33f4 Report real predicted display time 2024-03-07 17:20:46 +01:00
Patrick Nicolas 8a7693713e don't ask for frames to be in the past 2024-03-05 10:37:06 +01:00
Patrick Nicolas 2fdd1c9974 Tweak pacer for lower latency 2024-03-03 08:34:58 +01:00
Patrick Nicolas fa32074603 Use standard deviation for pacer tuning 2024-02-18 15:41:47 +01:00
Patrick Nicolas 2cc0e6154e Add pacer 2024-02-16 22:02:57 +01:00