New sonkun crt guest advanced hd presets thread

Try replacing pass2 (afterglow0) with stock shader, see how it goes.

3 Likes

That’s exactly how I see it as well. At first I kept trying to match the “raw colors” that the LCD was giving me foolishly not even knowing even those colors are “wrong” as guest.r pointed out a few posts above. Once I stopped trying to do that that’s when my imagination started to run wild hence the reason for me even tweaking all those tint settings in grade. So basically my latest preset pack is me just letting my imagination run wild a bit, at least color-wise.

Yeah I was pretty much using all the Capcom Street Fighters and VS series as tests, Marvel Vs Capcom is so colorful it’s just fun to look at.

1 Like

Yeah, replacing pass2 with stock shader fixes the issue! What is the issue with afterglow that Snes9x, Beetle PCE, and Genesis Plus GX struggle with?

2 Likes

When I start a game and change the shader to one of sonkun’s shaders and replace pass2 with stock shader while the game is running, the issue is fixed. Once, I run a game with the shader being applied from the start through global.slangp for example, the issue persists. See https://pastebin.com/f8XSPwGU

2 Likes
[INFO] [Vulkan filter chain]: Creating framebuffer 2048x2048 (max 1 level(s)).
[INFO] [Vulkan filter chain]: Creating framebuffer 2048x2048 (max 1 level(s)).
[INFO] [Vulkan filter chain]: Creating framebuffer 2048x2048 (max 1 level(s)).
[INFO] [Vulkan filter chain]: Creating framebuffer 2048x2048 (max 1 level(s)).
[INFO] [Vulkan filter chain]: Creating framebuffer 8192x2048 (max 1 level(s)).

It’s a good question why your input framebuffer size is 2048x2048 (should be more like 320x224), that’s from the first 5 passes, last being the ntsc-pass1 which horizontally scales by 4x.

The horizontal resolution might be to large and it supposingly crashes RA. Dunno if it’s a bug, RA setting or system setting.

You can check that you don’t have any video filters or strange core options enabled, otherwise this is a good question for someone also familiar with the Apple ecosystem.

Edit: see the framebuffer sizes get updated, but it looks it gets stuck in the process (framebuffer creation and updates).

3 Likes

The log is from a freshly installed Retroarch with no video filter and default core options. Only global.slangp is loaded.

2 Likes

Hey sonkun, I’ve been doing a lot of test with your shader in the latest days and it’s really awesome. But unfortunately it’s too heavy to be used on Android… while on some cores it still works ok on other cores it makes things too slow even with simple games (I am using a high end phone, S24 Ultra). Is there maybe a “lighter” version of this shader?

1 Like

What resolution are you running it to? Given the “tiny” screen, I’d try to go with 1080p.

Also what cores are problematic? Do they upscale?

2 Likes

Yeah, I already tried with 1080p and same results… Anyways the MAME core (current) is especially problematic… I know that core is “heavy” but unfortunately some arcade games only work on the current MAME core. They look awesome with the sonkun shaders but they are too slow to play… Btw your shader is also fantastic, I use it a lot (and is faster) :wink:

3 Likes

Uhm, probably the phone is reaching high temps and it is throttling its speed and that affects the gpu too.

Happens everytime on my s10 with exynos to the point that i need to use 720p.

If you can stand some added latency, I’d try with threaded rendering turned on.

1 Like

An S24 can’t handle my presets? That’s interesting. Does the guest advance hd shader and ntsc variant from the crt folder run fullspeed by itself? If so then maybe you can use those versions without the “grade” shader that I’ve added onto my presets (assuming that’s what may be causing the slowdown) and then copy the settings from my presets over to those?

You just reminded me I also have a “lightweight” glsl shader I was working on in 2023, haven’t tweaked it in a while though, looks nowhere as good as my presets either but it’s usable and it’s only for 1080p:

2 Likes

