General > Discussion

ufo.conf / ref_glx.so problem again :(

<< < (2/3) > >>

Hoehrer:

--- Quote from: "kNo" ---
--- Code: ---set vid_ref                     gl
//set gl_driver         "opengl32"
//set vid_ref                   glx
set gl_driver           libGL.so
--- End code ---

--- End quote ---


Set your values in the default.cfg file to the ones from my previous posting:

--- Code: ---//set vid_ref                   gl
//set gl_driver           "opengl32"
set vid_ref                     glx
set gl_driver         libGL.so
--- End code ---
This should fix it.

Lines starting with "//" are commented out.

Werner

kNo:
Now:

--- Code: ---------- Loading ref_glx.so -------
LoadLibrary("ref_glx.so"): can't open /etc/ufo.conf
LoadLibrary("ref_glx.so") failed: libXxf86dga.so.1: no se puede abrir el fichero del objeto compartido: No existe el fichero o el directorio
Dumped console text to /home/kno/.ufoai/base/gl_debug.txt.
recursive shutdown
Error: Couldn't initialize OpenGL renderer!
Consult gl_debug.txt for further information.

--- End code ---

Mattn:
you don't have the dga extension installed - compile the new sdl-renderer ref_sdl.so from svn or installl the dga extension for x

[S|G]:
Hello,

I have just compiled ufo from source and I ran into the ufo.conf problem. I fixed it by creating a file named ~./ufoai/base/default.conf with the following lines:


--- Code: ---
//set vid_ref                   gl
//set gl_driver           "opengl32"
set vid_ref                     glx
set gl_driver         libGL.so

--- End code ---


Now the game changes the screen resolution but stops in a black screen with just the green mouse cursor. It stays that way until I press ESC, causing it to return to my desktop. Here is part of the terminal output:


--- Code: ---
...
Can't find pics/sfx/shadow
------------------------------------
Can't find pics/sanduhr
CDAudio_Init: No CD in drive.
CDAudio_Init: CD contains no audio tracks.
CD Audio Initialized.
Couldn't load map mask (pics/menu/map_mask.tga)
stage: intro
stage: ufos_are_coming
stage: invasion
Shared Client/Server Info loaded
Unknown command "init"
====== UFO Initialized ======

Using XF86DGA Mouse
Received signal 11, exiting...
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  134 (XFree86-VidModeExtension)
  Minor opcode of failed request:  10 (XF86VidModeSwitchToMode)
  Value in failed request:  0x3a00002
  Serial number of failed request:  77
  Current serial number in output stream:  79

--- End code ---


I got the same thing when I downloaded the pre-compiled package and now I'm having this on the one I just compiled. What should I do?

Hoehrer:
You have some missing content files, did you downlaod the    base.tar.bz2 and the base directory from svn?

If not, check out svn-base, then download the archive and extract it into the checked out base directory (just do not overwrite files from svn).

Why? The base-directory is currently a mix from the static archive and svn. Where the files in svn are more up-to-date.


EDIT: Concerning the  errors on the bottom: i have no idea what could cause this.

Hope that helps,
Werner

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version