Page 1 of 1

Ubuntu 12.10 - FTL crash at startup

Posted: Fri Oct 19, 2012 12:01 am
by otik
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?

Re: Ubuntu 12.10 - FTL crash at startup

Posted: Fri Oct 19, 2012 6:39 am
by boa13
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. :)

Re: Ubuntu 12.10 - FTL crash at startup

Posted: Fri Oct 19, 2012 4:47 pm
by otik
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. ;)

Re: Ubuntu 12.10 - FTL crash at startup

Posted: Fri Oct 19, 2012 6:34 pm
by crnixon
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.

Re: Ubuntu 12.10 - FTL crash at startup

Posted: Fri Oct 19, 2012 7:05 pm
by Vind
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.

Re: Ubuntu 12.10 - FTL crash at startup

Posted: Fri Oct 19, 2012 7:19 pm
by boa13
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.

Re: Ubuntu 12.10 - FTL crash at startup

Posted: Fri Oct 19, 2012 7:21 pm
by icepick
I wonder if it's ubuntu and not ftl?

Re: Ubuntu 12.10 - FTL crash at startup

Posted: Fri Oct 19, 2012 7:29 pm
by Vind
This primarily affect open-source driver users. Works fine using nvidia or amd closed-source drivers.

Re: Ubuntu 12.10 - FTL crash at startup

Posted: Sat Oct 20, 2012 1:36 pm
by Carborundum
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.

Re: Ubuntu 12.10 - FTL crash at startup

Posted: Mon Nov 05, 2012 6:47 pm
by ThePsuedoMonkey
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)