Ubuntu 12.10 - FTL crash at startup

Discuss problems related to FTL here. If you are having a problem or experiencing a bug PLEASE READ THE "MUST READ" POST.
otik
Posts: 2
Joined: Thu Oct 18, 2012 11:48 pm

Ubuntu 12.10 - FTL crash at startup

Postby otik » Fri Oct 19, 2012 12:01 am

After system update game stopped to work.

Running from the terminal

Code: Select all

$ LIBGL_DEBUG=verbose ./FTL

gives

Code: Select all

Loading Arch = x86
Initializing Crash Catcher...
Initializing Video
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/tls/r600_dri.so
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/r600_dri.so
libGL error: dlopen /usr/lib/i386-linux-gnu/dri/r600_dri.so failed (/home/otik/FTL/data/x86/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /usr/lib/i386-linux-gnu/libLLVM-3.1.so.1))
libGL: OpenDriver: trying ${ORIGIN}/dri/tls/r600_dri.so
libGL: OpenDriver: trying ${ORIGIN}/dri/r600_dri.so
libGL error: dlopen ${ORIGIN}/dri/r600_dri.so failed (${ORIGIN}/dri/r600_dri.so: cannot open shared object file: No such file or directory)
libGL: OpenDriver: trying /usr/lib/dri/tls/r600_dri.so
libGL: OpenDriver: trying /usr/lib/dri/r600_dri.so
libGL error: dlopen /usr/lib/dri/r600_dri.so failed (/usr/lib/dri/r600_dri.so: cannot open shared object file: No such file or directory)
libGL error: unable to load driver: r600_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: r600
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/swrast_dri.so
libGL error: dlopen /usr/lib/i386-linux-gnu/dri/swrast_dri.so failed (/home/otik/FTL/data/x86/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /usr/lib/i386-linux-gnu/libLLVM-3.1.so.1))
libGL: OpenDriver: trying ${ORIGIN}/dri/tls/swrast_dri.so
libGL: OpenDriver: trying ${ORIGIN}/dri/swrast_dri.so
libGL error: dlopen ${ORIGIN}/dri/swrast_dri.so failed (${ORIGIN}/dri/swrast_dri.so: cannot open shared object file: No such file or directory)
libGL: OpenDriver: trying /usr/lib/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/dri/swrast_dri.so
libGL error: dlopen /usr/lib/dri/swrast_dri.so failed (/usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory)
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
X Error of failed request:  BadAlloc (insufficient resources for operation)
  Major opcode of failed request:  154 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Serial number of failed request:  30
  Current serial number in output stream:  31

I'd found that r600_dri.so was in other folder then game was looking in, so i've tried to create symbolic link to it. After that game still crashes but output is changed:

Code: Select all

libGL error: dlopen /usr/lib/i386-linux-gnu/dri/r600_dri.so failed (/home/otik/FTL/data/x86/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /usr/lib/i386-linux-gnu/libLLVM-3.1.so.1))

while

Code: Select all

$ strings /usr/lib/i386-linux-gnu/libstdc++.so.6 | grep GLIBCXX_3.4.15

gives

Code: Select all

GLIBCXX_3.4.15

At this point i've gave up.

I use ati radeon hd4550 with radeon driver (Gallium 0.4).

Any ideas?
boa13
Posts: 829
Joined: Mon Sep 17, 2012 11:42 pm

Re: Ubuntu 12.10 - FTL crash at startup

Postby boa13 » Fri Oct 19, 2012 6:39 am

What packages where upgraded during the last system update? Surely, one of them must be the issue. Have a look at the bottom of /var/log/apt/history.log.

If I remember correctly, updates are separated by a start time and an end time, so you should be able to have the full list of packages that were installed/upgraded recently. You can post it here. :)
Forum janitor — If you spot spam, PM me the URL and/or the username of the spammer.
I have powers, moderator powers. I am not keen on using them, but will do so if needed.
otik
Posts: 2
Joined: Thu Oct 18, 2012 11:48 pm

Re: Ubuntu 12.10 - FTL crash at startup

