English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 28 December 2022, 13:39   #1
Brett Eden
Registered User
 
Join Date: Dec 2022
Location: Australia
Posts: 7
WinUAE 4.10.0 — P96Speed issues in PAL Hires mode

When running P96Speed in PAL Hires mode (AGA), it runs fine until it reaches the MoveWindow() test. Instead of running the test for the default 13s as it does with other tests, it continues infinitely.

If 32bit Chip is enabled, the same thing happens only it makes it one test further to SizeWindow(), which it runs infinitely.

These behaviours are not exhibited when running P96Speed in RTG modes.
Brett Eden is offline  
Old 28 December 2022, 14:17   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,516
Sounds like Amiga software side problem (memory leak?)
Toni Wilen is offline  
Old 28 December 2022, 17:27   #3
Brett Eden
Registered User
 
Join Date: Dec 2022
Location: Australia
Posts: 7
Quote:
Originally Posted by Toni Wilen View Post
Sounds like Amiga software side problem (memory leak?)
WinFellow was able to complete all tests in PAL Hires/68030/16 colours. I downgraded WinUAE to ECS and it was still getting stuck at MoveWindow(). I disabled JIT and WinUAE was able to complete all tests in PAL Hires/68030/16 colours.

HOWEVER…MoveWindow() and SizeWindow() took longer than their allotted time. All subsequent tests ran for as long as they were supposed to.
Brett Eden is offline  
Old 28 December 2022, 23:24   #4
rutra80
Registered User
 
Join Date: Jul 2019
Location: Poland
Posts: 308
SysSpeed doesn't have that problem, but it doesn't disable multitasking. P96Speed doesn't run infinitely, just much longer, I guess that with disabled multitasking it has problems with counting time - it does it either only when intuition is redrawing, or only when it doesn't...
rutra80 is offline  
Old 30 December 2022, 15:28   #5
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,516
JIT probably confuses its timing calculations. JIT can make some operations to look like they executed in zero cycles.
Toni Wilen is offline  
Old 30 December 2022, 16:37   #6
rutra80
Registered User
 
Join Date: Jul 2019
Location: Poland
Posts: 308
It's not right even in A1200 cycle exact mode with Chip RAM only (that 2 intuition tests always take longer than the set time).
rutra80 is offline  
Old 31 December 2022, 08:59   #7
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,516
Works for me (both JIT and 68020 CE + standard KS3.1).

Probable reason is different KS version, system patches etc.
Toni Wilen is offline  
Old 31 December 2022, 14:01   #8
rutra80
Registered User
 
Join Date: Jul 2019
Location: Poland
Posts: 308
Brett what KS were you testing on? I was testing on heavily modified 3.X and vanilla 3.2.
rutra80 is offline  
Old 01 January 2023, 00:50   #9
rutra80
Registered User
 
Join Date: Jul 2019
Location: Poland
Posts: 308
Toni I've just checked CE vanilla A1200 booted from floppy WB 3.1 and SizeWindow() takes 2-4 seconds when set to run for 1 second (with tendency to take longer with 256 colours than with 4).
rutra80 is offline  
Old 01 January 2023, 11:39   #10
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,516
I also get unstable results when using real A1200 (without expansions). For example 4s time but 7s total real world time. Other tests work correctly as expected.

I think reason is simple: these tests are disabling interrupts temporarily (intuition/layers operations possibly when window is created/resized?) and because program uses vblank timer to count test length which will become unreliable if interrupts are disabled long enough.

It should have used CIA timers.
Toni Wilen is offline  
Old 01 January 2023, 13:47   #11
rutra80
Registered User
 
Join Date: Jul 2019
Location: Poland
Posts: 308
Great so this case is explained now. Thank you.
rutra80 is offline  
Old 01 January 2023, 15:13   #12
hexaae
Bug hunter
 
hexaae's Avatar
 
Join Date: Jul 2006
Location: Italy
Age: 48
Posts: 2,161
@Toni
A decent benchmark suitable for WinUAE? AmigaMARK?

Last edited by hexaae; 01 January 2023 at 15:31.
hexaae is offline  
Old 01 January 2023, 20:33   #13
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,516
Quote:
Originally Posted by rutra80 View Post
Great so this case is explained now. Thank you.
Yet another thing that no one noticed before, probably because it was mainly used as RTG benchmark and most users just run all benchmarks without timing how long it exactly took.

JIT messing up timing enough to cause it to work even worse is normal

Quote:
Originally Posted by hexaae View Post
@Toni
A decent benchmark suitable for WinUAE? AmigaMARK?
I don't know. P96Speed is fine, except those 2 tests because it made bad timer choice. At least it does not have the biggest problem: test run taking almost no time with JIT active.

Main requirements are: timing should use CIA timers, test length should adjust to CPU speed. It is "bad" test if it takes less than few seconds with JIT.
Toni Wilen is offline  
Old 05 January 2023, 13:30   #14
hexaae
Bug hunter
 
hexaae's Avatar
 
Join Date: Jul 2006
Location: Italy
Age: 48
Posts: 2,161
AmigaMARK
Violet: 4.10
Red: old 4.3.0





Last edited by hexaae; 05 January 2023 at 13:41.
hexaae is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
PAL HiRes Wrong Aspect Ratio Leandro Jardim support.WinUAE 9 07 April 2019 13:12
Super Hires Mode Steve support.WinUAE 12 16 November 2015 01:26
PAL Hires, but with overscan of 1024 x 384 - possible? mingle support.WinUAE 21 21 July 2010 13:11
ClassicWB Full for PAL Hires Interlace? mingle project.ClassicWB 1 16 July 2010 15:54
If I have WinUAE running on a 50 or 100Hz screen in PAL mode (50 fps), [more] fmcpma support.WinUAE 3 27 August 2006 11:17

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 23:17.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.12743 seconds with 15 queries