Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
06476 Graphics Major Always Jan 26, 2017, 20:07 Jan 27, 2017, 10:57
Tester estefan3112 View Status Public Platform MAME (Self-compiled)
Assigned To Resolution Not fixable OS MacOS X
Status [?] Closed Driver gyruss.cpp
Version 0.182 Fixed in Version Build 64-bit
Summary 06476: all: bgfx - metal crashes since 0.177 in every version
Description Since version 0.177 of MAME, bgfx-metal crashes/does not work. I could reproduce this both in El Capitan (0.177 - 0.179, and these systems also crash in MacOS Sierra), since 0.180 in MacOS Sierra. In younger versions, MAME does not crash, but produces no picture.

Latest error message under 0.182 after exiting the system:
CoreAnimation: warning, deleted thread with uncommitted CATransaction; set CA_DEBUG_TRANSACTIONS=1 in environment to log backtraces.

Same happens with the officially compiled version of SDLMAME. MAME 0.176 still works in my current environment.

PS: I could not report earlier because I have real troubles with logging in in MAME Testers if I am using the MacOSX Password Manager -> I get immediately kicked out again.
Steps To Reproduce ./mame64 -video bgfx -str 60 -noafs -bgfx_screen_chains crt-geom-deluxe -bgfx_backend metal -artcrop -noreadconfig -nosleep -nothrottle gyruss
(any game)
Additional Information See also my blog re running MAME on Macs:
Crash has been confirme by one visitor of my blog.

As indicated by Tafoid below, the command works under Windows, however, since Metal is an Apple API requiring El Capitan or newer, my assumption is that 'metal' is ignored in the MAME Windows version.
Flags SDL specific
Regression Version 0.177
Affected Sets / Systems all
Attached Files
There are no relationsihp linked to this issue.
User avatar
Jan 26, 2017, 21:04
At least for Windows, your command lines seems to work (had to take out -noreadconfig which had my path settings). I'm able to see and hear Gyruss without issue.
Hopefully someone else on MAC OSX can test.
User avatar
Jan 26, 2017, 21:40
edited on: Jan 26, 2017, 21:41
I have added this in my report: Metal is an Apple API requiring El Capitan or higher, so my assumption is that the MAME Windows version just ignores 'bgfx_backend metal'.
User avatar
Jan 27, 2017, 10:55
edited on: Jan 27, 2017, 10:58
From what I was told from our current project leader, the metal backend support is preliminary through BGFX and was never fully supported. The BGFX project, , is entirely responsible for it working or not and the fact that it works for one platform and not another is a matter of luck. You may be able to address your issues directly with them as it falls beyond the scope of our bug coverage. It is suggested to use OpenGL 3.
Again, this is nothing we can address or fix on our end.

Closing this report.