Inertia's picture

Intel HD4000 GL 3.3 driver

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

All OpenGL Examples run fine except:

  1. Julia Set
    Both SM 2.0 and 3.0 Shaders fail to compile, the shader and error logs read "No error". Very likely a problem with the driver's shader compiler.
  2. Picking
    In OnRenderFrame() InvalidEnums are thrown unless these 2 changes are made
    GL.Enable(EnableCap.ColorArray); must be GL.EnableClientState(EnableCap.ColorArray);
    GL.Disable(EnableCap.ColorArray); must be GL.DisableClientState(EnableCap.ColorArray);
    with these changes picking works as intended, according to GL spec GL.Enable(EnableCap.ColorArray) should actually throw on AMD/NV too.
  3. Examples using Geometry Shader report that EXT_Geometry_Shader4 is not present and abort. However the driver supports GL_ARB_geometry_shader4.

Here's a full log of GLDiagnostics.cs, may prove useful as a quick lookup for supported extensions / texture formats etc.

Detected configuration: Windows / .Net
DisplayDevice 1 (primary) supports 660 resolutions.
Creating default GraphicsMode (32, 16, 0, 0, 0, 2, False).
Creating GraphicsContext.
    GraphicsMode: Index: 2, Color: 0 (0000), Depth: 0, Stencil: 0, Samples: 0, Accum: 0 (0000), Buffers: 2, Stereo: False
    IWindowInfo: Windows.WindowInfo: Handle 6358080, Parent (Windows.WindowInfo: Handle 2884848, Parent (null))
    GraphicsContextFlags: Default
    Requested version: 1.0
    Loaded opengl32.dll: 8791498948608
    OpenGL will be bound to window:6358080 on thread:9
    Setting pixel format... 2
    Creating temporary context for wgl extensions.
    Load extensions for OpenTK.Platform.Windows.Wgl... 45 extensions loaded in 11 ms.
    Using WGL_ARB_create_context... success! (id: 131072)
Retrieving ARB pixel formats.... Disposing context 131072.
Device context: 1157697378
Retrieving PFD pixel formats... 
Destroying window: Windows.WindowInfo: Handle 2884848, Parent (null)
Creating GraphicsContext.
    GraphicsMode: Index: 8, Color: 32 (8888), Depth: 16, Stencil: 0, Samples: 0, Accum: 64 (16161616), Buffers: 2, Stereo: False
    IWindowInfo: Windows.WindowInfo: Handle 6423616, Parent (Windows.WindowInfo: Handle 2950384, Parent (null))
    GraphicsContextFlags: Default
    Requested version: 3.1
    OpenGL will be bound to window:6423616 on thread:9
    Setting pixel format... 8
    Using WGL_ARB_create_context... success! (id: 196608)
