openRA crashing with GL error GL_INVALID_ENUM

Discussion about the game and its default mods.
Post Reply
gnychis
Posts: 8
Joined: Tue Apr 17, 2012 1:36 am

openRA crashing with GL error GL_INVALID_ENUM

Post by gnychis »

Hi all,

I think that my graphics card supports openGL, it's an Intel 945GM. Here is the card's information that is spit out:

Code: Select all

OpenGL Information:
Vendor: Intel
Renderer: Intel 945GM
GL Version: 1.4.0 - Build 8.14.10.1930
Shader Version: 
Available extensions:
GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_blend_color GL_EXT_abgr GL_EXT_texture3D GL_EXT_clip_volume_hint GL_EXT_compiled_vertex_array GL_EXT_cull_vertex GL_SGIS_texture_edge_clamp GL_SGIS_generate_mipmap GL_EXT_draw_range_elements GL_SGIS_texture_lod GL_EXT_rescale_normal GL_EXT_packed_pixels GL_EXT_separate_specular_color GL_ARB_multitexture GL_EXT_texture_env_combine GL_EXT_bgra GL_EXT_blend_func_separate GL_EXT_secondary_color GL_EXT_fog_coord GL_EXT_texture_env_add GL_ARB_texture_cube_map GL_ARB_transpose_matrix GL_ARB_texture_env_add GL_IBM_texture_mirrored_repeat GL_EXT_multi_draw_arrays GL_NV_blend_square GL_ARB_texture_compression GL_3DFX_texture_compression_FXT1 GL_EXT_texture_filter_anisotropic GL_ARB_texture_border_clamp GL_ARB_point_parameters GL_ARB_texture_env_combine GL_ARB_texture_env_dot3 GL_ARB_texture_env_crossbar GL_EXT_texture_compression_s3tc GL_ARB_shadow GL_ARB_window_pos GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_ARB_vertex_program GL_ARB_fragment_program GL_EXT_stencil_two_side GL_ARB_vertex_buffer_object GL_EXT_texture_lod_bias GL_NV_texgen_reflection GL_ARB_depth_texture GL_WIN_swap_hint 
However, when I try to open it I am getting a GL error:

Code: Select all

GL Error: GL_INVALID_ENUM
   at OpenRA.Renderer.SdlCommon.ErrorHandler.CheckGlError()
   at OpenRA.Renderer.SdlCommon.Texture..ctor()
   at OpenRA.Renderer.Cg.GraphicsDevice.CreateTexture()
   at OpenRA.Graphics.Sheet.get_Texture()
   at OpenRA.Graphics.SpriteRenderer.Flush()
   at OpenRA.Graphics.SpriteRenderer.DrawSprite(Sprite s, float2 location, Int32 paletteIndex, float2 size)
   at OpenRA.Graphics.SpriteFont.DrawText(String text, float2 location, Color c)
   at OpenRA.Widgets.LabelWidget.Draw()
   at OpenRA.Widgets.Widget.DrawOuter()
   at OpenRA.Widgets.Widget.DrawOuter()
   at OpenRA.Widgets.Widget.DrawOuter()
   at OpenRA.Graphics.Viewport.DrawRegions(WorldRenderer wr, IInputHandler inputHandler)
   at OpenRA.Game.Tick(OrderManager orderManager, Viewport viewPort)
   at OpenRA.Game.Run()
   at OpenRA.Program.Run(String[] args)
   at OpenRA.Program.Main(String[] args)
I made sure I had the latest graphics driver, and not a Windows 7 included driver. I uninstalled it and before rebooting I installed the driver straight from Intel's site version 8.15.10.1749 .

Has anyone seen this before or have any suggestions?

Thanks!
George

Matt
Posts: 1156
Joined: Tue May 01, 2012 12:21 pm
Location: Germany

Post by Matt »

Try starting the game with

Code: Select all

OpenRA.Game.exe Graphics.Renderer=Cg

daniel6699
Posts: 9
Joined: Sat Jun 16, 2012 11:24 am

Post by daniel6699 »

What to do in Ubuntu?Is it possible to make other than opengl render?Becouse this command is for windows. It is someware list of commands to write and start with openra?My problem is no icons of buldings, and cursors just a crash pixels. I can play but game with this kind of graphic make me furious.

Matt
Posts: 1156
Joined: Tue May 01, 2012 12:21 pm
Location: Germany

Post by Matt »

For Linux your command is

Code: Select all

openra Graphics.Renderer=Cg
or

Code: Select all

mono OpenRA.Game.exe Graphics.Renderer=Cg
You can also modify your https://github.com/OpenRA/OpenRA/wiki/Settings

Post Reply