MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

Malmanian
Reged: 07/30/06
Posts: 80
Loc: スウェーデン
Send PM
Re: A new shader for those who want to use their entire screen space
04/21/16 01:04 AM


> > > > Many thanks for working on this! I'm pretty sure that this will indeed become
> > very
> > > > popular on YT soon for those that are capturing MAME footage .
> > > >
> > > > Is this a D3D exclusive and does it also require some specific
> bgfx_screen_chains
> > > > with HLSL or can it be used with OpenGL as will for older systems?
> > > >
> > > > I’m really looking forward to v0.173 or later when this is officially added to
> > the
> > > > source. Best regards.
> > >
> > > Not to try and speak for MG, but this has nothing to do with D3D. This is showing
> > off
> > > BGFX in action.
> > >
> > > If you're on 0.172 you can run with -video bgfx -bgfx_screen_chains hlsl and TAB
> > into
> > > the sliders flipping Enable Adjustments to On
> > >
> > > This way you can at the very least see if it works on your system if you wish to
> > try
> > > it.
> >
> >
> > Thanks for the reply. I tested bgfx the way you mentioned when 0.172 was released
> out
> > of curiosity (for example: "mame.exe -video bgfx -bgfx_screen_chains hlsl wboy" and
> > it works fine that way but a bit slow on my system.
> >
> > I'm just having problems to get it work with the glsl shader that I'm using and I'm
> > also running MAME in OpenGL mode since my video drivers and system runs much better
> > with that renderer. MAME bgfx documents mentions that it is possible to use opengl
> as
> > bgfx_backend but I'm just not sure why it disables my glsl shader as well.
> >
> >
> > I use HLSL and D3D on my main HTPC but for now I'm only limited to glsl and opengl
> on
> > my cab. It's not an ancient machine by any means but the CPU is my bottleneck as
> well
> > as the GPU (i5-2400S CPU ~2.5Ghz, 8GB RAM and GeForce GT 640, Win7x64).
> >
> > Best regards
>
> When you use -video bgfx you get access to only the "bgfx chains" in the bgfx\chains
> folder. The older glsl and hlsl shader systems use different shaders
>
> This is regardless of the bgfx_backend. So you can now use the "hlsl" chain with
> any/all of the bgfx backends. And that's really nice. Because shaders are now: write
> one shader, available on all OS's
>
> But it also means that you can't run the older glsl shaders in bgfx. There is nothing
> stopping anyone from porting the older shaders to the new system though. So if
> someone ports crt-geom or whatever then you'd be able to use it with "-video bgfx".
> But until someone does, well, you can't.
>
> I'm trying to get a simple scanline shader running in bgfx that runs at full speed on
> my atom tablet. This weekend I'll either finish that up or give up and write one for
> my faster surface pro 3. So there will be more choices for bgfx shader chains in the
> future.
>
> And of course MooglyGuy has been porting shaders like crazy lately. So you'll have
> those available too!



Thanks for the information, now I'm starting to understand how bgfx works. This sounds indeed great and will open up the door for lots of new shaders as well as many older shaders ported over in the near future. That was the main benefit of RetroArch and even some older MAME derivatives.

I've been reading about many of the changes in the recent MAME versions lately and it's really hard to keep up with the changes nowadays (http://docs.mamedev.org/) and it seems that MAME is now officially on a mission to destroy and kill all other MAME derivatives as will as many emulators and for some users even frontends by including many of the useful features but implementing it in a much better and future proof way. Many thanks to all the MAME devs for all their hard work!

My system runs HLSL just fine by it self but it seems much slower when running it through bgfx with "bgfx_screen_chains hlsl", hopefully it might be possible to improve the speed by optimization otherwise I just found a new excuse to upgrade my cabs hardware again


----
“Anyone who has never made a mistake has never tried anything new.” --Albert Einstein







Entire thread
Subject Posted by Posted on
* A new shader for those who want to use their entire screen space MooglyGuy 04/17/16 08:48 PM
. * A part two for those who want to scroll out a long thread please. -NT- BIOS-D  09/23/21 09:36 PM
. * I did some changes. This is the way I like it. Dullaron  09/18/21 06:46 PM
. * Screenshots Dullaron  09/18/21 06:49 PM
. * I turn up on the colors. Dullaron  09/18/21 07:31 PM
. * Re: A new shader for those who want to use their entire screen space Voltron  06/18/20 04:02 AM
. * Re: A new shader for those who want to use their entire screen space Voltron  06/23/20 02:22 AM
. * Re: A new shader for those who want to use their entire screen space MooglyGuy  06/23/20 03:24 AM
. * Re: A new shader for those who want to use their entire screen space Voltron  06/23/20 04:01 AM
. * Re: A new shader for those who want to use their entire screen space MooglyGuy  06/23/20 10:07 AM
. * Re: A new shader for those who want to use their entire screen space MooglyGuy  06/23/20 02:11 PM
. * Re: A new shader for those who want to use their entire screen space Voltron  06/23/20 03:29 PM
. * Re: A new shader for those who want to use their entire screen space Voltron  06/23/20 05:40 PM
. * Re: A new shader for those who want to use their entire screen space Voltron  06/25/20 08:04 AM
. * Re: A new shader for those who want to use their entire screen space Vas Crabb  06/25/20 12:41 PM
. * Re: A new shader for those who want to use their entire screen space Voltron  06/25/20 02:45 PM
. * Re: A new shader for those who want to use their entire screen space MooglyGuy  06/25/20 10:28 AM
. * Re: A new shader for those who want to use their entire screen space uman  06/27/20 02:40 PM
. * Re: A new shader for those who want to use their entire screen space Voltron  06/27/20 03:24 PM
. * Re: A new shader for those who want to use their entire screen space Voltron  06/28/20 05:22 PM
. * Re: A new shader for those who want to use their entire screen space Voltron  06/28/20 07:51 PM
. * Re: A new shader for those who want to use their entire screen space uman  06/29/20 01:40 PM
. * Re: A new shader for those who want to use their entire screen space Voltron  06/29/20 02:35 PM
. * Re: A new shader for those who want to use their entire screen space Voltron  06/30/20 07:11 PM
. * Re: A new shader for those who want to use their entire screen space Voltron  07/01/20 02:16 AM
. * Re: A new shader for those who want to use their entire screen space Envisaged0ne  07/01/20 03:32 AM
. * Re: A new shader for those who want to use their entire screen space Voltron  07/01/20 03:06 PM
. * Re: A new shader for those who want to use their entire screen space MooglyGuy  07/01/20 04:01 AM
. * Re: A new shader for those who want to use their entire screen space Voltron  07/01/20 03:14 PM
. * Re: A new shader for those who want to use their entire screen space Voltron  07/02/20 03:52 PM
. * Re: A new shader for those who want to use their entire screen space Voltron  07/02/20 07:42 PM
. * Re: A new shader for those who want to use their entire screen space Voltron  07/03/20 12:00 AM
. * Re: A new shader for those who want to use their entire screen space Voltron  07/03/20 06:22 PM
. * Re: A new shader for those who want to use their entire screen space Voltron  07/03/20 07:20 PM
. * Re: A new shader for those who want to use their entire screen space *DELETED* Voltron  07/03/20 10:42 PM
. * Re: A new shader for those who want to use their entire screen space Voltron  07/04/20 06:14 PM
. * Re: A new shader for those who want to use their entire screen space Voltron  07/06/20 10:22 PM
. * Re: A new shader for those who want to use their entire screen space Voltron  07/07/20 05:48 AM
. * Re: A new shader for those who want to use their entire screen space LensLarque  07/08/20 06:32 PM
. * Re: A new shader for those who want to use their entire screen space Voltron  07/08/20 07:29 PM
. * Re: A new shader for those who want to use their entire screen space MooglyGuy  07/12/20 04:15 PM
. * Re: A new shader for those who want to use their entire screen space Voltron  07/13/20 04:14 PM
. * Re: A new shader for those who want to use their entire screen space Voltron  07/11/20 06:42 AM
. * Re: A new shader for those who want to use their entire screen space Voltron  06/25/20 02:42 PM
. * Re: A new shader for those who want to use their entire screen space TafoidAdministrator  06/18/20 05:09 AM
. * Re: A new shader for those who want to use their entire screen space Voltron  06/18/20 05:42 PM
. * Re: A new shader for those who want to use their entire screen space Ziggy100  06/18/20 11:32 AM
. * Re: A new shader for those who want to use their entire screen space Envisaged0ne  06/19/20 02:59 AM
. * Fuck you bitch *nt* MooglyGuy  06/18/20 12:22 PM
. * Re: A new shader for those who want to use their entire screen space Foxhack  04/21/16 06:17 PM
. * Re: A new shader for those who want to use their entire screen space LensLarque  04/20/16 04:40 PM
. * Re: A new shader for those who want to use their entire screen space Shoegazr  04/18/16 11:08 PM
. * Re: A new shader for those who want to use their entire screen space B2K24  04/19/16 05:37 AM
. * Took saving the image and magnifying it about 300%... Traso  04/19/16 11:21 PM
. * Re: Took saving the image and magnifying it about 300%... anikom15  04/19/16 11:32 PM
. * OH. I noticed but obviously didn't get that. Carry on.... [nt] Traso  04/20/16 12:04 AM
. * "...cool as h*ll" Tomu Breidah  04/18/16 09:56 AM
. * Re: A new shader for those who want to use their entire screen space Malmanian  04/18/16 08:11 AM
. * Re: A new shader for those who want to use their entire screen space Traso  04/19/16 11:17 PM
. * Re: A new shader for those who want to use their entire screen space Malmanian  04/20/16 03:12 PM
. * Re: A new shader for those who want to use their entire screen space MooglyGuy  04/18/16 01:09 PM
. * Re: A new shader for those who want to use their entire screen space Malmanian  04/20/16 03:27 PM
. * Re: A new shader for those who want to use their entire screen space B2K24  04/20/16 04:25 PM
. * Re: A new shader for those who want to use their entire screen space Malmanian  04/20/16 11:54 PM
. * Re: A new shader for those who want to use their entire screen space SoltanGris42  04/21/16 12:25 AM
. * Re: A new shader for those who want to use their entire screen space Malmanian  04/21/16 01:04 AM
. * Re: A new shader for those who want to use their entire screen space Firehawke  04/21/16 06:52 PM
. * Re: A new shader for those who want to use their entire screen space Haze  04/21/16 09:43 PM
. * Re: A new shader for those who want to use their entire screen space R. Belmont  04/22/16 05:05 PM
. * Re: A new shader for those who want to use their entire screen space Haze  04/22/16 05:40 PM
. * Re: A new shader for those who want to use their entire screen space R. Belmont  04/22/16 10:00 PM
. * Re: A new shader for those who want to use their entire screen space qwijibo  04/26/16 04:07 AM
. * thanks for updating Midway 8080 hardware emulation gregf  05/02/16 08:50 AM
. * Re: thanks for updating Midway 8080 hardware emulation lettuce  05/02/16 02:40 PM
. * Re: thanks for updating Midway 8080 hardware emulation lettuce  05/02/16 03:22 PM
. * Re: thanks for updating Midway 8080 hardware emulation B2K24  05/02/16 04:30 PM
. * Re: thanks for updating Midway 8080 hardware emulation lettuce  05/02/16 07:39 PM
. * Re: A new shader for those who want to use their entire screen space Firehawke  04/26/16 05:32 AM
. * Re: A new shader for those who want to use their entire screen space etabeta  04/22/16 05:57 AM
. * Re: A new shader for those who want to use their entire screen space Vas Crabb  04/18/16 08:53 AM
. * Re: A new shader for those who want to use their entire screen space Malmanian  04/18/16 09:52 AM
. * Re: A new shader for those who want to use their entire screen space B2K24  04/17/16 09:29 PM
. * Re: A new shader for those who want to use their entire screen space MooglyGuy  04/17/16 10:13 PM
. * Re: A new shader for those who want to use their entire screen space uman  04/18/16 09:45 AM
. * Re: A new shader for those who want to use their entire screen space SoltanGris42  04/18/16 06:40 PM
. * Re: A new shader for those who want to use their entire screen space uman  04/18/16 09:04 PM
. * Re: A new shader for those who want to use their entire screen space MooglyGuy  04/18/16 09:16 PM
. * Re: A new shader for those who want to use their entire screen space uman  04/18/16 10:19 PM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 173 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 9866