Nexuiz crashing on debian sid , radeon OSS Driver

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

Moderators: Nexuiz Moderators, Moderators

I had the same crash, but I found why in my system.

Postby noone » Sun Jan 07, 2007 3:44 am

I found out, the default setting for deluxemapping is ON, also when resetting to defaults. That will make nexuiz crash on my system.

I have x86_64 Linux system with ATI propiertary fglrx driver v 8.29.6

Having
r_glsl_deluxemapping "0"
in .nexuiz/data/config.cfg
makes it better. (And also disabling Bloom makes fps tolerable.)

Fedora still provides only v 2.2.1 of Nexuiz. Is there some big bug fixes in v2.2.2 so one should try to recompile from sources? Some servers say they are running v 2.2.2
noone
Newbie
 
Posts: 3
Joined: Sun Jan 07, 2007 2:47 am

Postby esteel » Sun Jan 07, 2007 10:36 pm

Interesting, i see no reason why gl_deluxemapping should crash Nexuiz. It just makes it do bumpmapping on the whole map from the info in the light map and not just from the realtime lights.
Maybe the free ati drivers have problems with large shader programs.. No idea how to test this though.
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby KadaverJack » Sun Jan 07, 2007 11:08 pm

esteel wrote:Interesting, i see no reason why gl_deluxemapping should crash Nexuiz. It just makes it do bumpmapping on the whole map from the info in the light map and not just from the realtime lights.
Maybe the free ati drivers have problems with large shader programs.. No idea how to test this though.

noone was using fglrx, not the free r300 drivers. And fglrx is known to crash while compiling opengl shaders on some systems...
div0 bought a cheap radeon 9600 to investigate this months ago, but afaik he wasn't able to reproduce the crash.
KadaverJack
Site admin and forum addon
 
Posts: 1102
Joined: Tue Feb 28, 2006 9:42 pm

Postby esteel » Mon Jan 08, 2007 12:47 am

Yeah 'free ati drivers' = r300
Hehe ati free or non free seems to be rather bad :)
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby noone » Mon Jan 08, 2007 4:52 am

Well I tried again, and yes it seems only be this deluxemapping ON/OFF which makes it "crash" or not.

This happens, if I hit the 'reset' button in the Effects options:
$ gdb /usr/bin/nexuiz-glx
GNU gdb Red Hat Linux (6.3.0.0-1.134.fc5rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu"...
(no debugging symbols found)
Using host libthread_db library "/lib64/libthread_db.so.1".

(gdb) run
Starting program: /usr/bin/nexuiz-glx
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 46912496241600 (LWP 472)]
Console initialized.
Nexuiz Linux 12:23:42 Dec 19 2006
(no debugging symbols found)
Trying to load library... "libz.so.1" - loaded.
Compressed files support enabled
Added packfile /usr/share/nexuiz/data/common-spog.pk3 (26 files)
Added packfile /usr/share/nexuiz/data/data20061212.pk3 (2884 files)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
Trying to load library... "libcurl.so.3" - loaded.
cURL support enabled
Initializing client
(no debugging symbols found)
(no debugging symbols found)
Trying to load library... "libvorbis.so.0" - loaded.
(no debugging symbols found)
Trying to load library... "libvorbisfile.so.3" - loaded.
Ogg Vorbis support enabled
couldn't exec data/campaign.cfg
couldn't exec autoexec.cfg
Starting video system
Video: window 1280x1024x32x60hz
Loading OpenGL driver libGL.so.1
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
checking for GLX_ARB_get_proc_address... enabled
checking for GLX_SGI_swap_control... not detected
checking for OpenGL 1.1.0... enabled
GL_VENDOR: ATI Technologies Inc.
GL_RENDERER: MOBILITY RADEON X700 Generic
GL_VERSION: 2.0.6065 (8.29.6)
GL_EXTENSIONS: GL_ARB_multitexture GL_EXT_texture_env_add GL_EXT_compiled_vertex_array GL_S3_s3tc GL_ARB_depth_texture GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_multisample GL_ARB_occlusion_query GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ARB_shadow GL_ARB_shadow_ambient 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_float GL_ARB_texture_mirrored_repeat GL_ARB_texture_rectangle GL_ARB_transpose_matrix GL_ARB_vertex_blend GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_ARB_draw_buffers GL_ATI_draw_buffers GL_ATI_element_array GL_ATI_envmap_bumpmap GL_ATI_fragment_shader GL_ATI_map_object_buffer GL_ATI_separate_stencil GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_ATI_texture_mirror_once GL_ATI_vertex_array_object GL_ATI_vertex_attrib_array_object GL_ATI_vertex_streams GL_ATIX_texture_env_combine3 GL_ATIX_texture_env_route GL_ATIX_vertex_shader_output_point_size GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_object GL_EXT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_ GL_EXT_texture3D GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_vertex_array GL_EXT_vertex_shader GL_HP_occlusion_test GL_NV_blend_square GL_NV_occlusion_query GL_NV_texgen_reflection GL_SGI_color_matrix GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SUN_multi_draw_arrays
GLX_EXTENSIONS: GLX_EXT_visual_info GLX_EXT_visual_rating GLX_EXT_import_context GLX_ARB_get_proc_address GLX_ARB_multisample
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_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... enabled
checking for GL_ARB_shading_language_100... enabled
checking for GL_ARB_vertex_shader... enabled
checking for GL_ARB_fragment_shader... enabled
OpenGL Backend starting...
glDrawRangeElements detected (max vertices 2147483647, max indices 65535)
GLSL shader support detected: texture units = 8 texenv, 16 image, 8 array
OpenGL backend started.
(no debugging symbols found)
Trying to load library... "libjpeg.so.62" - loaded.
JPEG support enabled
(no debugging symbols found)
Trying to load library... "libpng12.so.0" - loaded.
PNG support enabled
Draw_CachePic: failed to load gfx/complete
Draw_CachePic: failed to load gfx/inter
Draw_CachePic: failed to load gfx/finale
SndSys_Init: using the ALSA module
Sound format: 48000Hz, 2 channels, 16 bits per sample
Initial CD volume: 1
CD Audio Initialized
Draw_CachePic: failed to load gfx/m_white
Fake CD track 1 playing...
Client using port 0
Client opened a socket on address local:2
Client opened a socket on address 0.0.0.0:33867
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)

