General > Discussion

Linux - Unable To Start The Game

(1/2) > >>

Afief:
Hello everybody,

UFOAI looks like one of the most promising games in the OSS community, was very eager to play it but i kinda can't get it to run. here is the error:

afief@ubuntu:~/ufoai$ ./ufoai
Adding game dir: ./base
using /home/afief/.ufoai/base/ for writing
Adding game dir: /home/afief/.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_gl.so -------
LoadLibrary("ref_gl.so"): can't open /etc/ufo.conf
LoadLibrary("ref_gl.so") failed: No such file or directory
Dumped console text to /home/afief/.ufoai/base/gl_debug.txt.
recursive shutdown
Error: Couldn't initialize OpenGL renderer!
Consult gl_debug.txt for further information.





The file gl_debug.txt contained pretty much the same as was printed before.
please, i would really like to play this game and help beta test it(okay, i'm just an asshole who wants to play...)

my system is this:
Pentium M 1.6 GHz
64 MB ATI X600 Mobility
512 MB Ram
using Ubuntu 5.10 breezy with the propertary ATI driver(3d acceleration enabled)

Thanks in advance

Mattn:
try to start it with

--- Code: ---./ufo +set vid_ref glx
--- End code ---


and verify, that there is a default.cfg in base-dir.

also make sure, that there is no /etc/ufo.conf unless you know what you are doing.

Madpilot:
Hi, I'm also running Ubuntu 5.10 (Breezy) and can't get the UFO:AI demo running...


--- Code: ---
brian@warbard:~$ ufoai
Adding game dir: ./base
using /home/brian/.ufoai/base/ for writing
Adding game dir: /home/brian/.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_gl.so -------
LoadLibrary("ref_gl.so"): can't open /etc/ufo.conf
LoadLibrary("ref_gl.so") failed: No such file or directory
Dumped console text to /home/brian/.ufoai/base/gl_debug.txt.
recursive shutdown
Error: Couldn't initialize OpenGL renderer!
Consult gl_debug.txt for further information.

--- End code ---


I know OpenGL accel is running on this machine, I run other 3d games like Enemy Territory regularly and get good framerates.

When I try the alternate start line suggested above, I get a slightly different error...


--- Code: ---
brian@warbard:~$ ufoai +set vid_ref glx
Adding game dir: ./base
using /home/brian/.ufoai/base/ for writing
Adding game dir: /home/brian/.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("opengl32"): can't open /etc/ufo.conf
./opengl32: cannot open shared object file: No such file or directory
ref_gl::R_Init() - could not load "opengl32"
------------------------------------
/home/brian/bin/ufoai: line 104: 13343 Segmentation fault      ./$GAME_BINARY $CMD_ARGS "$@"

--- End code ---


Does anyone out there have UFO:AI running on an Ubuntu system?

The Christmas demo ran just fine, and I don't remember jumping thru any hoops to get it running, or having to tweak anything after the install...

Anyone got any ideas?

Mattn:
thats because your ufo/base/default.cfg has it´s default settings to windows dll and renderer - open it in your editor and comment the deactivate the windows var and activate the linux vars

:
EDIT: got it working then I get another error:
[code]./ufo-bin: symbollookuperror: ///ref_glx.so: undefinedsymbol: XF86DGAQueryVersion[code][/code]

Navigation

[0] Message Index

[#] Next page

Go to full version