project-navigation
Personal tools

Author Topic: Can't start ufo:ai  (Read 3330 times)

Fakir

  • Guest
Can't start ufo:ai
« on: September 10, 2006, 06:31:15 pm »
Code: [Select]
[denis@vp131147 new2]$ ufoai
Adding game dir: ./base
using /home/denis/.ufoai/base for writing
Adding game dir: /home/denis/.ufoai/base
execing default.cfg
FindFile: can't find config.cfg
couldn't exec 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_sdl.so -------
LoadLibrary("ref_sdl.so"): can't open /etc/ufo.conf - setting search path to .
LoadLibrary("./ref_sdl.so")
/home/denis/bin/ufoai: line 124:  3580 Segmentation fault      ./${GAME_BINARY} ${CMD_ARGS} "$@"

What should i do to start UFO:AI ?
Operating system is Mandriva linux 2006

Kerner

  • Guest
Can't start ufo:ai
« Reply #1 on: September 10, 2006, 08:07:45 pm »
Is OpenGl properly running?(if you have something like glxgears,you could simply try that one)
If it's OpenGl is fine,please post a gdb backtrace(how to get one is discribed here:http://ufo.myexp.de/wiki/index.php/Debugging)

Fakir

  • Guest
Can't start ufo:ai
« Reply #2 on: September 11, 2006, 03:24:28 pm »
[denis@vp131147 ufoai]$ gdb ufo
GNU gdb 6.3-5mdk (Mandriva Linux release 2006.0)
Copyright 2004 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 "i586-mandriva-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1".

(gdb) run +set vid_fullscreen 0 +set vid_grabmouse 0 +set developer 1
Starting program: /home/denis/ufoai/ufo +set vid_fullscreen 0 +set vid_grabmouse 0 +set developer 1
Reading symbols from shared object read from target memory...done.
Loaded system supplied DSO at 0xffffe000
[Thread debugging using libthread_db enabled]
[New Thread -1213413696 (LWP 5663)]
Adding game dir: ./base
using /home/denis/.ufoai/base for writing
Adding game dir: /home/denis/.ufoai/base
execing default.cfg
FindFile: can't find config.cfg
couldn't exec 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 "dsp".
Bits: 16
Frequency: 48000
Samples: 4096
Channels: 2
[New Thread -1213416528 (LWP 5666)]
sound sampling rate: 48000

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1213416528 (LWP 5666)]
0x0808e11a in S_PaintChannels (endtime=4096) at client/snd_mix.c:266
266     client/snd_mix.c: No such file or directory.
        in client/snd_mix.c
(gdb) bt
#0  0x0808e11a in S_PaintChannels (endtime=4096) at client/snd_mix.c:266
#1  0xb7f598dc in paint_audio (unused=0x0, stream=0x1a1d6ad0 "", len=16384)
    at ports/linux/snd_sdl.c:47
#2  0xb7da0193 in SDL_RunAudio (audiop=0x1a1d69d8)
    at ./src/audio/SDL_audio.c:223
#3  0xb7da94a7 in SDL_RunThread (data=0x1a1dee00)
    at ./src/thread/SDL_thread.c:202
#4  0xb7df698c in RunThread (data=0x1a1dee00)
    at ./src/thread/pthread/SDL_systhread.c:47
#5  0xb7d8dc40 in start_thread () from /lib/tls/libpthread.so.0
#6  0xb7d250ee in clone () from /lib/tls/libc.so.6
(gdb)

Offline Bandobras

  • Captain
  • *****
  • Posts: 586
    • View Profile
Can't start ufo:ai
« Reply #3 on: September 11, 2006, 07:39:51 pm »
Uhm! Seems to be a sound problem. Could you try running without sound or with another sound driver? (e.g. change snd_ref in config.cfg to "")