29 March 2011, 09:33 | #1 |
Beyond Mutton
Join Date: Mar 2011
Location: North West, UK
Age: 52
Posts: 347
|
More flexible Vsync support to include Sync rates very close to 50hz
I have been fighting this for a while now, and can't get the screen to Vsync at rates very close to 50hz (50.022hz and 49.997hz).
Both rates seem fine initially but after a few minutes music slows down for a couple of seconds, then resumes. This cycle repeats as long as Vsync is enabled. I have to chose between the above effect or have screen tearing with perfect music playback. I have started a support thread ( http://eab.abime.net/showthread.php?t=58454 ) if you have any suggestions, but have also posted here for a request. Thanks for all your amazing work Toni! |
29 March 2011, 18:18 | #2 |
Missile Command Champion
Join Date: Aug 2005
Location: Germany
Age: 52
Posts: 12,453
|
Have you tried if Double Buffer instead of Tripple Buffer makes any difference? I've played through a few games with current WinUAE versions in 50 Hz+Vsync on my Plasma, and got no sound problems at all.
|
29 March 2011, 18:21 | #3 |
Beyond Mutton
Join Date: Mar 2011
Location: North West, UK
Age: 52
Posts: 347
|
Yes, I have tried both double and triple buffering.
What graphics card/drivers/os are you using please? If you are using powerstrip to adjust your Vsync, is it exactly 50.000hz? Thanks |
29 March 2011, 18:29 | #4 |
Missile Command Champion
Join Date: Aug 2005
Location: Germany
Age: 52
Posts: 12,453
|
It's an ATI Radeon HD 5570. The Plasma is probably exact at 50.00 Hz, my CRT monitor runs at 49,9Hz. Both works fine in Vsync. I don't use Powerstrip, you can add custom resolutions/refresh rates manually via driver (nVidia) or through the registry (ATI). You could try to increase the priority to "above normal".
Last edited by Retro-Nerd; 29 March 2011 at 18:35. |
29 March 2011, 18:34 | #5 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,534
|
Sound driver/card can also cause problems with vsync if it has timing problems.
Also WASAPI usually works better than DirectSound but it is only supported in Vista and later Windows versions. Common "problem": "works fine here", can't fix problems that I can't see. |
29 March 2011, 18:58 | #6 |
Beyond Mutton
Join Date: Mar 2011
Location: North West, UK
Age: 52
Posts: 347
|
I will try the "above normal" setting as I haven't tried that one yet!
Thanks Retro I appreciate that Toni, I'm not sure where I should go from here. I will keep trying and report back if I find a solution. Out of the two options I think screen tearing, although not very Amiga like, is the lesser of two evils for me. Thanks again |
29 March 2011, 20:37 | #7 |
Beyond Mutton
Join Date: Mar 2011
Location: North West, UK
Age: 52
Posts: 347
|
Increase the priority to "above normal" has done the trick!
WOOHOOOOO! Thank guys, now very happy |
29 March 2011, 20:40 | #8 |
Missile Command Champion
Join Date: Aug 2005
Location: Germany
Age: 52
Posts: 12,453
|
Good to hear. Too slow PC, or maybe too many programs running in the background?
|
29 March 2011, 20:45 | #9 |
Beyond Mutton
Join Date: Mar 2011
Location: North West, UK
Age: 52
Posts: 347
|
Well its pretty lean and mean MicroXP install with only these background tasks:
Maximus Arcade Winuae Loader Powerstrip RealVNC I have tried it with everything killed except Winuae loader, same results - so Im not really sure what the culprit was! Core2Duo 2.4ghz 2gb ram 8800gtx I dont usually have any issues, ie I can run street fighter 4 with all eye candy @ 1600x1200 60fps. Im huge Amiga fan and have spent quite a bit of time getting it all configured just right in my arcade cab - I didn't want slurring sound or screen tearing - I wanted the games in all their glory. Now I have it Just rocking out to the Turrican 2 title music, as this was one of the tracks that always slowed down, not any more! Thanks again! |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
LCD and smooth scrolling (not a 50Hz or a vsync problem) | aidenn | support.Other | 26 | 16 April 2010 18:20 |
50hz Vsync causing audio problems | WDeranged | support.WinUAE | 16 | 02 October 2009 02:00 |
Support for NVIDIA system control custom refresh rates? | john4p | support.WinUAE | 6 | 18 September 2009 20:42 |
50Hz sync in WinUAE | Mark Wright | support.WinUAE | 54 | 27 March 2009 21:56 |
50Hz sync -> mouse delay | Groundhog | support.WinUAE | 31 | 29 July 2008 11:45 |
|
|