Page 1 of 1

RetroArch-style shaders via add-on board?

Posted: Wed Jul 14, 2021 2:53 pm
by ferropop
Hi all, I think all HDMI users could all agree that the vast amount of talent and effort put into the RetroArch shaders offers incredibly high-value results that leave everything else in the dust comparatively.

Obviously RA shaders rely on a GPU which is not part of the MiSTer package, but I wonder if it might be technically possible to develop an add-on board that was purely dedicated to processing MiSTer's video through the LibRetro Video Processor core in RetroArch through a simple Linux build : https://docs.libretro.com/library/video_processor/

What about a Raspberry Pi dedicated to the above function, similar to using one for MT32-Pi?

Just ideas!

Re: RetroArch-style shaders via add-on board?

Posted: Wed Jul 14, 2021 4:18 pm
by gamesfan
I understand what your asking and at least the rpi doesn’t allow for video pass through.
There are hardware scanline generators, and of course mister does have those or many options at least.
If this were possible the next step could even be using this other machine as a FRont end that could pass commands to the mister to launch a game ..

I don’t mind the minimal mister UI, but it isn’t easy for someone to simply use and there is no real way to hide settings we don’t want messes with. Plus box art, video snaps and game metadata look amazing on some emulationstation themes.

Maybe one day we could have the best of both worlds.

Re: RetroArch-style shaders via add-on board?

Posted: Wed Jul 14, 2021 4:54 pm
by ferropop
I also enjoy the minimal interface, but am more interested in the incredible shaders that run at 4k+ resolutions and emulate the most intricate details of CRT TVs/PVMs. They offer such an incredible experience, a dedicated add-on seems like it would have a place in the community.

Re: RetroArch-style shaders via add-on board?

Posted: Wed Jul 14, 2021 6:10 pm
by akeley
High-end shaders require a lot of GPU juice to run at full speed. Doubt RPi could handle that, which is why it has a dedicated low-specs shader. And for lower-end ones you probably can achieve similar results already, using MiSTer's filters.

Re: RetroArch-style shaders via add-on board?

Posted: Thu Jul 15, 2021 1:56 am
by ash2fpga
I would love such a thing. I keep revisiting this libretro thread and wondering what could be some day...

https://forums.libretro.com/t/please-sh ... n-do/19193

Re: RetroArch-style shaders via add-on board?

Posted: Thu Jul 15, 2021 3:14 pm
by ferropop
I just wonder how low-spec of a GPU you could get away with if it were purely dedicated to shader math?

Re: RetroArch-style shaders via add-on board

Posted: Sat Jul 17, 2021 11:54 am
by Blitzwing
ferropop wrote: Thu Jul 15, 2021 3:14 pm I just wonder how low-spec of a GPU you could get away with if it were purely dedicated to shader math?
Not something that is very easy to test of course but I know that a launch Nintendo Switch running various 16bit emulators in RetroArch does a pretty good job with the ‘CRT-Royale’ shader in handheld mode which GPU wise is roughly the same power as a PS3 at least in GFLOPs anyway. I don’t know where a Pi4B sits in the stack but I can’t imagine it’d have much of an issue just running a shader.

Re: RetroArch-style shaders via add-on board?

Posted: Sat Jul 17, 2021 5:46 pm
by rhester72
Honestly even just RPi's zfast scaler would be quite good enough IMHO (particularly the curved variant).

Re: RetroArch-style shaders via add-on board?

Posted: Wed Aug 11, 2021 5:35 pm
by NightShadowPT
I would love to see something like this.

Getting a good CRT is not easy/cheap and the convenience to run the MiSTer output through a good quality filter would be great.

Fingers crossed some talented dev is also a big fan of CRT simulation ;)

Re: RetroArch-style shaders via add-on board?

Posted: Fri Aug 13, 2021 4:29 pm
by ash2fpga
Considering getting a retrotink at this point. The scanline effects are starting to look really good.

https://twitter.com/retrotink2/status/1 ... 0098128896

Re: RetroArch-style shaders via add-on board?

Posted: Fri Aug 13, 2021 8:33 pm
by Chris23235
ferropop wrote: Wed Jul 14, 2021 2:53 pm Hi all, I think all HDMI users could all agree that the vast amount of talent and effort put into the RetroArch shaders offers incredibly high-value results that leave everything else in the dust comparatively.

Obviously RA shaders rely on a GPU which is not part of the MiSTer package, but I wonder if it might be technically possible to develop an add-on board that was purely dedicated to processing MiSTer's video through the LibRetro Video Processor core in RetroArch through a simple Linux build : https://docs.libretro.com/library/video_processor/

What about a Raspberry Pi dedicated to the above function, similar to using one for MT32-Pi?

Just ideas!
I think it would be possible but it would add more lag.

Re: RetroArch-style shaders via add-on board?

Posted: Mon Jan 15, 2024 4:17 pm
by Catwalk9445

This would be amazing and a huge step forward for the community.

There are dithering patterns in many systems for example that can't get blended with shadow masks and interpolation alone but can be done with retroarch shaders and the results are pretty impressive.


Re: RetroArch-style shaders via add-on board?

Posted: Mon Jan 15, 2024 4:53 pm
by akator

I think this is a very cool idea.


Re: RetroArch-style shaders via add-on board?

Posted: Mon Jan 15, 2024 5:22 pm
by antibolo

For what it's worth, the RetroTink 4K recently added MiSTer integration features.