News for hackers. Stuff that matters.
Re:Desktop compositing latency is real by CyberDildonics on Tuesday November 21, 2017 @12:19PM (#15749514)
How are you testing the mouse cursor following the window borders on resize? I've read that windows turns off the hardware sprite mouse cursor when resizing windows so that it can software render it to always line up properly.
Re:Desktop compositing latency is real by raphlinus on Tuesday November 21, 2017 @01:22PM (#15750235)
Visual inspection for now. I've got an Arduino and a high-speed camera, so my plan for the next step is to send mouse and keyboard events from the Arduino, blinking an LED at the same time, then capture both the LED and the monitor in the video. Then a bit of image analysis. This is the only way to be quantitative and capture all the sources of latency.
Re:Desktop compositing latency is real by CyberDildonics on Tuesday November 21, 2017 @01:35PM (#15750338)
The implication of what I was saying is that windows will always show the cursor lining up with the border of a window during resizing.
Re:Desktop compositing latency is real by raphlinus on Tuesday November 21, 2017 @01:51PM (#15750474)
Would that it were so.
Re:Desktop compositing latency is real by eptcyka on Monday November 27, 2017 @10:18AM (#15787933)
Hmm, are you inspired or were part of https://github.com/google/walt ?
Re:Desktop compositing latency is real by phinnaeus on Tuesday November 21, 2017 @05:15PM (#15752119)
Would you be testing this with a high refresh rate monitor (120hz+) ? Would that matter?
Re:Desktop compositing latency is real by raphlinus on Tuesday November 21, 2017 @05:41PM (#15752303)
Yes and yes. My son has a 144Hz gaming monitor, and my main monitor for coding is a Dell 4k. We'll test both.
Re:Desktop compositing latency is real by jenscow on Tuesday November 21, 2017 @05:32PM (#15752241)
I also believe that is true.

My reason being, I had adjusted the screen brightness using software - but the mouse cursor is still brighter than white anywhere else. When I dragged a window, the cursor turns dim.

Re:Desktop compositing latency is real by ygra on Tuesday November 21, 2017 @12:31PM (#15749636)
Oh. This explains why the cursor flickers briefly and gets drawn partially across multiple monitors when at the split instead of the normal mouse cursor which is drawn only on one monitor at a given time.