project-navigation
Personal tools

Author Topic: Ubuntu 11.10 - Game wont start  (Read 6232 times)

Offline Bartleby

  • Squad Leader
  • ****
  • Posts: 102
    • View Profile
Ubuntu 11.10 - Game wont start
« on: May 10, 2012, 08:35:09 pm »
hi
maybe some1 can help a linux-noob. yesterday i updated my xubuntu to version 11.10. then i got playdeb and with the progammcenter of ubuntu i installed ufo ai 2.4.1. hurray. but when i want to start ufo ai today nothing happens. ufoconsole.log says:
2012/05/10 20:23:45 FS_RemoveFile: remove /home/username/.ufoai/2.4/base/keys.cfg
2012/05/10 20:23:45 There are still 1 opened files
not much information, i know, but could some1 plz help me :D.
EDIT: btw. gamecentral says ufo has 24.5mb. sounds not much.

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Ubuntu 11.10 - Game wont start
« Reply #1 on: May 10, 2012, 09:27:13 pm »
You've found the two uninteresting lines from the whole ufoconsole.log. ;) Attach the whole file please (as attachment).

-geever

Offline Bartleby

  • Squad Leader
  • ****
  • Posts: 102
    • View Profile
Re: Ubuntu 11.10 - Game wont start
« Reply #2 on: May 10, 2012, 10:11:22 pm »
hm.... tested again.
in the folder /home/username/.ufoai/2.4/base
are three files: history, stats.log and ufoconsole.log. the first two are empty. the third has just two lines. see last post.

EDIT:  how can i test if ufoai is installed correct? i just find empty folders.
« Last Edit: May 10, 2012, 10:18:46 pm by Bartleby »

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Ubuntu 11.10 - Game wont start
« Reply #3 on: May 11, 2012, 11:09:22 am »
could you start it from commandline? The output contains valuable information (about the same ufoconsole.log should and a bit more)

-geever

Offline Bartleby

  • Squad Leader
  • ****
  • Posts: 102
    • View Profile
Re: Ubuntu 11.10 - Game wont start
« Reply #4 on: May 11, 2012, 02:57:34 pm »
could you start it from commandline? The output contains valuable information (about the same ufoconsole.log should and a bit more)

-geever
thx geever.
commandline... i think i got it. this information helpful?

bart@Barty:/usr$ cd /usr/games
bart@Barty:/usr/games$ ufo
---- endianness initialization -----
found little endian system
 
---- filesystem initialization -----
Adding game dir: /usr/share/games/base
Adding game dir: ./base
Added packfile ./base/0base.pk3 (15 files)
Added packfile ./base/0maps.pk3 (740 files)
Added packfile ./base/0materials.pk3 (57 files)
Added packfile ./base/0media.pk3 (11 files)
Added packfile ./base/0models.pk3 (1725 files)
Added packfile ./base/0music.pk3 (46 files)
Added packfile ./base/0pics.pk3 (1056 files)
Added packfile ./base/0shaders.pk3 (37 files)
Added packfile ./base/0snd.pk3 (354 files)
Added packfile ./base/0textures.pk3 (1767 files)
Added packfile ./base/0ufos.pk3 (109 files)
Adding game dir: /home/bart/.ufoai/2.4/base
using /home/bart/.ufoai/2.4/base for writing
executing filesystem.cfg
executing default.cfg
couldn't execute config.cfg
 
----- network initialization -------
libcurl/7.21.6 OpenSSL/1.0.0e zlib/1.2.3.4 libidn/1.22 librtmp/2.3 initialized.
 
------ server initialization -------
added 8 maps to the mapcycle
 
----- console initialization -------
Console initialized.
 
------- video initialization -------
SDL version: 1.2.14
I: desktop depth: 32bpp
I: video memory: 0
I: Available resolutions: 1680x1050 1600x1024 1440x900 1400x1050 1360x768 1280x1024 1280x960 1152x864 1024x768 960x720 960x600 960x540 928x696 896x672 840x525 832x624 800x600 800x512 720x450 720x400 700x525 680x384 640x512 640x480 640x400 640x350 576x432 512x384 416x312 400x300 360x200 320x240 320x200 320x175 (34)
I: video driver: x11
I: setting mode -1
I: set multisample buffers to 0
I: set swap control to 0
SDL SetVideoMode failed: Couldn't find matching GLX visual
Failed to set video mode 1024x768 fullscreen.
I: set multisample buffers to 0
I: set swap control to 0
SDL SetVideoMode failed: Couldn't find matching GLX visual
Video subsystem failed to initialize
FS_RemoveFile: remove /home/bart/.ufoai/2.4/base/keys.cfg
There are still 1 opened files
]======start======
OS Info: Linux Barty 3.0.0-19-generic #33-Ubuntu SMP Thu Apr 19 19:05:14 UTC 2012 x86_64
Linux RELEASE, cpu: AMD64, version: 2.4

