MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Pages: 1

critter
MAME Fan
Reged: 07/08/15
Posts: 2
Send PM


Muchi Muchi Pork / Pink Sweets performance
#342261 - 07/08/15 02:02 PM


I'm having troubles to run Muchi Muchi Pork and Pink Sweets at full speed with MAME. FPS drop to 85-95% during some seconds at the start, middle, and near-the-end part of each stage, but I have 100% FPS the rest of the time.

I wonder if the cv1k driver needs some kind of optimization or those parts are indeed CPU intensive. Other games using the cv1k driver run perfectly.

I have an i3-2120 @ 3.3 Ghz CPU and 4GB RAM, and I'm using MAME 0.163.



TafoidAdministrator
I keep on testing.. testing.. testing... into the future!
Reged: 04/19/06
Posts: 3138
Loc: USA
Send PM


Re: Muchi Muchi Pork / Pink Sweets performance new [Re: critter]
#342262 - 07/08/15 02:13 PM


> I'm having troubles to run Muchi Muchi Pork and Pink Sweets at full speed with MAME.
> FPS drop to 85-95% during some seconds at the start, middle, and near-the-end part of
> each stage, but I have 100% FPS the rest of the time.
>
> I wonder if the cv1k driver needs some kind of optimization or those parts are indeed
> CPU intensive. Other games using the cv1k driver run perfectly.
>
> I have an i3-2120 @ 3.3 Ghz CPU and 4GB RAM, and I'm using MAME 0.163.


It is what it is. There are no magic bullets for these.
Sucks, I know, but you MIGHT be able to get a very minor boost by using -autoframekskip which will skip video frames to try to make it play faster. Other than that - hope for a miracle or look to a beefier, more modern processor.



SmitdoggAdministrator
Reged: 09/18/03
Posts: 16877
Send PM


Re: Muchi Muchi Pork / Pink Sweets performance new [Re: critter]
#342266 - 07/08/15 02:41 PM


They are more CPU intensive because the CPU is sometimes used to decompress graphics while the game is playing. Even the real PCB studders a bit sometimes at the beginning of stage 2 on MMP.



critter
MAME Fan
Reged: 07/08/15
Posts: 2
Send PM


Re: Muchi Muchi Pork / Pink Sweets performance new [Re: Tafoid]
#342267 - 07/08/15 02:45 PM


> > I'm having troubles to run Muchi Muchi Pork and Pink Sweets at full speed with
> MAME.
> > FPS drop to 85-95% during some seconds at the start, middle, and near-the-end part
> of
> > each stage, but I have 100% FPS the rest of the time.
> >
> > I wonder if the cv1k driver needs some kind of optimization or those parts are
> indeed
> > CPU intensive. Other games using the cv1k driver run perfectly.
> >
> > I have an i3-2120 @ 3.3 Ghz CPU and 4GB RAM, and I'm using MAME 0.163.
>
>
> It is what it is. There are no magic bullets for these.
> Sucks, I know, but you MIGHT be able to get a very minor boost by using
> -autoframekskip which will skip video frames to try to make it play faster. Other
> than that - hope for a miracle or look to a beefier, more modern processor.

Thanks a lot for the reply.
Yeah, I've tried -autoframeskip before, they run faster, but auto frame-skipping doesn't get along well with shooters.
I guess it's time to update my processor.



R. Belmont
Cuckoo for IGAvania
Reged: 09/21/03
Posts: 9716
Loc: ECV-197 The Orville
Send PM


Re: Muchi Muchi Pork / Pink Sweets performance new [Re: critter]
#342271 - 07/08/15 07:47 PM


CV1K has roughly the CPU power of a Dreamcast/Naomi. It's something of a miracle of optimization that those games run any faster than the Naomi driver.



SmitdoggAdministrator
Reged: 09/18/03
Posts: 16877
Send PM


Re: Muchi Muchi Pork / Pink Sweets performance new [Re: R. Belmont]
#342292 - 07/09/15 05:15 AM


The games he is talking about are Yagawa games and are programmed completely differently from most other Cave games on that hardware. They use a special compressed graphics format to be able to fit inside the graphics rom and decompress on the fly at certain parts which stresses the shit out of the CPU. During the other parts of the game the CPU is generally not the bottleneck and slowdown is programmed in rather than the CPU maxing out. For the greater parts of games Naomis are stressing the CPU more than Caves.



MetalliC
Demul/MAME dev
Reged: 03/20/09
Posts: 174
Loc: UA
Send PM


Re: Muchi Muchi Pork / Pink Sweets performance new [Re: critter]
#342367 - 07/11/15 05:09 PM


in short: CV1K games works at full speed only because speedhack/iddleskip, so its a big miracle you have it working fast enough at all.

usually, most of time (if I not mistaken ~70%) CPU do nothing, simply do busy loops with vblank or blit done flags wait, this loops is skipped by speedhacks so you get fast working game.

but, sometimes games *really* uses CPU power, and no hacks can help to get better performance here, so you get notable speed drops.
It means if CV1K games will be written well, and really use full power of SH3 CPU - you'll never get fullspeed with MAME interpreter core

PS: I think this must be noted somewhere, because such questions or complains happened not 1st or 2nd time.

PPS: why I thinking iddleskip is huge hack in CV1K ? because its not old-school single-threaded system, where you can safely "rewind" CPU until some status bit will be fired
it have somewhat multitasking time-slice sheduler, so it can be running in status loop, then timer event happened and sheduler switch current running task to some another, etc..


Pages: 1

MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 141 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 2337