[WINDOWS] Crash with Low Rendering

Have trouble running Grimrock 1 or you're wondering if your graphics card is supported? Look for help here.
FlashSoul
Posts: 125
Joined: Mon Apr 16, 2012 9:20 pm

[WINDOWS] Crash with Low Rendering

Post by FlashSoul »

Hi,

I got the Humble Indie Bundle 7 earlier today and decided to give Legend of Grimrock a try on Steam. I launched the game and got into the title screen. I decided to try it with full settings before switching to the low ones if need be. I went through the intro and got into the actual game, which was beautiful but too slow. I'm playing on a crappy laptop with an integrated graphic chipset from before they began being decent. It appears as "Mobile Intel(R) 4 Series Express Chipset Family" and, yes, my drivers are up-to-date. So in the options, I changed the rendering settings to "Low", leaving the texture quality to "High". Clicking on "Apply" resulted in... a crash. And not a very beautiful one as it triggered Vista (64 bits)'s Data Execution Prevention.

Changing the rendering settings of Legend of Grimrock to "Low" made it crash and now it crashes on launch every time too. I didn't figure out how to reset my settings without deleting the whole thing (and even then, with the cloud...). After a bit of research, I found about DXSETUP.exe and vcredist_x86.exe. Their execution went well but even after a reboot Legend of Grimrock still crashed on launch. I never got a message about a missing dll like I've seen often on my research and I strongly doubt it would be that. I plan to try with the standalone version from the bundle eventually. I could also install Ubuntu and try it there to see if it's only bound to a hardware problem.

Since I don't bring so much information I decided to give you a little extra. I started grimrock.exe in VS2010's debugger and let it go step-by-step through the machine code until it crashed. The video is available there :

http://www.youtube.com/watch?v=y9smumtKpXM

I'm not good enough to debug it directly from that without any knowledge of the codebase but maybe you can run it on your side and compare to identify the corresponding and offending section of source code.

Don't be shy if you have questions or requests and please keep me updated!

Also, merry Christmas :P.

FlashSoul

EDIT : I just noticed this topic made a little before me (viewtopic.php?f=12&t=4608) and this...
I have played the game before, but i have changed the graphics configuration.After it, the game dont work more
...looks quite similar to what happened to me. (And stop trying to dereference a null pointer!)
User avatar
Dr.Disaster
Posts: 2876
Joined: Wed Aug 15, 2012 11:48 am

Re: [WINDOWS] Crash with Low Rendering

Post by Dr.Disaster »

Either editing the grimrock.cfg back to high rendering quality or simply deleting the file should fix it.

I encountered this crash issue too but after me letting LoG re-create it's config file it works; check my report here: viewtopic.php?f=14&t=4530&start=20#p47934

EDIT
Of course you should have the latest grafics driver installed with OpenGL support, either from your laptop's manufacturer or intel. Dunno which OpenGL version this chip supports but you can check that with the tool "GPU Shark" from http://www.geeks3d.com.
FlashSoul
Posts: 125
Joined: Mon Apr 16, 2012 9:20 pm

Re: [WINDOWS] Crash with Low Rendering

Post by FlashSoul »

Searching for a config file is the first thing I did. However, I did not find it on C:\Program Files (x86)\Steam\steamapps\common\Legend of Grimrock . I know Steam could be hiding it somewhere else but I realized that even if I could find it and reset my settings I would still be unable to play as the "High" rendering is gamebreakingly slow. So this is not a good solution for me. Thanks for the help though.

@petri : (if you happen to read that) I can play other games using OpenGL such as Quake Live so the problem probably isn't from there (unless it's only a problem with stuff beyond version X of OpenGL which I could not have support for).
User avatar
Dr.Disaster
Posts: 2876
Joined: Wed Aug 15, 2012 11:48 am

Re: [WINDOWS] Crash with Low Rendering

Post by Dr.Disaster »

LoG does not place it's config file, savegames and custom dungeons/portaits in the steam directory. Check your My Documents folder. There is a folder named "Almost Human" with everything regarding LoG.

What you can try is setting both render quality AND texture resolution to "Low". If this setting works, try to work your settings up from there, notch by notch.
User avatar
steyrhahn
Posts: 85
Joined: Tue Sep 04, 2012 7:02 pm
Location: Georgia, USA
Contact:

Re: [WINDOWS] Crash with Low Rendering

Post by steyrhahn »

steam copies a version of directx into each games directory tree. so each game might use different versions
FlashSoul
Posts: 125
Joined: Mon Apr 16, 2012 9:20 pm

Re: [WINDOWS] Crash with Low Rendering

Post by FlashSoul »

Low rendering with Low textures has the same result. However, High rendering with Low everywhere else works and seem playable... let's hope it will remain so when I will face monsters/animations!
Thanks.
theruler
Posts: 70
Joined: Sun Apr 15, 2012 11:19 am

Re: [WINDOWS] Crash with Low Rendering

Post by theruler »

I have a crappy intel 965 on my laptop (I play Grimrock on another PC with decent hardware, though), and setting to low crashes the game the same way (memory could not be "read"). Setting all parameters to low but rendering works fine. Deleting and recreating the cfg didn't do the trick.
OpenGL and pixelshader 3 are both supported by 965 chip family, so OpenGL "could not be" the issue.

Regards.
CanOfBees
Posts: 1
Joined: Fri Dec 28, 2012 10:53 pm

Re: [WINDOWS] Crash with Low Rendering

Post by CanOfBees »

Hi all,
I'm experiencing the same problem as theruler, same hardware (Intel 965). I can't seem to get the settings low enough for the mushroom fight at the beginning of level 4.

Best,
CoB

Edit: here's the Windows error message
Problem signature:
Problem Event Name: BEX
Application Name: grimrock.exe
Application Version: 0.0.0.0
Application Timestamp: 50d17274
Fault Module Name: StackHash_0a9e
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 00000000
Exception Offset: 00000000
Exception Code: c0000005
Exception Data: 00000008
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
assassints11
Posts: 1
Joined: Wed Jan 02, 2013 1:26 am

Re: [WINDOWS] Crash with Low Rendering

Post by assassints11 »

i had the same problem, i deleted the cfg file and it worked. I have vista 64 too, it might be that that is causing a problem.
FlashSoul
Posts: 125
Joined: Mon Apr 16, 2012 9:20 pm

Re: [WINDOWS] Crash with Low Rendering

Post by FlashSoul »

I should add that I did install Ubuntu on my system and that Low rendering works fine there.
Post Reply