Gentoo help

For all the help you need with Armagetron!
Post Reply
leonglass
Posts: 4
Joined: Tue Nov 27, 2007 8:28 pm

Gentoo help

Post by leonglass »

i I am trying to set up armagetron on my Gentoo system and having a bit of trouble. I have made sure that I have libxml, sdl, sdl-image etc installed on my system and everything compiles fine. When I run the executable I get the message
osiris bin # ./armagetronad
Trying to start sound. Just restart Armagetron Advanced in case of crash.
Couldn't set video mode: X11 driver not configured with OpenGL
Couldn't set video mode: X11 driver not configured with OpenGL
Couldn't set video mode: X11 driver not configured with OpenGL
Couldn't set video mode: X11 driver not configured with OpenGL
Couldn't set video mode: X11 driver not configured with OpenGL
Couldn't set video mode: X11 driver not configured with OpenGL
Couldn't set video mode: X11 driver not configured with OpenGL
Couldn't set video mode: X11 driver not configured with OpenGL
Couldn't set video mode: X11 driver not configured with OpenGL
Couldn't set video mode: X11 driver not configured with OpenGL
Couldn't set video mode: X11 driver not configured with OpenGL
Couldn't set video mode: X11 driver not configured with OpenGL
Couldn't set video mode: X11 driver not configured with OpenGL
Couldn't set video mode: X11 driver not configured with OpenGL
Error: Error in bool sr_InitDisplay() in render/rScreen.cpp:737 :

Sorry, played all my cards trying to initialize your video system.
Armagetron Advanced won't run on your computer. Reason:

Couldn't set video mode: X11 driver not configured with OpenGL

I'll try again from the beginning, but the chances of success are minimal.
What have I done wrong? I have an nvidia fx 5200 with the nvidia-drivers-1.0.9631 installed. I have also made sure that

Code: Select all

eselect opengl set nvidia
has been run. Any help appreciated.
Glasys, Glass Arcade, Tauntonions
Noli illegitimi carborundum
User avatar
/dev/null
Shutout Match Winner
Posts: 819
Joined: Sat Sep 04, 2004 6:28 pm
Location: Chicago-ish

Post by /dev/null »

Make sure /etc/X11/xorg.conf has these lines in it.

Code: Select all

 Load           "glx"
 Load           "dbe"
They should be under the modules section of xorg.conf. Also, could you post the output of glxgears?
leonglass
Posts: 4
Joined: Tue Nov 27, 2007 8:28 pm

Post by leonglass »

Will do that this evening when I get home. I am fairly sure that the first line is there but not sure about the second one though.

Thanks for replying.
Glasys, Glass Arcade, Tauntonions
Noli illegitimi carborundum
leonglass
Posts: 4
Joined: Tue Nov 27, 2007 8:28 pm

Post by leonglass »

Both lines present in xorg.conf glxigears didn't give any output other than the graphic so I am pasting most of the output of glxinfo.

Code: Select all

name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
server glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig, 
    GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control, 
    GLX_EXT_texture_from_pixmap, GLX_ARB_multisample, GLX_NV_float_buffer
client glx vendor string: NVIDIA Corporation
client glx version string: 1.4
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_NV_swap_group, GLX_NV_video_out, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, 
    GLX_SGI_swap_control, GLX_NV_float_buffer, GLX_ARB_fbconfig_float, 
    GLX_EXT_fbconfig_packed_float, GLX_EXT_texture_from_pixmap, 
    GLX_EXT_framebuffer_sRGB
GLX version: 1.3
GLX extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig, 
    GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control, 
    GLX_EXT_texture_from_pixmap, GLX_ARB_multisample, GLX_NV_float_buffer, 
    GLX_ARB_get_proc_address
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce FX 5200/AGP/SSE2
OpenGL version string: 2.1.1 NVIDIA 100.14.19
OpenGL extensions:
    GL_ARB_depth_texture, GL_ARB_fragment_program, 
    GL_ARB_fragment_program_shadow, GL_ARB_fragment_shader, 
    GL_ARB_half_float_pixel, GL_ARB_imaging, GL_ARB_multisample, 
    GL_ARB_multitexture, GL_ARB_occlusion_query, GL_ARB_pixel_buffer_object, 
    GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_shadow, 
    GL_ARB_shader_objects, GL_ARB_shading_language_100, 
    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_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_vertex_shader, GL_ARB_window_pos, 
    GL_S3_s3tc, GL_EXT_texture_env_add, 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_compiled_vertex_array, GL_EXT_Cg_shader, 
    GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_framebuffer_blit, 
    GL_EXT_framebuffer_multisample, GL_EXT_framebuffer_object, 
    GL_EXT_gpu_program_parameters, GL_EXT_multi_draw_arrays, 
    GL_EXT_packed_depth_stencil, GL_EXT_packed_pixels, 
    GL_EXT_paletted_texture, GL_EXT_pixel_buffer_object, 
    GL_EXT_point_parameters, GL_EXT_rescale_normal, GL_EXT_secondary_color, 
    GL_EXT_separate_specular_color, GL_EXT_shadow_funcs, 
    GL_EXT_shared_texture_palette, GL_EXT_stencil_two_side, 
    GL_EXT_stencil_wrap, 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, 
    GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_texture_sRGB, 
    GL_EXT_timer_query, GL_EXT_vertex_array, GL_IBM_rasterpos_clip, 
    GL_IBM_texture_mirrored_repeat, GL_KTX_buffer_region, GL_NV_blend_square, 
    GL_NV_copy_depth_to_color, GL_NV_depth_clamp, GL_NV_fence, 
    GL_NV_float_buffer, GL_NV_fog_distance, GL_NV_fragment_program, 
    GL_NV_fragment_program_option, GL_NV_framebuffer_multisample_coverage, 
    GL_NV_half_float, GL_NV_light_max_exponent, GL_NV_multisample_filter_hint, 
    GL_NV_occlusion_query, GL_NV_packed_depth_stencil, GL_NV_pixel_data_range, 
    GL_NV_point_sprite, GL_NV_primitive_restart, GL_NV_register_combiners, 
    GL_NV_register_combiners2, GL_NV_texgen_reflection, 
    GL_NV_texture_compression_vtc, GL_NV_texture_env_combine4, 
    GL_NV_texture_expand_normal, GL_NV_texture_rectangle, 
    GL_NV_texture_shader, GL_NV_texture_shader2, GL_NV_texture_shader3, 
    GL_NV_vertex_array_range, GL_NV_vertex_array_range2, GL_NV_vertex_program, 
    GL_NV_vertex_program1_1, GL_NV_vertex_program2, 
    GL_NV_vertex_program2_option, GL_SGIS_generate_mipmap, 
    GL_SGIS_texture_lod, GL_SGIX_depth_texture, GL_SGIX_shadow, 
    GL_SUN_slice_accum
