[Linux] Game crashes immediately after opening (SOLVED)

Have trouble running Grimrock 1 or you're wondering if your graphics card is supported? Look for help here.
Post Reply
uhohjonah
Posts: 2
Joined: Tue Jan 29, 2013 3:22 am

[Linux] Game crashes immediately after opening (SOLVED)

Post 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
Last edited by uhohjonah on Tue Jan 29, 2013 11:31 pm, edited 1 time in total.
User avatar
Dr.Disaster
Posts: 2876
Joined: Wed Aug 15, 2012 11:48 am

Re: [Linux] Game crashes immediately after opening

Post by Dr.Disaster »

You should check your display drivers (and cards) supported OpenGL version. LoG requires 2.1 or better.
User avatar
antti
Posts: 688
Joined: Thu Feb 23, 2012 1:43 pm
Location: Espoo, Finland
Contact:

Re: [Linux] Game crashes immediately after opening

Post 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
Steven Seagal of gaming industry
uhohjonah
Posts: 2
Joined: Tue Jan 29, 2013 3:22 am

Re: [Linux] Game crashes immediately after opening

Post 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.
Outlaw
Posts: 11
Joined: Sun Apr 15, 2012 5:13 am

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

Post 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!
User avatar
Sol_HSA
Posts: 681
Joined: Fri Mar 02, 2012 3:10 pm
Location: Nowhere whenever
Contact:

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

Post 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)
Reminder: moderators (green names) don't work for almost human. | http://iki.fi/sol/ - My schtuphh..
Outlaw
Posts: 11
Joined: Sun Apr 15, 2012 5:13 am

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

Post by Outlaw »

Hi Sol, I thought it would, but no. Has anybody experienced this?
mannerov
Posts: 3
Joined: Mon Jun 03, 2013 2:54 pm

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

Post 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)
Outlaw
Posts: 11
Joined: Sun Apr 15, 2012 5:13 am

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

Post by Outlaw »

Thanks Mannerov! I'll try this and then get back to you! Wish me luck! :)
Outlaw
Posts: 11
Joined: Sun Apr 15, 2012 5:13 am

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

Post 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!
Post Reply