Author Topic: Program crashes and freezes Xserver (Ubuntu 7.10)  (Read 2157 times)

0 Members and 1 Guest are viewing this topic.

Program crashes and freezes Xserver (Ubuntu 7.10)
Symptom:

Upon starting fs2_open, either from the GNOME menu icon or "~/fs2_open/fs2_open", the program starts as expected:  the introductory blue nebula movie appears.  However, immediately after (before the pilot login screen), the game crashes and kicks me back into a reduced resolution Xserver with a frozen mouse, at which point I am forced to restart the Xserver with [ctrl]+[alt]+[backspace].  Because of this strange resolution issue, I tried it again, this time editing the configuration file to use a 1024x768x32 resolution, which caused the same error.  I normally run under 1280x800x32 resolution.

In the interests of finding out more information, I followed the instructions on the wiki for creating a dedicated Xserver to play the game.  The revised command was "xinit ~/fs2_open/fs2_open -- :1", which resulted in the same error...except that instead of freezing my present Xserver, it created a new one (as expected) and then terminated the session when the program crashed.
------------------------
Installation Procedure:

I used Turey's Java-based installer, simply accepting the "yes to all" button.  Left the *.vp files as they were default, which means only FS2OGGcutscenepack.vp, multi-mission-pack.vp, multi-voice-pack.vp, root_fs2.vp, smart_fs2.vp, sparky_fs2.vp, sparky_hi_fs2.vp, stu_fs2.vp, tango1_fs2.vp, tango2_fs2.vp, tango3_fs2.vp and warble_fs2.vp are present in the base fs2_open folder.

I had previously installed the OpenAL file under my package manager (I think I used synaptic, but apt-get is equivalent).  The debug spew confirms this, I believe.

I then used the fs2_open-3.6.9.run file downloaded from the hard-light wiki to install the files, marking that it should include the debug installation.  No errors were encountered.
------------------------
Debug File:

==========================================================================
DEBUG SPEW: No debug_filter.cfg found, so only general, error, and warning
categories can be shown and no debug_filter.cfg info will be saved.
==========================================================================
Opened /home/corollax/.fs2_open/data/fs2_open.log OK
Passed cmdline options:
  <none>
Building file index...
Searching root '/home/corollax/.fs2_open/'
Searching root '/home/corollax/fs2_open/'
Searching root pack '/home/corollax/fs2_open/FS2OGGcutscenepack.vp'
Searching root pack '/home/corollax/fs2_open/multi-mission-pack.vp'
Searching root pack '/home/corollax/fs2_open/multi-voice-pack.vp'
Searching root pack '/home/corollax/fs2_open/root_fs2.vp'
Searching root pack '/home/corollax/fs2_open/smarty_fs2.vp'
Searching root pack '/home/corollax/fs2_open/sparky_fs2.vp'
Searching root pack '/home/corollax/fs2_open/sparky_hi_fs2.vp'
Searching root pack '/home/corollax/fs2_open/stu_fs2.vp'
Searching root pack '/home/corollax/fs2_open/tango1_fs2.vp'
Searching root pack '/home/corollax/fs2_open/tango2_fs2.vp'
Searching root pack '/home/corollax/fs2_open/tango3_fs2.vp'
Searching root pack '/home/corollax/fs2_open/warble_fs2.vp'
Found 14 roots and 7425 files.
AutoLang: Language auto-detection successful...
Setting language to English
Initializing OpenAL...
  OpenAL Vendor     : OpenAL Community
  OpenAL Renderer   : Software
  OpenAL Version    : 1.1

  Using extension "AL_LOKI_play_position".
