English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 01 December 2014, 19:08   #1
bodhi
Registered User
 
bodhi's Avatar
 
Join Date: Nov 2012
Location: GB
Posts: 32
Window mode SND CPU and FPS indicators...

Hello,

In Windowed mode, on the bottom right-hand area, there are three indicators: SND, CPU, and FPS. I have vague idea what they indicate but can someone tell me exactly what they mean and how I should read them?

fe: SND's value varies widely from +/- 100%. What is this saying? The fact that it goes into negative has me particularly baffled. Also, CPU, is this the PC load or emulated Amiga's load? Again, FPS, I'm sure it's telling me that the emulated picture is updating at the 50fps (?) but I've had it drop a bit at times. Does that mean that my PC is not powerful enough to run the emulation at the 50fps I requested in WinUAE's settings at that particular moment (maybe when something requiring a lot of processing power is happening within the Amiga emulation) ?

Sorry for being a thicko but, well, I am.

Last edited by bodhi; 01 December 2014 at 19:20.
bodhi is offline  
Old 01 December 2014, 20:29   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,507
SND: how far reported audio position (from sound driver) is from optimal/predicted position. Should normally stay inside +-30%. Large positive values don't cause glitches but increase latency (and see FPS), small negative will break sound (buffer underrun)

CPU% is approximately how much host CPU power is in use. Should never go above 100%. (Above 100% = guaranteed sound glitches, FPS going down)

FPS should stay very stable most of the time (+-0.1), larger jumps means something stole time from emulation or sound was so far ahead of predicted position that there was no free sound buffers left (would have resulted in overrun), emulation was paused until there was free buffer space again. (Keeping sound glitch free has priority). Host display mode switches, window resizing etc.. can also cause temporary FPS drop (and SND% jump) which is normal.
Toni Wilen is offline  
Old 02 December 2014, 19:40   #3
bodhi
Registered User
 
bodhi's Avatar
 
Join Date: Nov 2012
Location: GB
Posts: 32
ah, great. Thanks for the explanation, tony! Just been able to optimize my sound quite a bit now that I understand what the SND indicator is actually telling me. Now using DSOUND instead of my card's ASIO drivers (always thought they would be better for <<latency, but apparently not!). Now have very small +/- 8% variation there.

Thanks you!
bodhi is offline  
Old 07 December 2014, 05:12   #4
rhester72
Registered User
 
Join Date: Feb 2008
Location: New York / USA
Posts: 360
What would explain SND going negative and continuing to go negative until about (negative) 40-41% and staying there?

If I run Cinemaware Wings (coincidental test case) with latest beta or release, this happens, and is particularly pronounced with sound autoswitching disabled (just to see if it happens faster, and indeed, it does).

Granted, the machine in question isn't exactly a powerhouse (Windows 8.1 Pro 64-bit with 4GB RAM and a Pentium N3530), but CPU percentages tend to stay around 60% on average, and this is a rather light workload to be throwing at it (I think!).

EDIT: Yay, I made it before Toni crystal-balled me! *LOL* The 3D performance of the N3530 is _astoundingly_ bad...switching to DirectDraw worked, but not in full-screen (the machine *tanked* then)...but DD with full window worked like a charm! Stupid "3D" in Intel chipsets... :P

Rodney

Last edited by rhester72; 07 December 2014 at 05:56.
rhester72 is offline  
Old 23 October 2016, 03:08   #5
NorthWay
Registered User
 
Join Date: May 2013
Location: Grimstad / Norway
Posts: 839
I'm having a stupid moment here. I just can't figure out why I am getting 30 FPS with my config. I can see the default A500 one doing 50 so there must be something I have messed with.
Attached Files
File Type: zip bad-fps.uae.zip (2.4 KB, 87 views)
NorthWay is offline  
Old 23 October 2016, 09:20   #6
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,507
I don't see what this has to do with this topic but buy a better pc or don't try something weird like MMU emulation + cycle exact.
Toni Wilen is offline  
Old 23 October 2016, 18:26   #7
NorthWay
Registered User
 
Join Date: May 2013
Location: Grimstad / Norway
Posts: 839
What the? Did I upload the wrong config. Sigh... Sorry.
I was trying to understand why it was doing 30FPS in PAL, but using >100% CPU was perhaps a hint.

Changing the filters seem to affect the FPS rather a lot. I was looking for something as lightweight as possible that just repeats the pixels 2/3/4 times to increase the size of the output. Most options seem to do some kind of interpolation to it.
Attached Files
File Type: zip correct_bad-fps.uae.zip (2.5 KB, 88 views)
NorthWay is offline  
Old 23 October 2016, 19:59   #8
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,507
Your config does not have any filters. EDIT: Your problem most likely is DirectDraw. Don't use it. (Misc panel)

"the filters" won't really help, you probably tried software filter and they _are_ slow. Use D3D shader filters.

Last edited by Toni Wilen; 23 October 2016 at 20:07.
Toni Wilen 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
4000% CPU, 1.1 FPS, Macerated Audio MoarPye support.WinUAE 10 13 September 2013 14:04
question about a glitch in window mode sink support.WinUAE 5 15 December 2009 20:54
Using a predefined res. to display the WB properly when in window mode -RTG'd WB only NewDeli New to Emulation or Amiga scene 60 16 October 2009 08:41
Reset option for window in windowed mode andreas support.WinUAE 3 07 January 2009 00:27
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 06:16.

Top

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