Trying to connect...
"challenge wd{H~`[9KT8" received, sending connect request back to 193.71.236.73:26003
Got challenge response
Accepted

Connection accepted to 193.71.236.73:26003
<-- server to client keepalive

Server: Nexuiz build 21:29:25 Dec 23 2006 (progs 1193 crc)

<===================================>

Soylent Space
--> client to server keepalive
maps/soylent.bsp: could not load texture for missing shader "noshader"
<-- server to client keepalive
--> client to server keepalive
CDAudio: Bad track number 0.
Fake CD track 6 playing...

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 46912496241600 (LWP 472)]
0x00002aaaab2bcbcd in Reassociate ()
from /usr/X11R6/lib64/modules/dri/fglrx_dri.so
(gdb) bt
#0 0x00002aaaab2bcbcd in Reassociate ()
from /usr/X11R6/lib64/modules/dri/fglrx_dri.so
#1 0x00002aaaab2f31f1 in KhanPs::RewriteInstWithUseVector ()
from /usr/X11R6/lib64/modules/dri/fglrx_dri.so
#2 0x00002aaaab2a3fbe in IRInst::RewriteWithUseVector ()
from /usr/X11R6/lib64/modules/dri/fglrx_dri.so
#3 0x00002aaaab2a569c in CFG::RewriteWithUseVector ()
from /usr/X11R6/lib64/modules/dri/fglrx_dri.so
#4 0x00002aaaab2a4840 in CFG::Rewrite ()
from /usr/X11R6/lib64/modules/dri/fglrx_dri.so
#5 0x00002aaaab2477fc in Compiler::Compile ()
from /usr/X11R6/lib64/modules/dri/fglrx_dri.so
#6 0x00002aaaab2470f8 in Compiler::CompileShader ()
from /usr/X11R6/lib64/modules/dri/fglrx_dri.so
#7 0x00002aaaab245bc8 in CompilerExternal::CompileShader ()
from /usr/X11R6/lib64/modules/dri/fglrx_dri.so
#8 0x00002aaaab245403 in SCCompileShader ()
from /usr/X11R6/lib64/modules/dri/fglrx_dri.so
#9 0x00002aaaaafc5199 in __glscR300CompilePS ()
from /usr/X11R6/lib64/modules/dri/fglrx_dri.so
#10 0x00002aaaaaf84bce in __TranslateILtoR300FS ()
from /usr/X11R6/lib64/modules/dri/fglrx_dri.so
#11 0x00002aaaaaf681c9 in __R300GLSLLinkProgram ()
---Type <return> to continue, or q <return> to quit---
from /usr/X11R6/lib64/modules/dri/fglrx_dri.so
#12 0x00002aaaaaf14662 in __glslLinkProgram ()
from /usr/X11R6/lib64/modules/dri/fglrx_dri.so
#13 0x00002aaaaaf14dd3 in __glim_LinkProgramARB ()
from /usr/X11R6/lib64/modules/dri/fglrx_dri.so
#14 0x00002aaaaae6e587 in __fgl_glLinkProgramARB ()
from /usr/X11R6/lib64/modules/dri/fglrx_dri.so
#15 0x000000000044eca0 in ?? ()
#16 0x000000000045a7fb in ?? ()
#17 0x000000000045ae35 in ?? ()
#18 0x000000000045b82f in ?? ()
#19 0x000000000045bd4b in ?? ()
#20 0x000000000045d315 in ?? ()
#21 0x000000000045e21d in ?? ()
#22 0x0000000000457313 in ?? ()
#23 0x0000000000459237 in ?? ()
#24 0x000000000042daad in ?? ()
#25 0x000000000042e5c0 in ?? ()
#26 0x000000000046571d in ?? ()
#27 0x0000000000403750 in ?? ()
#28 0x000000336d81c784 in __libc_start_main () from /lib64/libc.so.6
#29 0x0000000000403639 in ?? ()
#30 0x00007fff144fcf78 in ?? ()
#31 0x0000000000000000 in ?? ()


