LWJGL Forum

Programming => OpenGL => Topic started by: Thinko on June 17, 2014, 16:38:32

Title: OpenGL problems with Mesa on Linux
Post by: Thinko on June 17, 2014, 16:38:32
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 (http://www.lwjgl.org/wiki/index.php?title=The_Quad_with_DrawArrays))

Running the code shows me the following window:
(https://dl.dropboxusercontent.com/u/50074211/emptyWindow.png)

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

Thinko
Title: Re: OpenGL problems with Mesa on Linux
Post by: iwin on August 29, 2014, 22:04:22
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 :(


Title: Re: OpenGL problems with Mesa on Linux
Post by: spasi on August 30, 2014, 05:06:28
Have you checked for OpenGL errors?
Title: Re: OpenGL problems with Mesa on Linux
Post by: Thinko on September 09, 2014, 11:46:10
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?
Title: Re: OpenGL problems with Mesa on Linux
Post by: quew8 on September 09, 2014, 11:55:23
Calling glGetError() returns GL_NO_ERROR is there have been no errors else one of the OpenGL enums denoting the error that has occurred.
Title: Re: OpenGL problems with Mesa on Linux
Post by: abcdef on September 15, 2014, 15:34:15
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)