Hard Light Productions Forums

Hosted Projects - Standalone => Diaspora => Diaspora Tech Help => Topic started by: kdelwat on December 28, 2013, 10:32:26 pm

Title: Crash in Ubuntu 13.10
Post by: kdelwat on December 28, 2013, 10:32:26 pm
I've followed the instructions to install, and can run the game from wxLauncher. However, after inputting my callsign, any button I press crashes the game with an exit code of -1. Does anyone know what the problem could be?
Title: Re: Crash in Ubuntu 13.10
Post by: niffiwan on December 28, 2013, 11:08:49 pm
Do you have an Intel video card? If so, then try disabling shader support; in the wxlauncher Advanced tab, Troubleshooting -> Disable GLSL (shader) support.

If you don't have Intel video, or that option doesn't help, then Please post your fs2_open.log file.  Instructions on how to do this can be found in this post..
(and just substitute Diaspora for Freespace Open)
Title: Re: Crash in Ubuntu 13.10
Post by: kdelwat on December 28, 2013, 11:37:35 pm
I'm using Intel graphics, and I've turned of shaders. Still had the same problem. My error log is at http://pastebin.com/7y43GW6X.

I did install the patch before building the game for the first time. Could this be a problem?
Title: Re: Crash in Ubuntu 13.10
Post by: kdelwat on December 29, 2013, 12:19:49 am
I just tried reinstalling without the patch and I got the same problem.
Title: Re: Crash in Ubuntu 13.10
Post by: niffiwan on December 29, 2013, 01:01:12 am
It looks like you might be out of luck. Diaspora doesn't support Intel graphics cards, in some cases turning off shaders has helped, but it doesn't look like it's helped in your case. Even a more recent version of the FSO engine won't help, as there's a number of Intel / Linux people having problems (http://www.hard-light.net/forums/index.php?topic=85985.20) with that as well, and we haven't found a solution yet, sorry :(
Title: Re: Crash in Ubuntu 13.10
Post by: Hellzed on December 29, 2013, 04:58:21 am
Now, Intel drivers are advertising opengl 3.0 support. What version of opengl is fs2_open supposed to be compliant with ?
Title: Re: Crash in Ubuntu 13.10
Post by: niffiwan on December 29, 2013, 03:16:03 pm
err, I believe absolute minimum is 1.2, but we have shaders that require something between 3 and 4, I'm not sure of the exact version. This problem (and all the others like it that have cropped up) don't seem to be directly related to OpenGL version though. More like an issue on ubuntu 13.10 with an Intel video card...
Title: Re: Crash in Ubuntu 13.10
Post by: Echelon9 on December 29, 2013, 05:43:24 pm
Although support for Intel integrated graphics has been patchy at best, there has been a recent influx of crash reports on Ubuntu 13.10 (64bit) with this hardware.

Investigating to see if there is a recent change in the underlying platform which can be worked around.

Please follow Mantis #2988 (http://scp.indiegames.us/mantis/view.php?id=2988) for updates.
Title: Re: Crash in Ubuntu 13.10
Post by: niffiwan on December 29, 2013, 07:41:50 pm
I've added a command line flag to disable the use Pixel Buffer objects.  I suspect that there's a bug in the Intel Linux drivers, or they aren't quite following the OpenGL specification.

Anyway: could you please try compiling & running this code to see if that works around the issue?
https://github.com/niffiwan/fs2open.github.com/commits/mantis2988

You will need to set "-disable_pbo" on the command line, or via the launcher (Advanced -> Troubleshooting -> "Disable OpenGL Pixel Buffer Objects")

edit: the workaround has been committed to trunk in r10268.