Hello, this is my first post here, despite being a MegaGlest player for about a year.
I used to play an older version of MegaGlest, and got this problem after upgrading to a more recent version. The game starts up, I told it to automatically set the video parameters, and started a game of Norse v. Indians (custom game). The game crashes after about a minute of playing, with the error code OpenGL error #1285 [0x505] : [out of memory].
Computer details.
-Computer-
Processor : 4x Intel(R) Core(TM)2 Quad CPU Q9650 @ 3.00GHz
Memory : 8177MB (1364MB used)
Operating System : Ubuntu 12.04.5 LTS
Date/Time : Tue 26 Aug 2014 17:00:50 CEST
-Display-
Resolution : 1680x1050 pixels
OpenGL Renderer : Quadro K2000D/PCIe/SSE2
X11 Vendor : The X.Org Foundation
$ glxinfo | grep -i version
server glx version string: 1.4
client glx version string: 1.4
GLX version: 1.4
OpenGL version string: 4.4.0 NVIDIA 331.20
OpenGL shading language version string: 4.40 NVIDIA via Cg compiler
$ glxinfo | grep -i crossbar
GL_ARB_texture_env_crossbar, GL_ARB_texture_env_dot3,
$ glxinfo | grep -i shader
GL_ARB_compute_shader, GL_ARB_compute_variable_group_size,
GL_ARB_fragment_program_shadow, GL_ARB_fragment_shader,
GL_ARB_framebuffer_sRGB, GL_ARB_geometry_shader4,
GL_ARB_get_program_binary, GL_ARB_gpu_shader5, GL_ARB_gpu_shader_fp64,
GL_ARB_seamless_cubemap_per_texture, GL_ARB_separate_shader_objects,
GL_ARB_shader_atomic_counters, GL_ARB_shader_bit_encoding,
GL_ARB_shader_draw_parameters, GL_ARB_shader_group_vote,
GL_ARB_shader_image_load_store, GL_ARB_shader_image_size,
GL_ARB_shader_objects, GL_ARB_shader_precision,
GL_ARB_query_buffer_object, GL_ARB_shader_storage_buffer_object,
GL_ARB_shader_subroutine, GL_ARB_shader_texture_lod,
GL_ARB_tessellation_shader, GL_ARB_texture_border_clamp,
GL_ARB_vertex_buffer_object, GL_ARB_vertex_program, GL_ARB_vertex_shader,
GL_EXT_Cg_shader, GL_EXT_depth_bounds_test, GL_EXT_direct_state_access,
GL_EXT_framebuffer_sRGB, GL_EXT_geometry_shader4,
GL_EXT_gpu_program_parameters, GL_EXT_gpu_shader4,
GL_EXT_secondary_color, GL_EXT_separate_shader_objects,
GL_EXT_separate_specular_color, GL_EXT_shader_image_load_store,
GL_NV_geometry_shader4, GL_NV_gpu_program4, GL_NV_gpu_program4_1,
GL_NV_gpu_program_fp64, GL_NV_gpu_shader5, GL_NV_half_float,
GL_NV_shader_atomic_counters, GL_NV_shader_atomic_float,
GL_NV_shader_buffer_load, GL_NV_shader_storage_buffer_object,
GL_NV_texture_rectangle, GL_NV_texture_shader, GL_NV_texture_shader2,
GL_NV_texture_shader3, GL_NV_transform_feedback,
Below is what I see in the terminal window when MegaGlest crashes.
$ megaglest
megaglest v3.6.0.3
Compiled using: GNUC: 40602 [64bit] on: Feb 29 2012 04:54:53
SVN: [Rev: ] - using STREFLOP
[2014-08-26 16:49:08] *ERROR* In [game.cpp::mouseDownLeft Line: 1851] Error [OpenGL error #1285 [0x505] : [out of memory] at file: [/build/buildd/megaglest-3.6.0.3/source/shared_lib/sources/graphics/gl/model_renderer_gl.cpp], line: 293]
megaglest: /build/buildd/megaglest-3.6.0.3/source/shared_lib/sources/graphics/gl/model_renderer_gl.cpp:38: virtual void Shared::Graphics::Gl::ModelRendererGl::begin(bool, bool, bool, Shared::Graphics::MeshCallback*): Assertion `rendering == false' failed.
Aborted (core dumped)