Viewing Issue Advanced Details Jump to Notes ] gyruss.cpp
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
06476 Graphics Major Always 28 days ago 27 days ago
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:
https://mameonmacs.blogspot.co.at/2016/09/mame-0177-first-impressions.html
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
 


-  Notes
User avatar
No.13559
Tafoid
(Administrator)
28 days ago
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
No.13561
estefan3112
(Tester)
28 days ago
edited on: 28 days ago
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
No.13562
Tafoid
(Administrator)
27 days ago
edited on: 27 days ago
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, https://github.com/bkaradzic/bgfx , 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.