English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 25 April 2008, 02:05   #1
mcferson
 
Posts: n/a
Sound shift

Don't know if there is a thread about that pb, i don't find it.
So : since i used the 1.4.6 version (and may be before, but impossible to know why), the sound of the entire program (even the floppy drive emulated sound) is shifted. It arrive with 2sec in late after the real action.
I really don't understand what's happening, i've never got this before.
Never i changed my PC nor my personnal winuae config (wich match MY real Amiga 500 - still in his box ).

Is there someone helpfull ?

Thanks in advance.
 
Old 25 April 2008, 02:25   #2
andy
Back.
 
Join Date: May 2002
Location: UK
Posts: 121
Welcome to the forums.

If you are playing pre-AGA games (like on your A500), try:

1. Using 'Quickstart', selecting an A500 or A500+ model and choose a standard configuration;

2. Reduce the Sound Buffer size (it is often at '4', which can produce the lag that you describe);

3. Adjust the CPU and Chipset Emulation sliders.

Should you want your own custom config, it is worth starting a new one for the WinUAE that you are using.

Bonne chance!
andy is offline  
Old 12 October 2008, 17:39   #3
Troublemaker
 
Posts: n/a
Hi there,
I think I've got the same problem on my eeePC 901.
The sound plays correctly, but ~2 sec. later the same sound is played more quietly with some crackling in the background. It's nearly unplayable...I can put up a sound file, if that helps.
The only way (I know) to avoid this problem is to play in fullscreen-mode with v-sync. Every other tested config doesn't work.

Any ideas?
 
Old 12 October 2008, 17:57   #4
TCD
HOL/FTP busy bee
 
TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 32,363
Hi Troublemaker,

does changing the sound buffer setting make any difference? How high is your CPU usage when the sound has this crackling echo?
TCD is offline  
Old 12 October 2008, 23:11   #5
NewDeli
Banned
 
Join Date: Oct 2007
Location: Paris / FRANCE
Age: 50
Posts: 1,248
Send a message via ICQ to NewDeli
WinUAE v1.4 series is rather demanding in terms of CPU usage. Problem with making the buffer vary is that it's either cracking noises or annoying delays. Leave it to an average (4) and try the following :

In case of sound problems, I let the audio 'loose' emulated but not 100%, channel mode : stereo, no interpolation, and... come closer...I lower the frequency to 22k .

Also, make sure all useless Windows crap is disabled, turned off, closed and increase the priority of WinUAE to 'above normal'.

Last edited by NewDeli; 13 October 2008 at 00:20.
NewDeli is offline  
Old 13 October 2008, 07:30   #6
MickJT
Registered User
 
Join Date: Jul 2007
Location: Australia
Posts: 189
Best way I found to fix these problems is to set the frameskip to 2.. A lot of games are at 25fps anywway so you don't notice a damn thing. Of course frameskip only works when in normal screenmodes, PAL, NTSC etc..
MickJT is offline  
Old 13 October 2008, 07:56   #7
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,587
Quote:
Originally Posted by Deleauvive View Post
WinUAE v1.4 series is rather demanding in terms of CPU usage.
Ok, right... and 1.3 wasn't? Really useful answer..

Quote:
Problem with making the buffer vary is that it's either cracking noises or annoying delays. Leave it to an average (4) and try the following :

In case of sound problems, I let the audio 'loose' emulated but not 100%, channel mode : stereo, no interpolation, and... come closer...I lower the frequency to 22k .

Also, make sure all useless Windows crap is disabled, turned off, closed and increase the priority of WinUAE to 'above normal'.
Please stop answering if you aren't sure what are you talking about. (not the first time) Thank you.

Above normal = not always the best, can cause other issue VERY easily.

Sound frequency = very little cpu difference. Sound problem = 99.9% it has NOTHING to do with sound settings but other parts of emulation taking too much cpu time.

