Page 1 of 1

Fedora RPM problem?

Posted: Thu Jun 16, 2011 12:26 am
by matth45
I tried to install the Fedora RPM provided in the download section on Fedora 15 and I get this:

mesa-dri-drivers-experimental is needed by openra-release.20110511-1.noarch

There is no mesa-dri-drivers-experimental in the fedora 15 repo.

If I force the installation, I get this:


Using Gl renderer

Unhandled Exception: System.InvalidOperationException: GL Error: 1282
at OpenRA.Renderer.Glsl.GraphicsDevice.CheckGlError () [0x00000] in <filename unknown>:0
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


Thanks for any help you can provide.

Posted: Fri Jun 17, 2011 8:57 pm
by matth45
In fedora 15 the following files are provided by mesa-dri-drivers, not mesa-dri-drivers-experimental

/usr/lib64/dri/nouveau_dri.so
/usr/lib64/dri/nouveau_vieux_dri.so

So this dependency should change in a hypothetical Fedora 15 package.

GL Error: 1282 is likely because my intel GM965 graphics card does not support glsl shaders with the opensouce driver. From looking at the shaders in the glsl directory, openra is not doing anything complicated. Are there mono bindings for GLEW? Anyone?

Posted: Sun Jun 19, 2011 7:49 pm
by matth45
I was wrong about the not supporting glsl, above. I'm pretty sure this is actually a bug. I have submitted a bug report:

http://bugs.open-ra.org/issues/883

There is a patch attached to the bug report that solves this problem for me.