Load extensions for OpenTK.Platform.Windows.Wgl... 45 extensions loaded in 0 ms.
Loading extensions for OpenTK.Graphics.OpenGL.GL... 2279 extensions loaded in 271.0712 ms.
Vendor: Intel
Renderer: Intel(R) HD Graphics 4000
GL Version: 3.1.0 - Build 8.15.10.2696
MajorVersion: 3
MinorVersion: 1
GLSL Version: 1.40 - Intel Build 8.15.10.2696
Extensions: 
GL_EXT_blend_minmax
GL_EXT_blend_subtract
GL_EXT_blend_color
GL_EXT_abgr
GL_EXT_texture3D
GL_EXT_clip_volume_hint
GL_EXT_compiled_vertex_array
GL_SGIS_texture_edge_clamp
GL_SGIS_generate_mipmap
GL_EXT_draw_range_elements
GL_SGIS_texture_lod
GL_EXT_rescale_normal
GL_EXT_packed_pixels
GL_EXT_texture_edge_clamp
GL_EXT_separate_specular_color
GL_ARB_multitexture
GL_EXT_texture_env_combine
GL_EXT_bgra
GL_EXT_blend_func_separate
GL_EXT_secondary_color
GL_EXT_fog_coord
GL_EXT_texture_env_add
GL_ARB_texture_cube_map
GL_ARB_transpose_matrix
GL_ARB_texture_env_add
GL_IBM_texture_mirrored_repeat
GL_EXT_multi_draw_arrays
GL_NV_blend_square
GL_ARB_texture_compression
GL_3DFX_texture_compression_FXT1
GL_EXT_texture_filter_anisotropic
GL_ARB_texture_border_clamp
GL_ARB_point_parameters
GL_ARB_texture_env_combine
GL_ARB_texture_env_dot3
GL_ARB_texture_env_crossbar
GL_EXT_texture_compression_s3tc
GL_ARB_shadow
GL_ARB_window_pos
GL_EXT_shadow_funcs
GL_EXT_stencil_wrap
GL_ARB_vertex_program
GL_EXT_texture_rectangle
GL_ARB_fragment_program
GL_EXT_stencil_two_side
GL_ATI_separate_stencil
GL_ARB_vertex_buffer_object
GL_EXT_texture_lod_bias
GL_ARB_occlusion_query
GL_ARB_fragment_shader
GL_ARB_shader_objects
GL_ARB_shading_language_100
GL_ARB_texture_non_power_of_two
GL_ARB_vertex_shader
GL_NV_texgen_reflection
GL_ARB_point_sprite
GL_ARB_fragment_program_shadow
GL_EXT_blend_equation_separate
GL_ARB_depth_texture
GL_ARB_texture_rectangle
GL_ARB_draw_buffers
GL_ARB_color_buffer_float
GL_ARB_half_float_pixel
GL_ARB_texture_float
GL_ARB_pixel_buffer_object
GL_EXT_framebuffer_object
GL_ARB_draw_instanced
GL_ARB_half_float_vertex
GL_ARB_occlusion_query2
GL_EXT_draw_buffers2
GL_WIN_swap_hint
GL_EXT_texture_sRGB
GL_ARB_multisample
GL_EXT_packed_float
GL_EXT_texture_shared_exponent
GL_ARB_texture_rg
GL_ARB_texture_compression_rgtc
GL_NV_conditional_render
GL_EXT_texture_swizzle
GL_ARB_sync
GL_ARB_framebuffer_sRGB
GL_EXT_packed_depth_stencil
GL_ARB_depth_buffer_float
GL_EXT_transform_feedback
GL_EXT_framebuffer_blit
GL_EXT_framebuffer_multisample
GL_ARB_framebuffer_object
GL_EXT_texture_array
GL_EXT_texture_integer
GL_ARB_map_buffer_range
GL_EXT_texture_snorm
GL_ARB_blend_func_extended
GL_INTEL_performance_queries
GL_ARB_copy_buffer
GL_ARB_sampler_objects
GL_NV_primitive_restart
GL_ARB_seamless_cube_map
GL_ARB_uniform_buffer_object
GL_ARB_depth_clamp
GL_ARB_vertex_array_bgra
GL_ARB_shader_bit_encoding
GL_ARB_draw_buffers_blend
GL_ARB_geometry_shader4
GL_ARB_texture_query_lod
GL_ARB_explicit_attrib_location
GL_ARB_draw_elements_base_vertex
GL_ARB_instanced_arrays
GL_ARB_fragment_coord_conventions
GL_EXT_gpu_program_parameters
GL_ARB_texture_buffer_object_rgb32
GL_ARB_compatibility
GL_ARB_texture_rgb10_a2ui
GL_ARB_texture_multisample
GL_ARB_vertex_type_2_10_10_10_rev
GL_ARB_timer_query
GL_ARB_vertex_array_object
GL_ARB_provoking_vertex
 
