OpenGL problems with Mesa on Linux

Started by Thinko, June 17, 2014, 16:38:32

Previous topic - Next topic

Thinko

Hi Guys,

I recently wanted to replace the old deprecated OpenGL functions with such new stuff as VBOs and FBOs.
While I was changing my implementation, I started to encounter some odd behaviour.
A little bit more investigation revealed that this only happens on my ThinkPad X230 (running Linux Ming 17 Cinnamon) which has a Intel Graphics HD 4000 integrated GPU with the newest drivers from Intel.

Since I wanted to avoid any mistake in my test code, i used the "DrawArrays" example from the LWJGL wiki.
(Link: http://www.lwjgl.org/wiki/index.php?title=The_Quad_with_DrawArrays)

Running the code shows me the following window:


Do you by any chance know the reason or even a workaround for this problem?

Thinko

iwin

Hi,
I have exactly the same problem. Also a Thinkpad X230.
I even installed a fresh Ubuntu 14.04 on my system, but still no luck :(



spasi

Have you checked for OpenGL errors?

Thinko

Hi spasi,

Quote from: spasi on August 30, 2014, 05:06:28
Have you checked for OpenGL errors?
Where should I look for errors, if there are any?

quew8

Calling glGetError() returns GL_NO_ERROR is there have been no errors else one of the OpenGL enums denoting the error that has occurred.

abcdef

To confirm I have Linux Mint 17 Cinnamon running with the latest intel drivers and LWJGL works fine for me (also works fine with the NVIDIA card I also have)