This seems to be back again in my setup. Linux 4.9.35, Nvidia Driver 384.47, GTX1060 3G, BenQ 2730 . After tweaking the monitor and fiddling with the driver I can get 7 ms refresh rates as verified with a scope. The problem is that I get 2 frames of everything (rock solid) instead of 1.
in a loop, I do
DOT1.draw()
the_screen.flip(clearBuffer=True)
the_screen.flip(clearBuffer=True)
Reliably produces 2 white frames (screen background colour) then 2 black frames ( dot is black ).
I have tried adding a 2 ms delay between flips. No change. I have also tried the combinations of
waitBlanking =False and toggling the Vblank and Flipping in the Nvidia settings… Most every
combination makes the drawing worse ( tearing, variable # frames on/off, etc. )
Any suggestions?