Assertion `img < mt->level[level].nr_images' failed.

If you've had any problems with Nexuiz, or would like to report bugs, post here.

Moderators: Nexuiz Moderators, Moderators

Assertion `img < mt->level[level].nr_images' failed.

Postby froghopper » Fri Jan 12, 2007 3:28 am

I can not get Nexuiz to run on linux. Is it because I am running the very latest components xorg-server-1.1.99.903 Mesa from git. Glx works and other gl games, has anyone got it running with xorg-7.2-RC3? All I get is the logo screen, before installing 2.2 patch I didn't even get that. Here is the output:

Console initialized.
Nexuiz Linux 21:29:29 Dec 23 2006
Trying to load library... "libz.so.1" - loaded.
Compressed files support enabled
Added packfile data/common-spog.pk3 (26 files)
Added packfile data/data20060905.pk3 (2867 files)
Added packfile data/datapatch20061223.pk3 (97 files)
Trying to load library... "libcurl.so.3" - loaded.
cURL support enabled
Initializing client
Trying to load library... "libvorbis.so.0" - loaded.
Trying to load library... "libvorbisfile.so.3" - loaded.
Ogg Vorbis support enabled
couldn't exec config.cfg
couldn't exec data/campaign.cfg
couldn't exec autoexec.cfg
Starting video system
Video: fullscreen 800x600x32x60hz
Loading OpenGL driver libGL.so.1
libGL warning: 3D driver claims to not support visual 0x4b
checking for GLX_ARB_get_proc_address... enabled
checking for GLX_SGI_swap_control... enabled
checking for OpenGL 1.1.0... enabled
GL_VENDOR: Tungsten Graphics, Inc
GL_RENDERER: Mesa DRI Intel(R) 852GM/855GM 20061102 x86/MMX/SSE2
GL_VERSION: 1.3 Mesa 6.5.2
GL_EXTENSIONS: GL_ARB_multisample GL_ARB_multitexture GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_texture_rectangle GL_ARB_transpose_matrix GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_window_pos GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_cull_vertex GL_EXT_compiled_vertex_array GL_EXT_copy_texture GL_EXT_draw_range_elements GL_EXT_framebuffer_object GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_pixels GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_polygon_offset GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_stencil_wrap GL_EXT_subtexture GL_EXT_texture GL_EXT_texture3D GL_EXT_texture_edge_clamp GL_EXT_texture_env_add GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_vertex_array GL_3DFX_texture_compression_FXT1 GL_APPLE_client_storage GL_APPLE_packed_pixels GL_ATI_blend_equation_separate GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_INGR_blend_func_separate GL_MESA_pack_invert GL_MESA_ycbcr_texture GL_MESA_window_pos GL_NV_blend_square GL_NV_light_max_exponent GL_NV_texture_rectangle GL_NV_texgen_reflection GL_NV_vertex_program GL_NV_vertex_program1_1 GL_OES_read_format GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SUN_multi_draw_arrays
GLX_EXTENSIONS: GLX_ARB_get_proc_address GLX_ARB_multisample GLX_EXT_import_context GLX_EXT_visual_info GLX_EXT_visual_rating GLX_MESA_swap_control GLX_MESA_swap_frame_usage GLX_OML_swap_method GLX_SGI_make_current_read GLX_SGI_swap_control GLX_SGI_video_sync GLX_SGIS_multisample GLX_SGIX_fbconfig GLX_SGIX_visual_select_group
Checking OpenGL extensions...
checking for glDrawRangeElements... enabled
checking for GL_ARB_multitexture... enabled
checking for GL_ARB_texture_env_combine... enabled
checking for GL_ARB_texture_env_dot3... enabled
checking for GL_EXT_texture3D... enabled
checking for GL_ARB_texture_cube_map... enabled
checking for GL_ARB_texture_non_power_of_two... not detected
checking for GL_EXT_compiled_vertex_array... enabled
checking for GL_EXT_texture_edge_clamp... enabled
checking for GL_EXT_texture_filter_anisotropic... enabled
checking for GL_EXT_stencil_two_side... not detected
checking for GL_ARB_shader_objects... not detected
OpenGL Backend starting...
glDrawRangeElements detected (max vertices 3000, max indices 3000)
multitexture detected: texture units = 4
OpenGL backend started.
Trying to load library... "libjpeg.so.62" - loaded.
JPEG support enabled
Trying to load library... "libpng12.so.0" - loaded.
PNG support enabled
nexuiz-linux-686-glx: intel_mipmap_tree.c:215: intel_miptree_set_image_offset: Assertion `img < mt->level[level].nr_images' failed.
Received signal 6, exiting...
Received signal 2, exiting...
recursive shutdown
froghopper
Newbie
 
Posts: 2
Joined: Fri Jan 12, 2007 3:16 am

Re: Assertion `img < mt->level[level].nr_images' faile