[edit] I am running compiz-fusion would this affect it?
Glasys, Glass Arcade, Tauntonions
Noli illegitimi carborundum
Luke-Jr
Dr Z Level
Posts: 2246
Joined: Sun Mar 20, 2005 4:03 pm
Location: IM: luke@dashjr.org

Post by Luke-Jr »

Do you have this problem with the ebuild-installed Arma too?

I don't know if Compiz is still broken for 3D stuff.
User avatar
kyle
Reverse Outside Corner Grinder
Posts: 1986
Joined: Thu Jun 08, 2006 3:33 pm
Location: Indiana, USA, Earth, Milky Way Galaxy, Universe, Multiverse
Contact:

Post by kyle »

Try recompiling nvidia drivers

if you have updated x11 lately there is a warning that you may have to recompile them.

a whole bunch of packages listed I had my mouse quit and it turned out to be because of this update.

here is the list of files

Code: Select all

 * x11-drivers/nvidia-drivers-100.14.19
 * x11-drivers/xf86-input-evdev-1.1.5-r2
 * x11-drivers/xf86-input-keyboard-1.2.2
 * x11-drivers/xf86-input-mouse-1.2.2-r1
 * x11-drivers/xf86-video-apm-1.1.1
 * x11-drivers/xf86-video-ark-0.6.0
 * x11-drivers/xf86-video-ati-6.6.3
 * x11-drivers/xf86-video-chips-1.1.1
 * x11-drivers/xf86-video-cirrus-1.1.0
 * x11-drivers/xf86-video-cyrix-1.1.0
 * x11-drivers/xf86-video-dummy-0.2.0
 * x11-drivers/xf86-video-fbdev-0.3.1
 * x11-drivers/xf86-video-glint-1.1.1
 * x11-drivers/xf86-video-i128-1.2.1
 * x11-drivers/xf86-video-i810-2.1.1
 * x11-drivers/xf86-video-mga-1.4.7
 * x11-drivers/xf86-video-neomagic-1.1.1
 * x11-drivers/xf86-video-nv-2.1.5
 * x11-drivers/xf86-video-rendition-4.1.3
 * x11-drivers/xf86-video-s3-0.5.0
 * x11-drivers/xf86-video-s3virge-1.9.1
 * x11-drivers/xf86-video-savage-2.1.3
 * x11-drivers/xf86-video-siliconmotion-1.5.1
 * x11-drivers/xf86-video-sis-0.9.3
 * x11-drivers/xf86-video-sisusb-0.8.1
 * x11-drivers/xf86-video-tdfx-1.3.0
 * x11-drivers/xf86-video-tga-1.1.0
 * x11-drivers/xf86-video-trident-1.2.3
 * x11-drivers/xf86-video-tseng-1.1.1
 * x11-drivers/xf86-video-v4l-0.1.1
 * x11-drivers/xf86-video-vesa-1.3.0
 * x11-drivers/xf86-video-vga-4.1.0
 * x11-drivers/xf86-video-via-0.2.2
 * x11-drivers/xf86-video-vmware-10.15.1
 * x11-drivers/xf86-video-voodoo-1.1.1 
leonglass
Posts: 4
Joined: Tue Nov 27, 2007 8:28 pm

Post by leonglass »

Well I have just compiled a new kernel which means I have just also recompiled nvidia drivers. Other 3d stuff does run. I haven't tried the e-build as it is 2.7 and masked and notes state that it is obsolete so I went for a source download. I will look at nvidia again though.
Glasys, Glass Arcade, Tauntonions
Noli illegitimi carborundum
Luke-Jr
Dr Z Level
Posts: 2246
Joined: Sun Mar 20, 2005 4:03 pm
Location: IM: luke@dashjr.org

Post by Luke-Jr »

leonglass wrote:I haven't tried the e-build as it is 2.7 and masked and notes state that it is obsolete so I went for a source download.
If you read the mask message, it says to get the latest Armagetron, you need to add the relevant overlay:
layman -ka armagetron
User avatar
/dev/null
Shutout Match Winner
Posts: 819
Joined: Sat Sep 04, 2004 6:28 pm
Location: Chicago-ish

Post by /dev/null »

3d works fine with compiz-fusion, though you do occasionally need to check the Undirect Fullscreen Windows in the general setting of ccsm, and the various workarounds in ccsm.
Post Reply