Shaders Broken in 1.3.6 Stable & Nightly

I’ve tried xmb and rgui.

Go into Quick Menu > Shaders > Load Shader Preset

Choose crt-royale.cgp

It does not load any shader passes.

I edit the config file and manually add:

video_shader = “:\shaders\crt\crt-royale\crt-royale.cgp”

It now loads the shader passes but will not Apply Shader Changes.

This worked perfectly on version 1.0.0.3 that I used before.

Are you using vulkan as video driver?

If so it only supports slang shaders, not cg or glsl.

This was solved.

Old shaders folder structure wouldn’t work in the new version. I copied directly from a new crt-royale zip and it works.

Can’t find a way to delete thread.

[QUOTE=wyzrd;43031]This was solved.

Old shaders folder structure wouldn’t work in the new version. I copied directly from a new crt-royale zip and it works.

Can’t find a way to delete thread.[/QUOTE]

Apologies, can you please explain exactly what you did to solve this? I’m running the latest nightly for Android on a Shield TV and cannot activate the CRT Royale Preset. It’ll allow me to activate some others, but not Royale. Thanks!

crt-royale doesn’t work on Android because Android doesn’t support Cg shaders, only GLSL, and the GLSL conversion of crt-royale is broken (and probably not ever going to be fixed). Your best bet for it on android is to wait until we eventually convert it to the Vulkan shader format, which probably isn’t going to happen in the very near future.

Got it thanks!

Do you happen to have a preferred shader preset for the Shield/Android? New to this, and with so many options, would love to get your input! Thanks!

If you’re on a shield ATV, you can most shaders at full speed, which is nice. Some things will look better/worse depending on how close you sit to your display. If you’re looking for CRT effects, crt-easymode and crt-hyllian are good choices that are pretty lightweight. For smoothing shaders, xbr-multipass variants look great and are pretty fast, but hq2x/hq4x are good, too.

This has nothing to do with shaders, but the best thing you can do with a shield ATV is go to settings > driver and change your video driver from ‘gl’ to ‘vulkan’. Then, go to settings > video and set ‘threaded video’ to OFF and then go to settings > audio and put your audio latency down to 16 ms. Once you do this, RetroArch runs as well on a shield as it does on a desktop PC, which is downright incredible, considering it’s Android. If you switch to vulkan, you can’t use GLSL or Cg shaders, only slang shaders, which we’re in the process of converting from Cg, so many aren’t converted yet. You can get them from https://github.com/libretro/slang-shaders right now but they’ll probably get added to the online updater soon.

A long time ago I must have moved the shader files around to new locations but when I copied them to the new RetroArch version it wouldn’t load.

I unzipped a new common-shaders-master.zip and kept everything in it’s original location.

I thought it was broken because it would still load but not apply.

[QUOTE=hunterk;43398]If you’re on a shield ATV, you can most shaders at full speed, which is nice. Some things will look better/worse depending on how close you sit to your display. If you’re looking for CRT effects, crt-easymode and crt-hyllian are good choices that are pretty lightweight. For smoothing shaders, xbr-multipass variants look great and are pretty fast, but hq2x/hq4x are good, too.

This has nothing to do with shaders, but the best thing you can do with a shield ATV is go to settings > driver and change your video driver from ‘gl’ to ‘vulkan’. Then, go to settings > video and set ‘threaded video’ to OFF and then go to settings > audio and put your audio latency down to 16 ms. Once you do this, RetroArch runs as well on a shield as it does on a desktop PC, which is downright incredible, considering it’s Android. If you switch to vulkan, you can’t use GLSL or Cg shaders, only slang shaders, which we’re in the process of converting from Cg, so many aren’t converted yet. You can get them from https://github.com/libretro/slang-shaders right now but they’ll probably get added to the online updater soon.[/QUOTE]

Thanks for the info! I went ahead and downloaded the slang zip to move over the the Shield. Unfortunately I believe you need root access to dump the files into the shaders directory (unless I’m missing something here). Not looking to root atm so I’ll happily wait for the slang files to get posted to the online updates.

I went ahead and made the configure changes you recommended on the Shield, however the audio started cracking/popping when playing bsnes mercury. Maybe I should play with the latency settings? Thanks for you guidance on this, much appreciated.

[QUOTE=Onizuka;43540]Thanks for the info! I went ahead and downloaded the slang zip to move over the the Shield. Unfortunately I believe you need root access to dump the files into the shaders directory (unless I’m missing something here). Not looking to root atm so I’ll happily wait for the slang files to get posted to the online updates.

I went ahead and made the configure changes you recommended on the Shield, however the audio started cracking/popping when playing bsnes mercury. Maybe I should play with the latency settings? Thanks for you guidance on this, much appreciated.[/QUOTE]

My apologies, this looks to be limited to bsnes mercury. Standard bses has no popping. Wonder why…

Hmm, that is weird. Mercury is usually faster. I’ll try it on my end and see if I get the same behavior.

Re: slang shaders, you don’t need to root, just go to settings > directory and change your shader directory to somewhere user-writeable. I set it to a directory on my NAS so it’s easy for me to test/develop.

It is weird! Now I’m only seeing it in certain games (e.g. Super Metroid during the start of the game). Let me know if you notice the same thing.

Thanks for the directory redirect…working great!