PDA

View Full Version : [ubuntu] Doing OpenGL Programming in C++ on ubuntu



vishal733
August 18th, 2009, 09:18 AM
Hi,
I'm struggling while running opengl on ubuntu.. i'm doing programming in C++.

I have the following packages already installed:
freeglut3
freeglut3-dev
libglu1-mesa-dev
mesa-common-dev

I'm able to compile the programs. But when I run it, i get the following message:

freeglut (./toylogo): Unable to create direct context rendering for window 'ToyLOGO'
This may hurt performance.
[Note: toylogo is the name of the executable in this case]

Though the openGL window opens after this message is displayed, it's very crappy, doesn't have any border on it's window.. I guess this is what it meant by poor performance.

I'm using the Intel DG31PR motherboard, 2.8Ghz C2D processor. The integrated graphics card that this motherboard has is Intel GMA 3100.
I checked on the internet for people having similar problems, but those who had such problems were using Nvidia Graphics card. And for them the problem got solved by using Nvidia drivers.
What am i to do? .. i'm using the intel integrated graphics card...
are there drivers available for this too?