[solved] debian etch, ati mobility radeon 9700

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

Moderators: Nexuiz Moderators, Moderators

[solved] debian etch, ati mobility radeon 9700

Postby wtfu » Sun Jan 21, 2007 6:13 pm

hello,

when I start a campaign or a demo, after a few seconds nexuiz crashes.
I tried to launch it with the -nosound option (I'm on linux debian etch), but it is the same.
I also tried to disable openglide 2.0 in "options" but it is the same.

My video card is an ATI Mobility Radeon 9700/64MB
I didn't install ati proprietary drivers and I use default debian sound system alsa.

I made a backtrace, I don't know if it will help :
Code: Select all
$ gdb /usr/lib/games/nexuiz/nexuiz.bin core
GNU gdb 6.4.90-debian
Copyright (C) 2006 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 "i486-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".


warning: Can't read pathname for load map: Erreur d'entrée/sortie.
Reading symbols from /lib/tls/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/libm.so.6
Reading symbols from /lib/tls/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/libdl.so.2
Reading symbols from /usr/lib/libSDL-1.2.so.0...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libSDL-1.2.so.0
Reading symbols from /lib/tls/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib/ld-linux.so.2...
(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/libasound.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libasound.so.2
Reading symbols from /usr/lib/libdirectfb-0.9.so.25...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libdirectfb-0.9.so.25
Reading symbols from /usr/lib/libfusion-0.9.so.25...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libfusion-0.9.so.25
Reading symbols from /usr/lib/libdirect-0.9.so.25...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libdirect-0.9.so.25
Reading symbols from /usr/lib/libvga.so.1...(no debugging symbols found)...done.Loaded symbols for /usr/lib/libvga.so.1
Reading symbols from /lib/tls/libpthread.so.0...
(no debugging symbols found)...done.
Loaded symbols for /lib/tls/libpthread.so.0
Reading symbols from /usr/lib/libz.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /usr/lib/libcurl.so.3...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libcurl.so.3
Reading symbols from /usr/lib/libgssapi_krb5.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgssapi_krb5.so.2
Reading symbols from /usr/lib/libkrb5.so.3...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libkrb5.so.3
Reading symbols from /usr/lib/libk5crypto.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libk5crypto.so.3
Reading symbols from /usr/lib/libkrb5support.so.0...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libkrb5support.so.0
Reading symbols from /lib/libcom_err.so.2...(no debugging symbols found)...done.Loaded symbols for /lib/libcom_err.so.2
Reading symbols from /lib/tls/libresolv.so.2...
(no debugging symbols found)...done.
Loaded symbols for /lib/tls/libresolv.so.2
Reading symbols from /usr/lib/libidn.so.11...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libidn.so.11
Reading symbols from /usr/lib/i686/cmov/libssl.so.0.9.8...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/i686/cmov/libssl.so.0.9.8
Reading symbols from /usr/lib/i686/cmov/libcrypto.so.0.9.8...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/i686/cmov/libcrypto.so.0.9.8
Reading symbols from /usr/lib/libX11.so.6...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libX11.so.6
Reading symbols from /usr/lib/libXau.so.6...(no debugging symbols found)...done.Loaded symbols for /usr/lib/libXau.so.6
Reading symbols from /usr/lib/libXdmcp.so.6...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXdmcp.so.6
Reading symbols from /usr/lib/libXrender.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXrender.so.1
Reading symbols from /usr/lib/libXcursor.so.1...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXcursor.so.1
Reading symbols from /usr/lib/libXfixes.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXfixes.so.3
Reading symbols from /usr/lib/libvorbis.so.0...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libvorbis.so.0
Reading symbols from /usr/lib/libogg.so.0...(no debugging symbols found)...done.Loaded symbols for /usr/lib/libogg.so.0
Reading symbols from /usr/lib/libvorbisfile.so.3...
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libvorbisfile.so.3
Reading symbols from /usr/lib/gconv/ISO8859-1.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/gconv/ISO8859-1.so
Reading symbols from /usr/lib/libjpeg.so.62...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libjpeg.so.62
Reading symbols from /usr/lib/libpng12.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libpng12.so.0
Reading symbols from /lib/tls/libnss_compat.so.2...
(no debugging symbols found)...done.
Loaded symbols for /lib/tls/libnss_compat.so.2
Reading symbols from /lib/tls/libnsl.so.1...(no debugging symbols found)...done.Loaded symbols for /lib/tls/libnsl.so.1
Reading symbols from /lib/tls/libnss_nis.so.2...
(no debugging symbols found)...done.
Loaded symbols for /lib/tls/libnss_nis.so.2
Reading symbols from /lib/tls/libnss_files.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/libnss_files.so.2
Reading symbols from /lib/libgcc_s.so.1...
(no debugging symbols found)...done.
Loaded symbols for /lib/libgcc_s.so.1
(no debugging symbols found)
Core was generated by `/usr/lib/games/nexuiz/nexuiz.bin -basedir /usr/share/games/nexuiz'.
Program terminated with signal 11, Segmentation fault.
#0  0xa6f511bd in ?? ()
(gdb) bt
#0  0xa6f511bd in ?? ()
#1  0x1321cf28 in ?? ()
#2  0x00000002 in ?? ()
#3  0xafc0601a in ?? ()
#4  0xa6c06016 in ?? ()
#5  0x1321cf28 in ?? ()
#6  0x00000040 in ?? ()
#7  0x12c44678 in ?? ()
#8  0xafb2e67c in ?? ()
#9  0x151b18e8 in ?? ()
#10 0x00000004 in ?? ()
#11 0x00000008 in ?? ()
#12 0x00000000 in ?? ()
(gdb) quit


should I download the source code and compile it in debug mode and retry ? or is it enough.

Thanks for any help. (and sorry for my poor english...)
Last edited by wtfu on Mon Jan 22, 2007 10:40 pm, edited 1 time in total.
wtfu
Newbie
 
Posts: 3
Joined: Sun Jan 21, 2007 5:50 pm

Re: debian etch, ati mobility radeon 9700

Postby Ed » Sun Jan 21, 2007 9:18 pm

This thread sounds similar:
http://www.forums.alientrap.local/viewtopi ... ian+radeon
wtfu wrote:I didn't install ati proprietary drivers

What about trying with ATi's drivers?

wtfu wrote:should I download the source code and compile it in debug mode and retry ? or is it enough.

Source is included. Have a browse through the Nexuiz dir and you'll find it in a little ZIP. Unlikely to be worth bothering with an engine recompile. It is almost certainly a driver problem.
Ed
Forum addon
 
Posts: 1172
Joined: Wed Mar 01, 2006 12:32 am
Location: UK

Postby esteel » Mon Jan 22, 2007 2:27 am

Well before trying anything else let us see the output of
Code: Select all
glxinfo | grep -i 'direct\|vendor'

If it says direct rendering: no or mentions mesa you can forget anything 3d as you will need prober drivers. There are some free drivers for some ati cards, search google for r300. Those are part of X.org 7.0 so if you have that you just need to install a few libraries and settings in your xorg.conf but its over a year that i tried. It worked but back then performance was rather bad. In general ati is bad on linux.. if their proprietary drivers..
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby wtfu » Mon Jan 22, 2007 8:06 pm

Code: Select all
$ glxinfo | grep -i 'direct\|vendor'
direct rendering: Yes
server glx vendor string: SGI
client glx vendor string: SGI
OpenGL vendor string: Tungsten Graphics, Inc.

but I don"t know why, mesa reminds me anything...
I will take a look to r300 drivers, ati proprietary will be the solution of the last resort... Indeed, I installed them a few months ago, and I think that they patches the kernel, and it becomes quite hard to maintain. I would prefer avoiding that...
I know that ati is not the best video card provider for linux, but what is strange is that when nexuiz starts, the game is quite fast, not so slow...

Thank you for your help.
wtfu
Newbie
 
Posts: 3
Joined: Sun Jan 21, 2007 5:50 pm

Postby esteel » Mon Jan 22, 2007 8:36 pm

Fast at start? you mean the in the menu? Well it does not have much to do there :)
Well if those drivers do support 3d accelerated functions you might try to disable most of the stuff in Nexuiz, maybe it just does not like some of them..
It will look ugly but it might be worth trying. Start Nexuiz with the parameters:
+exec low.cfg +r_glsl 0 -notexturenonpoweroftwo
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby wtfu » Mon Jan 22, 2007 10:32 pm

It works now, here is what I've done:

1) installed ati proprietary linux drivers
2) I made a backup of my /etc/X11/xorg.conf
3) I updated this file with aticonfig --initial /etc/X11/xorg.conf
4) I restarted my laptop
5) xorg startup failed with the following info in xorg log file:
Code: Select all
dlopen : cannot find libstdc++.so.
Failed to load : /usr/lib/xorg/modules/drivers/fglrx_drv.so

6) I replaced my xorg.conf with my previous file
7) reboot
8) xorg was able to start, I logged and removed fglrx with the following script: /usr/share/ati/fglrx-uninstall.sh (as root)
9) reboot
10) launched nexuiz, and no more crash.

cool !

when I said that the game started and it crash a few seconds later, I meant the real game, for example a campaing, not menu.

just FYI, here is my glxinfo:
Code: Select all
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
    GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_OML_swap_method,
    GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe,
    GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig, GLX_MESA_copy_sub_buffer
client glx vendor string: SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
    GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control,
    GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control,
    GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync,
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
    GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap
GLX version: 1.2
GLX extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
    GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method,
    GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig
OpenGL vendor string: Tungsten Graphics, Inc.
OpenGL renderer string: Mesa DRI R300 20060815 AGP 1x TCL
OpenGL version string: 1.3 Mesa 6.5.1
OpenGL extensions:
    GL_ARB_fragment_program, GL_ARB_imaging, GL_ARB_multisample,
    GL_ARB_multitexture, 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_MESAX_texture_float, 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_compiled_vertex_array, GL_EXT_convolution, GL_EXT_copy_texture,
    GL_EXT_draw_range_elements, GL_EXT_gpu_program_parameters,
    GL_EXT_histogram, GL_EXT_packed_pixels, 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_mirror_clamp,
    GL_EXT_texture_object, GL_EXT_texture_rectangle, GL_EXT_vertex_array,
    GL_APPLE_packed_pixels, GL_ATI_blend_equation_separate,
    GL_ATI_texture_env_combine3, GL_ATI_texture_mirror_once,
    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_OES_read_format, GL_SGI_color_matrix, GL_SGI_color_table,
    GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,
    GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod
glu version: 1.3
glu extensions:
    GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
0x23 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x24 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x25 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x26 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
0x27 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x28 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x29 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x2a 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
0x2b 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x2c 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x2d 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x2e 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
0x2f 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x30 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x31 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x32 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow

It seems that the proprietary drivers are still there...
But another mystery is that I ran nexuiz before launching /usr/share/ati/fglrx-uninstall.sh, and it worked but slowly, as you said previously. I have disabled all effects and it was the same. But after uninstall, it was ok, I had the same speed as when it was starting and crashing a few seconds later.

I don't know what has made it work, but it works now. And that's great !

I should take a few hours to try to understand how graphics work in linux...

And once again, thank you for your support.
wtfu
Newbie
 
Posts: 3
Joined: Sun Jan 21, 2007 5:50 pm

Postby esteel » Tue Jan 23, 2007 12:49 am

Good to hear its working now. I'll try to remember to better tell people to use
Code: Select all
glxinfo | grep -i 'direct\|string'
as it will give more info about the system.
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am


Return to Nexuiz - Support / Bugs

Who is online

Users browsing this forum: No registered users and 1 guest

cron