Priyank.Jain2 Posted November 25, 2016 Posted November 25, 2016 Hi, My machine has OpenGL version 4.4 and with that I am unable to launch my application (It crashes while setting glClipControl), then I realized that there is a check in GLRenderer.cpp has_arb_clip_control = has_extension("GL_ARB_clip_control",version >= 44); but as per OpenGL manual glClipControl is implemented in 4.5 https://www.opengl.org/sdk/docs/man/html/glClipControl.xhtml Am I missing something or do I need to change the source?
silent Posted November 25, 2016 Posted November 25, 2016 Hi Priyank, What GPU and GPU driver are you currently using? GL_ARB_clip_control extension is optional and should not cause any crashes. Could you please attach engine log file (log.html) to this thread?Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
Priyank.Jain2 Posted November 25, 2016 Author Posted November 25, 2016 I am using "NVIDIA Quadro K1100M" with driver version "9.18.0013.4066" How can I opt out for GL_ARB_clip_control extension? Log: 13:30:38 13:30:38 ---- Plugins ---- 13:30:38 Loading "Interface_x64d.dll"... 13:30:38 13:30:38 ---- Application ---- 13:30:39 Loading "opengl32.dll"... 13:30:39 Set 500x300 windowed video mode 13:30:39 13:30:39 ---- Engine ---- 13:30:39 UNIGINE Engine 13:30:39 Version: 2.3.1 Nov 14 2016 13:30:39 Binary: Windows 64-bit Visual C++ 1900 Debug 13:30:39 Engine features: OpenGL OpenGL4.4 Direct3D11 OpenAL XPad360 Joystick Editor HalfTexCoords 13:30:39 App path: <folder_path>/build/Debug/config/rtvis/ 13:30:39 Data path: <folder_path>/build/Debug/data/common/rtvis_client/data/ 13:30:39 Save path: <folder_path>/build/Debug/config/rtvis/ 13:30:39 13:30:39 ---- System ---- 13:30:39 OS: Windows 7 SP1 64-bit 13:30:39 CPU: Intel(R) Core(TM) i7-4810MQ CPU @ 2.80GHz 2793MHz MMX SSE SSE2 SSE3 SSSE3 SSE41 SSE42 AVX AVX2 HTT x4 13:30:39 GPU: NVIDIA Quadro K1100M 9.18.13.4066 x1 13:30:39 System memory: 16323 MB 13:30:39 Video memory: 2048 MB 13:30:39 Sync threads: 3 13:30:39 Async threads: 4 13:30:39 13:30:39 ---- MathLib ---- 13:30:39 Set SSE2 simd processor 13:30:39 13:30:39 ---- Sound ---- 13:30:39 NULL 13:30:39 13:30:39 ---- Render ---- 13:30:39 Renderer: NVidia 2048MB 13:30:39 OpenGL vendor: NVIDIA Corporation 13:30:39 OpenGL renderer: Quadro K1100M/PCIe/SSE2 13:30:39 OpenGL version: 4.4.0 13:30:39 OpenGL flags: Core Profile 13:30:39 Found required GL_ARB_gpu_shader5 13:30:39 Found required GL_ARB_geometry_shader4 13:30:39 Found required GL_ARB_shader_bit_encoding 13:30:39 Found required GL_ARB_tessellation_shader 13:30:39 Found required GL_ARB_texture_storage 13:30:39 Found required GL_ARB_buffer_storage 13:30:39 Found optional GL_ARB_compute_shader 13:30:39 Found optional GL_ARB_shader_image_load_store 13:30:39 Found optional GL_ARB_shader_storage_buffer_object 13:30:39 Found optional GL_ARB_clip_control
silent Posted November 25, 2016 Posted November 25, 2016 Hi Priyank, Could you please try to upgrade GPU driver to the latest one from the nvidia website (375.86)? According to the release notes, there is OpenGL 4.5 support available. According to the log file, GL_ARB_clip_control extension is loaded correctly as well (it's a part of OpenGL 4.4 Compatibility profile, and part of 4.5 Core profile), so the crash probably is not related with that. Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
Priyank.Jain2 Posted November 25, 2016 Author Posted November 25, 2016 Thanks, with driver update It started working. But is there any way we can check Compatibility profile as well along with OpenGL version? That ways it will be easier for us to roll out the updated product to customers saying "machine must have need OpenGL version 4.4+"
silent Posted November 25, 2016 Posted November 25, 2016 Hi Priyank, Right now minspec is exactly OpenGL 4.4. Your problem was probably related to some old driver bug :) How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
Recommended Posts