Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
08629 DIP/Input Major Always May 6, 2023, 19:26 May 9, 2023, 15:09
Tester brainskis View Status Public Platform MAME (Official Binary)
Assigned To hap Resolution Fixed OS Windows 10/11 (64-bit)
Status [?] Resolved Driver
Version 0.254 Fixed in Version 0.255 Build 64-bit
Fixed in Git Commit a5416ca Github Pull Request #
Summary 08629: spacegun: Game stutters to about 1 frame per 10 secs.
Description Game becomes unplayable after a while. Let the attract screen run for a long time. Fast forward through if you like. Game will eventually 'virtually' freeze.
Steps To Reproduce
Additional Information
Github Commit
Flags
Regression Version
Affected Sets / Systems spacegun
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
11
User avatar
No.21397
Tafoid
Administrator
May 6, 2023, 23:00
I presume this is because your monitor running at 60hz + you are using vsync and is running slower than the emulation expects which is just a touch over 60hz. With those games over 60hz, there will be stutters when video syncing is enforced.

Can you shut off waitvsync (or similar video card setting) and try again?
User avatar
No.21398
brainskis
Tester
May 7, 2023, 10:19
Hi and thanks for getting back to me. My monitor is at 60Hz. I have the following in mame.ini:
- syncrefresh 0
- waitvsync 0
- refreshspeed 0

I notice the game is meant to be run at 60.055992 Hz.

If you start the game without a save state and hold the Fast forward key down, the freeze happens about 13 seconds into the attract screen every time. If it isn't 100% reproducable by others, I suspect it is a settings issue on my part, though.
User avatar
No.21400
brainskis
Tester
May 7, 2023, 11:05
Update: Maybe takes up to 20 secs sometimes... changing refreshspeed to '1' does not change things my end. Can anyone reproduce?
User avatar
No.21401
Fujix
Administrator
May 7, 2023, 17:59
No matter how long I leave the attractmode running, no slow down for me.
How about trying it again with new mame.ini file?
User avatar
No.21404
Haze
Senior Tester
May 7, 2023, 23:26
do you have any plugins (eg hiscore) enabled?
User avatar
No.21407
brainskis
Tester
May 8, 2023, 16:57
No hiscore enabled, no. I am pleased no one else sees this issue. I'd love to resolve it my end, but by all means close this report if no-one else can reproduce it. Must be something silly I've set in my settings.

Thank you all for kindly getting back to me :)
User avatar
No.21412
Robbbert
Moderator
May 9, 2023, 09:06
edited on: May 9, 2023, 09:06
I can reproduce this.

When first started, there's no sound in the attract mode. After 2 loops of this, suddenly we have sound. When this loop finishes, the bug appears.

At the same time, the error log fills up with thousands of illegal accesses. It appears that the sub cpu crashed, and the maincpu isn't happy about it.

And, the screen scrolls upward a little, pushing the score partly off the top.

When run via debug, even though I hit enter when it started happening (and the addresses stopped moving), the error.log continued filling up with unmapped reads and writes until eventually a watchdog reset occurred.
User avatar
No.21413
hap
Developer
May 9, 2023, 09:25
edited on: May 9, 2023, 09:25
https://github.com/mamedev/mame/commit/a5416ca2483be8e182cc4d0c27fa5a766492ab25
subcpu doesn't crash anymore in attract mode with this
User avatar
No.21414
Robbbert
Moderator
May 9, 2023, 09:49
That works for me, let's wait a bit for brainskis' response.
User avatar
No.21425
brainskis
Tester
May 9, 2023, 14:12
Thanks for the confirmation. Apologies but I won't be able to build and test this.
User avatar
No.21426
Robbbert
Moderator
May 9, 2023, 15:09
I'll assume it's ok then.