Koko-aio shader discussions and updates

Ok, here are my current settings that I use on a 4k Sony OLED (so, output is set at 2160p on retroarch), using Game Mode setting and BFI lv2 on the Sony settings, for anyone that wants to take a look.

Shaders should be uptodate from the dev repo.

Depending on your panel, you may need to dial down “input signal” (if you’re not using a BFI type setting on your panel) and “saturation” slighty, and change "sharp X from -70 to -75 for a little more sharpness (personally, I’d prefer a setting of -72)…If you do change input signal, you may need to slighty adjust “gamma out”.

Edit: should add I use Vulkan.

4 Likes

Oky, I think I managed to solve the issue:

There is a new backdrop image under “textures” directory, namedd backdrop_superhero.jpg you can use in place of the default one.

You can take a look to the gimp psource roject I uploaded in the secondary repository too:

Please, have fun :wink:

Will take a look tomorrow and report back.

Ever so slighty tweaked settings uploaded (as per previous post, configured for 2160p)

1 Like

Ok, finished tweaking…finally! On closer inspection, had a few things I needed to tweak further.

Let me know if anyone wants the new present (4k):

3 Likes

It still does look good on 1080p scaled down, so please, me :slight_smile:

1 Like

Cheers, will upload in the morning (uk time).

Here you go

1 Like

Thanks! I’ve tweaked it to mitigate moire and gain a bit of sharpness on 1080p:

PIXELGRID_NO_INTERBLEED_H = "1.000000"
PIXELGRID_SIZE_W = "1.000000"
PIXELGRID_TVL_X = "625.000000"
IN_GLOW_GAMMA = "2.22"
GAMMA_OUT = "0.400000"
IN_GLOW_POWER = "1.999999"
IN_GLOW_BIAS = "0.500000"
IN_GLOW_WARPSHARP_X = "0.200000"
IN_GLOW_WARPSHARP_Y = "0.200000"
PIXELGRID_MIN_H = "0.300000"
PIXELGRID_MAX_H = "0.750000"
PIXELGRID_Y_MASK = "0.400000"
PIXELGRID_Y_MASK_SHIFT = "-0.010000"

~~…also raised TEMP from 6900 to 7500 due to my personal taste ~~

1 Like

Nice! Which combo got rid of the last bit of moire?

There were 2 moire patterns intersecting.

  • first one due to scanlines; minimum scanlines was too low for 1080p with min->max gamma set to 5.0, so I’ve had to rise the minimum height, and to keep min->max proportions, I’ve raised the maximum height too. Still on scanlines, I’ve had to nullify “interline extra steepness”, because it produces very steep lines (moire).
    …at least doing that made the picture brighter, so i’ve put the main signal gain down.

  • second one due to the very high TVL, i just switched to screen coords.

1 Like

Perfect - just made some minor tweaks on my 4k version, based on these 2 setting re moire, and now that’s done the trick. Nice!

1 Like

You can easilly check for moire by using the: “show test pattern” parameter set to 9:00

Yeah, all done.

20 characters lol.

Hey, I think i managed to fix that, please, check in the dev repo.

2 Likes

Hi, I think either my install is busted, or it’s because I’m on nightly rocknix, but I can’t get the ambilight working no matter what now (neither with the koko that comes with rocknix nor the latest main which means it’s on my end).

I made sure the scaling is set to full in both ES and RA, the game launches stretched, then I apply koko shader and it “shrinks” to 4:3, I get the reflections on bezel, but not the reflections in the “black bars”. In shader options I made sure the ambilight is enabled, but flipping it off or on produces no difference.

this is what the koko shader I was using before looks like now

I’ll try in few more nightlies (I’m also missing option to disable decorations in the ES menu so I dunno what’s going on) edit: it also failed to load my saved presets for gb and gbc and I had to recreate them so something’s definitely afoot.

If you saved your presets as full instead of simple and did a big version jump, then breaking is expected.

But the missing borders are unrelated and probably Retroarch is using core aspect instead of full aspect for some reason.

Overrides in place, maybe?

Mmh but you said it starts stretched, and thay suggests full aspect, weird.

Have you tried other border shaders like megabezel/uborder?

What if you enable background picture parameter in koko-aio?

There was a bug just fixed (thanks @RickDangerous for pointing it out!) that should fix yours as well.

2 Likes

Yey, fixed thank you! And no more black dot in corner either!

But I wonder, did something change or what do I need to turn off to gain performance? I lost my old presets and this is just Monitor-balanced with bg pic turned off. It stutters heavily on Dreamcast, barely hitting 35fps, I do not recall this from my previous usage (I have RP5)

Maybe you increased internal flycast resolution?

Nothing really changed performance wise For what concerns the shader, maybe you changed some core option or other setting, can’t say.

Maybe you were using fast presets, check: Koko-aio shader discussions and updates

1 Like