07 April 2022, 19:41 | #1 |
Registered User
Join Date: Feb 2021
Location: Germany
Posts: 71
|
Strange issue with system time
I am running latest version of WinUAE with OS3.2.1.
UAE runs in "full window" mode and auto-hides the window when it looses focus by switchig back to Windows with Alt-Tab. Priority is set to "below normal" and rest of emulation including sound is set to run normal when minimised. I noticed that Amiga System time starts to run behind real time when I often switch between Windows and UAE or when having UAE minimised for some time. Strange thing is, that battclock has correct time setting in this case and system time is behind. When I run "setclock load" in shell, system time restores back to normal. I have "synchronise clock" enabled but this only has an effect when I open WinUAE GUI and then close it. Is it possible to have the same routine triggered when UAE is catching mouse pointer after being minimised? |
09 April 2022, 18:35 | #2 |
Registered User
Join Date: Feb 2021
Location: Germany
Posts: 71
|
Am I the only one with this issue?
|
09 April 2022, 19:11 | #3 |
Rumpig
Join Date: Aug 2006
Location: The bottom of the bottle
Age: 93
Posts: 254
|
Would seem so far you indeed do be.
|
09 April 2022, 20:05 | #4 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,570
|
Misc panel "syncronize clock" sets Amiga clock to host time when WinUAE window gets focus.
Also make sure CIA-A clock source is power supply (="big box Amiga"). VSync will drift slowly. |
11 April 2022, 16:55 | #5 |
Registered User
Join Date: Feb 2021
Location: Germany
Posts: 71
|
CIA-A Clock setting did not fix it.
Maybe it's something related to Windows 11? Really strange that only I seem to have this issue. |
16 April 2022, 19:23 | #6 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,570
|
Do you get SETSYSTIME log messages when alt-tabbing? (run winuae from command line with -log parameter).
This message means winuae got focus and executed clock sync. Clock sync requires UAE boot ROM active (=at least some uae device must be active, like directory filesystem, uaehf.device etc..) |
16 April 2022, 21:30 | #7 |
Bug hunter
Join Date: Jul 2006
Location: Italy
Age: 48
Posts: 2,171
|
Similar issue: http://eab.abime.net/showthread.php?t=108157
|
17 April 2022, 16:42 | #8 | |
Registered User
Join Date: Feb 2021
Location: Germany
Posts: 71
|
Quote:
Boot rom is set to "Original UAE (FS + F0 ROM)" |
|
21 April 2022, 00:26 | #9 |
Bug hunter
Join Date: Jul 2006
Location: Italy
Age: 48
Posts: 2,171
|
@yelworC
Can you test it in Windowed mode if you can reproduce it? From my tests mentioned above it happens only in fullscreen/fullwindow... |
21 April 2022, 16:16 | #10 |
Registered User
Join Date: Feb 2021
Location: Germany
Posts: 71
|
|
22 April 2022, 13:55 | #11 | |
Bug hunter
Join Date: Jul 2006
Location: Italy
Age: 48
Posts: 2,171
|
Quote:
Tony, it's ok changing CIA-A to Power Supply 50Hz even when I run NTSC games then? I mean: that option won't affect NTSC 60Hz native res, and the timing for NTSC games won't be forced to 50Hz (PAL), right? |
|
22 April 2022, 17:22 | #12 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,570
|
Quote:
btw, 50Hz power supply is not same as vsync even if display is 50Hz. Amiga normal PAL display is 49.92Hz. Interlace is 50Hz but it also isn't 100% exact. |
|
23 April 2022, 18:33 | #13 |
Bug hunter
Join Date: Jul 2006
Location: Italy
Age: 48
Posts: 2,171
|
Today I reproduced my issue (cfg in signature. I just use std Adv. Chipset settings), but noticed this strange thing opening Scout that through identify.library 40.0 (13-Feb-2022) was unable to detect chipset details... Maybe just a bug in Scout/idlib but worth mentioning maybe:
P.S. The other day testing with Adv. Chipset > CIA-A: Power Supply = 50Hz I WASN'T able to reproduce it, or the be exact I saw a strange thing after resume from Sleep + Hibernation: the titlebar clock I use quickly changed the time, e.g. 22:01, 22:02, 22:03, 22:04... etc. 'till it reached the current Windows time. Weird.... EDIT: never mind. Tried to reproduce this selecting CIA-A but didn't work and time was wrong and didn't change. Last edited by hexaae; 24 April 2022 at 10:40. |
20 May 2024, 22:57 | #14 |
Ex nihilo nihil
Join Date: Oct 2017
Location: CH
Posts: 5,034
|
Since last post is from 2022 (prior to WinUAE 5.0.0), I can add that with WinUAE 5.0.0 the Amiga clock get regularly out of sync. No need for the PC to sleep and resume (this function is turned off on my laptop). Each time I use or leave WinUAE for a long time (system 1.3 friendly applications - so not for gaming) the Amiga clock gets out of time. Focus gets on and off WinUAE with alt-tab. Today, after about 8 hours running :
PC time (time command) : 22:52:46.54 Amiga time (date command) : 22:24:31 So about 1/2 hour of difference between PC and Amiga. Edit : In case it is useful, last Amiga reset (and thus boot) was at 20:12:25 Edit 2 : I just rebooted to confirm that clock is correct after a reboot so the 1/2 hour difference indicated above happened only after 2:35 (much quicker than I thought) Last edited by malko; 20 May 2024 at 23:31. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Your favourite demo of all time on any system. | mcgeezer | Nostalgia & memories | 35 | 14 November 2019 19:25 |
Set System Time | xArtx | Coders. C/C++ | 2 | 04 March 2016 10:24 |
Sync to system time? | JumpingJackson | support.FS-UAE | 1 | 04 August 2015 00:15 |
Strange Issue | mai | support.WinUAE | 6 | 06 January 2010 12:54 |
App to update Amiga System time from web time?? | DDNI | request.Apps | 2 | 31 December 2007 07:21 |
|
|