Previous Thread
Next Thread
Print Thread
SDLMAME - configure to run on 2nd Display #117035 03/15/20 05:41 PM
Joined: Feb 2012
Posts: 16
D
D M K Offline OP
Member
OP Offline
Member
D
Joined: Feb 2012
Posts: 16
Hey.

I am running SDLMAME on my Mac. Can someone please help me make sense of how I tell Mame to run on my 2nd Monitor? I guess I need to configure the mame.ini under the # PER-WINDOW VIDEO OPTIONS but I need some more help please. Thanks.

Re: SDLMAME - configure to run on 2nd Display [Re: D M K] #117061 03/19/20 04:20 PM
Joined: Sep 2000
Posts: 228
W
will Offline
Senior Member
Offline
Senior Member
W
Joined: Sep 2000
Posts: 228
Normally you will want to use the -numscreens command. For example ./mame64 punchout -numscreens 2
You can also edit the mame.ini file and change the numscreens line from 1 to 2.
If you can get it to work, sometimes you might have to toggle fullscreen (press option plus return keys)

However it has not working so well on the Mac for a long time and lately it has been crashing and not showing anything on the second screen.


=will=
Re: SDLMAME - configure to run on 2nd Display [Re: D M K] #117062 03/19/20 05:35 PM
Joined: Sep 2000
Posts: 228
W
will Offline
Senior Member
Offline
Senior Member
W
Joined: Sep 2000
Posts: 228
Did some more testing. It seems bgfx is broken with dual monitors, cannot get any video on the second screen, shows a blank white screen. OpenGL and software rendering are working fine if you start in windowed mode.

Try this with Punchout for example:

./mame64 -video opengl punchout -window -numscreens 2

Then press option plus return keys to switch into full screen mode.


=will=
Re: SDLMAME - configure to run on 2nd Display [Re: D M K] #117063 03/20/20 08:58 AM
Joined: Feb 2012
Posts: 16
D
D M K Offline OP
Member
OP Offline
Member
D
Joined: Feb 2012
Posts: 16
Hey Will, thanks for your replies.

I have done as suggested, but none seem to work. MAME always launches on default (primary) display. Also, whichever -numscreens value I try, I see the following in Terminal "Invalid numscreens value 2; reverting to 1"

Thanks.

Re: SDLMAME - configure to run on 2nd Display [Re: D M K] #117065 03/20/20 03:09 PM
Joined: Sep 2000
Posts: 228
W
will Offline
Senior Member
Offline
Senior Member
W
Joined: Sep 2000
Posts: 228
You have a second monitor attached and active? Please reply which what kind of Mac you have, which macOS you are running, what version of MAME.

Also make sure you have the latest SDL Frameworks installed. Looks like SDL2-2.0.12 just came out last week.


=will=
Re: SDLMAME - configure to run on 2nd Display [Re: D M K] #117066 03/20/20 06:47 PM
Joined: Feb 2012
Posts: 16
D
D M K Offline OP
Member
OP Offline
Member
D
Joined: Feb 2012
Posts: 16
Hey.

2nd Monitor active.
Mac OS 10.13.6
MAME 0.155 (32bit) yes I know this is old, but newer 64 bit versions fail to run now (:
I have SDL2 version 2.0.10

Thanks.

Re: SDLMAME - configure to run on 2nd Display [Re: D M K] #117067 03/20/20 07:40 PM
Joined: Mar 2001
Posts: 16,473
R
R. Belmont Offline
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,473
Why don't newer 64-bit versions run? That would be the first problem, as 0.155 is very old.

Re: SDLMAME - configure to run on 2nd Display [Re: R. Belmont] #117068 03/20/20 08:19 PM
Joined: Feb 2012
Posts: 16
D
D M K Offline OP
Member
OP Offline
Member
D
Joined: Feb 2012
Posts: 16
Originally Posted by R. Belmont
Why don't newer 64-bit versions run? That would be the first problem, as 0.155 is very old.


I have tried some of the later 64bit versions from <here> but when the NAME binary is launched it loads 'in the background' so I have to switch to another application, then locate MAME in my dock before I can see it.

I seem to remember compiling a 64bit version myself using Terminal but it never produced a working version. SDLMAME 64bit last worked properly for me on my Mac around 0.152 (ish)


Moderated by  R. Belmont 

Who's Online Now
0 registered members (), 111 guests, and 1 spider.
Key: Admin, Global Mod, Mod
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,764
Posts115,179
Members4,889
Most Online890
Jan 17th, 2020
Powered by UBB.threads™ PHP Forum Software 7.7.3