Error Starting Game [ Linux - Ubuntu 12.04 ]

Have trouble running Grimrock 1 or you're wondering if your graphics card is supported? Look for help here.
Post Reply
flip387
Posts: 2
Joined: Thu Dec 20, 2012 2:37 am

Error Starting Game [ Linux - Ubuntu 12.04 ]

Post by flip387 » Thu Dec 20, 2012 2:41 am

Greetings,

I just purchased Legend of Grimrock via the Humble Bundle,
however after a successful installation the game will not start:

Code: Select all

$ Grimrock.bin.x86_64 
terminate called after throwing an instance of 'core::FileOpenFailedException'
Aborted (core dumped)

Code: Select all

$ ldd /usr/local/games/Grimrock/Grimrock.bin.x86_64 
	linux-vdso.so.1 =>  (0x00007fffcd9ff000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fa21fe38000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fa21fc34000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fa21fa2b000)
	libfreeimage.so.3 => /usr/local/games/Grimrock/lib64/libfreeimage.so.3 (0x00007fa21f4fb000)
	libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007fa21f25f000)
	libminizip.so.1 => /usr/local/games/Grimrock/lib64/libminizip.so.1 (0x00007fa21f055000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fa21ee3e000)
	libopenal.so.1 => /usr/lib/x86_64-linux-gnu/libopenal.so.1 (0x00007fa21ebee000)
	libvorbisfile.so.3 => /usr/lib/x86_64-linux-gnu/libvorbisfile.so.3 (0x00007fa21e9e5000)
	libGL.so.1 => /usr/lib/nvidia-experimental-310/libGL.so.1 (0x00007fa21e6c3000)
	libSDL2-2.0.so.0 => /usr/local/games/Grimrock/lib64/libSDL2-2.0.so.0 (0x00007fa21e3db000)
	libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007fa21e0a6000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fa21dda6000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fa21daaa000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fa21d893000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fa21d4d4000)
	/lib64/ld-linux-x86-64.so.2 (0x00007fa220073000)
	libvorbis.so.0 => /usr/lib/x86_64-linux-gnu/libvorbis.so.0 (0x00007fa21d2a7000)
	libogg.so.0 => /usr/lib/x86_64-linux-gnu/libogg.so.0 (0x00007fa21d0a0000)
	libnvidia-tls.so.310.14 => /usr/lib/nvidia-experimental-310/tls/libnvidia-tls.so.310.14 (0x00007fa21ce9d000)
	libnvidia-glcore.so.310.14 => /usr/lib/nvidia-experimental-310/libnvidia-glcore.so.310.14 (0x00007fa21a9a8000)
	libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007fa21a797000)
	libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007fa21a579000)
	libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007fa21a375000)
	libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007fa21a16f000)

Code: Select all

