English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 01 October 2016, 14:29   #1
dimode
 
Posts: n/a
Sound glitches on A1200 (SND:-82%)

Hello.

I've got issues with the sound on A1200 emulated with WinUAE 3.3 and 3.1 (both portable and installed). I've tried to set up a configuration for A1200 according to Example Configurations at http://www.vware.at/winuaehelp/
( http://www.vware.at/winuaehelp/Examp...gurations.html ).

SND indication increasing and goes from 0 to -80% in a few seconds and then goes grey beyond -80% with glitches appearing, emulations slows down and indicator stops on -82%. I've read on this forum (I guess that was from Toni Wilen) that SND normally should be between -20 and 20%.

A500 configuration on WinUAE has SND at -40 or -10 and its sound is working fine.

I've tried tweaking sound options including switching drivers but all I have is a little delay (buffer 10) of sound normal working for a few seconds untill SND reaches -80%. But I don't know how to use WinUAE plugins, maybe some plug-ins for sound would help if I knew how to use them. For example OpenAL?

The dropdown list of sound drivers at the top of the sound options consists of DSOUND: Primary sound driver and DSOUND: Realtek HD Audio Output but changing it doesn't help. I've got also installed ASIO4ALL audio driver but it it's not listed here.

I'm using WinUAE on my old Eee PC 4G netbook with Intel Celeron 900MHz, 504MB RAM, integrated graphics Intel GMA 900 and audio Realtek ALC662, WinXP SP3 installed.

What should I do to fix this?
Thanks.
 
Old 01 October 2016, 15:32   #2
Arnie
R.I.P Smudge 18-08-16
 
Arnie's Avatar
 
Join Date: Aug 2005
Location: Leicester/UK
Age: 66
Posts: 3,968
High CPU usage can result in poor sound. Try moving the CPU speed slider to the left.
Arnie is offline  
Old 01 October 2016, 15:50   #3
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
Probably your config + PC hardware combination requires more CPU power than is available. Check CPU%, does it stay (temporarily or continuously) above 100%?
Toni Wilen is offline  
Old 01 October 2016, 16:47   #4
dimode
 
Posts: n/a
Thank you for replies!

Previously I've already used option CPU Emulation Speed Fastest possible. I also moved CPU Speed slider to the left as well. But that didn't helped much. "Fastest possible" option helped to decrease CPU indication from previous 200+ (continuously) to about 50-180% and emulation went faster but the issue with the SND:-82% remained. SND percentage grew from 0% to 80% and then as usual started to glitch. Before -80% all works very well.

If I pause emulator and then resume sound buffer size set to 10 again gives normal sound untill it grows -80%. I set mono mode, 15000 or 11000 Hz, disable interpolation, turn off audio filter.

Floppy drive sound emulation causes the same problem. Even when FDD sound emulation is off and I see kickstart picture with diskette animation the issue with SND growth remains (I just don't hear glitch).

And if I disable sound (doesn't matter emulated or not) the issue is gone.

On A500 the sound works fine and SND stays lower than -80%.

Maybe some memory settings could also lower requirements? Or other settings set to minimum for such netbooks as mine to emulate A1200 without audio glitches?
 
Old 01 October 2016, 17:44   #5
mark_k
Registered User
 
Join Date: Aug 2004
Location:
Posts: 3,333
Could you attach the two configs you're using (A500 and A1200)? Maybe there's some other difference between them which could explain the problem.
mark_k is offline  
Old 01 October 2016, 21:39   #6
dimode
 
Posts: n/a
Those screenshots show averages. Sometimes it can get worse or better.
Attached Thumbnails
Click image for larger version

Name:	A500.png
Views:	104
Size:	50.4 KB
ID:	50213   Click image for larger version

Name:	A1200.png
Views:	102
Size:	154.3 KB
ID:	50214  
Attached Files
File Type: uae A500.uae (16.1 KB, 92 views)
File Type: uae A1200.uae (17.8 KB, 94 views)
 
Old 01 October 2016, 22:05   #7
mark_k
Registered User
 
Join Date: Aug 2004
Location:
Posts: 3,333
In the A1200 config you have CPU speed set to "Fastest possible" not "Approximate A500/A1200 or cycle-exact". Try setting it to Approx... instead.

The A500 config uses full-screen, the A1200 windowed.

(You also have 512KB slow RAM in the A1200 config???)

Also, you're using DirectDraw. Do things improve if you use Direct3D instead (Graphics API in Miscellaneous settings)?
Try setting Collision Level to None (in Chipset settings) too, that could help reduce CPU usage.

Last edited by mark_k; 01 October 2016 at 22:15.
mark_k is offline  
Old 01 October 2016, 23:56   #8
onkelarie
Registered User
 
onkelarie's Avatar
 
Join Date: Aug 2004
Location: Spijkenisse / the Netherlands
Age: 54
Posts: 525
Also, try setting on the Display settings tab, the option Native screen to Fullscreen.
To the right of that, set the dropdown to Low Latency Vsync.

Finally, set the refreshrate to 50hz PAL.

EDIT: Doh! I should have read OP's comments better. The Celeron 900mhz is not the best configuration for an A1200 AGA setup. That might indeed be the cause.
onkelarie is offline  
Old 02 October 2016, 14:14   #9
dimode
 
Posts: n/a
Thanks for useful comments.

Onkelarie, eventually it works alright despite its incompatibility with WinUAE minimal requirements.

Mark_k, Slow RAM was set up initially to 512KB because according to Example Configurations at http://www.vware.at/winuaehelp/ it is shown as n/a. So I've set it between 0 and 1.8MB randomly. Any value at all didn't improve or worsen the sound.

Direct3D didn't help.

Fullscreen + Low latency VSync turns out to matter in my case because Windowed worked slower.

Screen settings refresh slider set to second value was optimal and mostly fixed my sound issues (values are not indicated here in this setting and by the way it was 50Hz PAL all the time). First (left) value gave normal image movement and glitchy sound and vice versa. With this slider set like that now normal work of sound lasts minimum half a minute and more while the image is still moving smoothly.

All other settings mentioned in this thread didn't improve emulation. Including Collision Level to None, tweaking slow RAM. Except memory settings Chip that I must set to minimum value starting from 1.5 because if less then I couldn't boot normally and I'll get AmigaDOS message while loading a game:
runme.exe: not enough memory available
runme.exe failed returncode 10

So now A1200 config works fine with all settings mentioned above and CPU emulation speed set to Approximate A500/A1200 or cycle-exact -90%. And A600 config with Fastest possible speed (Approximate didn't work and glitches were back).

I've attached these two working configs just in case.

But there's still a tiny problem that I couldn't manage to fix. The sound now in these configs is faster and higher than it should be originally. That's OK, I can live with that.
UPD: Fixed. Need to choose other than Low latency option in Display→Screen settings→Native at the right.
Attached Files
File Type: uae A600.uae (18.4 KB, 71 views)
File Type: uae A1200 2!.uae (18.2 KB, 81 views)

Last edited by dimode; 03 October 2016 at 13:47.
 
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Window mode SND CPU and FPS indicators... bodhi support.WinUAE 7 23 October 2016 19:59
Sound glitches in non-vsync modes with desktop composition enabled mark_k support.WinUAE 10 13 January 2013 22:21
Amiga CD32 Sound Glitches Experiment T support.WinUAE 0 02 April 2009 23:13
A1200 graphics glitches Rixa support.Hardware 11 28 September 2008 02:01
Sound glitches when playing game Keiko Hiraoka support.WinUAE 22 04 June 2007 23:41

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:54.

Top

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