

MESA INTEL OPENGL 3.3 DRIVER
What could cause the program to fail with Intel Mesa 10.3 driver while working fine with nVidia driver when the context is initialized on both as OpenGL 3.3? The output produced by the command glxinfo grep OpenGL is the following: OpenGL renderer string: Mesa DRI Intel (R) HD Graphics 620 (KBL GT2) OpenGL core profile version string: 4.6 (Core Profile) Mesa 20.0.8 OpenGL core profile shading language version string: 4.60 OpenGL core profile context flags: (none) OpenGL core profile profile mask. What could be causing the program to fail on RGB images while it works fine on single channel images? Does this mean that the shader should be GLSL 3.3 compatible and the problem is not within the shader but somewhere else? I checked that the vertex shader and fragment shader compiles and links successfully. This is the generated fragment shader I am trying to run: #version 330 GlVertexAttribPointer(0, 2, GL_FLOAT, GL_FALSE, 0, 0) GlBufferData(GL_ARRAY_BUFFER, 8 * sizeof(GLfloat), data, GL_STATIC_DRAW) Intel Corporation Core Processor Integrated Graphics Controller 8086:0046 (rev. This is the initiations of the Vertex Array Object and the Vertex Buffer Object: float *data = new float GlDrawArrays(GL_TRIANGLE_STRIP, 0, 4) // glGetError() = 1286 (GL_INVALID_OPERATION) Code: Select all glxinfo grep OpenGL OpenGL vendor string: Intel Open Source Technology Center OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 2000 (SNB GT1) OpenGL core profile version string: 3.3 (Core Profile) Mesa 20.0.8 OpenGL core profile shading language version string: 3.

GlBindVertexArray(vao) // (I checked that vao is not 0 here) I have traced down the error to the following line in (quad.hpp): void Render() When the images are RGB the drawing now longer works, and my images ends up black.
If it doesnt work it means your internal video card doesnt support OpenGL 3.3 :c 10 < > Showing 1-10 of 10 comments.It seems to work fine as long as the images are single channel. GLX Renderer: Mesa DRI Intel Haswell Mobile GLX Version: 3.0 Mesa 17.2.8 Direct Rendering: Yes 2. On the Intel GPU the program works partly. I changed the following line (in buffer_op.hpp) when the shader is created: prefix += glw::version("330") // before glw::version("400")Īfter this modification the my program still works perfectly fine on nVidia GPU, even while initializing the OpenGL context as OpenGL 3.3 (Core Profile). The library is using OpenGL 4.0 according to its documentation, so I had to make a small modifications in order to get it to run in OpenGL 3.3 context, which is supported by Intel Mesa 10.3 driver. The library is using OpenGL shaders to apply filters on images. I am trying to run Piccante image processing library on Intel GPU.
