joepie91 Posted November 24, 2010 Report Share Posted November 24, 2010 (edited) As the title says... all graphics are broken, I am not seeing anything useful. Since I'm not sure whether it's a bug or a user error of some sorts, I'm posting it here.The menu is just gray, no images whatsoever. I have to randomly move the mouse around to find out what buttons are. In the game itself, nothing has textures. The music is playing just fine, however, as does the sound.I am running OpenSuSE 11.3, and I've installed it through the OpenSuSE games repository (as instructed by the installation page). I've installed 0ad and 0ad-data (which was automatically selected) and a bunch of other dependencies. However, it's as if some resource package is missing.Below are screenshots: Edited November 24, 2010 by joepie91 Quote Link to comment Share on other sites More sharing options...
feneur Posted November 24, 2010 Report Share Posted November 24, 2010 Hmm, does your graphics card support OpenGL?/Do you have the latest drivers? Quote Link to comment Share on other sites More sharing options...
joepie91 Posted November 24, 2010 Author Report Share Posted November 24, 2010 As far as I know it does. I can play Sauerbraten just fine, which as far as I know uses OpenGL as well. I'm running the open-source drivers for ATI cards, since my latest attempt to install the Catalyst drivers pretty much nuked my system. Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted November 24, 2010 Report Share Posted November 24, 2010 If you run the game from a terminal, does it print any error messages? particularly ones saying a texture format is not supported? (I think the problem may be that the open source ATI drivers can claim to support S3TC texture compression when actually they don't.)If you create a file ~/.config/0ad/config/local.cfg containing the line nos3tc=true then does it work any better? If so, could you post the output of running "glxinfo" (so we can work out how to detect these drivers and disable S3TC automatically)? Quote Link to comment Share on other sites More sharing options...
joepie91 Posted November 24, 2010 Author Report Share Posted November 24, 2010 (edited) If you run the game from a terminal, does it print any error messages? particularly ones saying a texture format is not supported? (I think the problem may be that the open source ATI drivers can claim to support S3TC texture compression when actually they don't.)If you create a file ~/.config/0ad/config/local.cfg containing the line nos3tc=true then does it work any better? If so, could you post the output of running "glxinfo" (so we can work out how to detect these drivers and disable S3TC automatically)?When running from terminal I get this output (I actually started a game):ERROR: Error initializing FAM; hotloading will be disabledTIMER| InitVfs: 113.552 msTIMER| InitScripting: 1.35475 msTIMER| CONFIG_Init: 3.28101 msWARNING: Failed to set the video mode to fullscreen for the chosen resolution 3200x1080:24 ("No video mode large enough for 3200x1080"), falling back to windowed modeTIMER| write_sys_info: 892.178 usTIMER| InitRenderer: 553.104 msTIMER| ps_console: 3.26899 msTIMER| ps_lang_hotkeys: 2.11201 msTIMER| common/setup.xml: 1.22263 msTIMER| common/styles.xml: 644.693 usTIMER| common/sprite1.xml: 3.9405 msTIMER| common/init.xml: 4.7486 msTIMER| pregame/sprites.xml: 1.10643 msTIMER| pregame/styles.xml: 212.29 usTIMER| pregame/mainmenu.xml: 14.5028 msTIMER| common/global.xml: 948.883 usSND| alc_init: success, using PulseAudio SoftwareTIMER| common/setup.xml: 1.08994 msTIMER| common/styles.xml: 925.14 usTIMER| common/sprite1.xml: 3.69106 msTIMER| gamesetup/setup.xml: 23.3316 msTIMER| gamesetup/sprites.xml: 9.62011 msTIMER| gamesetup/styles.xml: 477.653 usTIMER| gamesetup/gamesetup.xml: 13.7623 msTIMER| common/setup.xml: 966.2 usTIMER| common/styles.xml: 466.48 usTIMER| common/sprite1.xml: 3.03827 msTIMER| common/init.xml: 2.92011 msTIMER| loading/loading.xml: 9.56033 msTIMER| common/global.xml: 802.235 usTIMER| common/setup.xml: 1.33268 msTIMER| common/styles.xml: 575.14 usTIMER| common/sprite1.xml: 4.60782 msTIMER| common/icon_sprites.xml: 22.4447 msTIMER| session_new/sprites.xml: 12.1243 msTIMER| session_new/styles.xml: 9.94274 msTIMER| session_new/session.xml: 74.4838 msTIMER| common/global.xml: 1.3919 msGAME STARTED, ALL INIT COMPLETETIMER| shutdown actor stuff: 8.101 usTIMER| shutdown TexMan: 5.028 usTIMER| shutdown Renderer: 7.73966 msI used 0ad > 0ad.log to output things to a log file because my terminal was rapidly filling up with thousands of these errors in a few seconds:unsupported texture format in setup_hardware_statefailed to validate texture for unit 0.When running with the modified config file the menu renders nicely and the game works well (although really slow, but that may be due to the drivers) and I get the following notice:The output of glxinfo is as follows:sven@linux-fbc4:~> glxinfoname of display: :0.0display: :0 screen: 0direct rendering: Yesserver glx vendor string: SGIserver glx version string: 1.4server glx extensions: GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer, GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group, GLX_INTEL_swap_eventclient glx vendor string: Mesa Project and SGIclient glx version string: 1.4client 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_INTEL_swap_eventGLX 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_OML_sync_control, GLX_SGI_make_current_read, GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap, GLX_INTEL_swap_eventOpenGL vendor string: Advanced Micro Devices, Inc.OpenGL renderer string: Mesa DRI R600 (RV635 9598) 20090101 x86/MMX+/3DNow!+/SSE2 TCL DRI2OpenGL version string: 2.0 Mesa 7.8.2OpenGL extensions: GL_ARB_depth_texture, GL_ARB_depth_clamp, GL_ARB_draw_buffers, GL_ARB_fragment_program, GL_ARB_fragment_program_shadow, GL_ARB_fragment_shader, 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_provoking_vertex, 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_MESAX_texture_float, GL_ARB_texture_mirrored_repeat, GL_ARB_texture_non_power_of_two, GL_ARB_texture_rectangle, GL_ARB_transpose_matrix, GL_ARB_vertex_array_bgra, GL_ARB_vertex_buffer_object, GL_ARB_vertex_program, GL_ARB_vertex_shader, 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_logic_op, GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_compiled_vertex_array, GL_EXT_convolution, GL_EXT_copy_texture, GL_EXT_draw_range_elements, GL_EXT_framebuffer_object, GL_EXT_fog_coord, GL_EXT_gpu_program_parameters, GL_EXT_histogram, 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_provoking_vertex, GL_EXT_rescale_normal, GL_EXT_secondary_color, GL_EXT_separate_specular_color, GL_EXT_shadow_funcs, GL_EXT_stencil_two_side, GL_EXT_stencil_wrap, GL_EXT_subtexture, GL_EXT_texture, GL_EXT_texture3D, 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_bias, GL_EXT_texture_mirror_clamp, GL_EXT_texture_object, GL_EXT_texture_rectangle, GL_EXT_texture_sRGB, GL_EXT_vertex_array, GL_EXT_vertex_array_bgra, GL_APPLE_packed_pixels, GL_ATI_blend_equation_separate, GL_ATI_texture_env_combine3, GL_ATI_texture_mirror_once, GL_ATI_separate_stencil, GL_IBM_multimode_draw_arrays, 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_depth_clamp, GL_NV_light_max_exponent, GL_NV_packed_depth_stencil, 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, GL_SUN_multi_draw_arraysglu version: 1.3glu 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 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None0x22 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None0xce 24 tc 0 24 0 r . . 8 8 8 0 0 0 0 0 0 0 0 0 0 None0xcf 24 tc 0 24 0 r . . 8 8 8 0 0 0 0 16 16 16 0 0 0 Slow0xd0 24 tc 0 24 0 r y . 8 8 8 0 0 0 0 0 0 0 0 0 0 None0xd1 24 tc 0 24 0 r y . 8 8 8 0 0 0 0 16 16 16 0 0 0 Slow0xd2 24 tc 0 24 0 r . . 8 8 8 0 0 16 0 0 0 0 0 0 0 None0xd3 24 tc 0 24 0 r . . 8 8 8 0 0 16 0 16 16 16 0 0 0 Slow0xd4 24 tc 0 24 0 r y . 8 8 8 0 0 16 0 0 0 0 0 0 0 None0xd5 24 tc 0 24 0 r y . 8 8 8 0 0 16 0 16 16 16 0 0 0 Slow0xd6 24 tc 0 24 0 r . . 8 8 8 0 0 24 0 0 0 0 0 0 0 None0xd7 24 tc 0 24 0 r . . 8 8 8 0 0 24 0 16 16 16 0 0 0 Slow0xd8 24 tc 0 24 0 r y . 8 8 8 0 0 24 0 0 0 0 0 0 0 None0xd9 24 tc 0 24 0 r y . 8 8 8 0 0 24 0 16 16 16 0 0 0 Slow0xda 24 tc 0 24 0 r . . 8 8 8 0 0 24 8 0 0 0 0 0 0 None0xdb 24 tc 0 24 0 r . . 8 8 8 0 0 24 8 16 16 16 0 0 0 Slow0xdc 24 tc 0 24 0 r y . 8 8 8 0 0 24 8 0 0 0 0 0 0 None0xdd 24 tc 0 24 0 r y . 8 8 8 0 0 24 8 16 16 16 0 0 0 Slow0xde 24 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 0 0 None0xdf 24 tc 0 32 0 r . . 8 8 8 8 0 0 0 16 16 16 16 0 0 Slow0xe0 24 tc 0 32 0 r y . 8 8 8 8 0 0 0 0 0 0 0 0 0 None0xe1 24 tc 0 32 0 r y . 8 8 8 8 0 0 0 16 16 16 16 0 0 Slow0xe2 24 tc 0 32 0 r . . 8 8 8 8 0 16 0 0 0 0 0 0 0 None0xe3 24 tc 0 32 0 r . . 8 8 8 8 0 16 0 16 16 16 16 0 0 Slow0xe4 24 tc 0 32 0 r y . 8 8 8 8 0 16 0 16 16 16 16 0 0 Slow0xe5 24 tc 0 32 0 r . . 8 8 8 8 0 24 0 0 0 0 0 0 0 None0xe6 24 tc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16 16 0 0 Slow0xe7 24 tc 0 32 0 r y . 8 8 8 8 0 24 0 0 0 0 0 0 0 None0xe8 24 tc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 0 0 Slow0xe9 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None0xea 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow0xeb 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow0xec 24 dc 0 24 0 r . . 8 8 8 0 0 0 0 0 0 0 0 0 0 None0xed 24 dc 0 24 0 r . . 8 8 8 0 0 0 0 16 16 16 0 0 0 Slow0xee 24 dc 0 24 0 r y . 8 8 8 0 0 0 0 0 0 0 0 0 0 None0xef 24 dc 0 24 0 r y . 8 8 8 0 0 0 0 16 16 16 0 0 0 Slow0xf0 24 dc 0 24 0 r . . 8 8 8 0 0 16 0 0 0 0 0 0 0 None0xf1 24 dc 0 24 0 r . . 8 8 8 0 0 16 0 16 16 16 0 0 0 Slow0xf2 24 dc 0 24 0 r y . 8 8 8 0 0 16 0 0 0 0 0 0 0 None0xf3 24 dc 0 24 0 r y . 8 8 8 0 0 16 0 16 16 16 0 0 0 Slow0xf4 24 dc 0 24 0 r . . 8 8 8 0 0 24 0 0 0 0 0 0 0 None0xf5 24 dc 0 24 0 r . . 8 8 8 0 0 24 0 16 16 16 0 0 0 Slow0xf6 24 dc 0 24 0 r y . 8 8 8 0 0 24 0 0 0 0 0 0 0 None0xf7 24 dc 0 24 0 r y . 8 8 8 0 0 24 0 16 16 16 0 0 0 Slow0xf8 24 dc 0 24 0 r . . 8 8 8 0 0 24 8 0 0 0 0 0 0 None0xf9 24 dc 0 24 0 r . . 8 8 8 0 0 24 8 16 16 16 0 0 0 Slow0xfa 24 dc 0 24 0 r y . 8 8 8 0 0 24 8 0 0 0 0 0 0 None0xfb 24 dc 0 24 0 r y . 8 8 8 0 0 24 8 16 16 16 0 0 0 Slow0xfc 24 dc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 0 0 None0xfd 24 dc 0 32 0 r . . 8 8 8 8 0 0 0 16 16 16 16 0 0 Slow0xfe 24 dc 0 32 0 r y . 8 8 8 8 0 0 0 0 0 0 0 0 0 None0xff 24 dc 0 32 0 r y . 8 8 8 8 0 0 0 16 16 16 16 0 0 Slow0x100 24 dc 0 32 0 r . . 8 8 8 8 0 16 0 0 0 0 0 0 0 None0x101 24 dc 0 32 0 r . . 8 8 8 8 0 16 0 16 16 16 16 0 0 Slow0x102 24 dc 0 32 0 r y . 8 8 8 8 0 16 0 0 0 0 0 0 0 None0x103 24 dc 0 32 0 r y . 8 8 8 8 0 16 0 16 16 16 16 0 0 Slow0x104 24 dc 0 32 0 r . . 8 8 8 8 0 24 0 0 0 0 0 0 0 None0x105 24 dc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16 16 0 0 Slow0x106 24 dc 0 32 0 r y . 8 8 8 8 0 24 0 0 0 0 0 0 0 None0x107 24 dc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 0 0 Slow0x108 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None0x109 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow0x10a 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow0x6d 32 tc 0 32 0 r y . 8 8 8 8 0 16 0 0 0 0 0 0 0 NoneAdditionally, it appears that it detects my dual monitors as one very wide monitor. That may be something to look into as well Disabling the second monitor helped to get the game fullscreen, but it did not influence the texture and graphics problem. Edited November 24, 2010 by joepie91 Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted November 24, 2010 Report Share Posted November 24, 2010 unsupported texture format in setup_hardware_statefailed to validate texture for unit 0.Okay, that's the one I expected - I think it's this bug.When running with the modified config file the menu renders nicely and the game works well (although really slow, but that may be due to the drivers)Have you tried disabling shadows and/or fancy water (in the in-game menu, I think)? That might help with performance.I get the following notice:We should probably skip that warning when nos3tc has explicitly been set.Additionally, it appears that it detects my dual monitors as one very wide monitor. That may be something to look into as well That's an issue with SDL on Linux - I don't think there's anything we can easily do about it, unfortunately Quote Link to comment Share on other sites More sharing options...
joepie91 Posted November 25, 2010 Author Report Share Posted November 25, 2010 Okay, that's the one I expected - I think it's this bug.Have you tried disabling shadows and/or fancy water (in the in-game menu, I think)? That might help with performance.I tried that, but it remained a slug. A few hours ago, however, I (finally) managed to get the ATI/AMD drivers working (the Catalyst ones) and everything works fine now, even with s3tc turned on. So yes, I believe it's a problem with the open-source driver.We should probably skip that warning when nos3tc has explicitly been set.That's an issue with SDL on Linux - I don't think there's anything we can easily do about it, unfortunately Ok... well, in that case, no blame to you guys The game is very nice by the way, although I can't seem to find any option to save the game. Isn't it there yet or am I just overlooking it? Quote Link to comment Share on other sites More sharing options...
feneur Posted November 25, 2010 Report Share Posted November 25, 2010 The game is very nice by the way, although I can't seem to find any option to save the game. Isn't it there yet or am I just overlooking it? There isn't yet, so no you haven't missed it Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.