Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
System does not support const arrays in glsl
Aspectofbane Offline
Junior Member

Posts: 1
Threads: 1
Joined: Jan 2011
Reputation: 0
#1
Solved: 8 Years, 9 Months, 3 Weeks ago System does not support const arrays in glsl

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
01-01-2011, 05:28 AM
Find
svenone Offline
Junior Member

Posts: 2
Threads: 0
Joined: Jan 2011
Reputation: 0
#2
Solved: 8 Years, 9 Months, 3 Weeks ago RE: System does not support const arrays in glsl

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'!
01-01-2011, 02:57 PM
Find
Sel Offline
Senior Member

Posts: 276
Threads: 10
Joined: Dec 2010
Reputation: 3
#3
Solved: 8 Years, 9 Months, 3 Weeks ago RE: System does not support const arrays in 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.
(This post was last modified: 01-01-2011, 09:19 PM by Sel.)
01-01-2011, 09:19 PM
Find
svenone Offline
Junior Member

Posts: 2
Threads: 0
Joined: Jan 2011
Reputation: 0
#4
Solved: 8 Years, 9 Months, 3 Weeks ago RE: System does not support const arrays in glsl

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
01-02-2011, 12:04 PM
Find
Sel Offline
Senior Member

Posts: 276
Threads: 10
Joined: Dec 2010
Reputation: 3
#5
Solved: 8 Years, 9 Months, 3 Weeks ago RE: System does not support const arrays in glsl

I dunno, so I'll just spew the usual :/

make sure your drivers are up to date, etc etc.
01-02-2011, 12:40 PM
Find
twiggman Offline
Junior Member

Posts: 1
Threads: 0
Joined: Jan 2012
Reputation: 0
#6
Solved: 8 Years, 9 Months, 3 Weeks ago RE: System does not support const arrays in glsl

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.
01-29-2012, 04:03 AM
Find
plutomaniac Offline
Super Moderator

Posts: 6,368
Threads: 45
Joined: May 2011
Reputation: 183
#7
Solved: 8 Years, 9 Months, 3 Weeks ago RE: System does not support const arrays in glsl

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.
(This post was last modified: 01-29-2012, 08:20 AM by plutomaniac.)
01-29-2012, 08:20 AM
Find
RawkBandMan Offline
Posting Freak

Posts: 1,146
Threads: 35
Joined: Nov 2010
Reputation: 5
#8
Solved: 8 Years, 9 Months, 3 Weeks ago RE: System does not support const arrays in glsl

The person with a X800 - No clue why it doesn't work, my X600 does...

Try using OMEGA Drivers, it fixed it for me.

I've come to learn to not fear the living, nor the dead... But the monsters that hide in closets.
01-29-2012, 04:56 PM
Find




Users browsing this thread: 1 Guest(s)