Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenGL Shader Bug with smooth layer option activate? WHAT OPENGL minimal version i need? #189

Closed
Tesla3DTore opened this issue Mar 17, 2017 · 3 comments

Comments

@Tesla3DTore
Copy link

Version

_Version of Slic3r 1.33.8_prusa3d_win64 from prusa website 1.7.6 package

Operating system type + version

===================================================
GPU Caps Viewer v1.9.4
http://www.ozone3d.net/gpu_caps_viewer/

===================================[ System / CPU ]

  • CPU Name: Intel(R) Pentium(R) CPU B960 @ 2.20GHz
  • CPU Core Speed: 2195 MHz
  • CPU Num Cores: 8
  • Family: 6 - Model: 10 - Stepping: 7
  • Physical Memory Size: 16290 MB
  • Operating System: Windows 7 64-bit build 7601 [Service Pack 1]
  • DirectX Version: 10.0
  • PhysX Version: drivers not installed

===================================[ Graphics Adapter / GPU ]

  • OpenGL Renderer: Intel(R) HD Graphics
  • Drivers Renderer: Intel(R) HD Graphics
  • DB Renderer: Intel HD Graphics 100/200
  • Device Description:
  • Adapter String: Intel(R) HD Graphics
  • Vendor: Intel
  • Vendor ID: 0x8086
  • Device ID: 0x0106
  • Sub device ID: 0x1032
  • Sub vendor ID: 0x1043
  • Drivers Version: 9.17.10.4229 (5-26-2015) - ig4icd64.dll
  • GPU Codename: HD G100/G200
  • GPU Unified Shader Processors: 12
  • GPU Vertex Shader Processors: 0
  • GPU Pixel Shader Processors: 0
  • Video Memory Size: -1988 MB
  • Video Memory Type: unknown
  • BIOS String: Intel Video BIOS
  • Current Display Mode: 1600x900 @ 60 Hz - 32 bpp

===================================[ OpenGL GPU Capabilities ]

  • OpenGL Version: 3.1.0 - Build 9.17.10.4229
  • GLSL (OpenGL Shading Language) Version: 1.40 - Intel Build 9.17.10.4229
  • ARB Texture Units: 8
  • Vertex Shader Texture Units: 16
  • Pixel Shader Texture Units: 16
  • Geometry Shader Texture Units: 0
  • Max Texture Size: 8192x8192
  • Max Anisotropic Filtering Value: X16.0
  • Max Point Sprite Size: 255.0
  • Max Dynamic Lights: 8
  • Max Viewport Size: 8192x8192
  • Max Vertex Uniform Components: 512
  • Max Fragment Uniform Components: 1024
  • Max Geometry Uniform Components: 0
  • Max Varying Float: 41
  • Max Vertex Bindable Uniforms: 0
  • Max Fragment Bindable Uniforms: 0
  • Max Geometry Bindable Uniforms: 0
  • Frame Buffer Objects (FBO) Support:[yes]
  • Multiple Render Targets / Max draw buffers: 8
  • Pixel Buffer Objects (PBO) Support:[yes]
  • S3TC Texture Compression Support:[yes]
  • ATI 3Dc Texture Compression Support:[no]
  • Texture Rectangle Support:[yes]
  • Floating Point Textures Support:[no]
  • MSAA: 4X
  • OpenGL Extensions: 130 extensions (GL=116 and WGL=14)
  • 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_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_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_vertex_type_2_10_10_10_rev
  • GL_ARB_timer_query
  • GL_INTEL_map_texture
  • GL_ARB_vertex_array_object
  • GL_ARB_provoking_vertex
  • GL_EXT_gpu_shader4
  • WGL_EXT_depth_float
  • WGL_ARB_buffer_region
  • WGL_ARB_extensions_string
  • WGL_ARB_make_current_read
  • WGL_ARB_pixel_format
  • WGL_ARB_pbuffer
  • WGL_EXT_extensions_string
  • WGL_EXT_swap_control
  • WGL_EXT_swap_control_tear
  • WGL_ARB_multisample
  • WGL_ARB_pixel_format_float
  • WGL_ARB_framebuffer_sRGB
  • WGL_ARB_create_context
  • WGL_EXT_pixel_format_packed_float

