Linux engine test

Discussion of Maia's on going development, including modding.
Post Reply
User avatar
SimoRoth
Site Admin
Posts: 1106
Joined: Sat Jul 14, 2012 11:28 am

Linux engine test

Post by SimoRoth » Wed Mar 27, 2013 7:49 pm

Linux engine test in progress!

You will need SDL 2. Most distros are still on SDL 1.2/1.3 so you may need to build it yourself!

This is a cut down debug build of the engine for testing. Let me know if it runs on your machine.

Tests

Does the window load?
Does the menu display anything?
Does the spinning globe appear.
Does it registers input? (mouse clicks)

If once you click, it gets into game. You can use:

wsad = movement.
mousewheel = zoom
alt = rotate camera

h = Place rooms
j = Place digging markers/ read info tips
k = Debug place objects (use v-b to scroll all objects ctrl for snap-to-grid )
u = Debug instabuild objects.

Escape = Exit

-/+ Keypad = Modify game time speed.

alt = rotate camera.


Once the game is running

Doe the colours look right? Is the gamma OK?
Are there any obvious immediate glitches?
Does it chug? Hows the framerate?

Please post your system specs, and Linux distro along with any problems you have.


Please no live streaming this build. Its just so we can ensure parity with the Linux and Windows releases.


Testing over! I have a huge list of bugs to fix. Thanks for all the help everyone! :)

User avatar
SimoRoth
Site Admin
Posts: 1106
Joined: Sat Jul 14, 2012 11:28 am

Re: Linux engine test (Starting 2100)

Post by SimoRoth » Wed Mar 27, 2013 8:22 pm

Hit a show stopper bug (rendering the game world segfaults!). Hoping to get something up by 9.30.

User avatar
Nettle
Posts: 76
Joined: Sat Dec 15, 2012 1:17 pm

Re: Linux engine test (Starting 2100)

Post by Nettle » Wed Mar 27, 2013 8:32 pm

If I had Linux, I'd have a go, but I don't, so I'll wish you good luck instead! :D Glad to see this is all coming along!

User avatar
SimoRoth
Site Admin
Posts: 1106
Joined: Sat Jul 14, 2012 11:28 am

Re: Linux engine test (Starting 2100)

Post by SimoRoth » Wed Mar 27, 2013 9:24 pm

Here is the resources folder and a broken binary: www.maiagame.com/Maia_Linux_Test_01.zip

I'll try and get a fixed binary soon. Let me know if this one works at all!

User avatar
DerRidda
Posts: 89
Joined: Mon Jul 16, 2012 8:51 pm

Re: Linux engine test (Starting 2100)

Post by DerRidda » Wed Mar 27, 2013 9:43 pm

Where does Maia expect libsdl to sit?

42bottles

User avatar
SimoRoth
Site Admin
Posts: 1106
Joined: Sat Jul 14, 2012 11:28 am

Re: Linux engine test (Starting 2100)

Post by SimoRoth » Wed Mar 27, 2013 9:47 pm

DerRidda wrote:Where does Maia expect libsdl to sit?

42bottles
In your standard lib folders. Also: try running it with 1.3 if you can.

Any one had it run yet?

Edit: I just realised I've been building it against a horrid hybrid of SDL that I created. I'm going to update to the latest 2.0 repo and build a better binary.

User avatar
DerRidda
Posts: 89
Joined: Mon Jul 16, 2012 8:51 pm

Re: Linux engine test (Starting 2100)

Post by DerRidda » Wed Mar 27, 2013 10:03 pm

Yeah, my SDL2.0 build got installed to /usr/local/lib but Maia only accepts /usr/lib.

Also it kinda runs but is brutally unresponsive and slow:

The Window loads, I don't even get to see a Menu, the globe is there for a Moment and it instantly jumps into the game where i can see two Imps spazzing about for a few frames of animation before they stop.
It seems to register input but once in game the godhand is permanently stuck to the upper left corner of the window and whenever I click the game just scrolls to the left.
It's so damn slow and unresponsive that I really can't try any of the basic in game features, like placing objects.
Eventually I have to kill it to exit as it slows down my whole system.

Also, Alt is a bad key to put functionality on as it is system reserved for grabbing and moving windows.
Last edited by DerRidda on Wed Mar 27, 2013 10:12 pm, edited 2 times in total.

User avatar
Knumskull
Posts: 31
Joined: Wed Mar 27, 2013 9:58 pm

Re: Linux engine test (Starting 2100)

