Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
09056 Speed Major Always 18 days ago 10 days ago
Tester Augusto View Status Public Platform MAME (Unofficial Binary)
Assigned To Resolution No change required OS Linux (64-bit)
Status [?] Closed Driver
Version 0.271 Fixed in Version Build 64-bit
Fixed in Git Commit Github Pull Request #
Summary 09056: rdft , rdft2 , rfjet and clones: high slowdown not using totally the CPU
Description Hello.
Thanks for reading my topic.

OS Linux kernel 6.8 Ubuntu 24.04 and CPU AMD FX 6 cores 3500 Mhz

The games below using the seibuspi driver are having an low performance :
Raiden Fighters
Raiden Fighters 2
Raiden Fighters Jet

When starting for first time in the update screen the performance is extremely slow being in cpu power profile energy saver 24 % speed and using profile high performance 60 % speed.
After is done that update need an reset.
Now the strange detail is in gameplay the performance using profile energy saver is 128 % speed and cpu profile high performance almost all time the same 128 % speed.
If overclocking cpu to 200 % the performance is 111 % speed.

I seeing in OS task manager MAME in update screen and in gameplay screen the cpu usage oscillating from one core single thread between 50 % to 60 % and few moments using 100 %.
Have something not allowing use cpu core single thread to 100 % doing extreme slowdown.
MAME not are correctly using the cpu one core for single thread. Not softwares running in background.
I not has tested if that issue happen in windows too.

Perhaps for users having high end cpus that issue not will be noticed , but is good see if are having high cpu usage.
In several others games not happen that issue.

Have an good week and new happy year.
Steps To Reproduce
Additional Information
Github Commit
Flags
Regression Version
Affected Sets / Systems rdft , rdft2 , rfjet and clones
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
7
User avatar
No.22723
hap
Developer
18 days ago
Yeah, the flashrom updater is slow.
Just accept it? Make sure to not delete the nvram files whenever you update MAME and you're good to go.
User avatar
No.22727
Augusto
Tester
18 days ago
Yes update screen is slow , but strangely not are using totally the cpu.
In gameplay happen the same issue.
Is as if MAME internally not are correctly using the cpu for that driver ?
Perhaps it could be a clue to some internal problem in source code that could cause problems for others drivers ?
User avatar
No.22729
hap
Developer
18 days ago
Should you rely on task manager for that?
If I run for example pacman unthrottled, taskmanager hovers around 12.5%, due to multi-core Intel CPU.
User avatar
No.22733
Augusto
Tester
18 days ago
OS task manager htop show usage for each cpu core and in the core used by MAME in single thread not are being used totally.
User avatar
No.22739
Robbbert
Moderator
18 days ago
I see no problem. First time run:

>mame rdft -bench 90
Average speed: 143.16% (89 seconds)

On the screen I can see you have to wait 999 time intervals (about 8 minutes) for it to set itself up. After it finishes, turn JP1 dipswitch to "Normal" and restart..

Now,
>mame rdft -bench 90
Average speed: 829.00% (89 seconds)

So you want to know why the setup can't run as fast as the game? I don't know, but since both parts can do 100% speed at all times, I don't think there's a real issue here.
User avatar
No.22744
Augusto
Tester
17 days ago
edited on: 15 days ago
The problem is the driver seibuspi not push totally the cpu one core for single thread.
When I say not push totally the cpu not is the total usage from all cores , but the total usage for only one core.
Try to do an test.
Start any game in the driver seibuspi and in the first startup screen creating the nvram use F11 performance percentage comparing with throttle and unthrottle. Here simply is the same speed being an strange behavior. Also seeing in task manager htop the cpu core used by mame not is used 100 % being below of 70 % almost all time. In gameplay happen the same behavior doing slowdown for few seconds.
In MAME several previous versions the first startup screen nvram and gameplay has the same performance.
Have something wrong in that driver.
User avatar
No.22784
JimCarlTay
Tester
10 days ago
edited on: 10 days ago
Unable to reproduce. Using rdft as an example, both the update and normal modes for JP1 run at a consistent 100% speed. My computer runs Windows 10.