View Full Version : Linux OpenGL support
05-22-2005, 02:10 AM
I want to program and use OpenGL under my favourite platform, Linux. Do I have to go and download Mesa? Doesn't Linux directly support OpenGL. Also, there are many Linux games wich require OpenGL.How are these going to play???
05-22-2005, 02:43 AM
Mesa is only the software implementation of OpenGL. It should be part of every decent Linux distribution, so yes, Linux supports OpenGL directly (without having to install anything extra), but I wouldn't recommend using it.
Like on windows the hardware implementation comes with the drivers of the graphic card, at least ATI and NVIDIA provide Linux drivers for their cards. I have no experience with ATI on Linux, but the NVIDIA drivers work without problems...
What graphics card do you use? Which Linux distribution?
If it's an Nvidia card just download their binary drivers and use them.
If it's a new ATI card (Radeons 9500 or better) you probably want to use the drivers ATi provides.
For all other cases like older Radeons, Intel integrated graphics and so on the free DRI drivers seem to be the best choice.
Mesa serves both as a framework for OpenGL drivers and as a software-rendering fallback.
05-22-2005, 06:22 AM
My card is an Nvidia TNT2 and my distro is Debian Woody v.3 kernel 2.4.18. I know about the drivers, but if I want to code OpenGL under Linux, what do I need? Could I just take the gl.h & glu.h from Windows and use them in Linux?
05-22-2005, 07:25 AM
nope. the windows headers are not portable to linux.
just download and install the driver from nvidia. you'll find all header files in /usr/share/doc/NVIDIA_GLX-1.0/include/GL
05-23-2005, 03:14 AM
Thank you!!! Really useful your advices! :D
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.