Post subject: Bizhawk 40fps for SNES emulation ? (core2duo)
Joined: 8/16/2013
Posts: 20
Location: Vire, France
Hi, With rewind disabled, BizHawk only runs at about 40fps on a laptop with a core2duo @2Ghz while playing my movie (Movie that I made on a Fix PC with an AMD FX 8120 and it run as slow as 55fps without rewind, realy bad for a so recent PC...) Even if runing at 40fps, the movie still stay synched but it's realy too slow and thus, dont see the TAS potential. I wanted to show it to my mother while not at home (because I wont see her for at least 1 week) but I couldn't due to this (Yes, I wonder why I forgot to take a copy of the video mp4 file I sent to youtube...) What I see is that seting speed 50% to 200% are not effective (on my fix PC too), the emulator run the 32bit core but my PC is running 64bit OS and I think frame skip isn't working too. Using performance instead of compatibility core work at almost 60fps on the core2duo, but the movie don't sync :\ (And lagframe counter says all frames as lag...) I wonder why Bizhawk SNES emulation is so demanding? snes9x runs too fast even at 0 frame skip (must be on auto for normal speed). I belive snes9x is able to play SNES games on a pentium II :o
Redoing my Sim City TAS (New faster way to build Zones)
Post subject: Re: Bizhawk 40fps for SNES emulation ? (core2duo)
Joined: 2/18/2010
Posts: 156
Location: home
Arnold0 wrote:
I wonder why Bizhawk SNES emulation is so demanding?
Bizhawk SNES is based off of BSNES's SNES emulator core, which makes it very accurate compared to some of the other SNES emulators available. That accuracy though makes the emulator rather resource intensive for computers.
My user name is rather long, feel free to call me by htwt or tape.
creaothceann
He/Him
Editor
Joined: 4/7/2005
Posts: 1874
Location: Germany
You would get a little bit more speed with a 64-bit version (try the recently released bsnes v93!), but 2GHz is a bit too low...
Joined: 8/16/2013
Posts: 20
Location: Vire, France
I downloaded higan (I saw that it's the new name of bsnes) v0.93, and... Bizhawk run at least faster :o (And higan have no TAS tools) Probably the PC is not powerfull enouth, but that's wired for emulating a game which is more than 20 years old :\
Redoing my Sim City TAS (New faster way to build Zones)
Warepire
He/Him
Editor
Joined: 3/2/2010
Posts: 2178
Location: A little to the left of nowhere (Sweden)
Emulating a console as accurately as bsnes/higan does it requires a lot more processing power compared to emulators that aim for speed instead.
adelikat
He/Him
Emulator Coder, Site Developer, Site Owner, Expert player (3574)
Joined: 11/3/2004
Posts: 4754
Location: Tennessee
Arnold0 wrote:
for emulating a game which is more than 20 years old :\
That's your misconception right there. It isn't emulating a 20 year old game, it is emulating the hardware from which the game runs, via software. The hardware requirements to emulate other hardware requires many orders of magnitude more power than the original hardware. Bsnes is insanely accurate, and that is a tradeoff with speed. However, bsnes is also written with accuracy and code clarity being more important than speed, and has no tradeoffs there. Also, bsnes is written rather insanely where even low hanging fruit for speed optimizations were not taken. The SNES scene is such that you have poor accuracy or a very slow near perfect emulation written by an insane man (I mean that both positively and negatively). It is what it is. With Bizhawk, we chose accuracy over speed. But not really. We chose the SNES emulator that comes with a core separated and already made into a .dll, so it was super easy to integrate compared to something like SNES9x. (Very much so actually, had we chosen SNES9x for integration it probably still wouldn't be done). But currently, I find all SNES emulators less than ideal for TASVideos use. Also, with your machine, I wouldn't use bsnes, it just won't be fast enough. If you were to TAS, I would reluctantly recommend snes9x 1.51 instead. Unfortunately. However, newer CPUs run bsnes significantly faster.
It's hard to look this good. My TAS projects
Joined: 4/24/2012
Posts: 21
Kinda disappointing I can't use this emulator do to really low fps..... hopefully i get a new pc soon... wanted to watch a few TAS's in this emulator on the emulator is self but... owell I guess..
creaothceann
He/Him
Editor
Joined: 4/7/2005
Posts: 1874
Location: Germany
Arnold0 wrote:
I downloaded higan (I saw that it's the new name of bsnes) v93, and... Bizhawk run at least faster :o (And higan have no TAS tools)
(fixed) Is that the 64-bit version (if you have a 64-bit CPU)? For the record, on the SimCity title screen I get 143 fps with higan-balanced.exe (higan-performance.exe is not recommended, and higan-accuracy.exe is only required by one or two games) when I disable all synchronization.
Patashu
He/Him
Joined: 10/2/2005
Posts: 4044
Would it be possible to make Bizhawk recognize when the accuracy core is needed based on what game it is and otherwise use a higher performance core?
My Chiptune music, made in Famitracker: http://soundcloud.com/patashu My twitch. I stream mostly shmups & rhythm games http://twitch.tv/patashu My youtube, again shmups and rhythm games and misc stuff: http://youtube.com/user/patashu
adelikat
He/Him
Emulator Coder, Site Developer, Site Owner, Expert player (3574)
Joined: 11/3/2004
Posts: 4754
Location: Tennessee
Bizhawk doesn't use the accuracy core, it uses the compatibility core by default, performance isn't allowed for movie recording. Performance core is an option in the SNES settings (when in non-movie mode)
It's hard to look this good. My TAS projects
creaothceann
He/Him
Editor
Joined: 4/7/2005
Posts: 1874
Location: Germany
Patashu wrote:
Would it be possible to make Bizhawk recognize when the accuracy core is needed based on what game it is and otherwise use a higher performance core?
The main advantage of the accuracy core is that the video renderer can properly emulate games that change video parameters in the middle of a scanline (which is probably only Air Strike Patrol). The game itself is unaffected by the increased rendering accuracy.
adelikat
He/Him
Emulator Coder, Site Developer, Site Owner, Expert player (3574)
Joined: 11/3/2004
Posts: 4754
Location: Tennessee
Also, for the record, it is easy to set up bizhawk to do it in a per game basis (using the game database it already has). Are there any games in which the performance core is just as good as the compatibility core? If so, we could have a system of performance, compatibility, accuracy depending on the needs of the game. However, we would need some good users to compile a list of games and what cores they are best suited for.
It's hard to look this good. My TAS projects
creaothceann
He/Him
Editor
Joined: 4/7/2005
Posts: 1874
Location: Germany
adelikat wrote:
Are there any games in which the performance core is just as good as the compatibility core? If so, we could have a system of performance, compatibility, accuracy depending on the needs of the game. However, we would need some good users to compile a list of games and what cores they are best suited for.
This would need trial and error - create a TAS on one core and test it on the other. Although you risk wasting a lot of time when the TAS is created on the performance core. (Performance core contains speed fixes, and after a while byuu got fed up with maintaining it so emulation fixes weren't added.)
Joined: 8/16/2013
Posts: 20
Location: Vire, France
The 20fps are with compatibility, not balanced since compatibility is what bizhawk uses I gess. Bizhawk Performance core seams able to run SimCity game fine but the movie file don't sync on that, and some emulator fonctions like frame lag counter don't works (seeing all frames as lag), so it seams performance core is not usable for TASsing About snes9x, this is not a deprecated emulator?
Redoing my Sim City TAS (New faster way to build Zones)
Patashu
He/Him
Joined: 10/2/2005
Posts: 4044
Snes9x 1.51 and higher is not deprecated.
My Chiptune music, made in Famitracker: http://soundcloud.com/patashu My twitch. I stream mostly shmups & rhythm games http://twitch.tv/patashu My youtube, again shmups and rhythm games and misc stuff: http://youtube.com/user/patashu
xRavenXP
He/Him
Joined: 4/15/2012
Posts: 116
Location: Brazil
For SNES games I prefer the SNES 9X 1.52 rr, is a very good accurately emulator and not deprecated... for SNES core in Bizhawk i prefer wait to new versions (the cores of PC Engine, NES, Master System, Game Gear and all cores works perfectly, the SnesHawk needs more improvements)
I love games and love to record videos (longplays). Visit my Youtube channel https://www.youtube.com/user/xRavenXP
Editor, Emulator Coder
Joined: 8/7/2008
Posts: 1156
needs what improvements?