puklaus's picture

Errors with linux

Project:The Open Toolkit library
Version:1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:open
Description

Installed Kubuntu 10.10, installed ATI (amd) closed source display drivers, downloaded opentk from svn and got few erros:

Sample browser's Swizzled Parallax Mapping:

16 TMU's for Fragment Shaders found. (2 required)
64 varying floats between VS and FS allowed. (6 required)
16384 uniform components allowed in Vertex Shader. (6 required)
16384 uniform components allowed in Fragment Shader. (11 required)
 
Vertex Shader compiled without complaint.
Fragment Shader failed!
Log:
Fragment shader failed to compile with the following errors:
ERROR: 0:? : error(#167) Only allowed at global scope uniform
ERROR: 0:56: error(#131) Syntax error: pre-mature EOF parse error
ERROR: error(#273) 2 compilation errors.  No code generated
 
 
Linking Program (3) FAILED!
Program Log:
Fragment shader(s) were not successfully compiled before glLinkProgram() was called.  Link failed. 
 
Program registered 0 Attributes. (Should be 4: Pos, UV, Normal, Tangent)
Tangent attribute bind location: -1
End of Shader build. GL Error: InvalidOperation
Loaded Data/Textures/swizzled-rock-diffuse-height.dds with handle 1 as Texture2D
Loaded Data/Textures/swizzled-rock-normal-gloss.dds with handle 2 as Texture2D
End of Texture Loading. GL Error: NoError

------
OpenGL Extensions demo just stops.
It says 'processing... (pelase be patient)' but it does not go on.

------

OpenGL Diagnostics demo:

16 TMU's for Fragment Shaders found. (2 required)
64 varying floats between VS and FS allowed. (6 required)
16384 uniform components allowed in Vertex Shader. (6 required)
16384 uniform components allowed in Fragment Shader. (11 required)
 
Vertex Shader compiled without complaint.
Fragment Shader failed!
Log:
Fragment shader failed to compile with the following errors:
ERROR: 0:? : error(#167) Only allowed at global scope uniform
ERROR: 0:56: error(#131) Syntax error: pre-mature EOF parse error
ERROR: error(#273) 2 compilation errors.  No code generated
 
 
Linking Program (3) FAILED!
Program Log:
Fragment shader(s) were not successfully compiled before glLinkProgram() was called.  Link failed. 
 
Program registered 0 Attributes. (Should be 4: Pos, UV, Normal, Tangent)
Tangent attribute bind location: -1
End of Shader build. GL Error: InvalidOperation
Loaded Data/Textures/swizzled-rock-diffuse-height.dds with handle 1 as Texture2D
Loaded Data/Textures/swizzled-rock-normal-gloss.dds with handle 2 as Texture2D
End of Texture Loading. GL Error: NoError
 
Vertex Shader compiled without complaint.
Fragment Shader compiled without complaint.
Vertex Shader compiled without complaint.
Fragment Shader compiled without complaint.
Linking Program (3) succeeded.
Program registered 2 Attributes. (Should be 4: Pos, UV, Normal, Tangent)
Tangent attribute bind location: -1
End of Shader build. GL Error: NoError
Loaded Data/Textures/earth-cubemap.dds with handle 1 as TextureCubeMap
End of Texture Loading. GL Error: NoError
 
Vendor: ATI Technologies Inc.
Renderer: ATI Radeon HD 4800 Series 
GL Version: 3.1.10237 Compatibility Profile Context
MajorVersion: 3
MinorVersion: 1
GLSL Version: 3.30
Extensions: 
.
.
.

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
puklaus's picture

#1

One more, I forgot, text demo does not work on ATI open source drivers, shows just white window. Works fine with closed source drivers.

the Fiddler's picture

#2

  • Sample browser's Swizzled Parallax Mapping
    This looks like an encoding issue, let me take a look.
  • text demo does not work on ATI open source drivers
    I happen to have an Arch installation with the open drivers (R600c, 4850), let me check what happens there.
  • OpenGL extension demo just stops
    This is a WinForms performance issue, nothing we can do about it (other than warn when this sample is launched on Mono).

What card are you using?

puklaus's picture

#3

ATI Radeon HD4870 with closed source drivers,
Radeon X600 with open source drivers (both computers uses kubuntu 10.10)