Shader Error?

Everytime I try to turn on shaders it gives me this error:

RetroArch [ERROR] :: [GL]: Didn’t find valid shader backend. Continuing without shaders. RetroArch [ERROR] :: [GL]: Cannot find shader core for path: /home/james/Downloads/rgui.cgp. RetroArch [ERROR] :: Setting RGUI CGP failed.

I have the latest nvidia-cg-tookit installed. Any way to fix this? Thanks

If this is the same ARM Linux build you were working on in other threads, it doesn’t appear to support Cg shaders in your build. For that matter, I didn’t think nvidia even shipped an ARM Cg Toolkit.

This would be for another PC I managed to install RetroArch on. I think im giving up on the ARM linux lol

oh lol. Ok, no problem.

This will pretty much be a rehash of the steps we went through in the other thread: retroarch --features, make sure it says:

OpenGL:
     OpenGL driver: yes
...
Cg:
     Cg pixel shaders: yes

Also, make sure you’re using the OpenGL rendering driver rather than SDL or Xvideo. If you’re on a Debian-based system (like Ubuntu or Mint), you can try using the packages in my PPA: https://launchpad.net/~hunter-kaller/+archive/ppa/

SDL: SDL drivers: yes Threads: Threading support: yes OpenGL: OpenGL driver: yes KMS: KMS/EGL context support: no EGL: EGL context support: yes OpenVG: OpenVG output support: no XVideo: XVideo output: no ALSA: audio driver: yes OSS: audio driver: yes Jack: audio driver: no RSound: audio driver: no RoarAudio: audio driver: no PulseAudio: audio driver: yes DirectSound: audio driver: no XAudio2: audio driver: no zlib: PNG encode/decode and .zip extraction: yes OpenAL: audio driver: no External: External filter and plugin support: yes Cg: Cg pixel shaders: no libxml2: libxml2 XML parsing: yes SDL_image: SDL_image image loading: yes FBO: OpenGL render-to-texture (multi-pass shaders): yes Dynamic: Dynamic run-time loading of libretro library: yes FFmpeg: On-the-fly recording of gameplay with libavcodec: no FreeType: TTF font rendering with FreeType: yes Netplay: Peer-to-peer netplay: yes Python: Script support in shaders: no

I’m not realy sure why it says “no” for Cg shaders, I have the latest nvidia toolkit installed. Also for some reason whenever i go to “core options” it always says no core options available. I was trying to use the blargg’s nes filter but it wont come up, neither will any other ones.

Check to see if your distro has dev packages for Cg. It looks like Ubuntu, at least (the system I’m on at the moment), now has nvidia-cg-toolkit and nvidia-cg-dev packages.