Frictional Games Forum (read-only)

Full Version: System does not support const arrays in glsl
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Been looking through the troubleshooting guide and have not had much help. Also been working through, trying to find updated Intel drivers, but their site does not seem to want to help me find updates.

Here's what the hpl log file says:


Version 1.10
-------- THE HPL ENGINE LOG ------------
Engine build ID 20100818114615

Creating Engine Modules
--------------------------------------------------------
Creating graphics module
Creating system module
Creating resource module
Creating input module
Creating sound module
Creating physics module
Creating ai module
Creating gui module
Creating generate module
Creating haptic module
Creating scene module
--------------------------------------------------------

Initializing Resources Module
--------------------------------------------------------
Creating loader handlers
Creating resource managers
Adding loaders to handlers
--------------------------------------------------------

Initializing Graphics Module
--------------------------------------------------------
Init lowlevel graphics: 1024x768 bpp:32 fs:1 ms:0 gpufmt:2 cap:'Amnesia - The Dark Descent - Loading...' posSad-1x-1)
Setting video mode: 1024 x 768 - 32 bpp
Init Glew...OK
Setting up OpenGL
Vendor: Intel
Renderer: Intel® HD Graphics
Version: 2.1.0 - Build 8.15.10.2119
Max texture image units: 16
Max texture coord units: 8
Max user clip planes: 6
Two sided stencil: 1
Vertex Buffer Object: 1
Anisotropic filtering: 1
Max Anisotropic degree: 2
Multisampling: 1
Texture compression: 1
Texture compression S3TC: 1
Auto generate MipMaps: 1
Render to texture: 1
Max draw buffers: 8
Max color render targets: 8
Packed depth-stencil: 1
Texture float: 1
GLSL Version: 1.20 - Intel Build 8.15.10.2119
ShaderModel 2: 1
ShaderModel 3: 1
ShaderModel 4: 0
OGL ATIFragmentShader: 0
ATTENTION: System does not support const arrays in glsl!
Setting up G-Bugger: type: 0 texturenum: 3
I have the same Problem, but a different graphic card (x800 pro)
I will get a new PC soon anyway, but would like to play the game right now ;/ I think it's funny, that it says: "ShaderModel 3: 1", as far as i know, my card doesn't support shadermodel 3!

Here is my logfile:

Version 1.10
-------- THE HPL ENGINE LOG ------------
Engine build ID 20100818114615

Creating Engine Modules
--------------------------------------------------------
Creating graphics module
Creating system module
Creating resource module
Creating input module
Creating sound module
Creating physics module
Creating ai module
Creating gui module
Creating generate module
Creating haptic module
Creating scene module
--------------------------------------------------------

Initializing Resources Module
--------------------------------------------------------
Creating loader handlers
Creating resource managers
Adding loaders to handlers
--------------------------------------------------------

Initializing Graphics Module
--------------------------------------------------------
Init lowlevel graphics: 640x480 bpp:32 fs:0 ms:0 gpufmt:2 cap:'Amnesia - The Dark Descent - Loading...' posSad-1x-1)
Setting video mode: 640 x 480 - 32 bpp
Init Glew...OK
Setting up OpenGL
Vendor: ATI Technologies Inc.
Renderer: RADEON X800 PRO/GTO x86/MMX/3DNow!/SSE2
Version: 2.0.6458 WinXP Release
Max texture image units: 16
Max texture coord units: 8
Max user clip planes: 6
Two sided stencil: 1
Vertex Buffer Object: 1
Anisotropic filtering: 1
Max Anisotropic degree: 16
Multisampling: 1
Texture compression: 1
Texture compression S3TC: 1
Auto generate MipMaps: 1
Render to texture: 1
Max draw buffers: 4
Max color render targets: 4
Packed depth-stencil: 0
Texture float: 1
GLSL Version: 1.10
ShaderModel 2: 1
ShaderModel 3: 1
ShaderModel 4: 0
OGL ATIFragmentShader: 1
ATTENTION: System does not support const arrays in glsl!
ERROR: Failed to compile GLSL shader 'h:/steam/steamapps/common/amnesia the dark descent/core/shaders/deferred_base_vtx.glsl'!
The error seems pretty self explanatory. Your system doesn't support a necessary part of the game, and therefore it can't run.

One of you are on an intel graphics card, which are well known to be just awful, and the other is on an old ATI card that's pre shader 3.0, it's not really surprising that they don't support the game.
Well, according to the steam page, where i bought the game:
OS: Windows XP/Vista/7
Processor: 1.5Ghz - Low budget CPUs such as Celeron or Duron needs to be at about twice the CPU speed
Memory: 1 GB
Hard Drive: TBD
Graphics: Radeon 9600/GeForceFX - Integrated graphics and very low budget cards might not work.

And a Radeon 9600 is one or two generations below a x800 pro and a SM 2 card as well Wink
I dunno, so I'll just spew the usual :/

make sure your drivers are up to date, etc etc.
I get the same issue. Did all the suggestions to get to work on Intel card. I will return the game and refrain from buying any other frictional games.
Are you announcing it or making a help request?

Update Intel card (only Intel HD): http://www.frictionalgames.com/forum/thr...l#pid89162
Const arrays (Question 4): http://www.frictionalgames.com/forum/thread-11183.html

Also, check the specs of the game. Intel cards are not supported.
The person with a X800 - No clue why it doesn't work, my X600 does...

Try using OMEGA Drivers, it fixed it for me.