Page 1 of 1

OpenRA on Ubuntu 10.10

Posted: Sat Mar 12, 2011 10:06 pm
by xondak
I've searched for help elsewhere, but gotten nowhere... so I figured I'd come here for advice.

I'm on a 32 bit machine running Ubuntu 10.10. According to lspci I have an Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c). When I launch the game from the terminal, the screen goes black for a moment, then I'm returned to the terminal with the following output:

Code: Select all

Using Gl renderer

Unhandled Exception: System.InvalidOperationException: GL Error: 1282
  at OpenRA.Renderer.Glsl.GraphicsDevice.CheckGlError &#40;&#41; &#91;0x00000&#93; in <filename unknown>&#58;0 
  at OpenRA.Renderer.Glsl.Shader..ctor &#40;OpenRA.Renderer.Glsl.GraphicsDevice dev, System.String type&#41; &#91;0x00000&#93; in <filename unknown>&#58;0 
  at OpenRA.Renderer.Glsl.GraphicsDevice.CreateShader &#40;System.String name&#41; &#91;0x00000&#93; in <filename unknown>&#58;0 
  at OpenRA.Graphics.Renderer..ctor &#40;&#41; &#91;0x00000&#93; in <filename unknown>&#58;0 
  at OpenRA.Game.Initialize &#40;OpenRA.Arguments args&#41; &#91;0x00000&#93; in <filename unknown>&#58;0 
  at OpenRA.Program.Run &#40;System.String&#91;&#93; args&#41; &#91;0x00000&#93; in <filename unknown>&#58;0 
  at OpenRA.Program.Main &#40;System.String&#91;&#93; args&#41; &#91;0x00000&#93; in <filename unknown>&#58;0
Anybody know what's wrong?

Posted: Sun Mar 13, 2011 12:33 am
by beedee
Intel integrated graphics chips have very poor feature support for OpenGL. You can try using the CG renderer by installing the nvidia-cg-toolkit and passing "Graphics.Renderer=Cg" to the game.

Posted: Sun Mar 13, 2011 1:01 am
by xondak
Thank you! That fixed my problem. Another quick question: when the game is in fullscreen mode it stretches the entire playfield across all of my workspaces. Anything I can do to prevent that?

Posted: Sun Mar 13, 2011 1:56 am
by Sleipnir
This is again a driver issue - your driver is telling OpenRA that there is only one workspace, which we quite happily fill. You'll have to run OpenRA in windowed mode, or find a better driver.

Posted: Sun Mar 13, 2011 4:42 am
by riderr3
how can I run OpenRA without openGL mode? :o0: I'm on Ubuntu and ATI videocard

Posted: Mon Mar 14, 2011 8:06 am
by ddd
Use nvidia-cg-toolkit (NVIDIA's C graphics compiler toolkit) too. It's not depend on the nVidia or ATI video card.