07 January 2008, 11:07 | #1 |
GoalScoringSuperstarHero
Join Date: Jan 2008
Location: ITALY - Milan
Age: 43
Posts: 74
|
When i Enable Vsync, audio is not synchronized
Hi all,
i read a lot of topics with similar issues. I would like to explain my issue. Winuae 1.4 stable version Filter : Direct3d , bilinear 16bit Fullscreen + Vsync (to get the scrolling smooth without tearing) Soundbuffer : 4 LCD Samsung 930bf : 60hz (the only one option available, i think that i can't set 50hz with this LCD... i will try with powerstrip, i don't want to damage my LCD monitor) With this configuration , the sounds is played just a bit later than video. I think that the problem is related to the reresh rate, as enabling Vsync it is forced to 60hz, the audio and video runs with different speed (correct me if i'm wrong) Firstly i would like to know if it's an expected behaviour and not a real issue. Second i would like to receive feedback about this strange "workaround" i implemented. I set the audio buffer to "1" or "2" and it seems that now the audio and video are full synched. I think that reducing the sound buffer i could encounter some problems during the moments of major cpu workload.... It's already happened during a Session of Ruff'n'Tumble. So if you reached this point , i'd like to hear from you Any chance to solve this issue? Should i come back to my previous CRT? |
07 January 2008, 12:19 | #2 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,514
|
Smaller the sound buffer, smaller the delay but sound problems can happen more regularly (too many variables, host cpu speed, windows version, sound card, sound card driver etc..)
VSync makes syncing more difficult. "Bonus" feature is 100% CPU usage because most/all display drivers busy loop while waiting for vsync.. Vsync on: sound is synced to video. Requires very exact sound timing (or bigger buffer) Vsync off: sound and video is synced to 'clock'. "Sync" is quite relaxed, nobody notices if framerate isn't exactly 50fps, everyone notices if sound pops or breaks. (Sync means "external" video/sound sync. Emulated program don't see any difference.) |
07 January 2008, 13:12 | #3 | |
GoalScoringSuperstarHero
Join Date: Jan 2008
Location: ITALY - Milan
Age: 43
Posts: 74
|
Quote:
I have a p4 2.8 ghz. Maybe Winuae requires much more power in order to get audio and video synched with Vsync enabled? Thanks! Last edited by cybermat; 07 January 2008 at 14:21. |
|
07 January 2008, 20:26 | #4 |
GoalScoringSuperstarHero
Join Date: Jan 2008
Location: ITALY - Milan
Age: 43
Posts: 74
|
I think to have "solved", i put 2 as sound buffer and the sound is synchronized even if i put the Vsync, Direct3d with bilinear filter.
I noticed that if i put WITHOUT vsync enabled, the sound buffer to 7 i have a delay of audio than the video. Maybe i have some problems with my PC configuration. Thanks. |
07 January 2008, 21:29 | #5 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,514
|
VSync seems to be very PC specific.Very difficult to help when everyone seems to have slightly different VSync problems
|
07 January 2008, 22:10 | #6 |
Zone Friend
Join Date: Mar 2003
Location: uk
Posts: 426
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CyberbugfixAGA - how to enable | Bloodwych | project.ClassicWB | 81 | 23 October 2016 20:35 |
50hz Vsync causing audio problems | WDeranged | support.WinUAE | 16 | 02 October 2009 02:00 |
VSync delays audio | mr.vince | support.WinUAE | 11 | 26 November 2008 21:15 |
Preload/S WHD how do i enable this ???? | synchro | Amiga scene | 6 | 03 October 2004 14:37 |
Sound get un-synchronized from video on AVI | trance007 | support.WinUAE | 12 | 17 August 2003 20:47 |
|
|