--- Framebuffer ---
Doublebuffer: True
MaxColorAttachments: 8
MaxDrawBuffers: 8
AuxBuffers: 0
DrawBuffer: Back
MaxSamples: 8
MaxViewportDims: ( 8192, 8192 )
Viewport: ( 0, 0 ) ( 116, 60 )
--- Framebuffer channels ---
RedBits: 8
GreenBits: 8
BlueBits: 8
AlphaBits: 8
DepthBits: 16
StencilBits: 0
AccumRedBits: 16
AccumGreenBits: 16
AccumBlueBits: 16
AccumAlphaBits: 16
--- Textures ---
MaxCombinedTextureImageUnits: 16
MaxVertexTextureImageUnits: 16
MaxTextureImageUnits: 16
MaxTextureUnits: 8
MaxTextureSize: 8192
Max3DTextureSize: 2048
MaxCubeMapTextureSize: 8192
MaxRenderbufferSize: 4096
MaxTextureLodBias: 15
--- UN-supported Texture formats ---
R8ui, Rg8ui, Rgb8ui, Rgba8ui, R16ui, Rg16ui, Rgb16ui, Rgba16ui,
R32ui, Rg32ui, Rgb32ui, Rgba32ui, R8i, Rg8i, Rgb8iExt, Rgba8i,
R16i, Rg16i, Rgb16iExt, Rgba16i, R32i, Rg32i, Rgb32i, Rgba32i,
CompressedLuminanceLatc1Ext, CompressedLuminanceAlphaLatc2Ext,
CompressedSignedLuminanceAlphaLatc2Ext, CompressedSignedLuminanceLatc1Ext
--- SUPPORTED Texture formats ---
Alpha   Alpha  UnsignedByte
Alpha4   Alpha  UnsignedByte
Alpha8Ext   Alpha  UnsignedByte
Alpha12Ext   Alpha  UnsignedByte
Alpha16Ext   Alpha  UnsignedByte
AlphaFloat16Ati   Alpha  HalfFloat
AlphaFloat32Apple   Alpha  Float
DepthComponent   DepthComponent  Int
DepthComponent16Sgix   DepthComponent  Float
DepthComponent24   DepthComponent  Float
DepthComponent32Sgix   DepthComponent  Float
DepthComponent32f   DepthComponent  Float
DepthStencil   DepthStencil  UnsignedInt248
Depth24Stencil8   DepthStencil  UnsignedInt248
Depth32fStencil8   DepthStencil  Float32UnsignedInt248Rev
Gl2XBitAti   Red  UnsignedByte
Two   Rg  UnsignedByte
Rgb   Rgb  UnsignedByte
Rgba   Rgba  UnsignedByte
Srgb   Rgb  UnsignedByte
SrgbAlpha   Rgb  UnsignedByte
Srgb8   Rgb  UnsignedByte
Srgb8Alpha8   Rgba  UnsignedByte
R16f   Red  HalfFloat
Rg16f   Rg  HalfFloat
RgbFloat16Ati   Rgb  HalfFloat
RgbaFloat16Apple   Rgba  HalfFloat
R32f   Red  Float
Rg32f   Rg  Float
Rgb32f   Rgb  Float
RgbaFloat32Ati   Rgba  Float
R8   Red  UnsignedByte
Rg8   Rg  UnsignedByte
Rgb8Ext   Rgb  UnsignedByte
Rgba8   Rgba  UnsignedByte
R3G3B2   Rgb  UnsignedByte
Rgb10A2   Rgba  UnsignedByte
Rgb5A1Oes   Rgb  UnsignedByte
Rgb9E5   Rgb  UnsignedByte
R11fG11fB10f   Rgb  UnsignedByte
CompressedAlpha   Alpha  UnsignedByte
CompressedIntensityArb   Luminance  UnsignedByte
CompressedLuminanceArb   Luminance  UnsignedByte
CompressedLuminanceAlphaArb   LuminanceAlpha  UnsignedByte
CompressedRed   Red  UnsignedByte
CompressedRedRgtc1Ext   Red  UnsignedByte
CompressedRgRgtc2   Rg  UnsignedByte
CompressedRg   Rg  UnsignedByte
CompressedRgRgtc2   Rg  UnsignedByte
CompressedRgbArb   Rgb  UnsignedByte
CompressedRgbFxt13Dfx   Rgb  UnsignedByte
CompressedRgbaArb   Rgba  UnsignedByte
CompressedRgbaFxt13Dfx   Rgba  UnsignedByte
CompressedSignedRedRgtc1   Red  UnsignedByte
CompressedSignedRedGreenRgtc2Ext   Rg  UnsignedByte
CompressedSluminance   Luminance  UnsignedByte
CompressedSluminanceAlpha   LuminanceAlpha  UnsignedByte
CompressedSrgb   Rgb  UnsignedByte
CompressedSrgbAlpha   Rgba  UnsignedByte
CompressedSrgbS3tcDxt1Ext   Rgb  UnsignedByte
CompressedSrgbAlphaS3tcDxt1Ext   Rgba  UnsignedByte
CompressedSrgbAlphaS3tcDxt3Ext   Rgba  UnsignedByte
CompressedSrgbAlphaS3tcDxt5Ext   Rgba  UnsignedByte
CompressedRgbS3tcDxt1Ext   Rgb  UnsignedByte
CompressedRgbaS3tcDxt1Ext   Rgba  UnsignedByte
CompressedRgbaS3tcDxt3Ext   Rgba  UnsignedByte
CompressedRgbaS3tcDxt5Ext   Rgba  UnsignedByte
 
--- Point&Line volumes ---
AliasedPointSizeRange: ( 1, 255 )
PointSizeMin: 0
PointSizeMax: 255
PointSizeGranularity: 0,125
PointSizeRange: ( 1, 20 )
AliasedLineWidthRange: ( 1, 7 )
SmoothLineWidthGranularity: 0,5
SmoothLineWidthRange: ( 0, 6,992188 )
--- VBO ---
MaxElementsIndices: 1200
MaxElementsVertices: 1200
MaxVertexAttribs: 16
--- GLSL ---
MaxCombinedFragmentUniformComponents: 1
MaxCombinedGeometryUniformComponents: 1
MaxCombinedVertexUniformComponents: 1
MaxFragmentUniformComponents: 1024
MaxVertexUniformComponents: 1024
MaxCombinedUniformBlocks: 36
MaxFragmentUniformBlocks: 12
MaxGeometryUniformBlocks: 12
MaxVertexUniformBlocks: 12
MaxUniformBlockSize: 16384
MaxUniformBufferBindings: 36
MaxVaryingComponents: 41
--- Transform Feedback ---
MaxTransformFeedbackInterleavedComponents: 64
MaxTransformFeedbackSeparateAttribs: 4
MaxTransformFeedbackSeparateComponents: 4
--- Fixed-Func Stacks, GL.Push* and GL.Pop* ---
MaxClientAttribStackDepth: 16
MaxAttribStackDepth: 16
MaxProjectionStackDepth: 4
MaxModelviewStackDepth: 32
MaxTextureStackDepth: 10
MaxNameStackDepth: 128
--- Fixed-Func misc. stuff ---
MaxEvalOrder: 32
MaxClipPlanes: 6
MaxArrayTextureLayers: 256
MaxListNesting: 64
MaxLights: 8
MaxTextureCoords: 8
Entering main loop.
Destroying window: Windows.WindowInfo: Handle 2950384, Parent (null)
Disposing context 196608.