Page 1 of 1

[Linux] Game crashes immediately after opening (SOLVED)

Posted: Tue Jan 29, 2013 3:31 am
by uhohjonah
So I got this game with the Humble Indie Bundle 7 and when I try and play it, it shows the starting screen and my cursor changes for a split second then it crashes and I'm back to my desktop. I really want to play this game so please help! Thanks in advance.

UPDATE: I found out that this isn't the only game that's doing this. Dungeon Defenders, another HIB 7 game, does the same thing. So I'm guessing it's a problem with my computer.

2ND UPDATE: I tried running the game in the terminal and this is the error message I got:

Code: Select all

[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

Re: [Linux] Game crashes immediately after opening

Posted: Tue Jan 29, 2013 2:21 pm
by Dr.Disaster
You should check your display drivers (and cards) supported OpenGL version. LoG requires 2.1 or better.

Re: [Linux] Game crashes immediately after opening

Posted: Tue Jan 29, 2013 2:46 pm
by antti
Check out the readme included with the Linux version. S3TC is required to run the game and you need to enable it with driconf

Re: [Linux] Game crashes immediately after opening

Posted: Tue Jan 29, 2013 11:30 pm
by uhohjonah
antti wrote:Check out the readme included with the Linux version. S3TC is required to run the game and you need to enable it with driconf
Oh yeah.. I had used driconf to enable S3TC so I could play Swords & Soldiers awhile back, but my computer screwed up (long story) and must've reverted back to the previous settings. The game works fine now. Thanks for reminding me.

Re: [Linux] Game crashes immediately after opening (SOLVED)

Posted: Mon Jun 10, 2013 5:12 pm
by Outlaw
Sorry to open again this post, but I'm having a similar problem here.
I installed Grimrock in my Ubuntu 12.04 LTS 64-bit with AMD k-125 and AMD 4250 hd.
The game works great on Windows, but here in Linux is a different story.
I already installed driconf, but there's not a single option to enable s3tc. Besides, all I could find for Ubuntu was "s2tc". Also, I don't know where to type this command "force_s3tc_enable=true" (I'm a noobie when it comes to Linux).
Any help will be greatly appreciated!

Re: [Linux] Game crashes immediately after opening (SOLVED)

Posted: Mon Jun 10, 2013 6:26 pm
by Sol_HSA
Heh, I hadn't heard of S2TC before, but basically it should(tm) do the trick. (This is not official advice, though)

Re: [Linux] Game crashes immediately after opening (SOLVED)

Posted: Mon Jun 10, 2013 9:12 pm
by Outlaw
Hi Sol, I thought it would, but no. Has anybody experienced this?

Re: [Linux] Game crashes immediately after opening (SOLVED)

Posted: Mon Jun 10, 2013 10:49 pm
by mannerov
You seems to run the open source radeon driver.
It doesn't include S3TC by default. However some packages can add it (like this one http://www.ubuntuupdates.org/package/xo ... ibtxc-dxtn)
After you'll need to set the right environment variable (for example set it in a terminal and launch the game via the terminal or force s3tc with driconf)

Re: [Linux] Game crashes immediately after opening (SOLVED)

Posted: Tue Jun 11, 2013 7:03 am
by Outlaw
Thanks Mannerov! I'll try this and then get back to you! Wish me luck! :)

Re: [Linux] Game crashes immediately after opening (SOLVED)

Posted: Tue Jun 11, 2013 2:56 pm
by Outlaw
First of all, yes, I am running the Radeon open drivers (Gallium I think).
I followed your advice and installed the "libtxc-dxtn-s2tc0" package. I've had already the "libtxc-dxtn-s2tc-bin" and the "libtxc-dxtn-s2tc0:i386" packages.
So, thanks to libtxc-dxtn-s2tc0, the game finally worked! :D Nevertheless, the mouse cursor appears as abox now, but the rest of the game looks great.
Thanks a lot for your help Mannerov! Sol, you too!

Cheers!