Page 1 of 1

Shader Problem WITH Shader Support

Posted: Mon Jan 03, 2011 6:20 pm
by olsmokey
Hey, all. Having some trouble getting OpenRA to run on my laptop. The notebook has an integrated Intel GM965/GL960 GPU. Yes, I know it sucks. Financial resources being what they are, I'm stuck with it. I've noticed a few people here mention issues with shader support. I checked, and according to Intel, this chipset supports PixelShader v4.0. I'm not an OpenGL programmer, I don't understand what really goes on with this stuff, so maybe this error is telling me something I just can't pick up on. Anyhow, here it is:

$ mono ./OpenRA.Game.exe
Loading settings file /home/fuckyou/OpenRA/settings.yaml
Using Gl renderer

Unhandled Exception: System.InvalidProgramException: Linking error in world-shp shader
at OpenRA.Renderer.Glsl.Shader..ctor (OpenRA.Renderer.Glsl.GraphicsDevice dev, System.String type) [0x00000] in <filename unknown>:0
at OpenRA.Renderer.Glsl.GraphicsDevice.CreateShader (System.String name) [0x00000] in <filename unknown>:0
at OpenRA.Graphics.Renderer..ctor () [0x00000] in <filename unknown>:0
at OpenRA.Game.Initialize (OpenRA.Arguments args) [0x00000] in <filename unknown>:0
at OpenRA.Program.Run (System.String[] args) [0x00000] in <filename unknown>:0
at OpenRA.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0
I tried the binary for ArchLinux, and also compiling from GIT. Same exact error, both times. I _think_ I've got all relevant dependencies installed, but I could be wrong. Thanks guys.

Posted: Wed Feb 16, 2011 6:01 am
by chrisf
Try installing Cg (>=2.1) and running with Graphics.Renderer=Cg. It may be that your driver is bogus.