Was in the mood for some crt gaming when I realized I still haven’t tried RetroArch with the new crt I got my hands on a few weeks ago. I also remembered that I had a hdmi to AV converter laying around with two way male composite cable so I hooked it up to the tv. Now I just opened up a world where I can play 100’s of games on this tv. Here’s some composite shots for you guys:

I also wanted to show the rainbow effect in real time action so I recorded a few videos, the fringing is crazy. @guest.r your rainbow implementation is about as close to the real thing as it can get. @RetroCrisis the people that were leaving comments on the YouTube video talking about the flickering probably don’t know that the flickering they see actually happens on a real crt, actually it’s even more severe here:

Videos expire in 2 days but I’ll re-upload upon request if anyone wants to see them.

Also from what I’m seeing this converter I’m using seems to display all games in “2-phase” only, tried it with Ninja Gaiden:

I only get the vertical rainbows not the 3 phase diagonal ones.

On my current preset pack I lowered the fringing on my composite rainbow presets, now after seeing it on a real tv I kind of want to put the fringing back lol.

Edit: I just put up a new pack with that fringing setting defaulted so you all can grab it if you want.

Even RetroArch itself has some rainbow artifacting on the crt:

One more shot:

10 Likes

Hi, sonkun. Which resolution are you setting RA to send to your TV?

I’ve spot graphical differences between real hardware and some alternative setup to connect emulators to send 240p to crts AV inputs. Depending on horizontal resolution, the rainbow effects may be different from real hardware.

Here’s my case using a Wii: When NTSC filter is mandatory?

2 Likes

Converters are obviously their own configuration, normal ones don’t output 240p either.

1 Like

I didn’t set it to anything at all. I just connected my Shield TV to this converter and then to the tv then it was off to the races. What I do see in my RetroArch config file is “crt switch resolution” set to 0, “crt switch resolution super” is 2560, “crt switch resolution use custom refresh rate” is false and “current resolution id” is 0 if that information helps.

This may be the case, I don’t have the actual systems to cross compare, I was just happy to get some kind of composite video at all on an actual tv.

This was the converter I used, had it laying around for years:

Couple more pics from last night:

3 Likes

Probably just a standard cheap converter. Afaik there is no converter which allows you to actually replicate real hardware, that would be the ultimate device if you could switch between systems that actually mimics the platform signal accurately.

One thing you could try if you have something available is trying RA with a different HDMI device, like a PC. It’s possible you’ll get some variance in output.

It is a cheap converter, you don’t see the price tag on that thing lol? Plus it’s really old made years ago. It’s ok if it doesn’t mimic real hardware 1 for 1, I just wanted to see some kind of composite output on a crt with those particular games that’s all.

The real fun comes when I get my hands on a bigger TV and then start collecting the actual older like systems like nes, snes etc again preferably with RF input instead.

Nice photos… Enjoy your CRT :grinning: I don’t have a converter, I use CRTemudrivers 2.0 with amd graphics and outputs from VGA to scart RGB, when I can tonight I’ll show some photos…

2 Likes

Hi @sonkun, do you still have your presets from 03-03-2024? I’d like to dig deeper into the issue and see what’s changed that could cause the freezing. So far, I’ve tested these cores:

  • Beetle PCE
  • FinalBurn Neo
  • Flycast
  • Genesis Plus GX
  • melonDS
  • Mesen
  • mGBA
  • Mupen64Plus-Next
  • Snes9x
  • SwanStation

Your presets freeze a game with Beetle PCE, Genesis Plus GX, and Snes9x. Interesting, that Mesen works fine. I thought the root cause would be 240p games…

2 Likes

Actually I do.

https://www.mediafire.com/file/1kxo739v7bwazg9/new-sonkun-crt-guest-advanced-presets-03-03-2024.zip/file

Looking in the trash bin I noticed I still have a bunch of old packs going back a few years. Guess I could still archive things if I wanted to.

2 Likes