Postby otik » Fri Oct 19, 2012 4:47 pm

Thank you for your response.

I didn't express myself clear. That was clean install of 12.10, i've formated root leaving only old /home.

Due to other issues with ubuntu 12.10 (performance), i decided to come back to 12.04. I just hope that other people won't experience the same problem.

And I'm really really sorry that I've raped english language in previous message. ;)
crnixon
Posts: 1
Joined: Fri Oct 19, 2012 6:28 pm

Re: Ubuntu 12.10 - FTL crash at startup

Postby crnixon » Fri Oct 19, 2012 6:34 pm

I am having the same problem. I've put my history.log entries from today, which is when I updated to 12.10, at https://gist.github.com/cb8b6ed2b6eb24054ea4. I hope this helps solve the issue.
Vind
Posts: 66
Joined: Tue Sep 18, 2012 9:57 am

Re: Ubuntu 12.10 - FTL crash at startup

Postby Vind » Fri Oct 19, 2012 7:05 pm

By default game searches for libraries in /FTL/data/x86/lib or /FTL/data/amd64/lib directory based on you system arch type (x86 or amd64) then system LD_LIBRARY paths. In this case included library in /FTL/data/x86/lib lack needed for you system feature.
libGL error: dlopen /usr/lib/i386-linux-gnu/dri/r600_dri.so failed (/home/otik/FTL/data/x86/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /usr/lib/i386-linux-gnu/libLLVM-3.1.so.1))

You can change FTL startup script located in /FTL/data. Change line near the end of file from export LD_LIBRARY_PATH="$here/$arch/lib:$LD_LIBRARY_PATH" to export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$here/$arch/lib" or just copy your system libstdc++.so.6 to FTL /FTL/data/x86/lib/ directory or /FTL/data/amd64/lib/ depending on your system arch.Almost forgot to add you can simply delete included in /FTL/data/x86/lib or /FTL/data/amd64/lib library libstdc++.so.6 and game will use system default one.
Last edited by Vind on Fri Oct 19, 2012 7:24 pm, edited 1 time in total.
boa13
Posts: 829
Joined: Mon Sep 17, 2012 11:42 pm

Re: Ubuntu 12.10 - FTL crash at startup

Postby boa13 » Fri Oct 19, 2012 7:19 pm

otik wrote:I didn't express myself clear. That was clean install of 12.10, i've formated root leaving only old /home.

Interesting. This means that apparently, FTL does not work on the most recent Ubuntu version. Definitely something the devs will want to look into.
Forum janitor — If you spot spam, PM me the URL and/or the username of the spammer.
I have powers, moderator powers. I am not keen on using them, but will do so if needed.
icepick
Posts: 344
Joined: Fri Aug 10, 2012 11:18 pm

Re: Ubuntu 12.10 - FTL crash at startup

Postby icepick » Fri Oct 19, 2012 7:21 pm

I wonder if it's ubuntu and not ftl?
Vind
Posts: 66
Joined: Tue Sep 18, 2012 9:57 am

Re: Ubuntu 12.10 - FTL crash at startup

Postby Vind » Fri Oct 19, 2012 7:29 pm

This primarily affect open-source driver users. Works fine using nvidia or amd closed-source drivers.
Carborundum
Posts: 15
Joined: Fri Sep 14, 2012 8:13 am

Re: Ubuntu 12.10 - FTL crash at startup

Postby Carborundum » Sat Oct 20, 2012 1:36 pm

Vind wrote:This primarily affect open-source driver users. Works fine using nvidia or amd closed-source drivers.

It also works fine with open source Intel drivers.
ThePsuedoMonkey
Posts: 53
Joined: Thu May 31, 2012 3:41 am

Re: Ubuntu 12.10 - FTL crash at startup

Postby ThePsuedoMonkey » Mon Nov 05, 2012 6:47 pm

Had the same issue, Vind's solution of deleting "libstdc++.so.6" from the FTL folder worked for me! (fresh install of Ubuntu 12.10 x64, since the lastest proprietary Catalyst driver didn't play nice with the last installation)