Previous Thread
Next Thread
Print Thread
Joined: May 1999
Posts: 576
Carbon Online Content OP
Senior Member
OP Online Content
Senior Member
Joined: May 1999
Posts: 576
Here's the output:
Code
dyld: Symbol not found: __ZTINSt3__112bad_weak_ptrE
  Referenced from: /Applications/Emulation/MAME/./MAME
  Expected in: /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
 in /Applications/Emulation/MAME/./MAME
zsh: abort      ./MAME


I built it using a beta of Xcode 11 before Catalina was released. Could that be the source of the crash?

Last edited by Carbon; 10/16/19 10:09 PM.
Joined: May 1999
Posts: 576
Carbon Online Content OP
Senior Member
OP Online Content
Senior Member
Joined: May 1999
Posts: 576
I compiled MAME 0.214 again using the release version of Xcode 11.1 and the crash at start-up has disappeared.

But now graphics output is limited to the lower left corner of the screen. I'm using "auto" for graphics in windowed mode in the ini file.

[Linked Image from i.postimg.cc]

Joined: Mar 2001
Posts: 16,680
Likes: 4
R
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,680
Likes: 4
On Catalina you're best off using -video bgfx, -bgfx_backend metal is fastest (but doesn't work if you use the CRT shader right now). -bgfx_backend opengl works fine, it's just a bit slower.

Joined: Mar 2001
Posts: 16,680
Likes: 4
R
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,680
Likes: 4
The OpenGL problem on Catalina is that they switched the default on Retina support. The next version of SDL will fix it, and I'm attempting a MAME-side fix as well.

Joined: May 1999
Posts: 576
Carbon Online Content OP
Senior Member
OP Online Content
Senior Member
Joined: May 1999
Posts: 576
Great, thanks.

Joined: Mar 2001
Posts: 16,680
Likes: 4
R
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,680
Likes: 4
BTW, I've confirmed that with SDL 2.0.10 MAME works fine with Catalina's built-in PS4 controller support. (Xbox One controllers should work too).

Joined: Mar 2001
Posts: 16,680
Likes: 4
R
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,680
Likes: 4
The -video OpenGL 1/4 size problem on Catalina has been worked around. The workaround will automatically disable itself if SDL 2.0.11 or later is used, since that's supposed to fix it in a better way.

Additionally, -video auto will now select BGFX on the Mac rather than OpenGL now that Metal in BGFX is fully functional.

Joined: Sep 2000
Posts: 232
W
Senior Member
Offline
Senior Member
W
Joined: Sep 2000
Posts: 232
Thanks RB! I'm getting errors trying to compile latest Git:

4 warnings and 2 errors generated.
make[2]: *** [../../../../osx_clang/obj/x64/Release/osd_sdl/src/osd/modules/debugger/osx/disassemblyview.o] Error 1
make[1]: *** [osd_sdl] Error 2
make: *** [macosx_x64_clang] Error 2


=will=
Joined: Feb 2004
Posts: 2,217
Likes: 5
Very Senior Member
Online Content
Very Senior Member
Joined: Feb 2004
Posts: 2,217
Likes: 5
Pull the latest - I'm sick and I stayed awake literally all night, so I'm not quite with it. (Insert usual comment that anything other than tagged releases are not guaranteed to build for all supported targets, blablabla…)

Joined: Sep 2000
Posts: 232
W
Senior Member
Offline
Senior Member
W
Joined: Sep 2000
Posts: 232
Thanks! I got it to compile and see OpenGL issue was fixed, runs full screen now on my Retina display.

Running bgfx with OpenGL backend still crashes.
zsh: illegal hardware instruction ./mame64 dkong -bgfx_backend opengl

Multiple screen games like Darius are still messed up with bgfx unless using chains.
So I'm glad I can default back to OpenGL now.


=will=

Moderated by  R. Belmont 

Link Copied to Clipboard
Who's Online Now
1 members (Duke), 43 guests, and 4 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,882
Posts116,798
Members4,962
Most Online890
Jan 17th, 2020
Forum Host
These forums are hosted by www.retrogamesformac.com
Forum hosted by www.retrogamesformac.com