Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
07604 Speed Minor Always Apr 3, 2020, 06:29 Apr 8, 2020, 03:31
Tester Augusto View Status Public Platform MAME (Official Binary)
Assigned To Resolution Invalid report OS Windows 10 (64-bit)
Status [?] Closed Driver
Version 0.219 Fixed in Version Build 64-bit
Fixed in Git Commit Github Pull Request #
Summary 07604: kidniki: Kid Niki slow speed gameplay not using available CPU
Description Start Kid Niki or clones sets.
The game speed is between 70 to 85 % and not is using totally the CPU core.
Tested using D3D and BGFX same result.
Using Power Profile High Perfomance.
CPU is FX-6300 and GeForce 640.
Steps To Reproduce
Additional Information
Github Commit
Flags
Regression Version
Affected Sets / Systems kidniki
Attached Files
png file icon 1.png (62,278 bytes) Apr 5, 2020, 06:18 Uploaded by Augusto
Augusto
png file icon kidniki@250%speed.png (21,933 bytes) Apr 5, 2020, 06:52 Uploaded by Fujix
Fujix
Relationships
There are no relationship linked to this issue.
Notes
10
User avatar
No.17523
JSDS
Tester
Apr 3, 2020, 08:58
100% without slow down on my PC though. Ryzen 2600 + Radeon RX550.
User avatar
No.17524
Fujix
Administrator
Apr 3, 2020, 09:09
edited on: Apr 3, 2020, 16:51
It runs at around 250% without speed throttling on Core i5 8500.
User avatar
No.17526
Tafoid
Administrator
Apr 4, 2020, 20:23
MAME 0.215 brought up the requirements a bit to run at 100%.

Your FX-6300 is at least 7 years old since produced and its single thread performance lacks even Intel of that era. Sadly, I'm not sure if there is anything that can be done to improve your situation. MAME 0.214 will run better for that particular game for you.

I suspect there is nothing we can do here to help. Outside of attempting a completely clean install, I'm not certain if there is anything you can do to improve current performance.
User avatar
No.17527
Augusto
Tester
Apr 5, 2020, 06:17
Tested enabling and disabling vsync and others settings and even result.
System is fine.
CPU have enough processing, but not is being used.
Using high performance power mode and the gpu is geforce gt 640.
The issue not is about low performance, but about the cpu not are being used 100 % for m62 driver.
Few moments the speed is 100 % and almost all time is between 71 to 85 %.
Please see the png.
User avatar
No.17528
Fujix
Administrator
Apr 5, 2020, 06:51
I think your CPU has not enough power to run that game, Kid Niki needs a lot of CPU power to process analog sound filters.
Generally the single thread CPU power is important to improve MAME's performance.
Multi cores don't help improving it very much.
In my case, even I set MAME running at max speed without throttling, the total CPU usage is only 46%.
User avatar
No.17529
Augusto
Tester
Apr 5, 2020, 09:18
Yes multi core not are exactly used.
FX-6300 has less power in single core than your CPU, but not less than 50 % and your CPU run very fast using less of 46 %.
Good sense MAME not is using totally the single core in my CPU and see the CPU graphics the most used core not is being used more than 75 %.
The sound is being good emulated without pops.
Perhaps anything related with video render ? I have tested several options about video render.
Well with enough time I will test anothers games if is having the same issue.
Have anything that not is allowing to use totally the CPU.
Any other software use totally each CPU core and the system was recent installed.
User avatar
No.17530
Fujix
Administrator
Apr 5, 2020, 11:42
edited on: Apr 5, 2020, 11:44
FX-6300 is slower than Sandy Bridge Core i5-2400 in single thread.
https://www.cpubenchmark.net/compare/AMD-FX-6300-Six-Core-vs-Intel-i5-2400/1781vs793
If you find out new evidence, please let us know.
Thank you.
User avatar
No.17531
Tafoid
Administrator
Apr 5, 2020, 16:01
I'd say try MAME 0.214. If kidniki runs 100% on your system with that version, for sure your CPU is the bottleneck.
User avatar
No.17534
Fujix
Administrator
Apr 6, 2020, 05:32
edited on: Apr 6, 2020, 05:32
Re-opened the issue so that Augusto can make a reply.
User avatar
No.17535
Augusto
Tester
Apr 6, 2020, 12:08
edited on: Apr 6, 2020, 12:14
Tested using 0.214 , 0.215 and 0.219.
Starting kidniki enabling or disabling throttle have others results in speed percentage :

0.214
Frameskip 0 Throttle enabled 97 > 100 %
Frameskip 0 Throttle disabled 97 > 114 %
Frameskip 10 Throttle enabled 100 > 109 %
Frameskip 10 Throttle disabled 200 %

0.215
Frameskip 0 Throttle enabled 69 > 80 %
Frameskip 0 Throttle disabled 77 > 80 %
Frameskip 10 Throttle enabled 74 > 88
Frameskip 10 Throttle disabled 94 > 100

0.219
Frameskip 0 Throttle enabled 80 > 90 %
Frameskip 0 Throttle disabled 88 > 100 %
Frameskip 10 Throttle enabled 90 > 102
Frameskip 10 Throttle disabled 99 > 102

About 0.215
https://www.mamedev.org/releases/whatsnew_0215.txt

-Netlist system updates: [Couriersud]
 * Added support for line markers to the netlist preprocessor and parser.
 * Added include processing to the netlist preprocessor. and reorganised plib code so this can be better utilised.
 * Simplified netlist library code and improved performance.
 * Moved netlists out of driver sources and organised netlists according to functionality.
 * Added an extended validation mode to nltool for identifying certain kinds of issues.
 * Removed some hints from pong now that performance has improved..
 
More code was added in netlist and also more performance.
Seeing test result new codes added in netlist not need double cpu power.

0.219 is more speed than 0.215.
Disabling throttle is how if allowing more cpu usage. but even thus not is using totally the single core.

Seeing the screenshots FX-6300 the core is being used less of 50 % and i5-8500 the core is almost being totally used.
In FX-6300 even disabling throttle and using frameskip 10 the core is less of 50 % used.
FX-6300 not is extremely more slow than i5-8500 and i5-2400 in single core. Yes is more slow than both CPUs.

Tested enabling and disabling BIOS settings (core performance. c6. AMD APM and etc), NVIDIA Control Panel default or disabling settings and MAME default and enabling and disabling settings related with video and sound. Any setting same result.
The system is Windows 10 Pro 64 1809 4 GB Geforce GT 640 1 GB.
Have others emulators and programs not having problems to use FX-6300 in single core in 100 %.
Kid Niki is more fast in 0.219 than in 0.215.
Testing 0.214 and 0.219 starting others games not have one game using an single core more of 50 % even disabling throttle.
Others games (tekken3 and starblade) not run 100 % speed using less of 40 % of CPU single core.
I close MAME and run others emulators and is displayed using single core more of 75 %.
Is how if is having an task waiting another task to be processed before Kid Niki and others drivers will use totally the cpu single core.

The problem not is mainly related with recent changes in netlist.
Perhaps issues in video render or how MAME internally is scheduling threads ? I see some games need change power profile from energy saver to high performance to run 100 % and others games that need more CPU power run without need change power profile being possible to run in energy saver profile.
Another detail is SF2 randomly flash between frames and happen few times mainly in Ken and Dhalsim stages. Is how if between 60 frames is added few frames being partially in size using white color being an issue happening since several previous versions.

In next day will be installed an clean system only with mainboard and video drivers and I will try run MAME.

Thanks very much.
Have an nice week.