Post by Knumskull » Wed Mar 27, 2013 10:07 pm

Hey there,

Downloaded an compiled libSDL2, it's sitting in /usr/local/lib/ but I got this when running MaiaLinux:

./MaiaLinux: error while loading shared libraries: libSDL2-2.0.so.0: cannot open shared object file: No such file or directory

Here is the listing of the /usr/local/lib directory

[23:05:25] valentin@valentin-VirtualBox:[~/dev/SDL_COMP]: ls /usr/local/lib/
libSDL2-2.0.so.0 libSDL2-2.0.so.0.0.0 libSDL2.a libSDL2.la libSDL2main.a libSDL2.so libSDL2_test.a pkgconfig python2.7 python3.2 site_ruby

I'm running on Ubuntu64 in a VM

EDIT: NVM it seems that the bin doesn't like /usr/local/lib, copied to /usr/lib and I got it to "start", got this:

[23:10:05] valentin@valentin-VirtualBox:[~/dev/Maia Linux Test]: ./MaiaLinux
OpenGL Warning: glFlushVertexArrayRangeNV not found in mesa table
OpenGL Warning: glVertexArrayRangeNV not found in mesa table
OpenGL Warning: glCombinerInputNV not found in mesa table
OpenGL Warning: glCombinerOutputNV not found in mesa table
OpenGL Warning: glCombinerParameterfNV not found in mesa table
OpenGL Warning: glCombinerParameterfvNV not found in mesa table
OpenGL Warning: glCombinerParameteriNV not found in mesa table
OpenGL Warning: glCombinerParameterivNV not found in mesa table
OpenGL Warning: glFinalCombinerInputNV not found in mesa table
OpenGL Warning: glGetCombinerInputParameterfvNV not found in mesa table
OpenGL Warning: glGetCombinerInputParameterivNV not found in mesa table
OpenGL Warning: glGetCombinerOutputParameterfvNV not found in mesa table
OpenGL Warning: glGetCombinerOutputParameterivNV not found in mesa table
OpenGL Warning: glGetFinalCombinerInputParameterfvNV not found in mesa table
OpenGL Warning: glGetFinalCombinerInputParameterivNV not found in mesa table
OpenGL Warning: glDeleteFencesNV not found in mesa table
OpenGL Warning: glFinishFenceNV not found in mesa table
OpenGL Warning: glGenFencesNV not found in mesa table
OpenGL Warning: glGetFenceivNV not found in mesa table
OpenGL Warning: glIsFenceNV not found in mesa table
OpenGL Warning: glSetFenceNV not found in mesa table
OpenGL Warning: glTestFenceNV not found in mesa table
No game pad found.
Problem with joystick/gamepad.
Resources//Shaders//Shaders.xml
Resources//Shaders//Shaders.xml
Loading shader ScreenSpaceOcclusion

��
Segmentation fault (core dumped)

My money is on the VM thing, I can set up a PC with a native install if you want (with an ATI GPU).
Last edited by Knumskull on Wed Mar 27, 2013 10:14 pm, edited 2 times in total.

User avatar
SimoRoth
Site Admin
Posts: 1106
Joined: Sat Jul 14, 2012 11:28 am

Re: Linux engine test (Starting 2100)

Post by SimoRoth » Wed Mar 27, 2013 10:08 pm

DerRidda wrote:Yeah, my SDL2.0 build got installed to usr/local/lib but Maia only accepts /usr/lib.

Also it kinda runs but is brutally unresponsive and slow:

The Window loads, I don't even get to see a Menu, the glove is there for a Moment and it instantly jumps into the game where i can see two Imps spazzing about for a few frames of animation before they stop.
It seems to register input but once in game the godhand is permanently stuck to the upper left corner of the window in whenever I click the game just scrolls to the left.
It's so damns slow and unresponsive that I really can't try any of the basic in game features, like placing objects.
Eventually I have to kill it to exit as it slows down my whole system.

Also, Alt is a bad key to put functionality on as it is system reserved for grabbing and moving windows.
Ok that sounds like the sdl I used is borked. I'll get on this new build asap. (also the builds will be very slow since this is a debug build, Ill post a proper build once the core things work.)

User avatar
DerRidda
Posts: 89
Joined: Mon Jul 16, 2012 8:51 pm

Re: Linux engine test (Starting 2100)

Post by DerRidda » Wed Mar 27, 2013 10:10 pm

I used the March 24 build at the bottom of this site: http://www.libsdl.org/hg.php

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest