project-navigation
Personal tools

Author Topic: problem on startUp(Segmentation Fault or some openGL error?)  (Read 9910 times)

zchira

  • Guest
problem on startUp(Segmentation Fault or some openGL error?)
« on: September 03, 2006, 12:54:53 am »
Hi, i downloaded ufoai_2.0-RC4.run
After installation a try to run game with
sh ufoai
and this is what i get in console:

bash-3.00$ sh ufoai
Adding game dir: ./base
using /home/zchira/.ufoai/base for writing
Adding game dir: /home/zchira/.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_glx.so -------
LoadLibrary("ref_glx.so"): can't open /etc/ufo.conf - setting searc                 h path to .
LoadLibrary("./ref_glx.so")
ref_gl version: GL 0.12
./libGL.so.1: cannot open shared object file: No such file or directory                          
ref_gl::R_Init() - could not load "libGL.so.1"
------------------------------------
Fatal signal: Segmentation Fault (SDL Parachute Deployed)
bash-3.00$



Help, please :-)

Offline Bandobras

  • Captain
  • *****
  • Posts: 586
    • View Profile
problem on startUp(Segmentation Fault or some openGL error?)
« Reply #1 on: September 03, 2006, 02:23:17 am »
I seems you have no video driver with 3D acceleration or no 3D library. What is your  video card and its driver? Have you tried running with ./ufo +set vid_ref sdl?

zchira

  • Guest
problem on startUp(Segmentation Fault or some openGL error?)
« Reply #2 on: September 03, 2006, 02:49:59 am »
i have nvidia GF5700, and i have driver from nvidia web site (othe games - like quake3 works fine)...
i try to run game with ./ufo +set vid_ref sdl but there was again the same error.
?

Offline Bandobras

  • Captain
  • *****
  • Posts: 586
    • View Profile
problem on startUp(Segmentation Fault or some openGL error?)
« Reply #3 on: September 03, 2006, 02:53:56 am »
What architecture is this and what Linux distribution?

zchira

  • Guest
problem on startUp(Segmentation Fault or some openGL error?)
« Reply #4 on: September 03, 2006, 10:04:10 am »
i have amd athlon64 2800, 512 mb ram, AGP graphics nVidia5700, gigabyte mothetrboard...
i use slackware10.2

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
problem on startUp(Segmentation Fault or some openGL error?)
« Reply #5 on: September 03, 2006, 11:09:43 am »
do you have a libGL.so.1 in your /usr/lib dir?

you can edit the ufo startup script - and set the proper filename to libGL.so via cvar gl_driver

zchira

  • Guest
problem on startUp(Segmentation Fault or some openGL error?)
« Reply #6 on: September 03, 2006, 11:54:53 am »
Yes, I heve. In my /usr/lib are:

libGL.so.1  (as symbolic link)
libGL.so    (as symbolic link)
libGL.so.1.0.8756 (file size 530.8 kb)

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
problem on startUp(Segmentation Fault or some openGL error?)
« Reply #7 on: September 03, 2006, 12:31:17 pm »
is slackware a 64 bit distri?

then the libGL.so.1 has to be in /usr/lib32

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
problem on startUp(Segmentation Fault or some openGL error?)
« Reply #8 on: September 03, 2006, 12:33:05 pm »
you could also try our 64 bit binaries: http://ufo.myexp.de/ufoai-2.0-rc4-x86_64.tar.gz

zchira

  • Guest
problem on startUp(Segmentation Fault or some openGL error?)
« Reply #9 on: September 03, 2006, 01:39:17 pm »
no, slackware is 32-bit distro...

 :(
anyway, is there chance that 64-bit binaries of UFO would work?

Or, i need to try something else?