Koko-aio shader discussions and updates

Hi Koko I downloaded the latest update a few hours ago and my PSP is upside down

See some posts ago, it depends on retroarch.

Try to switch to Vulkan, does it work?

ok I will read previous post, if the test was in Vulkan

I don’t understand were you already on vulkan?

Btw you can flip that via the shader parameters. Also, I could make a side preset already flipped since psp core may use hw renderer.

Yes, I was already with Vulcan, I will try the parameters.

The flipped framebuffer is an opengl specific issue. If you were using Vulkan, make sure that the core isn’t auto switching to glcore. (Look at what driver is selected while a rom is running.)

1 Like

Hi @Duimon can I have your permission to use some of your backgrounds in these Mobile/J2ME presets I’m making?

3 Likes

I spent last few days spamming the forum (sorry!) with several attempts to maximixe the brightness and the mask visibility and crafting a new preset.

There it is: Monitor-Screen_Hmask-Screen_SlotMask_Taller_MaxMask.slangp

7 Likes

Hi all, I am experiencing full crashes in RetroArch with koko-aio as well as Mega_Bezel (but not e.g. CRT-GEOM) since the 10 September Nightly Build. I am no programmer, but the commit on 10 September called “Downsize big char arrays in shader structs” made me test the builds of 9 September, still works, while 10 September and following crash. MacOS here. Any other platforms also affected? Many thanks for letting me know, need to file a bug report. Vulkan of course. Will also ask in Discord.

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BREAKPOINT (SIGTRAP) Exception Codes: 0x0000000000000001, 0x0000000184a6ce44

Termination Reason: Namespace SIGNAL, Code 5 Trace/BPT trap: 5 Terminating Process: exc handler [1159]

Everything fine here, sorry to hear that.

At least you bisected bad commit, it’s a great start. :+1:

1 Like

Linux right, or also Windows?

My forum thread may have been a better place to ask. Please contact me in a private thread and we can discuss it.

1 Like

Just Linux, but I’m sure if it happened on Windows too, there would be plenty of complaints.

As of today’s build everything works again as promised by warmenhoven.

1 Like

I just pushed a commit to show simple test patterns.

For this change to NOT affect performance at all, only very simple patterns can be shown, this includes full black, gray, white, color to color vertical, horizontal and oblique gradients, color fades over time.

Gradients are good to spot color clippings and full screen time fades are very useful to spot moire patterns.

7 Likes

Excuse me for the extreme ignorance but I really like your presets.

I would like to use them alongside with the Overlays around this community, but I would like to get usage from your TV reflections that gives such a massive realism in any of the preset experiences.

Is there a way to just get the Reflections effect from your presets ?

Would really appreciate it.

1 Like

The 'reflections" are tightly integrated in the shader with their needed code spreaded across multiple passes to maximize an efficient use of the gpu; this makes nearly impossible to isolate them.

Depending on the external shader preset you want to use, it may be possible to prepend it to koko-aio; but usually you need a very fast gpu for it.

1 Like

It seems that uncommenting the following line in config-user.txt will crash the shader:

// #define AUTOCROP_SAMPLES 0.02

I suggest this tweak to the default GameboyAdvance-Overlay.slangp:

BRIGHTNESS = "-0.050000"
IN_GLOW_GAMMA = "1.500000"

Before:

After:

1 Like

Its value should be an integer, not a float, the default is 10. However, it works here by uncommenting it either with an integer like 10 or with your example 0.02.

1 Like