04 August 2024, 15:41 | #1 |
Registered User
Join Date: Aug 2008
Location: Spain
Posts: 529
|
What's vertical sync rate derived from in WinUAE?
Hello there,
I've noticed that, to get perfectly synchronized screen refresh when emulating a NTSC Amiga in Amiberry 6.x sources ("preview" branch), which are based on the latest WinUAE, I need to set a physical video mode of exactly 59.940059 Hz. In other words, using a 60.000000 Hz mode results on small hiccups every 10-20 seconds due to the small discrepancy between the emulated Amina NTSC system vertical sync rate and the physical host refresh rate. I know it's a well known NTSC vertical sync rate (apparently derived from 60*1000/1001, where 1001 was historically chosen to ajust the vertical syn freq down to create an space needed for the color signal without interfering the audio signal), but where are those ~59.94 Hz derived from in the WinUAE sources? Also, would it be possible to sync to host refresh instead? Having a 59.94 Hz video mode automatically set on modern displays isn't that common... Thanks! |
04 August 2024, 15:47 | #2 | |
HOL/FTP busy bee
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 32,417
|
I would guess from this: https://en.wikipedia.org/wiki/NTSC#R...d_refresh_rate
Quote:
|
|
04 August 2024, 16:29 | #3 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,598
|
Tick Display panel Settings area bottom right checkbox and then fill the text box with refresh rate you want. This keeps the rate static.
Amiga refresh rate normally depends on mode: interlaced is 50/60Hz, non-lace is slightly less (long field). or slightly more (short field). |
07 August 2024, 12:03 | #4 | |
Registered User
Join Date: Aug 2008
Location: Spain
Posts: 529
|
Quote:
Ah, yes! I adjusted to my monitor in-use exact refresh rate using that and it works. But the problem with that is that the number of generated audio samples isn't adjusted, so for example if a game runs at 59.xxxx Hz and I adjust the frame rate to 60.000000 Hz, too few samples are generated and the audio occasionally "skips". Totally expected. So... Is there an option for number-of-audio-samples compensation for framerate adjustment? That would allow perfect audio and video synchronization at last. |
|
07 August 2024, 12:40 | #5 | |
Ex nihilo nihil
Join Date: Oct 2017
Location: CH
Posts: 5,124
|
Quote:
Edit : NTSC : Never Twice the Same Colour. Last edited by malko; 07 August 2024 at 17:32. |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using Winuae and G-Sync | Shadowfire | support.WinUAE | 13 | 04 April 2021 17:27 |
Cybervision 64 vertical refresh rate | trixster | support.Hardware | 5 | 04 October 2018 20:38 |
Sync to refresh rate | jbl007 | support.FS-UAE | 7 | 19 April 2013 22:12 |
[Found: Stellaryx] Asteroids derived game | Kludgy | Looking for a game name ? | 2 | 21 February 2010 09:17 |
vertical sync flickers | PiCiJi | support.WinUAE | 2 | 25 September 2004 14:34 |
|
|