project-navigation
Personal tools

Author Topic: Linux - Unable To Start The Game  (Read 5862 times)

Afief

  • Guest
Linux - Unable To Start The Game
« on: March 27, 2006, 05:32:03 pm »
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

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Linux - Unable To Start The Game
« Reply #1 on: March 27, 2006, 06:22:46 pm »
try to start it with
Code: [Select]
./ufo +set vid_ref glx

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

  • Guest
Linux - Unable To Start The Game
« Reply #2 on: May 23, 2006, 12:42:38 am »
Hi, I'm also running Ubuntu 5.10 (Breezy) and can't get the UFO:AI demo running...

Code: [Select]

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.


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: [Select]

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 "$@"


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?

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Linux - Unable To Start The Game
« Reply #3 on: May 23, 2006, 07:37:05 am »
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

  • Guest
Linux - Unable To Start The Game
« Reply #4 on: May 25, 2006, 02:34:39 pm »
EDIT: got it working then I get another error:
[code]./ufo-bin: symbollookuperror: ///ref_glx.so: undefinedsymbol: XF86DGAQueryVersion[code][/code]

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Linux - Unable To Start The Game
« Reply #5 on: May 25, 2006, 05:42:33 pm »
try to use ref_sdl instead of ref_glx
do you compile with BUILD_WITH_DGA = yes and BUILD_WITH_VIDMODE = yes?

Moonuni

  • Guest
Linux - Unable To Start The Game
« Reply #6 on: June 04, 2006, 07:48:36 pm »
im running ubuntu right now, and i cant get the game to work, but i know my  vid card doesnt have openGL, so i ordered a new one from newegg, ill see if it works and get back to you.