/usr/lib/games/ufoai/ufo[0x4b8d38]
/usr/lib/games/ufoai/ufo[0x4b8e1f]
/usr/lib/games/ufoai/ufo[0x466469]
/usr/lib/games/ufoai/ufo[0x4ac176]
/usr/lib/games/ufoai/ufo[0x498020]
/usr/lib/games/ufoai/ufo[0x412baf]
/usr/lib/games/ufoai/ufo[0x4668ee]
/usr/lib/games/ufoai/ufo[0x408f7e]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7fdbb1bc230d]
/usr/lib/games/ufoai/ufo[0x408fd9]
Loaded libraries:
[0x140581590740992x-0x140581590902020x] /lib/x86_64-linux-gnu/libpng12.so.0
[0x140581588406272x-0x140581588644812x] /usr/lib/x86_64-linux-gnu/libjpeg.so.8
[0x140581586284544x-0x140581586305372x] /usr/lib/libSDL_ttf-2.0.so.0
[0x140581583798272x-0x140581584186220x] /usr/lib/libSDL_mixer-1.2.so.0
[0x140581581324288x-0x140581581710820x] /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1
[0x140581578616832x-0x140581579232748x] /usr/lib/libSDL-1.2.so.0
[0x140581576146944x-0x140581576528460x] /usr/lib/x86_64-linux-gnu/libcurl.so.4
[0x140581573730304x-0x140581574048460x] /usr/lib/libtheora.so.0
[0x140581571604480x-0x140581571628404x] /usr/lib/x86_64-linux-gnu/libogg.so.0
[0x140581569327104x-0x140581569505452x] /usr/lib/x86_64-linux-gnu/libvorbis.so.0
[0x140581566689280x-0x140581567230432x] /lib/x86_64-linux-gnu/libm.so.6
[0x140581564542976x-0x140581564591404x] /usr/lib/libmxml.so.1
[0x140581562327040x-0x140581562447032x] /lib/x86_64-linux-gnu/libpthread.so.0
[0x140581560131584x-0x140581560225900x] /lib/x86_64-linux-gnu/libz.so.1
[0x140581556326400x-0x140581558071848x] /lib/x86_64-linux-gnu/libc.so.6
[0x140581553606656x-0x140581554255156x] /usr/lib/x86_64-linux-gnu/libfreetype.so.6
[0x140581551190016x-0x140581551513740x] /usr/lib/libmikmod.so.2
[0x140581549060096x-0x140581549090100x] /usr/lib/x86_64-linux-gnu/libvorbisfile.so.3
[0x140581546594304x-0x140581546964724x] /usr/lib/libsmpeg-0.4.so.0
[0x140581544349696x-0x140581544505828x] /usr/lib/x86_64-linux-gnu/libglapi.so.0
[0x140581540974592x-0x140581542269948x] /usr/lib/x86_64-linux-gnu/libX11.so.6
[0x140581538799616x-0x140581538875860x] /usr/lib/x86_64-linux-gnu/libXext.so.6
[0x140581536690176x-0x140581536698156x] /usr/lib/x86_64-linux-gnu/libXdamage.so.1
[0x140581534568448x-0x140581534590268x] /usr/lib/x86_64-linux-gnu/libXfixes.so.3
[0x140581532446720x-0x140581532465612x] /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1
[0x140581530304512x-0x140581530347212x] /usr/lib/x86_64-linux-gnu/libdrm.so.2
[0x140581528190976x-0x140581528202036x] /lib/x86_64-linux-gnu/libdl.so.2
[0x140581593001984x-0x140581593142736x] /lib64/ld-linux-x86-64.so.2
[0x140581525131264x-0x140581526137620x] /usr/lib/x86_64-linux-gnu/libasound.so.2
[0x140581522825216x-0x140581523033996x] /usr/lib/x86_64-linux-gnu/libidn.so.11
[0x140581520670720x-0x140581520726484x] /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2
[0x140581518254080x-0x140581518581372x] /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2
[0x140581516124160x-0x140581516158028x] /lib/x86_64-linux-gnu/librt.so.1
[0x140581513773056x-0x140581514030276x] /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2
[0x140581511344128x-0x140581511687036x] /lib/x86_64-linux-gnu/libssl.so.1.0.0
[0x140581507481600x-0x140581509379220x] /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
[0x140581505282048x-0x140581505381732x] /usr/lib/x86_64-linux-gnu/librtmp.so.0
[0x140581502107648x-0x140581503228500x] /usr/lib/x86_64-linux-gnu/libstdc++.so.6
[0x140581499895808x-0x140581500009284x] /usr/lib/x86_64-linux-gnu/libxcb.so.1
[0x140581497688064x-0x140581497800796x] /lib/x86_64-linux-gnu/libresolv.so.2
[0x140581495480320x-0x140581495588924x] /usr/lib/x86_64-linux-gnu/libsasl2.so.2
[0x140581492695040x-0x140581493416140x] /usr/lib/x86_64-linux-gnu/libgnutls.so.26
[0x140581490081792x-0x140581490606428x] /lib/x86_64-linux-gnu/libgcrypt.so.11
[0x140581487161344x-0x140581488029924x] /usr/lib/x86_64-linux-gnu/libkrb5.so.3
[0x140581484900352x-0x140581485067452x] /usr/lib/x86_64-linux-gnu/libk5crypto.so.3
[0x140581482786816x-0x140581482798245x] /lib/x86_64-linux-gnu/libcom_err.so.2
[0x140581480656896x-0x140581480686860x] /usr/lib/x86_64-linux-gnu/libkrb5support.so.0
[0x140581478469632x-0x140581478557532x] /lib/x86_64-linux-gnu/libgcc_s.so.1
[0x140581476360192x-0x140581476369516x] /usr/lib/x86_64-linux-gnu/libXau.so.6
[0x140581474238464x-0x140581474257524x] /usr/lib/x86_64-linux-gnu/libXdmcp.so.6
[0x140581472071680x-0x140581472137500x] /usr/lib/x86_64-linux-gnu/libtasn1.so.3
[0x140581469958144x-0x140581469970996x] /lib/x86_64-linux-gnu/libgpg-error.so.0
[0x140581467848704x-0x140581467856012x] /lib/x86_64-linux-gnu/libkeyutils.so.1
[0x140581394546688x-0x140581394583700x] /usr/lib/x86_64-linux-gnu/libXcursor.so.1
[0x140581392404480x-0x140581392443548x] /usr/lib/x86_64-linux-gnu/libXrender.so.1
======end========
Error: Shutdown
bart@Barty:/usr/games$

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Ubuntu 11.10 - Game wont start
« Reply #5 on: May 12, 2012, 12:26:01 pm »
SDL SetVideoMode failed: Couldn't find matching GLX visual
Failed to set video mode 1024x768 fullscreen.
I: set multisample buffers to 0
I: set swap control to 0
SDL SetVideoMode failed: Couldn't find matching GLX visual
Video subsystem failed to initialize

Here ^

Try this:
Code: [Select]
ufo +set vid_fullscreen 0 +set vid_width 1024 +set vid_height 768

It will start UFO:AI in a 1024x768 windowed mode, you can then try to find a suitable videomode.

-geever

Offline Bartleby

  • Squad Leader
  • ****
  • Posts: 102
    • View Profile
Re: Ubuntu 11.10 - Game wont start
« Reply #6 on: May 14, 2012, 11:23:15 am »
ah, thx. after some testing a forumcommand "sudo apt-get install libgl1-mesa-swrast" helped. well. at least ufoai starts. but the maus is jerking extrem. i guess the driver is still not installed correct or the best for my card. i will see.

EDIT: ok. reactivated nvidia driver and now everything is working. mesa was a bad choice as i learned but somehow the reinstallation helped also the nvidia driver. no clue, but working :D
« Last Edit: May 14, 2012, 11:44:29 am by Bartleby »