Re: update on Mac bgfx and accel questions
[Re: will]
#116406
11/12/19 05:11 PM
|
Joined: Mar 2004
Posts: 648
belegdol
Senior Member
|
Senior Member
Joined: Mar 2004
Posts: 648 |
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.
|
|
|
Re: update on Mac bgfx and accel questions
[Re: will]
#116407
11/12/19 05:12 PM
|
Joined: Sep 2000
Posts: 224
will
OP
Senior Member
|
OP
Senior Member
Joined: Sep 2000
Posts: 224 |
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=
|
|
|
Re: update on Mac bgfx and accel questions
[Re: will]
#116408
11/12/19 05:25 PM
|
Joined: Sep 2000
Posts: 224
will
OP
Senior Member
|
OP
Senior Member
Joined: Sep 2000
Posts: 224 |
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 
=will=
|
|
|
Re: update on Mac bgfx and accel questions
[Re: will]
#116409
11/12/19 05:29 PM
|
Joined: Mar 2001
Posts: 16,391
R. Belmont
Very Senior Member
|
Very Senior Member
Joined: Mar 2001
Posts: 16,391 |
Indeed. "default" seems like a more reasonable default than "none" 
|
|
|
Re: update on Mac bgfx and accel questions
[Re: will]
#116410
11/12/19 06:10 PM
|
Joined: Sep 2000
Posts: 224
will
OP
Senior Member
|
OP
Senior Member
Joined: Sep 2000
Posts: 224 |
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=
|
|
|
Re: update on Mac bgfx and accel questions
[Re: will]
#116411
11/12/19 07:18 PM
|
Joined: Mar 2004
Posts: 648
belegdol
Senior Member
|
Senior Member
Joined: Mar 2004
Posts: 648 |
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.
|
|
|
Re: update on Mac bgfx and accel questions
[Re: will]
#116412
11/12/19 07:33 PM
|
Joined: Sep 2000
Posts: 224
will
OP
Senior Member
|
OP
Senior Member
Joined: Sep 2000
Posts: 224 |
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=
|
|
|
Re: update on Mac bgfx and accel questions
[Re: will]
#116414
11/12/19 07:43 PM
|
Joined: Mar 2004
Posts: 648
belegdol
Senior Member
|
Senior Member
Joined: Mar 2004
Posts: 648 |
Thanks, it was worth a shot.
|
|
|
Re: update on Mac bgfx and accel questions
[Re: will]
#116416
11/12/19 08:59 PM
|
Joined: Sep 2000
Posts: 224
will
OP
Senior Member
|
OP
Senior Member
Joined: Sep 2000
Posts: 224 |
Incidentally, bgfx_backend opengl is failing with any game I try.
illegal hardware instruction ./mame64 dkong -bgfx_backend opengl
=will=
|
|
|
|
Forums9
Topics8,722
Posts114,638
Members4,873
|
Most Online510 Aug 26th, 2019
|
|
|