I also run 3Dmark06, if it tells something. X700 does not support SM 3.0
http://service.futuremark.com/orb/resul ... ID=7415103

Aftert the crash, if I only disable the deluxemapping and connect to the same server, it does not crash anymore.
noone
Newbie
 
Posts: 3
Joined: Sun Jan 07, 2007 2:47 am

Postby esteel » Mon Jan 08, 2007 2:39 pm

Yes it indeed seems to be a problem with the r300 driver, it crashes when it does (re)compile the shader. Best thing for now is to disable the deluxemapping and file a bug report to the r300 developers..
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby SavageX » Mon Jan 08, 2007 3:15 pm

I filed a bug report for the r300 driver - but completely messed it up by copying in that last trace (that's from ATI's drivers, not from the DRI one!).

https://bugs.freedesktop.org/show_bug.cgi?id=9571


D'oh, I feel like an idiot. That bug report is spammed with wrong information. It's not DRI r300 having a GLSL problem (that one seems to have different problem), it's fglrx having a GLSL problem.
SavageX
Site Admin
 
Posts: 442
Joined: Wed Mar 01, 2006 9:34 am

Postby SavageX » Mon Jan 08, 2007 3:17 pm

Oh, and a question from a DRI developer:

<MrCooper> which version of libgl1-mesa-dri does he have? 6.5.1-0.5 ensures building with -fno-strict-aliasing, the lack of which could cause all sorts of weird crashes


edit: Oh, and can you please provide a gdb trace with DRI running?
SavageX
Site Admin
 
Posts: 442
Joined: Wed Mar 01, 2006 9:34 am

ATI fglrx v 8.33.6 crashes also with deluxemapping turned on

Postby noone » Wed Jan 17, 2007 7:35 am

Just a notice, the newest ATI fglrx driver v 8.33.6 still has the same bug:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 46912496249792 (LWP 16468)]
0x00002aaaab2f98cd in Reassociate ()
from /usr/X11R6/lib64/modules/dri/fglrx_dri.so

$ fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: MOBILITY RADEON X700 Generic
OpenGL version string: 2.0.6286 (8.33.6)

I would try with open source r300 driver also, but somehow noone has compiled it for FC5. Switching to FC6 soon, then I will.
I guess the original reporter is not reading this thread anymore as (s)he didn't ever supply a gdb bt-dump about the crash.
noone
Newbie
 
Posts: 3
Joined: Sun Jan 07, 2007 2:47 am

Re: ATI fglrx v 8.33.6 crashes also with deluxemapping turne

Postby esteel » Wed Jan 17, 2007 3:48 pm

noone wrote:Just a notice, the newest ATI fglrx driver v 8.33.6 still has the same bug:

Did you file a bug report at ati/amd yet? I'm not sure if Nexuiz is big enough to make them consider a bugfix with its at least a start.. i guess other games would also have problems then.. And their driver is the right place for a bugfix instead of some ugly workaround in the engine (which LordHavoc does not like btw)
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

PreviousNext

Return to Nexuiz - Support / Bugs

Who is online

Users browsing this forum: No registered users and 1 guest

cron