Overgrowth Linux problems and their solutions/workarounds

A secret forum for people who preorder Overgrowth!
Vangrew
Posts: 14
Joined: Fri Jun 01, 2012 7:01 am

Re: Overgrowth Linux problems and their solutions/workaround

Post by Vangrew » Sun Oct 13, 2013 3:46 am

Matze wrote:Hi, I'm trying to get OG working on Ubuntu 12.04 LTS - and fail hard up 'til now ;). Out of all my tries to load a map each and every attempt ends in a segfault.
Same here. I tried the update linked now in the opening post, copying the Data folder into mine and the binary files into the main Overgrowth folder. The game menu starts, but the game crashes while loading level 1+2. Level 3 fails to load giving an error window "Bad xml data in level fileData/Levels/Challenge/tree_canyon_summer.xml".

Downloading the full a201-1 now, even though without much hope that it will be different.

edit: Same results with the full download. Level 1+2 crash with segfaults, level 3 gives the xml error.
[+] My system specs
Report version: 2
MEM: Total memory: 7986 MB
MEM: Free memory: 4469 MB
CPU: Number of cores: 3
CPU: Mhz: 2900
CPU: Model: Athlon
CPU: Vendor: AMD
SYS: name: Linux
SYS: version: 3.2.0-39-generic
SYS: arch: x86_64
SYS: machine: x86_64
SYS: description: Ubuntu 12.04
SYS: patch_level: unknown
SYS: vendor: Ubuntu
SYS: vendor_name: Linux
SYS: vendor_version: 12.04

Vendor: NVIDIA
GL_Renderer: GeForce 9800 GT/PCIe/SSE2
GL_Version: 3.3.0 NVIDIA 304.64
Driver version: unknown
VRAM: 512 MB
GLSL_Version: 3.30 NVIDIA via Cg compiler
Shader Model: 4.0 or better

Maximum uniform vertex vec4s: 512
Maximum uniform fragment vec4s: 1024
Maximum vertex attributes: 16
Maximum varying vec4s: 15
Maximum vertex texture samplers: 32
Maximum fragment texture samplers: 32

Benchmarks (higher is better)
Geometry VA: 120
Geometry VBO: 273
Simple fillrate: 101

User avatar
Akien
Posts: 20
Joined: Mon Jan 05, 2009 6:57 pm
Location: Denmark
Contact:

Re: Overgrowth Linux problems and their solutions/workaround

Post by Akien » Sun Oct 27, 2013 9:14 am

Vangrew wrote:Same results with the full download. Level 1+2 crash with segfaults, level 3 gives the xml error.
Same here on Mageia 4 (well the development release, since the stable 4 is due for February). The issue with level 3 is a path issue IIRC, a lower-case letter where it should be upper-case, or something like that. But it still segfaults even when you fix the path.

I guess this log in a terminal:

Code: Select all

[akien@cauldron Overgrowth]$ ~/Documents/primus/primusrun ./Overgrowth.bin.x86_64 
Video drivers: x11, dummy
Initialized video driver: x11
RGBA bits, depth: 8 8 8 8, 24
Anti-aliasing samples: 0
V-Sync: 8
192 texture units supported.
GL_MAX_VERTEX_UNIFORM_COMPONENTS: 4096
0 SDL joysticks found
Hardware threads: 4
Gtk-Message: Failed to load module "canberra-gtk-module"
libpng warning: Application built with libpng-1.2.49 but running with 1.5.9
libpng warning: Application built with libpng-1.2.49 but running with 1.5.9
Finished loading tooltip.html in 90 ms
Finished loading mainmenu/menu.html in 370 ms
libpng warning: Application built with libpng-1.2.49 but running with 1.5.9
libpng warning: Application built with libpng-1.2.49 but running with 1.5.9
*****************
Calculating detail textures
Segmentation fault
(I run it with my own build of primusrun to handle my Optimus graphics card, but it fails just the same with optirun and with my Intel HD Graphics chipset).

