English Amiga Board


Go Back   English Amiga Board > Support > support.OtherUAE

 
 
Thread Tools
Old 21 October 2005, 12:14   #1
Maverick
Registered User
 
Maverick's Avatar
 
Join Date: May 2005
Location: Solingen / Germany
Age: 54
Posts: 59
How to avoid tearing with E-UAE?

I'm using X-Windows to run E-UAE fullscreen on an arcade monitor. I calculated a modeline with a vertical frequency of 50Hz which suits well to the repeat frequency of a PAL Amiga. But even though I have a perfect modeline there're tearing effects when I'm playing horizontally scrolling games. For me it means that the emulated amiga and the monitor do not share the same Vsync. The solution in XMAME seems to be to compile it for DGA use which is able to detect the Vsync (I'll try it during the weekend) I read that UAE can also use DGA but I don't know how to enable it. I probably have to compile the whole stuff with a special option, but which?
Maverick is offline  
Old 25 October 2005, 15:44   #2
Maverick
Registered User
 
Maverick's Avatar
 
Join Date: May 2005
Location: Solingen / Germany
Age: 54
Posts: 59
No one? However, this seems to be the same with the original uae, may be you have tried it with this one.
Maverick is offline  
Old 25 October 2005, 21:56   #3
keropi
.
 
Join Date: Oct 2004
Location: Ioannina/Greece
Posts: 5,040
OK, I don't know about e-uae , but does it have a vsync option? if yes turn it on!
also, how may fps does it display? 50fps? or 60fps? just use a refresh rate of 100hz or 120hz.... bam! no more tearing!
keropi is offline  
Old 26 October 2005, 08:43   #4
Maverick
Registered User
 
Maverick's Avatar
 
Join Date: May 2005
Location: Solingen / Germany
Age: 54
Posts: 59
My arcade monitor is only able to handle refresh rates between 45 and 65 Hz.
Even though I found out how to enable the DGA mode (you have to run ./configure --enable-dga) I'm not sure if this really solves the tearing problem and I can't find anything about e-uae (or the original uae) and vsync.
Maverick is offline  
Old 26 October 2005, 11:38   #5
keropi
.
 
Join Date: Oct 2004
Location: Ioannina/Greece
Posts: 5,040
then get a refresh rate same as the fps...
keropi is offline  
Old 26 October 2005, 11:52   #6
Maverick
Registered User
 
Maverick's Avatar
 
Join Date: May 2005
Location: Solingen / Germany
Age: 54
Posts: 59
That's what I did both have the same refresh rate, my only problem is how to synchronize them. May be this DGA mode helps. I'll try it as soon as I have time.
Maverick is offline  
Old 26 October 2005, 12:09   #7
keropi
.
 
Join Date: Oct 2004
Location: Ioannina/Greece
Posts: 5,040
that's what vsync is for... V(ertical)Sync(hronization) find the switch that enables it!
keropi is offline  
Old 26 October 2005, 13:41   #8
Maverick
Registered User
 
Maverick's Avatar
 
Join Date: May 2005
Location: Solingen / Germany
Age: 54
Posts: 59
Yeah, I know, but to find the switch in e-uae is exactly the problem. I heard DGA is capable of synchronizing, so I hope activating it will solve the problem.
Maverick is offline  
Old 26 October 2005, 14:54   #9
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 6,987
Quote:
Yeah, I know, but to find the switch in e-uae is exactly the problem.
Use WinUAE to save one config file with vsync on and one with it disabled, then compare the config files.
thomas is offline  
Old 26 October 2005, 20:50   #10
keropi
.
 
Join Date: Oct 2004
Location: Ioannina/Greece
Posts: 5,040
btw, what is the DGA ????
keropi is offline  
Old 26 October 2005, 20:57   #11
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,507
AFAIK E-UAE does not have vsync support yet.
Toni Wilen is offline  
Old 27 October 2005, 04:14   #12
andreas
Zone Friend
 
Join Date: Jun 2001
Location: Germany
Age: 50
Posts: 5,857
Send a message via ICQ to andreas Send a message via AIM to andreas
... and WinUAE has full-screen VSync support only!
There is no effect (yet) in windowed mode...

