bsnes-emu / bsnes

bsnes is a Super Nintendo (SNES) emulator focused on performance, features, and ease of use.
Other
1.64k stars 154 forks source link

Video jittering. Is vsync not enabled by default? I can't find vsync in settings. #257

Open goodstuff626 opened 1 year ago

goodstuff626 commented 1 year ago

LIke title says. Playing games, I see slight jitter, but I cannot find vsync option in any video or emulation settings of bsnesv v115. What am I missing here?

Screwtapello commented 1 year ago

vsync is not enabled by default for the same reason higan doesn't use vsync by default.

You can enable vsync in Settings → Drivers and ticking "Synchronize" in the "Video" section. You should untick "Synchronize" in the "Audio" section at the same time. That will cause glitchy audio, but if you leave them both ticked you'll get jittery video and glitchy audio.

If you have an adaptive sync monitor and compatible GPU, you can try clicking the "Adaptive Sync" button at the bottom of the Drivers panel; if you have a 60Hz monitor and are using the waveOut audio driver you can try clicking the "Dynamic Rate Control" button instead.

goodstuff626 commented 1 year ago

Hey, thanks for the help. I am using a crt monitor, and I have it set to 60Hz. In bsnes I enabled synchronize in video, and I enabled dynamic rate audio. It does seem smoother, but not 100% smooth. I see the fps in the bottom right corner switching between 60-59. Could that be why it looks choppy like dropped frames? Should it be holding at 60 for me to get no dropped frames? Also, I hear a little crackling in the audio every few seconds. I tried the lowest latency audio settings all the way up. Around 60 and higher (what my pc seems to handle) still cause a little crackle sound in the audio every few seconds. PC has Intel Core 2 Duo E7500 2.93GHz. Is that too low specs, to run bsnes smoothly? Are there any settings to make bsnes run faster so my pc can handle it? Please and thanks for any help.

Screwtapello commented 1 year ago

If you see the FPS counter dipping below 60fps, that will cause video and audio stuttering.

In Settings → Enhancements, make sure you tick all the "Fast Mode" options, and have "HD Mode 7" set to "240p" (i.e. not HD). If you're still dropping frames, you may have to switch to a different emulator, like Snes9x.

orbea commented 1 year ago

You may have more luck with the jgemu fork. A lot of work has been put into it and the CPU usage has been significantly reduced without sacrificing accuracy.

https://gitlab.com/jgemu/bsnes

Marat-Tanalin commented 1 year ago

IIRC, VSync may not work in bsnes in exclusive full-screen mode when using Direct3D as the video driver.

But in your case, Core 2 Duo may indeed be just too slow for bsnes.