project-navigation
Personal tools

Author Topic: Texture problem on savage video card.  (Read 2476 times)

Erik

  • Guest
Texture problem on savage video card.
« on: October 29, 2006, 10:27:55 am »
Hello,
i use gentoo linux kernel 2.6.17-gentoo-r8, xorg-x11-7.1, mesa-6.5.1-r2 and savage-2.1.2 opsensource drivers. My video card is savage 400 DDR-K.
I have the following problem in RC5: the textures are shown in a completely wrong way.
The version 0.10.040218, which is included in gentoo portage tree hasn't this problem.
Any Idea?

Oh, the log is:
Code: [Select]
Adding game dir: ./base
using /home/borych/.ufoai/base for writing
Adding game dir: /home/borych/.ufoai/base
execing default.cfg
execing config.cfg
execing keys.cfg
Console initialized.

------- sound initialization -------
Loading snd_sdl sound driver
Soundsystem: SDL.
SDL version: 1.2.9
SDL audio driver is "alsa".
Bits: 16
Frequency: 48000
Samples: 4096
Channels: 2
sound sampling rate: 48000
------- Loading ref_glx.so -------
LoadLibrary("ref_glx.so"): can't open /etc/ufo.conf - setting search path to .
LoadLibrary("./ref_glx.so")
ref_gl version: GL 0.12
Initializing OpenGL display
...setting mode 4: 800 600
...using XFree86-VidModeExtension Version 2.2
libGL warning: 3D driver claims to not support visual 0x4b
I: got 8 bits of red
I: got 8 bits of blue
I: got 8 bits of green
I: got 24 bits of depth
I: got 0 bits of alpha
I: got 8 bits of stencil
...using no hardware gamma - only available in fullscreen mode
GL_VENDOR: S3 Graphics Inc.
GL_RENDERER: Mesa DRI ProSavageDDR 20050829 AGP 1x x86/MMX+/3DNow!+/SSE
GL_VERSION: 1.2 Mesa 6.5.1
GL_EXTENSIONS: GL_ARB_imaging GL_ARB_multisample GL_ARB_multitexture GL_ARB_texture_compression GL_ARB_texture_env_add GL_ARB_texture_mirrored_repeat GL_ARB_transpose_matrix GL_ARB_window_pos 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_convolution GL_EXT_copy_texture GL_EXT_draw_range_elements 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_lod_bias GL_EXT_texture_object GL_EXT_vertex_array GL_APPLE_packed_pixels GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_MESA_window_pos GL_NV_light_max_exponent GL_NV_texgen_reflection GL_OES_read_format GL_SGI_color_matrix GL_SGI_color_table GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod
...enabling GL_EXT_compiled_vertex_array
...GL_EXT_point_parameters not found
...using GL_ARB_multitexture
...GL_EXT_texture_env_combine not found
...GL_SGIS_multitexture not found
...ignoring GL_ARB_texture_compression
...max GL_EXT_texture_filter_anisotropic value is -1078131504
...GL_EXT_texture_filter_anisotropic not found
...using GL_EXT_texture_lod_bias
...using GL_EXT_stencil_wrap
...GL_EXT_fog_coord not found
...GL_ARB_fragment_program not found
...GL_ATI_separate_stencil not found
...max texture size:
......cannot detect !
...SDL_ttf version 2.0.7 - we need at least 2.0.7
...SDL_ttf inited
------------------------------------
CDAudio_Init: No CD in drive.
CDAudio_Init: CD contains no audio tracks.
CD Audio Initialized.
execing autoexec.cfg
"version" is "UFO: Alien Invasion 2.0-RC5 i386 Sep 20 2006 Linux"
...using language: en_US.UTF-8
...svn revision: 3763
Shared Client/Server Info loaded
...precaching 49 menus
Can't find pics/
Can't find pics/menu/buildings_ll
Can't find pics/menu/buildings_lr
====== UFO Initialized ======

Changing to Singleplayer
CL_ParseNations: unknown token "pos" ignored (nation latin)
CL_ParseNations: unknown token "pos" ignored (nation states)
CL_ParseNations: unknown token "pos" ignored (nation europa)
Global data loaded - size 5593844 bytes
Activate stage intro
...aircraft inited

Erik

  • Guest
Texture problem on savage video card.
« Reply #1 on: October 29, 2006, 10:42:44 am »
Apparently the program is unable to find /pics folder, but it is there. menu/buildings_ll and /menu/buildings_ll are missing.
Code: [Select]
Can't find pics
Can't find pics/menu/buildings_ll
Can't find pics/menu/buildings_lr

ubequitz

  • Guest
Texture problem on savage video card.
« Reply #2 on: November 02, 2006, 12:57:56 am »
You can safely ignore the "Can't  find pics" stuff (most people see this, I think it is the game initially looking in the wrong place for the pics).

I do know there are problems when trying to run the game using certain video cards/driver combos (eg radeon cards with the open-source R300 drivers result in texture corruption too). The worrying part of your log is probably: "...max texture size: ......cannot detect !".

"version 0.10.040218" of ufo:ai was from 2004 (I'm not even sure where to find a code snapshot from that long ago!).

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Texture problem on savage video card.
« Reply #3 on: November 02, 2006, 09:05:11 am »
the code snapshot is in svn, too. but i don't have the time to look into the code atm. will be back in about a week.... then i might have a look - but i will need your feedback to be able to solve the problems.