Postby esteel » Fri Jan 12, 2007 3:44 am

froghopper wrote:I can not get Nexuiz to run on linux. Is it because I am running the very latest components xorg-server-1.1.99.903 Mesa from git. Glx works and other gl games, has anyone got it running with xorg-7.2-RC3? All I get is the logo screen, before installing 2.2 patch I didn't even get that. Here is the output:

It would be new to me that mesa can run anything more advanced then hello world at more then 5 frames per second.. What 'other games' did you test mesa with sofar? I doubt anything quake like would run very fast.. Ok there are free 3d accelerated drivers (r300) for some ati cards but i could you do not mean those.
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby SavageX » Fri Jan 12, 2007 9:02 am

As far as I can see he is using hardware accelerated DRI drivers for Intel integrated graphic chipsets. Those should be able to at least start Nexuiz.
SavageX
Site Admin
 
Posts: 442
Joined: Wed Mar 01, 2006 9:34 am

Postby esteel » Fri Jan 12, 2007 2:09 pm

Ahh ok right it states intel dri, cool. I missed that fact.
So you might try to use this parameter when starting nexuiz, maybe it will help (please report back if it does or does not help). -notexturenonpoweroftwo
like:
cd /PATH/TO/NEXUIZ
./nexuiz-linux-sdl.sh -notexturenonpoweroftwo

Newer versions of Nexuiz use that OpenGL extension and i just learned that mesa reports that extension to seems to screw it up (just like mac..) and maybe dri also makes this error.
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby froghopper » Sat Jan 13, 2007 1:33 am

Thanks for the suggestion, that param didn't seem to have any effect. I can at least confirm that the vid card + mem etc are sufficient to run the game, though not very fast, as it runs under dual booted windows.

Oh and fairly graphics intensive games such as blob&conquer and billiardsGL run under linux.
froghopper
Newbie
 
Posts: 2
Joined: Fri Jan 12, 2007 3:16 am

Postby esteel » Sat Jan 13, 2007 5:31 am

Meh i can't sleep.. After looking again at your log output the line
intel_mipmap_tree.c:215: intel_miptree_set_image_offset: Assertion `img < mt->level[level].nr_images' failed.

does seem to come from the dri driver. So it would be really helpful if you file a bug report for them at the right spot. I have no clue who is responsible for them.

You can take a look here: http://141.2.16.3:7780/nex there you will find debugging versions of the nexuiz engine which you can use together with a debugger to find out more precisely were the crash is happening.

An other thing to try is to use the startup parameter
+r_glsl 0
which will disable a huge load of things that might be a problem for weaker cards/drivers (but which also might be a slowdown for the game..)
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby KadaverJack » Sat Jan 13, 2007 6:18 am

esteel wrote:An other thing to try is to use the startup parameter
+r_glsl 0
which will disable a huge load of things that might be a problem for weaker cards/drivers (but which also might be a slowdown for the game..)

I doubt that'll change anything. OpenGL shaders are compiled after the first map is loaded, but in this case the crash seems to occur when the first images for the menu are loaded. GLSL shouldn't have anything to do with that...

I've just tested 2.2.2 on my notebook (Intel GMA 950 GPU (i945GM chipset)/Mesa 6.5.1): both (glx & sdl) binaries are running fine, so whatever the problem is, it seems limited to certain chipsets...
KadaverJack
Site admin and forum addon
 
Posts: 1102
Joined: Tue Feb 28, 2006 9:42 pm


Return to Nexuiz - Support / Bugs

Who is online

Users browsing this forum: No registered users and 1 guest

cron