| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| Chris Regular
 
  
 
 Joined: 19 Apr 2002
 Posts: 125
 
 
 | 
			
				|  Posted: Fri Jul 21, 2006 1:36 am    Post subject: V-sync doesn't work properly (skippy and stuttering) on G400 |   |  
				| 
 |  
				| Is there any chance old flipping/triplebuffering back ?  please ?   i think old version (99.) 's flipping worked much more smoothly (and faster too) on old VGA , which was enabled by default ,when V-sync was disabled through PCE.INI
 
 
 thanks always
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| dmichel Admin
 
  
 
 Joined: 04 Apr 2002
 Posts: 1166
 Location: France
 
 | 
			
				|  Posted: Fri Jul 21, 2006 11:48 am    Post subject: |   |  
				| 
 |  
				| I can't do much unfortunately, in both versions the vsync stuff is done by DirectX, DX 2 in the old version and DX 8 in the new version, and when the emulator is run in OpenGL mode, OpenGL handles that too, in all cases I have no control over how the vsync is done.  _________________
 David Michel
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Jabberwok Elder
 
  
 
 Joined: 24 Apr 2002
 Posts: 532
 Location: Quebec, Canada
 
 | 
			
				|  Posted: Sun Jul 23, 2006 4:31 am    Post subject: |   |  
				| 
 |  
				| Maybe the G400 is at fault here? Chris, can you test with a newer video card? Because maybe the G400 isn't blitting fast enough... If at all. 
 Maybe Magic engine uses page flipping... David?
 _________________
 If you translate Pole Position in French with babelfish you get 'Position de Polonais'... I think it's hilarious... from a French point of view.
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| dmichel Admin
 
  
 
 Joined: 04 Apr 2002
 Posts: 1166
 Location: France
 
 | 
			
				|  Posted: Sun Jul 23, 2006 11:27 am    Post subject: |   |  
				| 
 |  
				| Yup, it uses page flipping. 
 The next version will support 16-bit display (32-bit right now) may be this will help on older cards.
 _________________
 David Michel
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Chris Regular
 
  
 
 Joined: 19 Apr 2002
 Posts: 125
 
 
 | 
			
				|  Posted: Mon Jul 31, 2006 1:59 am    Post subject: |   |  
				| 
 |  
				| seems my card/driver can't handle "WaitForVerticalBlank(ddraw, DDWAITVB_BLOCKBEGIN, NULL);" well.. also i heard this call is not comparable with (specially low-res) all the custom resolutions
 the problem is when V-sync is enabled screen is syncronized by only top half (bottom screen tearing heavily)
 ..maybe something to do with doublescan ? as it only happens in low-res mode like 320x240...(640x480 is o.k.)
 if you are going to support custom resolution, then this is going to be an issue
 only flip call "Flip(NULL, DDFLIP_WAIT);" works fine with all the custom resolution for some reason.
 
 take care
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| clockwise Visitor
 
  
 
 Joined: 31 Jul 2006
 Posts: 1
 
 
 | 
			
				|  Posted: Mon Jul 31, 2006 5:40 am    Post subject: |   |  
				| 
 |  
				| same here, with Vsync on, screen is still breaking up or tearing on my Voodoo 4 as well (v1.00-DirectX) , however in my case both either v-sync enabled or disabled ,scrolling is smooth as baby's butt in old version (0.96) so my advice : just stick with old version if you don't like tearing
  |  | 
	
		| Back to top |  | 
	
		|  | 
	
		|  |