Troublemaker: test different display settings (16bit or 32bit, 16bit may even be faster in some systems..), disable cycle-exact (at least ~2x cpu usage increase). Make sure both display and sound drivers are up to date.
Toni Wilen is offline  
Old 13 October 2008, 09:36   #8
NewDeli
Banned
 
Join Date: Oct 2007
Location: Paris / FRANCE
Age: 50
Posts: 1,248
Send a message via ICQ to NewDeli
I should say concerning the frequency lowering, I was joking, sorry. I agree it shouldn't be necessary for normal emulation.

Also, me saying WinUAE is CPU demanding is my way of wishing for a less-CPU driven v1.5 series, if I may.

As for the Windows apps, services and such, I do think there's always some room for more memory freeing. Such optimizations should be sought after inmho.

Finally, I never had a problem with above normal priority, honest.
NewDeli is offline  
Old 13 October 2008, 10:42   #9
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,587
Higher than normal priority can cause huge input lag on some systems. (reason unknown, never had that problem either)

I was only complaining because sound problem is very rarely simple: <sound problem> = <here is standard fix>

There are (too) many possible reasons that need to be found out first. Just tossing random (even completely unrelated) possible fixes is not very productive. Yes, it can fix the problem but it may not fix the real problem..
Toni Wilen is offline  
Old 13 October 2008, 20:35   #10
Troublemaker
 
Posts: n/a
Thank you for your fast replies

I forgot to say, that I'm using v 1.5.2
I tried the suggested settings, but none worked. The CPU usage is between 40 and 50%, so that's ok.

The only thing I mentioned is, that changing the sound buffer to 1 makes the sound only playing once (and not twice like before), but still with some crackling.

I didn't update my drivers yet, because the eee901 is out for just a few weeks now and I don't have other problems with it. So, if no solution is found, I will just play in fullscreen mode I just thought that anyone else has the problem with the eee901
 
Old 14 October 2008, 01:45   #11
NewDeli
Banned
 
Join Date: Oct 2007
Location: Paris / FRANCE
Age: 50
Posts: 1,248
Send a message via ICQ to NewDeli
1 is really too low for sound buffer, I suggest 3 minimum. As for CPU usage, the problem is not to avoid hitting 100%, but to have your CPU not "distracted" by other processes.

Is the problem occurring the same way with WinUAE v1.4 ? Can you tell us a bit more about the host OS your eee PC is running, and the WinUAE config. you choose to load ?


@mcferson : Drop a word or two if your sound problem is solved, plz.
NewDeli is offline  
Old 14 October 2008, 22:09   #12
Troublemaker
 
Posts: n/a
Just for getting it right:
Should I try v1.4.x or just 1.4.0?

My OS is WinXP with SP3 as it is delivered by ASUS with the eee901. I changed nothing like drivers or something. Just updating Windows itself.
Are you interested in driver versions? I'm just writing on my working machine, so I can't look at it right now.
 
Old 14 October 2008, 22:16   #13
Rabbit80
Its hard being famous!
 
Rabbit80's Avatar
 
Join Date: Aug 2008
Location: Gateway to the dales, UK
Age: 44
Posts: 633
So - its dual core @ 40-50% CPU usage - probably 100% on one core You can see this in Task manager!
Rabbit80 is offline  
Old 14 October 2008, 22:25   #14
TCD
HOL/FTP busy bee
 
TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 32,363
Quote:
Originally Posted by Troublemaker View Post
Just for getting it right:
Should I try v1.4.x or just 1.4.0?
Try any version before 1.5.0 to check if the problem isn't there. And check, like Rabbit80 said, if it's 100% on one core
TCD is offline  
Old 14 October 2008, 22:33   #15
Rabbit80
Its hard being famous!
 
Rabbit80's Avatar
 
Join Date: Aug 2008
Location: Gateway to the dales, UK
Age: 44
Posts: 633
Is WinUAE multithreaded? I seem to remember that it isn't... (Except when capturing AVI)
Rabbit80 is offline  
Old 14 October 2008, 22:40   #16
TCD
HOL/FTP busy bee
 
TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 32,363
Quote:
Originally Posted by Rabbit80 View Post
Is WinUAE multithreaded? I seem to remember that it isn't... (Except when capturing AVI)
Just put WinUAE in warp mode, had a look and both cores were in use (and not at 100%). So I would say it's multithreaded
TCD is offline  
Old 14 October 2008, 22:57   #17
NewDeli
Banned
 
Join Date: Oct 2007
Location: Paris / FRANCE
Age: 50
Posts: 1,248
Send a message via ICQ to NewDeli
I don't think you should worry too much about drivers. If any eee driver was missing in Windows XP, ASUS and their partners would have supplied it directly on top of it.

The hardware from laptops is pretty much integrated and the partnerships with MS are VERY strong (a bit too much, we may even say). It's not like if you bought a brand new graphic adapter which is not recognized, even by Vista SP1.

May be there is an anomaly in your WinUAE settings, so you could enclose it with your next message. May be it's the eee capabilities which are not far enough beyond WinUAE requirements.

Can you reproduce the bug with a game which bears a very simple soundtrack like Faery Tale or Ultima V ?

Last but not least, full screen is the recommended way to go anyway. Do you prefer to play games in a smaller screen area ?
NewDeli is offline  
Old 14 October 2008, 23:35   #18
Troublemaker
 
Posts: n/a
Just to mention:
The eee901 has got the Intel Atom N270, which means one core @ 1,60 GHz (max.)...(and 2,5W TDP ).

2nd: I didn't configure WinUAE at all. It's an A500 emulation with standard settings. Only the input methods are changed. How do I post the config? Or should I save and upload it as a file?
I can do it in about 10 hours...also with the result of v1.4.6

3rd: I want to play in window-mode because most times I do some things besides gaming
 
Old 14 October 2008, 23:57   #19
Rabbit80
Its hard being famous!
 
Rabbit80's Avatar
 
Join Date: Aug 2008
Location: Gateway to the dales, UK
Age: 44
Posts: 633
Quote:
Originally Posted by Troublemaker View Post
Just to mention:
The eee901 has got the Intel Atom N270, which means one core @ 1,60 GHz (max.)...(and 2,5W TDP ).
Sorry - I didn't do much research... I used one of these a few weeks back and I thought it was dual core - however I now realise that it is in fact only hyperthreaded!
Rabbit80 is offline  
Old 15 October 2008, 00:10   #20
NewDeli
Banned
 
Join Date: Oct 2007
Location: Paris / FRANCE
Age: 50
Posts: 1,248
Send a message via ICQ to NewDeli
Quote:
Originally Posted by Troublemaker View Post
I want to play in window-mode because most times I do some things besides gaming
Do anything you like, but don't drive a car while gaming

It's a bit strange that none of the settings we proposed gave a result.
Can you tell us the result with v1.4 AND when loading any of the two games I cited, please ?

Yup, the config. file, located in one of WinUAE subfolders, can be zipped and uploaded like anything else lurking in your eee.

It may sound stupid, but Windows Vista can be installed even on old or not so fast PCs. I've just read this eee has 1GB of ram, which should be sufficient for running it smoothly.

If you have the guts, you could make a complete backup of the installed OS, and see if WinUAE running with Vista makes a difference. The argument I put forth is that Vista may be able to handle better that very recent Atom CPU.
NewDeli 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
Dead shift keys... clownstyle support.Hardware 21 13 October 2013 22:30
Right Shift+Right Amiga works, but not Left shift+Left Amiga Photon support.WinUAE 13 22 November 2010 21:43
Amiga 1200 video color shift? desiv Hardware pics 6 31 August 2010 17:02
WinXP and right shift key thomas support.WinUAE 13 22 April 2005 04:53
Problem with shift key in WinUAE Unregistered support.WinUAE 11 06 February 2004 23:30

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

Top

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