Previous Thread
Next Thread
Print Thread
Page 2 of 2 1 2
Joined: Mar 2004
Posts: 656
Senior Member
Online Content
Senior Member
Joined: Mar 2004
Posts: 656
Thanks for testing will! I have now added the rebuilt chain to the PR and marked it as ready for review, hopefully it will get merged soon.

Joined: Sep 2000
Posts: 231
W
will Offline OP
Senior Member
OP Offline
Senior Member
W
Joined: Sep 2000
Posts: 231
This reminds me, will bgfx support multiple monitors on Macs? I've tried various options and right now it seems no dual screens at all.

I have an iMac with an external Cinema Display. Using OpenGL, it blacks out both screens and I have to toggle full screen in and out multiple times to get it to work somewhat.

It's quite a messy experience and I end up playing in windowed mode. Now with OpenGL messing up on a Retina display, it is even worse.

Fingers crossed you guys can fix it with bgfx supporting metal. Thanks!


=will=
Joined: Sep 2000
Posts: 231
W
will Offline OP
Senior Member
OP Offline
Senior Member
W
Joined: Sep 2000
Posts: 231
OK I figured out something with the multiscreen games like Darius. You have to specify each monitor:

darius -bgfx_screen_chains default,default,default
[img]https://photos.app.goo.gl/kNu8ReiPt5TdPpfC6[/img]

darius -bgfx_screen_chains hlsl,hlsl,hlsl
[img]https://photos.app.goo.gl/WwgnhEjUYQpWuL1b7[/img]

So the problem is if you don't specify default or unfiltered or hlsl then it shows that screen in all red.

That should be fixed so that it defaults to default smile


=will=
Joined: Mar 2001
Posts: 16,612
R
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,612
Indeed. "default" seems like a more reasonable default than "none" smile

Joined: Sep 2000
Posts: 231
W
will Offline OP
Senior Member
OP Offline
Senior Member
W
Joined: Sep 2000
Posts: 231
So just to recap: ./mame64 darius results in 2 out of 3 screens in all red.

In order to play darius without issue, the correct command is:

./mame64 darius -bgfx_screen_chains default,default,default


=will=
Joined: Mar 2004
Posts: 656
Senior Member
Online Content
Senior Member
Joined: Mar 2004
Posts: 656
Do you have any chains configured in the ini? Even default? if yes, can you try renaming the ini so that it is not used? What *could* be happening is that if ini has default set as screen chain, it does what it says: passes -bgfx_screen_chains default to the executable. What is needed for darius is -bgfx_screen_chains default,default,default.
This would be not really a bug, but just an unfortunate consequence of the literal interpretation of the ini and the fact that the screen chain is called default.

Last edited by belegdol; 11/12/19 07:21 PM.
Joined: Sep 2000
Posts: 231
W
will Offline OP
Senior Member
OP Offline
Senior Member
W
Joined: Sep 2000
Posts: 231
I renamed my ini so mame is only using default settings. The second and third screen are still red.

./mame64 darius -video bgfx -bgfx_debug

[img]https://photos.app.goo.gl/6kGe4dLW1w6CiXNG8[/img]


=will=
Joined: Mar 2004
Posts: 656
Senior Member
Online Content
Senior Member
Joined: Mar 2004
Posts: 656
Thanks, it was worth a shot.

Joined: Sep 2000
Posts: 231
W
will Offline OP
Senior Member
OP Offline
Senior Member
W
Joined: Sep 2000
Posts: 231
Incidentally, bgfx_backend opengl is failing with any game I try.

illegal hardware instruction ./mame64 dkong -bgfx_backend opengl


=will=
Page 2 of 2 1 2

Moderated by  R. Belmont 

Link Copied to Clipboard
Who's Online Now
3 members (R. Belmont, box, 1 invisible), 53 guests, and 2 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,834
Posts116,209
Members4,921
Most Online890
Jan 17th, 2020
Powered by UBB.threads™ PHP Forum Software 7.7.5