$ cat /etc/*release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.1 LTS"
NAME="Ubuntu"
VERSION="12.04.1 LTS, Precise Pangolin"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu precise (12.04.1 LTS)"
VERSION_ID="12.04"

Code: Select all

$ dpkg --get-selections | grep -i nvidia
nvidia-common					install
nvidia-current					deinstall
nvidia-experimental-310				install
nvidia-settings					deinstall
nvidia-settings-experimental-304		deinstall
nvidia-settings-experimental-310		install
Thanks for your help.

Hayduke
Posts: 3
Joined: Thu Dec 20, 2012 3:58 am

Re: Error Starting Game [ Linux - Ubuntu 12.04 ]

Post by Hayduke » Thu Dec 20, 2012 4:05 am

Similar problem here.
Linux Mint 13 Maya
Kernel 3.4.5-030405-generic (x86_64)
Processor : 4x Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz
Memory : 7879MB (4355MB used)
-Display-
Resolution : 1920x1200 pixels
OpenGL Renderer : Mesa DRI Intel(R) Ivybridge Desktop
-------------

error log:

[string "CustomMaterials.lua"]:0: GL error: glCompressedTexImage2D failed (GL_INVALID_ENUM 0x0500)
stack traceback:
[C]: in function 'load'
[string "CustomMaterials.lua"]: in function 'create'
[string "Grimrock.lua"]: in function 'init'
[string "Grimrock.lua"]: in main chunk
[C]: in function 'require'
init.lua: in main chunk

VonIdler
Posts: 2
Joined: Thu Dec 20, 2012 10:20 am

Re: Error Starting Game [ Linux - Ubuntu 12.04 ]

Post by VonIdler » Thu Dec 20, 2012 10:34 am

Had this issue too and figured out the solution. They forgot to include the path in the desktop configuration file. The game works fine if you navigate to /usr/local/games/Grimrock/ and launch the game in a terminal or with your file manager. You can also edit the Legend of Grimrock configuration file in /usr/share/applications to include "Path=/usr/local/games/Grimrock/" and this will allow it to launch from the menu.

flip387
Posts: 2
Joined: Thu Dec 20, 2012 2:37 am

Re: Error Starting Game [ Linux - Ubuntu 12.04 ]

Post by flip387 » Thu Dec 20, 2012 3:00 pm

VonIdler wrote:Had this issue too and figured out the solution. They forgot to include the path in the desktop configuration file. The game works fine if you navigate to /usr/local/games/Grimrock/ and launch the game in a terminal or with your file manager. You can also edit the Legend of Grimrock configuration file in /usr/share/applications to include "Path=/usr/local/games/Grimrock/" and this will allow it to launch from the menu.
Well that indeed appeared to be the issue! Thanks.

My Solution:

Code: Select all

$ which Grimrock.bin.x86_64 
/usr/local/bin/Grimrock.bin.x86_64

Code: Select all

$ cat /usr/local/bin/Grimrock.bin.x86_64
#!/bin/sh
LD_LIBRARY_PATH="/usr/local/games/Grimrock/lib:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH
exec /usr/local/games/Grimrock/Grimrock.bin.x86_64  "$@"

Code: Select all

$ cd /usr/local/games/Grimrock/
$ ./Grimrock.bin.x86_64 
I'll fix the shortcut next, but once again thanks for your help!!

Hayduke
Posts: 3
Joined: Thu Dec 20, 2012 3:58 am

Re: Error Starting Game [ Linux - Ubuntu 12.04 ]

Post by Hayduke » Thu Dec 20, 2012 4:15 pm

My problem must be different. Same result from /usr/local/games/Grimrock

cldunlap
Posts: 1
Joined: Thu Dec 20, 2012 7:38 pm

Re: Error Starting Game [ Linux - Ubuntu 12.04 ]

Post by cldunlap » Thu Dec 20, 2012 7:39 pm

my Grimrock.desktop file was in /usr/local/share/applications/ if anyone is having trouble locating theirs.

VonIdler
Posts: 2
Joined: Thu Dec 20, 2012 10:20 am

Re: Error Starting Game [ Linux - Ubuntu 12.04 ]

Post by VonIdler » Thu Dec 20, 2012 7:49 pm

Hayduke wrote:My problem must be different. Same result from /usr/local/games/Grimrock
I can't say for sure, but I would assume the issue pertains to you using integrated HD 4000 graphics. I'd try downloading the live image of Mint 14 and giving that a shot as it provides a newer kernel and version of Mesa that both have had lots of work done in regards to Ivy Bridge drivers.

User avatar
antti
Posts: 684
Joined: Thu Feb 23, 2012 1:43 pm
Location: Espoo, Finland
Contact:

Re: Error Starting Game [ Linux - Ubuntu 12.04 ]

Post by antti » Thu Dec 20, 2012 7:52 pm

The bug in the first post (core::FileOpenFailedException) is being worked on and Hayduke's issue (GL error: glCompressedTexImage2D failed) has already been resolved and the fix will be included in the next build.
Steven Seagal of gaming industry

Hayduke
Posts: 3
Joined: Thu Dec 20, 2012 3:58 am

Re: Error Starting Game [ Linux - Ubuntu 12.04 ]

Post by Hayduke » Thu Dec 20, 2012 10:58 pm

antti wrote:... Hayduke's issue (GL error: glCompressedTexImage2D failed) has already been resolved and the fix will be included in the next build.
Thanks! Any ETA on that release and where do I look for it?

User avatar
antti
Posts: 684
Joined: Thu Feb 23, 2012 1:43 pm
Location: Espoo, Finland
Contact:

Re: Error Starting Game [ Linux - Ubuntu 12.04 ]

Post by antti » Fri Dec 21, 2012 8:34 am

Hayduke wrote:
antti wrote:... Hayduke's issue (GL error: glCompressedTexImage2D failed) has already been resolved and the fix will be included in the next build.
Thanks! Any ETA on that release and where do I look for it?
Dang it, I misread things from our bug tracker... This actually is an issue that, if you have opensource drivers, you need to enable S3TC via driconf.
Steven Seagal of gaming industry

Post Reply