... OpenAL successfully initialized!
Failed to init speech
GR_CPU: Family 0, MMX=Yes
Initializing OpenGL graphics device at 1024x768 with 32-bit color...
  Initializing SDL...
  Requested SDL Video values = R: 8, G: 8, B: 8, depth: 24, double-buffer: 1
  Actual SDL Video values    = R: 8, G: 8, B: 8, depth: 24, double-buffer: 1
  OpenGL Vendor     : ATI Technologies Inc.
  OpenGL Renderer   : ATI Radeon Xpress Series
  OpenGL Version    : 2.0.6473 (8.37.6)

  Using extension "GL_EXT_fog_coord".
  Using extension "GL_ARB_multitexture".
  Using extension "GL_ARB_texture_env_add".
  Using extension "GL_ARB_texture_compression".
  Using extension "GL_EXT_texture_compression_s3tc".
  Using extension "GL_EXT_texture_filter_anisotropic".
  Using extension "GL_ARB_texture_env_combine".
  Using extension "GL_EXT_compiled_vertex_array".
  Using extension "GL_EXT_draw_range_elements".
  Using extension "GL_ARB_texture_mirrored_repeat".
  Unable to find extension "GL_ARB_texture_non_power_of_two".
  Using extension "GL_ARB_vertex_buffer_object".
  Using extension "GL_ARB_pixel_buffer_object".
  Unable to find extension "GL_APPLE_client_storage".
  Using extension "GL_SGIS_generate_mipmap".
  Using extension "GL_EXT_framebuffer_object".
  Using extension "GL_ARB_texture_rectangle".
  Using extension "GL_EXT_bgra".
  Using extension "GL_ARB_texture_cube_map".
  Using extension "GL_EXT_texture_lod_bias".
  Found special extension function "glXSwapIntervalSGI".

  Max texture units: 8
  Max elements vertices: 2147483647
  Max elements indices: 65535
  Max texture size: 2048x2048
  Can use compressed textures: YES
  Texture compression available: YES
  Using trilinear texture filter.
... OpenGL init is complete!
Size of bitmap info = 705 KB
Size of bitmap extra info = 40 bytes
ANI cursorweb with size 24x24 (25.0% wasted)
GRAPHICS: Initializing default colors...
SCRIPTING: Beginning initialization sequence...
SCRIPTING: Beginning Lua initialization...
LUA: Opening LUA state...
LUA: Initializing base Lua libraries...
LUA: Performing global function/(library/object) name repeat check...
LUA: Performing library/object name repeat check...
LUA: Performing object/object name repeat check...
LUA: Performing library/library name repeat check...
LUA: Initializing library functions...
LUA: Initializing object functions...
SCRIPTING: Beginning main hook parse sequence....
Wokka!  Error opening file (scripting.tbl)!
Unable to parse scripting.tbl!  Code = 5.
SCRIPTING: Inititialization complete.
Using high memory settings...
Wokka!  Error opening file (interface.tbl)!
Unable to parse interface.tbl!
ANI 2_radar1 with size 170x170 (33.6% wasted)
No joysticks found
Current soundtrack set to -1 in event_music_reset_choices
Wokka!  Error opening file (armor.tbl)!
Unable to parse armor.tbl!
loading animated cursor "cursor"
ANI cursor with size 24x24 (25.0% wasted)
Ships.tbl is : VALID
Weapons.tbl is : VALID
cfile_init() took 98
Got event GS_EVENT_GAME_INIT (49) in state NOT A VALID STATE (0)
---------
Additional Information:

Because I executed the program from the command line, I did get a little bit of extra information.  This was only available when starting it on another Xserver, because of the freezing issue.  The (abridged, because the original contains about 30 returns between each line of actual info) version follows:

Synaptics DeviceInit called
SynapticsCtrl called.

Synaptics DeviceOn called

WARNING: "Weapon 'Hornet#Weak' requires the "player allowed" flag, but it's not listed!  Adding it by default." at weapon/weapons.cpp:3733
WARNING: "Weapon 'Harpoon#Weak' requires the "player allowed" flag, but it's not listed!  Adding it by default." at weapon/weapons.cpp:3733

Synaptics DeviceOff called

waiting for X server to shut down

FreeFontPath: FPE "/usr/share/fonts/X11/misc" refcount is 2, should be 1; fixing.
-------------------------------
Summary:

I really loved this game back when I played the retail version, and I'd LOVE to get it working on my Linux box.  I hope I've been specific enough, but if there's any more information I can give, I'll try to be as helpful as possible.  For what it's worth, the movies and sound work fine! ^_^

 
Re: Program crashes and freezes Xserver (Ubuntu 7.10)
Nevermind! The problem arose from an outdated ATI driver.  I downloaded and installed an updated driver through Envy, and I was able to log in as a pilot...but it froze my computer when I tried to start a mission by clicking on the hangar doors.

Baby steps?