Previous Thread
Next Thread
Print Thread
Runaway CPU usage leading to sound desyncs #76971 02/06/12 10:33 PM
Joined: Dec 2009
Posts: 12
O
OnmyojiOmn Offline OP
Member
OP Offline
Member
O
Joined: Dec 2009
Posts: 12
Hi,

I've posted a couple times before about my sound desync/skipping issue. It seems to be the same problem a bunch of other people have been having. I haven't been able to run any version of Nestopia (including 1.36) on this computer since I upgraded to Win7, though I can run it fine on a Win7 laptop. There are no other NES emulators that I find acceptable, so I'm pretty much stuck.

Today I happened to fire up the emulator just to take some screenshots of games, and I did some troubleshooting. What I noticed is that when I load a game, CPU usage on my machine (single-core 1.8ghz Athlon 64) starts out around 32-38% but climbs in fits and starts, maxing out the CPU within a minute or so. The sound problem only happens while CPU usage is climbing. It sounds fine when usage plateaus for a few seconds. Sometimes usage will drop back to the 30s and the emulator sounds perfect, until CPU usage begins to climb again.

Has anyone else noticed this behavior? Could this be a clue? I've tried messing with every option I could find, including obvious things like process priority, timing, disabling sound, etc. No other CPU-heavy processes are running.

Re: Runaway CPU usage leading to sound desyncs [Re: OnmyojiOmn] #77142 02/09/12 08:55 PM
Joined: Sep 2010
Posts: 36
S
Samurai Fox Offline
Member
Offline
Member
S
Joined: Sep 2010
Posts: 36
Huh. I only have this problem on any version above 1.36. I dunno about the CPU thing, though. Maybe you could try your theory on another system and see what results you get.

Last edited by Samurai Fox; 02/09/12 09:02 PM.
Re: Runaway CPU usage leading to sound desyncs [Re: OnmyojiOmn] #77427 02/18/12 06:22 AM
Joined: Sep 2008
Posts: 37
K
koitsu Offline
Member
Offline
Member
K
Joined: Sep 2008
Posts: 37
Is VSync enabled? If so, try turning it off.

If not, is the option "high-precision timer" turned on? If so, try turning it off. If it's off, try turning it on.

My guess is that VSync is probably the reason.

If you're using anything like 2xSai, Eagle, etc. those would greatly increase CPU load as well.


Making life hard for others since 1977.
Re: Runaway CPU usage leading to sound desyncs [Re: OnmyojiOmn] #77572 02/21/12 09:18 PM
Joined: Dec 2009
Posts: 12
O
OnmyojiOmn Offline OP
Member
OP Offline
Member
O
Joined: Dec 2009
Posts: 12
I've troubleshooted just about every single setting exposed by the emulator.


Moderated by  Marty, R. Belmont 

Who's Online Now
4 registered members (pmackinlay, Vas Crabb, Kale, 1 invisible), 142 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,682
Posts113,999
Members4,863
Most Online510
Aug 26th, 2019
Powered by UBB.threads™ PHP Forum Software 7.7.3