===================================[ OpenCL Capabilities ]

  • Num OpenCL platforms: 1

  • Name: Intel(R) OpenCL

  • Version: OpenCL 1.1

  • Profile: FULL_PROFILE

  • Vendor: Intel(R) Corporation

  • Num devices: 1

    • CL_DEVICE_NAME: Intel(R) Pentium(R) CPU B960 @ 2.20GHz
    • CL_DEVICE_VENDOR: Intel(R) Corporation
    • CL_DRIVER_VERSION: 1.1
    • CL_DEVICE_PROFILE: FULL_PROFILE
    • CL_DEVICE_VERSION: OpenCL 1.1 (Build 37149.37214)
    • CL_DEVICE_TYPE: CPU
    • CL_DEVICE_VENDOR_ID: 0x8086
    • CL_DEVICE_MAX_COMPUTE_UNITS: 2
    • CL_DEVICE_MAX_CLOCK_FREQUENCY: 2200MHz
    • CL_DEVICE_ADDRESS_BITS: 32
    • CL_DEVICE_MAX_MEM_ALLOC_SIZE: 524256KB
    • CL_DEVICE_GLOBAL_MEM_SIZE: 2047MB
    • CL_DEVICE_MAX_PARAMETER_SIZE: 3840
    • CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE: 64 Bytes
    • CL_DEVICE_GLOBAL_MEM_CACHE_SIZE: 256KB
    • CL_DEVICE_ERROR_CORRECTION_SUPPORT: NO
    • CL_DEVICE_LOCAL_MEM_TYPE: Global
    • CL_DEVICE_LOCAL_MEM_SIZE: 32KB
    • CL_DEVICE_MAX_CONSTANT_BUFFER_SIZE: 128KB
    • CL_DEVICE_MAX_WORK_ITEM_DIMENSIONS: 3
    • CL_DEVICE_MAX_WORK_ITEM_SIZES: [1024 ; 1024 ; 1024]
    • CL_DEVICE_MAX_WORK_GROUP_SIZE: 1024
    • CL_EXEC_NATIVE_KERNEL: 4746440
    • CL_DEVICE_IMAGE_SUPPORT: YES
    • CL_DEVICE_MAX_READ_IMAGE_ARGS: 480
    • CL_DEVICE_MAX_WRITE_IMAGE_ARGS: 480
    • CL_DEVICE_IMAGE2D_MAX_WIDTH: 8192
    • CL_DEVICE_IMAGE2D_MAX_HEIGHT: 8192
    • CL_DEVICE_IMAGE3D_MAX_WIDTH: 2048
    • CL_DEVICE_IMAGE3D_MAX_HEIGHT: 2048
    • CL_DEVICE_IMAGE3D_MAX_DEPTH: 480
    • CL_DEVICE_MAX_SAMPLERS: 480
    • CL_DEVICE_PREFERRED_VECTOR_WIDTH_CHAR: 16
    • CL_DEVICE_PREFERRED_VECTOR_WIDTH_SHORT: 8
    • CL_DEVICE_PREFERRED_VECTOR_WIDTH_INT: 4
    • CL_DEVICE_PREFERRED_VECTOR_WIDTH_LONG: 2
    • CL_DEVICE_PREFERRED_VECTOR_WIDTH_FLOAT: 4
    • CL_DEVICE_PREFERRED_VECTOR_WIDTH_DOUBLE: 2
    • CL_DEVICE_EXTENSIONS: 11
    • Extensions:
      • cl_khr_fp64
      • cl_khr_icd
      • cl_khr_global_int32_base_atomics
      • cl_khr_global_int32_extended_atomics
      • cl_khr_local_int32_base_atomics
      • cl_khr_local_int32_extended_atomics
      • cl_khr_byte_addressable_store
      • cl_intel_printf
      • cl_ext_device_fission
      • cl_intel_exec_by_local_thread
      • cl_khr_gl_sharing

===================================[ Misc. ]

===================================[ Related Graphics Drivers ]

===================================[ Related Graphics Cards Reviews ]

@Tesla3DTore Tesla3DTore changed the title OpenGL Shader Bug with smooth layer option activate OpenGL Shader Bug with smooth layer option activate? WHAT OPENGL minimal version i need? Mar 17, 2017
@bubnikv
Copy link
Collaborator

bubnikv commented Mar 17, 2017

I am working on the shaders part right now. The current code was written using an outdated OpenGL 1.1 + extensions as nothing else was supported by the Perl package. Now I am getting the shaders implemented in C++, therefore I am using the proper OpenGL 2.0 interface and I expect many of the issues to disappear.

@bubnikv
Copy link
Collaborator

bubnikv commented Mar 17, 2017

Also the new code renders much faster on OpenGL 2.0 capable machines, and the 3D print path preview consumes around 1/3 of RAM compared to the original code. Stay tuned.

@bubnikv
Copy link
Collaborator

bubnikv commented Mar 17, 2017

This is a duplicate of #179
Closing.

@bubnikv bubnikv closed this as completed Mar 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants