General > Discussion

Startup problems

<< < (2/3) > >>

armadillo:
No joy *sigh*.

Mattn, it seems that the advice on the thread you posted says the same thing as [S|G], only instead of playing with the configuration file, you pass different startup args. In both cases, the only noticeable difference is a slightly diferent error message:

------- Loading ref_glx.so -------
LoadLibrary("ref_glx.so"): can't open /etc/ufo.conf
LoadLibrary("ref_glx.so") failed: libXxf86dga.so.1: cannot open shared object file: No such file or directory
Dumped console text to /home/armand/.ufoai/base/gl_debug.txt.
ERROR: couldn't open.
recursive shutdown
Error: Couldn't initialize OpenGL renderer!
Consult gl_debug.txt for further information.

Any ideas? Am I missing some packages? Should I install something else?

Mattn:
yes, this one helps - you have no dga or vidmode extersion for x installed - you can install them or use the sdl-renderer from svn and start the game with ./ufo +set vid_ref sdl

kilrathi:
Hi.
My configuration (OS etc.) is almost the same as armadillo's.
My UFO package is ufo.ai_0.12beta1-multilanguage.run
I had the same problem with gl/glx as armadillo.
I fixed it by changing default.cfg file as suggested in this topic and now, when I start ufo:ai, i get something like this:

--- Code: ---kilrathi@kilrathi:/usr/local/games/ufoai/base$ ufoai
Adding game dir: ./base
using /home/kilrathi/.ufoai/base/ for writing
Adding game dir: /home/kilrathi/.ufoai/base
Using data dir (./base/i18n/) for locate settings
Setting language to C
execing default.cfg
execing config.cfg
execing keys.cfg
Console initialized.

------- sound initialization -------
Using Alsa
Using sounddevice "default" - if you have problems with this try to set the cvar snddevice to a appropriate alsa-devicesound sampling rate: 48000
------------------------------------
------- Loading ref_glx.so -------
LoadLibrary("ref_glx.so"): can't open /etc/ufo.conf
LoadLibrary("./ref_glx.so")
ref_gl version: GL 0.12
QGL_Init("libGL.so"): can't open /etc/ufo.conf
./libGL.so: cannot open shared object file: No such file or directory
ref_gl::R_Init() - could not load "libGL.so"
------------------------------------
/usr/games/ufoai: line 104:  8792 Segmentation fault      ./$GAME_BINARY $CMD_ARGS "$@"

--- End code ---

Could you help me?
is it a problem with some gl drivers?

And, by the way, i have libGL.so library as "/usr/lib/libGL.so.1.2"

Mattn:
have a look here and maybe change the gl_driver stuff in your startup-script
http://liflg.org/forum/viewtopic.php?t=615

kilrathi:
i've changed entries in default.cfg file:
it was:

--- Code: ---
set vid_ref                     glx
set gl_driver           libGL.so

--- End code ---

and now it is:

--- Code: ---
set vid_ref                     glx
set gl_driver           libGL.so.1.2

--- End code ---


It worked - the game starts, but it works terribly slow (mega-mouse-lag ;) )
so i guess there is still something wrong.
I'll take a look in other topics for info - tommorow.
thanx[/code]

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version