It is currently Wed May 22, 2013 7:49 am

All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Jumpy framerate
PostPosted: Thu May 03, 2012 1:36 am 
Offline
Snes9x White Belt

Joined: Thu May 03, 2012 1:24 am
Posts: 4
I'm running SNES9x 1.53 on a laptop, and I've been having a problem with the framerate. I have the emulator set to never frameskip, but I still seem to be losing a frame or two every few seconds, and the framerate appears to be fluctuating between 59 and 61. The sound is occasionally crackling, as well, usually around the same time the framerate screws up.

I'm sure that's not enough info to tell me what's going on, but if anyone wants to take a crack at it, I'll be glad to provide any of my settings that you think might be contributing to the problem.


Top
 Profile  
 
 Post subject: Re: Jumpy framerate
PostPosted: Thu May 03, 2012 2:23 am 
Offline
Hero of Hyrule | Official Port Recruiter

Joined: Mon May 24, 2004 5:06 pm
Posts: 2490
Location: 255.255.255.255
computer specs (RAM amount, CPU, sound card, OS)? What games are you trying to run?

you may also have something taking minor bits of CPU time away from Snes9X.

_________________
Image

Unofficial Test Monkey For:
* Snes9X GX (Wii)
* Snes9X EX (Android)
* Snes9X 64-bits

ZSNES|Ben Heck|NSRT|Bob Smiley


Top
 Profile  
 
 Post subject: Re: Jumpy framerate
PostPosted: Thu May 03, 2012 2:56 am 
Offline
Snes9x White Belt

Joined: Thu May 03, 2012 1:24 am
Posts: 4
adventure_of_link wrote:
computer specs (RAM amount, CPU, sound card, OS)? What games are you trying to run?

you may also have something taking minor bits of CPU time away from Snes9X.

RAM -- 4 GB.

CPU -- Intel Core2 Duo.

Sound card -- RealTek High Definition Audio.

OS -- Vista.

I'm connecting a controller to the computer with GlovePIE. Could that be what's slowing things down?


Top
 Profile  
 
 Post subject: Re: Jumpy framerate
PostPosted: Thu May 03, 2012 3:56 am 
Offline
Snes9x Yellow Belt

Joined: Tue May 03, 2011 2:35 pm
Posts: 190
is vsync enabled? how about sync sound? do you get different results if the playback rate is set to 44 or 48KHz?


Top
 Profile  
 
 Post subject: Re: Jumpy framerate
PostPosted: Thu May 03, 2012 4:28 am 
Offline
Snes9x White Belt

Joined: Thu May 03, 2012 1:24 am
Posts: 4
Vsync and sync sound are both enabled; shutting off the former causes the audio and video to go badly out of sync, and shutting off the latter just makes every sound like crap.

I turned the playback rate up to 48KHz, and it didn't completely fix the problem, but it seems to have massively improved things.


Top
 Profile  
 
 Post subject: Re: Jumpy framerate
PostPosted: Thu May 03, 2012 1:04 pm 
Offline
Snes9x Yellow Belt

Joined: Tue May 03, 2011 2:35 pm
Posts: 190
double-check the display's refresh rate in Windows is set to 60Hz. i doubt that it's not, but just in case...

as for the improvement you get from switching the sample rate to 48KHz - yay, crappy onboard Realtek audio. it seems to be one of those parts that only works at 48KHz, with the driver resampling sources of differing sample rate in software (adding latency).

do you get better results if you increase the buffer length?


Top
 Profile  
 
 Post subject: Re: Jumpy framerate
PostPosted: Fri May 04, 2012 1:47 am 
Offline
Snes9x White Belt

Joined: Thu May 03, 2012 1:24 am
Posts: 4
odditude wrote:
double-check the display's refresh rate in Windows is set to 60Hz. i doubt that it's not, but just in case...


It is.

odditude wrote:
do you get better results if you increase the buffer length?


It seems to get a little better, but I don't really like doing that, because it makes things go out of sync. Maybe there's a happy medium I can hunt down, though.


Top
 Profile  
 
 Post subject: Re: Jumpy framerate
PostPosted: Fri May 04, 2012 4:25 am 
Offline
Snes9x Yellow Belt

Joined: Tue May 03, 2011 2:35 pm
Posts: 190
how about changing the audio interface snes9x uses (sound/settings.../sound driver)?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group