Shader Problem WITH Shader Support

OpenRA throws GPU errors referencing shader. GPU supports v4

Discussion about the game and its default mods.
Post Reply
olsmokey
Posts: 1
Joined: Mon Jan 03, 2011 6:03 pm

Shader Problem WITH Shader Support

Post 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.

chrisf
Posts: 246
Joined: Mon Sep 06, 2010 4:59 am

Post by chrisf »

Try installing Cg (>=2.1) and running with Graphics.Renderer=Cg. It may be that your driver is bogus.

Post Reply