@Toni: proposal for tiny cosmetical fix: maybe disable VSync checkbox in GUI if windowed mode is active (i. e. Full Screen is not checked).
andreas is offline  
Old 27 October 2005, 09:03   #13
Maverick
Registered User
 
Maverick's Avatar
 
Join Date: May 2005
Location: Solingen / Germany
Age: 54
Posts: 59
Quote:
Use WinUAE to save one config file with vsync on and one with it disabled, then compare the config files.
Yeah, could be worth trying it.
Quote:
btw, what is the DGA ????
DGA is the Direct Graphics Access and should be something similar as DirectX for the windows world. In the XMAME documentation is stated that with DGA it is able to use the vsync, so I hoped this was also valid for E-UAE.
Quote:
AFAIK E-UAE does not have vsync support yet.
This could be the reason why I'm not able to find any information about it.
Maverick is offline  
Old 28 October 2005, 07:45   #14
Maverick
Registered User
 
Maverick's Avatar
 
Join Date: May 2005
Location: Solingen / Germany
Age: 54
Posts: 59
DGA doesn't work. When I use it with UAE my screen freezes and I have to kill the X-server to make it work again.
XMAME has no problem with DGA so it must be UAE related.
Maverick is offline  
Old 02 November 2005, 21:30   #15
mtb
Registered User
 
Join Date: Sep 2002
Location: Italy
Age: 40
Posts: 466
Quote:
Originally Posted by Maverick
DGA doesn't work. When I use it with UAE my screen freezes and I have to kill the X-server to make it work again.
XMAME has no problem with DGA so it must be UAE related.
To say the truth a lot of time has passed since i used dga, but if you are interested ask Drummond.

But before i suggest you to try to use SDL ( you need to recompile ). It's by far the best solution atm, if your XF86Config-4 or xorg.conf file contains the right resolutions and modelines SDL will use them.
mtb is offline  
Old 03 November 2005, 08:12   #16
Maverick
Registered User
 
Maverick's Avatar
 
Join Date: May 2005
Location: Solingen / Germany
Age: 54
Posts: 59
Quote:
But before i suggest you to try to use SDL
That's what I'm doing at the moment and it works quite well. The only thing that bothers me a bit is this tearing effect. Is it possbile to have a VSYNC for the SDL fullscreen or is it really not supported by E-UAE at the moment?
Maverick is offline  
Old 03 November 2005, 18:46   #17
mtb
Registered User
 
Join Date: Sep 2002
Location: Italy
Age: 40
Posts: 466
Quote:
That's what I'm doing at the moment and it works quite well. The only thing that bothers me a bit is this tearing effect. Is it possbile to have a VSYNC for the SDL fullscreen or is it really not supported by E-UAE at the moment?
I don't know exactly, i suggest you to ask Drummond on the uae freelist ml.
mtb is offline  
Old 04 November 2005, 14:17   #18
Maverick
Registered User
 
Maverick's Avatar
 
Join Date: May 2005
Location: Solingen / Germany
Age: 54
Posts: 59
Quote:
on the uae freelist ml
Do you mean this board http://uae.back2roots.org/ ?
Maverick is offline  
Old 04 November 2005, 18:48   #19
mtb
Registered User
 
Join Date: Sep 2002
Location: Italy
Age: 40
Posts: 466
No, see http://www.freelists.org/list/uae
mtb is offline  
Old 06 November 2005, 18:18   #20
Maverick
Registered User
 
Maverick's Avatar
 
Join Date: May 2005
Location: Solingen / Germany
Age: 54
Posts: 59
OK, thanks I'll do it.
Maverick is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to avoid /home/$user/FS-UAE folder ? ginko support.FS-UAE 2 12 July 2013 14:59
No-buffering display mode with zero screen tearing, the next step? Dr.Venom support.WinUAE 87 22 January 2012 18:08
Games To Avoid (WHDLoad) Tempest 2084 Amiga scene 42 25 August 2009 13:59
Vsync + Vista x64 tearing Rabbit80 support.WinUAE 36 08 August 2008 20:00
Disk drive tearing sound lauri_t support.Hardware 6 29 November 2005 17:55

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 08:08.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.09711 seconds with 13 queries