There is this libpng warning which could suggest a cause to the issue, but I can't tell for sure. I do have libpng-1.2.50 installed on my system BTW, alongside libpng-1.6.6, so I don't really understand this message about running with 1.5.9. Any launch option available to get more verbosity regarding the segfault?

gnurdux
Posts: 48
Joined: Sun Mar 04, 2012 6:24 am

Re: Overgrowth Linux problems and their solutions/workaround

Post by gnurdux » Sun Oct 27, 2013 6:36 pm

One way to get more information about segfaults is just to run in gdb.

Nerdheart
Posts: 1
Joined: Mon Nov 18, 2013 2:49 pm

Re: Overgrowth Linux problems and their solutions/workaround

Post by Nerdheart » Wed Nov 20, 2013 4:37 pm

Sadly I have the same problem, as decribed above. Has somebody solved it yet??
I use Kubuntu with an optimus setup.

User avatar
Kcool1OO
Posts: 1
Joined: Sun Nov 03, 2013 8:37 pm

Re: Overgrowth Linux problems and their solutions/workaround

Post by Kcool1OO » Thu Nov 28, 2013 2:29 am

EDIT: SCRIPT NO LONGER WORKS , OG updated and changed how the #version stuff works, and removed the need to add the version number on the top of all .vert and .frag files, but he arose another problem that I do not know how to fix... By the way this is tommydrum, I made this before I bought OG myself (no money back then).

Tested on my Laptop (ubuntu 14.04 beta, Intel HD 3000, updated graphics from 01.org/linuxgraphics )

For informational purposes:

So.. I hacked up a script for Ubuntu (and other debian based OS's) to import the version to all .vert and .frag files. Finally made it work on my laptop with ubuntu gnome on intel graphics.

so.. you want those scripts..

You will need 3 files: header.txt, vert.sh, and frag.sh. Place those files in /Overgrowth/Data/GLSL/. For now just copy those files to your clipboard.

DOWNLOAD
https://www.dropbox.com/s/wiru54iwit3p0iz/header.txt
https://www.dropbox.com/s/7uec0xaldayedmu/frag.sh
https://www.dropbox.com/s/l2s9551yloy43zz/vert.sh
INSTALLATION

To copy it there, you might need to be root to do so, so ctrl-t this guy up.

Code: Select all

gksudo nautilus
once that's up, navigate to your Overgrowth folder, default is /usr/local/Games/Overgrowth/ then go further to /Data/GLSL. Once you see all those files, right click on the side white space, and paste the 3 files there. Close the window.
Now..

Code: Select all

sudo -i
to keep terminal root'ed

Code: Select all

cd /usr/local/Games/Overgrowth/Data/GLSL
or wherever you have OG installed

Code: Select all

chmod a+x vert.sh

Code: Select all

chmod a+x frag.sh

Code: Select all

./frag.sh

Code: Select all

./vert.sh

Code: Select all

rm -rf vert.sh frag.sh header.txt
for cleanup

Now it should work :)
Notice, level 3 still gets XML error, that is unrelated.
Tell me if anything went haywire please? This should work on all versions/distros of Ubuntu, as well as other debian based OS's

EDIT Repeating, this no longer works, if you accidently installed this anyways, I made an undo script below. Just chmod a+x it and execute it inside the GLSL directory. https://www.dropbox.com/s/s5pz02e2qosz3qk/undo.sh
Last edited by Kcool1OO on Wed Apr 02, 2014 1:00 pm, edited 2 times in total.

Groenendael72
Posts: 35
Joined: Tue Jun 18, 2013 4:47 pm
Location: Somewhere Else
Contact:

Re: Overgrowth Linux problems and their solutions/workaround

Post by Groenendael72 » Sat Nov 30, 2013 5:28 pm

Trying to install overgrowth again, and the installer freezes when it says:

Execute: dpkg-deb -z1 -b /tmp/selfgz11261/deb/ /tmp/selfgz11261/pkg.deb

dpkg-deb: building package `overgrowth' in `/tmp/selfgz11261/pkg.deb'.

Any help?

EDIT: nevermind, i just came back after about 15 minutes and it worked perfect. Talk about irony.

EisenSheng
Posts: 1
Joined: Sat Dec 01, 2012 8:45 am

Re: Overgrowth Linux problems and their solutions/workaround

Post by EisenSheng » Sun Dec 08, 2013 12:11 am

I'm trying to play overgrowth a203 on archlinux here but I'm experiencing texture issues: <http://imgur.com/a/3oI1p>. The menu works fine (blame scrot for the black box on the left) but it looks like it's missing all the textures ingame and in the editor. The editor itself is working fine again on the other hand, controls are rendered properly. The skybox also looks right.

I've also tried the glsl v130 fix just to see if it solves the issue. But the textures are still missing.

System:
AMD Phenom(tm) II X2 550 2 cores, max 3,10ghz
16GB ram
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 560/PCIe/SSE2
OpenGL core profile version string: 4.3.0 NVIDIA 331.20
OpenGL core profile shading language version string: 4.30 NVIDIA via Cg compiler
OpenGL version string: 4.4.0 NVIDIA 331.20
OpenGL shading language version string: 4.40 NVIDIA via Cg compiler

User avatar
EuPhobos
Posts: 4
Joined: Thu Feb 07, 2013 3:58 am

Re: Overgrowth Linux problems and their solutions/workaround

Post by EuPhobos » Sun Dec 08, 2013 10:53 am

EisenSheng wrote:I'm trying to play overgrowth a203 on archlinux here but I'm experiencing texture issues: <http://imgur.com/a/3oI1p>. The menu works fine (blame scrot for the black box on the left) but it looks like it's missing all the textures ingame and in the editor. The editor itself is working fine again on the other hand, controls are rendered properly. The skybox also looks right.

I've also tried the glsl v130 fix just to see if it solves the issue. But the textures are still missing.

System:
AMD Phenom(tm) II X2 550 2 cores, max 3,10ghz
16GB ram
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 560/PCIe/SSE2
OpenGL core profile version string: 4.3.0 NVIDIA 331.20
OpenGL core profile shading language version string: 4.30 NVIDIA via Cg compiler
OpenGL version string: 4.4.0 NVIDIA 331.20
OpenGL shading language version string: 4.40 NVIDIA via Cg compiler
Same problem and same Video Driver, but i running on Debian Wheezy and GoForce GTX 680, i have about 300 FPS but all black in alpha 204

gnurdux
Posts: 48
Joined: Sun Mar 04, 2012 6:24 am

Re: Overgrowth Linux problems and their solutions/workaround

Post by gnurdux » Sun Dec 08, 2013 6:56 pm

Texture issues can be caused by missing S3TC support, but that shouldn't happen for the proprietary driver...

sergei
Posts: 3
Joined: Fri Mar 18, 2011 6:41 am

Re: Overgrowth Linux problems and their solutions/workaround

Post by sergei » Wed Dec 18, 2013 11:33 am

I also have black texture everywhere in game but i have an ati HD6950 with latest beta catalyst driver.

it's like that since the first linux build,2 or 3 build later the rabbit went reverse,head on the floor and feet on the sky,then other build came and it was segfaulting,until today i tryed it on steam and now it's like the first build.

Smeat
Posts: 2
Joined: Wed Jan 06, 2010 2:18 pm

Re: Overgrowth Linux problems and their solutions/workaround

Post by Smeat » Wed Dec 18, 2013 12:36 pm

Setting LC_ALL=en_US fixed the black textures for me.
But in some Levels (e.g. Desert Outpost) I get a segmentation fault:

Code: Select all

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xe5954b40 (LWP 5812)]
0x08650528 in btQuantizedBvh::buildTree(int, int) ()
#0  0x08650528 in btQuantizedBvh::buildTree(int, int) ()
#1  0x086356c2 in btOptimizedBvh::build(btStridingMeshInterface*, bool, btVector3 const&, btVector3 const&) ()
#2  0x0862de86 in btBvhTriangleMeshShape::btBvhTriangleMeshShape(btStridingMeshInterface*, bool, bool) ()
#3  0x083a2296 in BulletWorld::CreateMeshShape(Model const*, ShapeDisposalData&) ()
#4  0x083a41fa in BulletWorld::CreateStaticMesh(Model const*, int, unsigned char) ()
#5  0x0836b013 in EnvObject::CreatePhysicsShape() ()
#6  0x0836d7a8 in EnvObject::Initialize() ()
#7  0x081a2ef7 in ActorsEditor::AddEntity(EditableEntity*, bool, bool, bool) ()
#8  0x081bbfc7 in MapEditor::AddEntityFromDesc(EntityDescription const&, bool)
    ()
#9  0x0840daca in LevelLoader::LoadLevel(std::string const&, SceneGraph&) ()
#10 0x08307865 in Engine::LoadLevelData(std::string const&) ()
#11 0x0830a5af in boost::detail::thread_data<boost::_bi::bind_t<void, boost::_mfi::mf1<void, Engine, std::string const&>, boost::_bi::list2<boost::_bi::value<Engine*>, boost::_bi::value<std::string> > > >::run() ()
#12 0x0873a979 in thread_proxy ()
#13 0xf77b3db5 in start_thread (arg=0xe5954b40) at pthread_create.c:308
#14 0xf4da2f3e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:132

sergei
Posts: 3
Joined: Fri Mar 18, 2011 6:41 am

Re: Overgrowth Linux problems and their solutions/workaround

Post by sergei » Thu Dec 19, 2013 6:55 am

This is great,i have set LC_ALL=C %command% in steam launch options,thank you Smeat,this is the first time i could play with overgrowth,i'm happy.

decrypted
Posts: 2
Joined: Wed Dec 25, 2013 11:20 pm

Re: Overgrowth Linux problems and their solutions/workaround

Post by decrypted » Wed Dec 25, 2013 11:43 pm

When I try to run over growth on Ubuntu 12.04.3 I get this:
Failed to execute child process "/usr/games/Overgrowth/overgrowth.bin.x86_64" (No such file or directory
The file is there, How I'm I getting this error? Please help!

gnurdux
Posts: 48
Joined: Sun Mar 04, 2012 6:24 am

Re: Overgrowth Linux problems and their solutions/workaround

Post by gnurdux » Sun Dec 29, 2013 10:22 am

The file is actually called Overgrowth.bin.x86_64 (note the capital O). If there's a shortcut that you're using, change it to have the capital O and it should work (or just run the executable directly).

foxracinginc
Posts: 1
Joined: Sat Feb 23, 2013 6:56 pm

Re: Overgrowth Linux problems and their solutions/workaround

Post by foxracinginc » Wed Jan 01, 2014 4:42 pm

i'm trying to run Overgrowth on Ubuntu 13.10 ... downloaded via Steam - but it keeps crashing right after the loading screen (white wolfire logo). first two maps take me back to the desktop, third one makes that .xml error pop up. already tried modifying the .vert and .frag files via Kcool1OO's scripts - didn't help.
the a204 download version from humblebundle.com (.sh installer) started up fine but all the textures were missing so i tried the steam version. i'd prefer to get the steam version up and running instead of going back to the manually downloaded version and fixing the texture issues :wink:

ubuntu 13.10 x64
intel core i7 920 @ 3.4 ghz
asus p6t ws pro x58
gtx570 dual sli
6gb ddr3
Last edited by foxracinginc on Thu Jan 02, 2014 11:29 am, edited 1 time in total.

Post Reply