Re: Uneven V-sync

"Edition Chamäleon" <[email protected]> Wed, 18 Jan 2017 13:11:25 +0000
Newsgroups gmane.comp.lib.sdl
Message-ID <[email protected]>
Hi ,

to make it more precise : I made another test with almost no sprite-action, no scrolling background no nothing just the player on the screen. Moving arround a bit the fps value changes. Standing still the fps is constant. But with lots of different values in between the multiple of 16,67m2 for one iteration.

I get following different results (  as fps and in millisecs for one single Iteration ) :

 31 fps  	 32,26 ms   
 32 fps  	 31,25 ms  
 33 fps  	 30,30 ms  
 34 fps  	 29,41 ms  
 35 fps  	 28,57 ms  
 36 fps  	 27,78 ms  
 37 fps  	 27,03 ms  
 38 fps  	 26,32 ms  
 39 fps  	 25,64 ms  
 41 fps  	 24,39 ms  
 43 fps  	 23,26 ms  
 44 fps  	 22,73 ms  
 46 fps  	 21,74 ms  
 56 fps  	 17,86 ms  
 61 fps  	 16,39 ms  


I assume that if v-sync would work I would get :

fps	ms
 60 fps     	 16,67  ms 
 30 fps     	 33,33  ms
 20 fps     	 50,00  ms 
 15 fps     	 66,67  ms 
 12 fps     	 83,33  ms 
 10 fps     	 100,00   ms
 9  fps     	 116,67   ms
 8  fps     	 133,33   ms
 7  fps    	 150,00   ms
 6  fps    	 166,67   ms
 5  fps     	 183,33   ms
 5  fps     	 200,00   ms
 5  fps    	 216,67   ms
 4  fps    	 233,33   ms
 4  fps    	 250,00   ms

Michael

_______________________________________________
SDL mailing list
[email protected]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org