Page 1 of 1

"Segmentation fault" on Linux

Posted: Fri Aug 23, 2013 5:48 pm
by lewisgoddard
Having finally managed to get libSDL2-2.0.so.0 working (i had to move it from /usr/local/bin to /usr/bin) and install libGLEW1.8 from the Quantal repositories, i cannot get Maia to run on elementary OS Luna, which is based on Ubuntu 12.04 Precise Pangolin. I have also downloaded libfmodex64-4.44.14.so, libfmodeventnet64.so and libfmodex64.so and copied them over manually.

With Maia.31, executing ./RunMaia prints:

Code: Select all

Game Started
Loading Config settings
SDL Video Initialised
Creating Window
Creating OpenGL Context
Creating game core
No game pad found.
Problem with joystick/gamepad.
Resources//Shaders//Shaders.xml
Resources//Shaders//Shaders.xml
Loading shader ScreenSpaceOcclusion
0:1(15): preprocessor error: syntax error, unexpected IDENTIFIER, expecting NEWLINE

Error: Vertex Shader Compilation Failed
sh: 1: PAUSE: not found
0:1(15): preprocessor error: syntax error, unexpected IDENTIFIER, expecting NEWLINE

Error: Pixel Shader Compilation Failed
sh: 1: PAUSE: not found
Segmentation fault
Running ./MaiaLinux prints:

Code: Select all

Game Started
Loading Config settings
SDL Video Initialised
Creating Window
Creating OpenGL Context
Creating game core
No game pad found.
Problem with joystick/gamepad.
Resources//Shaders//Shaders.xml
Resources//Shaders//Shaders.xml
Loading shader ScreenSpaceOcclusion
0:1(15): preprocessor error: syntax error, unexpected IDENTIFIER, expecting NEWLINE

Error: Vertex Shader Compilation Failed
sh: 1: PAUSE: not found
0:1(15): preprocessor error: syntax error, unexpected IDENTIFIER, expecting NEWLINE

Error: Pixel Shader Compilation Failed
sh: 1: PAUSE: not found
Segmentation fault
Any ideas on how i can fix this?

Re: "Segmentation fault" on Linux

Posted: Fri Aug 23, 2013 5:53 pm
by SimoRoth
The FMOD files are included in the build, why did you need to download them? Edit: I'd recommend using the included ones from the /llibs folder.

Looks like your driver is failing to compile the shaders. What GPU are you running and have you got the most up to date drivers?

Edit: If you can post some detailed system specs I will try and replicate this.

Thanks.

Re: "Segmentation fault" on Linux

Posted: Fri Aug 23, 2013 6:24 pm
by lewisgoddard
I used the ones from the Libs folder originally, but it required a one that doesn't seem to be there (i'm not sure which, some specific version). Now, using them produces the same result.

I have an i3-370m with Intel HD400 Integrated Graphics. As far as i'm aware it doesn't have specific drivers. Are Intel HD Graphics supported?

Re: "Segmentation fault" on Linux

Posted: Fri Aug 23, 2013 6:26 pm
by SimoRoth
lewisgoddard wrote:Using the ones from the Libs folder produces the same result, but it required one that doesn't seem to be there (i'm not sure which, some specific version).

I have an i3-370m with Intel HD400 Integrated Graphics. As far as i'm aware it doesn't have specific drivers. Are Intel HD Graphics supported?
Partially supported. I'll be doing a big update soon to fix some of the problems.

Some people have been having problems with shader compilation on Windows. You're the first person to report Linux issues.