Forums » Linux

Linux start up trouble (glxinfo included)

Sep 10, 2003 DorkWACape link
I just installed vendetta and it crashes on start up. I am running Gentoo Linux with a GeforceII and nvidia-kernel-1.0.4363. This is what the error.log said:

ÄWed Sep 10 12:09:12 2003Ü Found driver: "Open Sound System driver". Type 1, Version 6.1. Load §0x0825
e680
ÄWed Sep 10 12:09:12 2003Ü Instantiate address: 0x4017fd40
ÄWed Sep 10 12:09:13 2003Ü Found driver: "OpenGL Reference GKGL driver". Type 5, Version 19.0. Load §0
x0825e910
ÄWed Sep 10 12:09:13 2003Ü Instantiate address: 0x401c3330
Found joystick 'Analog 2-axis 4-button joystick'
numaxes = 2
numbuttons = 4
Found 1 joystick(s)
osssound: ospace info: fragstotal=16, fragsize=4096
osssound: dspbuf = 0x49094000


caught SIGSEGV; generating stack trace
fault address 49094000, 0000000d
ss 0x0000002b 43
uesp 0xbffff2f8 -1073745160
efl 0x00010202 66050
cs 0x00000023 35
eip 0x400cd0ad 1074581677
err 0x00000004 4
trapno 0x0000000e 14
eax 0x00000000 0
ecx 0x00000000 0
edx 0x0000ffe0 65504
ebx 0x401877d4 1075345364
esp 0xbffff2f8 -1073745160
ebp 0xbffff358 -1073745064
esi 0x08264090 136724624
edi 0x49094000 1225342976
ds 0x0000002b 43
es 0x0000002b 43
fs 0x00000000 0
gs 0x000014d7 5335
brk> 400cd0ad: 08264090 00000003 0000ac44 08264090
- 081306f1: bffff4d0 081c11c9 00000001 00000001
- 0804e714: 00000001 bffff824 00000000 00000000
- 08056b9f: 00000001 bffff824 bffff82c 400124a0
- 400697a7: 08056b20 00000001 bffff824 08049a78

which wasn't all that helpful for me.

Not sure if this is necessary but here is my glxinfo:

display: :0 screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.3
server glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer
client glx vendor string: NVIDIA Corporation
client glx version string: 1.3
client glx extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_visual_info,
GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_SGI_video_sync,
GLX_SGIX_swap_group, GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_NV_float_buffer
GLX extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_ARB_get_proc_address
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce2 MX/AGP/3DNOW!
OpenGL version string: 1.4.0 NVIDIA 43.63
OpenGL extensions:
GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_point_parameters,
GL_ARB_texture_compression, GL_ARB_texture_cube_map,
GL_ARB_texture_env_add, GL_ARB_texture_env_combine,
GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
GL_ARB_transpose_matrix, GL_ARB_vertex_buffer_object,
GL_ARB_vertex_program, GL_ARB_window_pos, GL_S3_s3tc, GL_EXT_abgr,
GL_EXT_bgra, GL_EXT_blend_color, GL_EXT_blend_minmax,
GL_EXT_blend_subtract, GL_EXT_clip_volume_hint,
GL_EXT_compiled_vertex_array, GL_EXT_draw_range_elements,
GL_EXT_fog_coord, GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels,
GL_EXT_paletted_texture, GL_EXT_point_parameters, GL_EXT_rescale_normal,
GL_EXT_secondary_color, GL_EXT_separate_specular_color,
GL_EXT_shared_texture_palette, GL_EXT_stencil_wrap,
GL_EXT_texture_compression_s3tc, GL_EXT_texture_cube_map,
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,
GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_vertex_array,
GL_IBM_texture_mirrored_repeat, GL_KTX_buffer_region, GL_NV_blend_square,
GL_NV_fence, GL_NV_fog_distance, GL_NV_light_max_exponent,
GL_NV_packed_depth_stencil, GL_NV_pixel_data_range, GL_NV_point_sprite,
GL_NV_register_combiners, GL_NV_texgen_reflection,
GL_NV_texture_env_combine4, GL_NV_texture_rectangle,
GL_NV_vertex_array_range, GL_NV_vertex_array_range2, GL_NV_vertex_program,
GL_NV_vertex_program1_1, GL_NVX_ycrcb, GL_SGIS_generate_mipmap,
GL_SGIS_multitexture, 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
----------------------------------------------------------------------
0x21 16 tc 0 16 0 r y . 5 6 5 0 0 16 0 16 16 16 16 0 0 None
0x22 16 dc 0 16 0 r y . 5 6 5 0 0 16 0 16 16 16 16 0 0 None
0x23 16 tc 0 16 0 r . . 5 6 5 0 0 16 0 16 16 16 16 0 0 None
0x24 16 tc 0 16 0 r y . 5 6 5 0 0 0 0 16 16 16 16 0 0 None
0x25 16 tc 0 16 0 r . . 5 6 5 0 0 0 0 16 16 16 16 0 0 None
0x26 16 dc 0 16 0 r . . 5 6 5 0 0 16 0 16 16 16 16 0 0 None
0x27 16 dc 0 16 0 r y . 5 6 5 0 0 0 0 16 16 16 16 0 0 None
0x28 16 dc 0 16 0 r . . 5 6 5 0 0 0 0 16 16 16 16 0 0 None


I am not too sure how 3d acceleration works or X for that matter. So I am not so sure if I have it all setup right. If more or less information is needed please let me know.

Sep 10, 2003 roguelazer link
Stupid question, but does OSS work for you? Because it doesn't seem to be complaining about gfx.
Sep 10, 2003 DorkWACape link
I am pretty sure OSS is working. I get sound and sound.o is loaded. Is that all I need to check?

Sep 10, 2003 The Kid link
See if this works:
"Linux and MacOS X users, if you experience crashes, especially with Nvidia hardware, try the following:

Locate and edit your config.ini (in the vendetta.app on OS X). Find the [refgl] section of the config file and set the "doshaders" and "dovertexbuffers" parameters to zero. The game will need to have been run once and exited cleanly (without crashing) for these parameters to have been added by 3.2.7. The parameters may also be added manually. Toggling these settings will disable some of the advanced graphics features, added in 3.2.6, which are enabled by default. As far as we can tell, some people may be experiencing crashes with these features, possibly due to a Nvidia driver bug. More debugging is required, but hopefully people will be able to get the game to function, for the moment, by using this workaround.
If a config.ini file does not exist, you can create it as a text file and add these three lines:

[refgl]
doshaders=0
dovertexbuffers=0" -Vendetta News Page (old)
Sep 10, 2003 DorkWACape link
I tried changing the couple parameters to "0" and that had no effect.

Sep 10, 2003 The Kid link
What does it say when you start it from the terminal?
Sep 11, 2003 DorkWACape link
The console says nothing. I start it it checks for everything and then the crash window comes up.
Sep 11, 2003 a1k0n link
Interesting. It's crashing in sound_init. For now, it should run without sound by temporarily removing ~/.vendetta/drivers/osssound.so and executing ~/.vendetta/vendetta.
The actual crash address is mystifying, however, since it looks like it's in libc or something. It looks as though your sound card doesn't properly support mmap(). What sound card/drivers are you using?

Your glxinfo looks fine to me (although the 4496 nvidia drivers may be better, but don't worry about that yet).