[uae] Re: SDL and Vsync

  • From: fari mueller <farimueller@xxxxxxxx>
  • To: uae@xxxxxxxxxxxxx
  • Date: Thu, 2 Feb 2006 11:20:03 +0100 (CET)

F**k, it spoils the adress. OK, you have to replace all the xxxxxx by 
toybox.twisted.org.uk in order to see the it.

fari mueller <farimueller@xxxxxxxx> schrieb:    I tried it yesterday but it 
didn't help. Changing the videodriver to dga did work, but the tearing is still 
there. Obviously activating and using the double buffering is not that simple 
as I was hoping, but it doesn't seem to be a big deal either. I found the 
following:
   
  http://www.mail-archive.com/xmame@xxxxxxxxxxxxxxxxxxxxx/msg06159.html
   
  This is how they implemented it in XMAME. Apparently it just requires some 
minor changes to do it. I'd like to implement it myself, but my C knowledge has 
almost expired after several years of not using it and when it comes to C++ and 
SDL things get even worse.
  So, I'd be quite grateful if someone could implement it or explain to me how 
to do it.
  Let's do this simple (hopefully) but huge improvement and make E-UAE also a 
real alternative for arcade cabinet users.
  

fari mueller <farimueller@xxxxxxxx> schrieb:
    Found some information about the VSYNC support of SDL and it looks like SDL 
is actually able to handle the Vsync. The main problem seems to be that it uses 
the x11 video driver by default which is not able to do it. Therefore the 
SDL_VIDEODRIVER variable has to be set to a suitable driver, for example dga or 
directfb.
  http://www.devolution.com/pipermail/sdl/2003-October/057060.html
  Then you have to enable double buffering and SDL will allegedly do the rest.
  http://www.devolution.com/pipermail/sdl/2002-October/049550.html
  Can this be used to get rid of this annoying tearing problem in E-UAE?
How can I use it? Should I type export SDL_VIDEODRIVER=dga in my shell before 
starting uae or can I add it to the .uaerc? How to enable SDL_DOUBLEBUF is this 
also a variable?
That would mean if I set SDL_VIDEODRIVER=dga and SDL_DOUBLEBUF=1 before 
invoking E-UAE I might have it running?
I'll try to do this as soon as I have some time, but it would be great if 
somebody with a bit more knowledge about this stuff could tell me if this 
sounds reasonable of if I'm telling complete bullshit.
At least it should be somehow possible to get rid of this tearing problem which 
is IMO one of the major glichtes in E-UAE at the moment.

  Frank
    
---------------------------------
  Telefonieren Sie ohne weitere Kosten mit Ihren Freunden von PC zu PC!
Jetzt Yahoo! Messenger installieren!

    
---------------------------------
  Telefonieren Sie ohne weitere Kosten mit Ihren Freunden von PC zu PC!
Jetzt Yahoo! Messenger installieren!

                
---------------------------------
Telefonieren Sie ohne weitere Kosten mit Ihren Freunden von PC zu PC!
Jetzt Yahoo! Messenger installieren!

Other related posts: