Cg-shaders won't work anymore

hi,

with the new realeased nightlys of retroarch (windows), the cg-shader won’t run anymore and the optional glsl-shaders have no parameter-options. also the xbr-mlv4-multipass.glslp won’t work (pass 3 - 4 are not available with glsl) . the only option is to go to an older version of retroarch. Is it a feature or a bug?

bug. we’re working on some shader-related stuff. should be stable again in a few days.

Any news on this bug? Still affecting the latest nightly today.

But we can’t go through CGP shaders with N and M keys anymore: https://github.com/libretro/RetroArch/issues/2931

Is that a design choice or a bug?

Really? Mine just go directly to GLSL as default when I open retroarch (I can see it in debug mode, but don’t have the logs now), even if I know I have CG shaders available. And I can’t see a way to change which one to use.

EDIT: I’m using the nightly “latest” build of x86_64. I noticed that the x86 appears to be working, but there are a lot of cores that don’t appear for the x86 version, like all the MAME versions.

It happens to me on recent builds. It stops the shader effects if I select apply shader settings only to load a .cg file and even if I load the cgp and change the paramaters on menu shader paramaters and then click apply, it wears off. GLSL shaders are fine completely, but they don’t have paramaters and I find it easier to use .cg for some of the shaders I use.

Whenever you select “Apply Shader Changes”, it says in the log " [Shader Driver] Cg cannot be used with core GL context. Trying to fall back to GLSL…" “[GL]: Failed to parse GLSL shader.”

Yeah that is what is happening to me. It appears that GL video driver is not working with CG shaders, dunno why. But when I try to switch to D3D, I only get a black screen. Also, it’s a bummer that GL does not have achievements.

By achievements I meant the Retro Achievements on the User menu. When in GL it says that they are not supported. Sorry if it was out of context.

About the other questions, I’m not loading any core, just opening Retroarch in debug mode. Disabling the ribbon did not help.

The message in debug is: "" [Shader Driver] Cg cannot be used with core GL context. Trying to fall back to GLSL…" But it successfully uses GSLS afterwards.

Also, my message is a little different. When I try to load a CG shader in GL it says “Failed to set multipass shader. Falling back to stock”.

Maybe it’s just a specific core (genesis). But that is just a nitpick, not really a problem.

The GPU is Nvidia GTX 960…

Temporary fix to restore previously configured cg shaders (Works in Linux, idk about Windows): Open the core config files, for example “bsnes_balanced_libretro.so.cfg” and look for the parameter “video_shader_enable” and set it to “true” if it was set to “false”. Secondly look for the parameter “video_shader”. If it is missing, add it. Set the parameter to your preferred shader and its location: “~/Directory/Retroarch/shaders/[your shader].cgp”

This still won’t let you configure and edit shaders via the menu (the shaders menu is still broken), but you will be able to use your shaders and the default shaders in that manner described above.