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
GLSL shader not working!
GrayChild Offline
Junior Member

Posts: 19
Threads: 2
Joined: Feb 2008
Reputation: 0
#1
Solved: 8 Years, 8 Months, 3 Weeks ago GLSL shader not working!

When I try to run the demo, I get the following lines in the log file:

Initializing Graphics Module
--------------------------------------------------------
Setting video mode: 1024 x 768 - 32 bpp
Init Glew...OK
Setting up OpenGL
Vendor: ATI Technologies Inc.
Renderer: RADEON X550 x86/MMX/3DNow!/SSE2
Version: 2.0.5885 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: 0
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 'C:/Program Files/Amnesia - The Dark Descent Demo/redist/core/shaders/deferred_base_vtx.glsl'!


I'm running the game on Radeon X550 GFX (which I understand does not support Pixel Shader 3.0 and higher) with latest drivers. I've also installed the latest version of OpenAL and even tried to run the game on the lowest settings. Does Amnesia require the latest shader model?
09-03-2010, 06:10 PM
Find
Thomas Offline
Frictional Games

Posts: 2,634
Threads: 184
Joined: Apr 2006
Reputation: 68
#2
Solved: 8 Years, 8 Months, 3 Weeks ago RE: GLSL shader not working!

The X-series are really tricky with the drivers and I am not sure it is possible to solve. Right now your main problem that you are missing several important OpenGL features.

First thing: Try and find newer drivers. Or just try other drivers. See if that works.

If you still have problems, this might be of help:
The forum user "yhancik" solved it like this:
Quote:But to make it short
- installed older SiS GART drivers - not the most recent ones
(it activated AGP Write)

- uninstalled the ATI drivers
- used a drivers cleaner in safe mode (not sure if it's necessary)
- reboot
- switched my AGP speed from x8 to x4 (in the BIOS)
- reinstalled ATI drivers

Et voilà, AGP Read & Write, AGP Texture Acceleration (in dxdiag), all supported OpenGL extension activated and the Renderer test working Wink

Obviously the key is to install the graphic card drivers in the *right AGP conditions*, that is
- right GART drivers
- right AGP speed

For example, when I installed my drivers in AGP x8, I could run in x8 without problems (well except those mentioned earlier ;p). Switching to x4 never fixed anything.
But installed the drivers in x4 make it work. And if I try to switch to x8 afterward, I get a BSOD at startup !

Note that he had a newer card in the X-series though!

Perhaps that is of any help! I am not sure if all steps are really needed (like changing speed in bios)
(This post was last modified: 09-03-2010, 06:28 PM by Thomas.)
09-03-2010, 06:26 PM
Find
GrayChild Offline
Junior Member

Posts: 19
Threads: 2
Joined: Feb 2008
Reputation: 0
#3
Solved: 8 Years, 8 Months, 3 Weeks ago RE: GLSL shader not working!

Thanks a lot for your help!

I did everything, but the game still gives me the same error message. Oh well, now I have legitimate reason for an upgrade.
09-04-2010, 06:10 PM
Find




Users browsing this thread: 1 Guest(s)