English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 28 January 2018, 19:19   #1
SLC
Registered User
 
Join Date: Jan 2018
Location: Norway
Posts: 22
Glitchy sound when enabling Cycle exact DMA/Memory accesses

I've been playing a bit with the latest WinUAE and amazed by how incredibly well it works, but I have run into a small problem which I hope someone has a solution to.

Some games seems to rely on the cycle-exact memory accesses, or they will simply just fly away. All emulation works flawless up until the point I enable either of the Cycle-exact options, and sounds starts cracking up, and this happens on both 68020 and 68030 emulation, regardless of choosing "fastest possible" or "Approximate A500/A1200". I have tried with both no buffer, double buffer and triple buffer and also various sound buffer sizes.

What info will you be needing to find out if there's an error in my setup? Is there a known setting that works around this? My setup is an i7 6700K, 32GB RAM and Radeon R9 290 graphics card. Thanks in advance for any help
SLC is offline  
Old 28 January 2018, 19:23   #2
DamienD
Banned
 
DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
Heya SLC,

Welcome to EAB

Quote:
Originally Posted by SLC View Post
What info will you be needing to find out if there's an error in my setup?
Attach these as a starting point

a) winuaebootlog.txt
b) winuaelog.txt (gets created via "Paths" --> ticking "Enable full logging" before starting emulation)
c) configuration file
DamienD is offline  
Old 28 January 2018, 19:29   #3
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
Check CPU%, does it stay under 100%? Your CPU should be more than fast enough but other settings can cause side-effects.

EDIT: It also happens with basic A1200 mode without any expansions, not even fast ram?
Toni Wilen is online now  
Old 28 January 2018, 19:52   #4
SLC
Registered User
 
Join Date: Jan 2018
Location: Norway
Posts: 22
I'll start by uploading the requested files.. I will check if it happens also with standard A1200 settings without fast RAM. I just need to find something suitable to test that config with.

Is there a way I can check CPU usage easily when in fullscreen mode? I also think it's not a CPU issue, but that something in my setup causes it somehow.
Attached Files
File Type: uae test_config.uae (15.0 KB, 68 views)
File Type: txt winuaebootlog.txt (18.4 KB, 65 views)
File Type: txt winuaelog.txt (36.5 KB, 72 views)
SLC is offline  
Old 28 January 2018, 20:00   #5
SLC
Registered User
 
Join Date: Jan 2018
Location: Norway
Posts: 22
Yes, I can confirm it's also happening with standard A1200 settings and no fast.

Edit: CPU usage according to resource monitor never goes above 12% which is not even near maxing one core... so think we can rule out CPU as being the bottle neck.
SLC is offline  
Old 28 January 2018, 20:18   #6
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
I mean WinUAE on screen led CPU% (enable in misc panel) or use windowed mode.

Task manager/resource meter shows 100% = all cores in use which is useless information when program is mostly single threaded.

EDIT: Fastest possible + cycle-exact is not really "tuned" config combination and can cause issues.

Last edited by Toni Wilen; 28 January 2018 at 20:26.
Toni Wilen is online now  
Old 28 January 2018, 20:19   #7
DamienD
Banned
 
DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
Quote:
Originally Posted by SLC View Post
Is there a way I can check CPU usage easily when in fullscreen mode?
Load any game / demo and before starting emulation do either of the following:

a) WB config - navigate to "Miscellaneous" and tick "Native on-screen display".
b) RTG config - navigate to "Miscellaneous" and tick "RTG on-screen display".

...or just use "Windowed" mode while testing
DamienD is offline  
Old 28 January 2018, 20:26   #8
mark_k
Registered User
 
Join Date: Aug 2004
Location:
Posts: 3,335
Do you have the same sound glitches when you use Direct3D 9 mode instead of D3D11?
mark_k is offline  
Old 28 January 2018, 21:34   #9
SLC
Registered User
 
Join Date: Jan 2018
Location: Norway
Posts: 22
Quote:
Originally Posted by Toni Wilen View Post
I mean WinUAE on screen led CPU% (enable in misc panel) or use windowed mode.

Task manager/resource meter shows 100% = all cores in use which is useless information when program is mostly single threaded.

EDIT: Fastest possible + cycle-exact is not really "tuned" config combination and can cause issues.
I know the resource meter shows 100% when all cores are maxed, which is why I mentioned a load that showed activity lower than one core regardless how you look at it. But I agree, it's a bad metric. Did get the resource meter in UAE enabled too which showed nothing odd.

So, fair enough that fastest possible + cycle-exact may cause issues. It works perfectly if I do not enable that, so I guess this is the way to go. But maybe you can tell me if there's a way to achieve what I was trying. I am wanting configs which roughly matches the speeds of a 030/50 and 060/50. Is this possible or is it pretty much A500 speed or max speed in terms of choices in that regards?
SLC is offline  
Old 29 January 2018, 11:00   #10
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
Not really. It is sort of approximate in unexpanded A1200 mode but not anymore when fast ram is added/faster CPU.

CPU% is more useful because it if it shows >100% = emulation can't keep up with real world and sound will glitch.
Toni Wilen is online now  
Old 29 January 2018, 15:03   #11
SLC
Registered User
 
Join Date: Jan 2018
Location: Norway
Posts: 22
I think I may have found the issue... speedstep was for some reason enabled. Disabled that and it seemed to go away. Now only some popping occurs when WinUAE reports >90% CPU usage, which is kinda to be expected I suppose. I now watched a demo all the way through using 68030, fastest possible and cycle exact DMA/memory accesses without a single glitch. I hope this issue is resolved now
SLC 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
CPU speed slider in memory cycle-exact mode amilo3438 support.WinUAE 5 12 December 2017 21:05
cycle-exact or not? brolly support.WinUAE 10 27 March 2012 16:18
Cycle-Exact and A1200 Another World New to Emulation or Amiga scene 2 15 December 2008 20:38
Cycle-Exact tim_calladine support.WinUAE 1 24 October 2008 15:57

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 17:10.

Top

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