Manually combine an xbr and a crt shader

Hi everyone ! I must be super dumb but, due to the fact I’m using a shitty computer at the moment (intel hd 3000), I couldn’t find a shader preset with both a scanline and an xbr shader running at full speed.

However, xbr fast 2 passes runs at 100% and some CRT shaders like crt-pi, Lottes’ etc. run at 100% speed.

When I try to combine them from the retroarch menu, it doesn’t work at all. Exemple : I apply at pass 1 xbr and at pass 2 cri-lottes : result : no xbr at all, only a pixellized screen (no scanlines either). I try many different order & combinations and never manage to get a proper result.

I use Lakka and Ubuntu, so glsl shaders but I tried with CG shader and got the same result.

Any idea ?

I’m really sorry if this has already been answered numerous times !!

Cheers BTW : I love Lakka, Retroarch and pixel shaders :wink:

Have you tried the 2xbr-crt-hyllian preset in the ‘cgp’ directory?

Yep I tried it ! For some reason, I cannot see scanlines when using it :wink:

Oh, actually, what I wrote is untrue. Loading this shader preset actually has no effect. As if it was not found or corrupt or something. So it leaves my shaders settings untouched. I quickly checked the .glslp file, paths seem correct. I’ll have another look later :slight_smile: Thanks again !

looks like the problem is that the crt-hyllian.glsl shader is broken but you can just replace it in the cgp with any other crt shader that does work.

Ok ! I just don’t understand why I cannot combine shaders from the GUI. Well, anyway, no major problem, hehe :slight_smile: Thanks for the kind replies.

Hmm, by the way, I tried on a more powerful computer (a NUC i5 with Iris 440 GPU). The 4xbr-hybrid-crt shader is smooth (provided triple buffering is enabled ; it is not perfectly smooth in double buffering mode). But there is a kind of strange gfx artefact, like a layer of snow above the picture. It happens with xbr-lv3 as well (but not xbr-lv3-multipass/noblend). Any idea what might be wrong ? (it’s more or less visible depending on the emulated system)

I got a nice compromise by combining xbr level 2 fast (scale x2) and crt-pi. Only drawback is one needs a distinct setting for vertical games (crt-pi-vertical).

can you get a screenshot that shows the issue?

Here is a photograph showing the issue : https://postimg.org/image/wc7ja4rqj/ <-- 4xbr-hybrid-crt https://postimg.org/image/uku2fz3pb/ <-- xbr-lv3 I have a similar issue with the scalefx shader.

I had the same issue on Ubuntu and Intel HD 3000 actually and on this Nuc + Intel Iris 440.

But it doesn’t appear with xbr-lv3-multipass or noblend.

So for the time being I settled with xbr lv2 + crt-pi, quite nice already :slight_smile:

Oh, very weird. That’s probably driver-related and may be work-around-able but I’m no good with xBR or scalefx, so Hyllian or Sp00ky would have to look into it.

BTW I figured out combining shaders needed to set specific scale values as well. Will try to get in touch with the other persons regarding the GFX bug (probably driver related indeed) ! Are they on this forum ? thanks !

OK, I created a new thread with my specific issue, here : http://libretro.com/forums/showthread.php?t=7352&p=49843#post49843 But maybe I should just post a bugreport. Yeah gonna do it asap :slight_smile: