Review your favorite Linux distribution.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 11-20-2006, 04:32 PM   #1
LQ Guru
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
mesa-6.x claims to support OpenGL 1.5, but in my case does not in my case.


I work for an software company which produces low spec arcade games ( using the 68k processor )

possably moving onto pc based x86 machines.

These Machines also are low spec (800Mhz Pentium cpu's) with No hardware graphics acceleration.

These Machines come with either the WindowsXP Embedded OS, or a Linux OS.

In anticipation, ive been doing a little work with Imilar poswer machines under both WindowsXP, and Gentoo Linux With Hardware Acceleration turned off...

WindowsXP DirectX9.0 has prven to be a complete faiure, taking over 1 second to render 50 textured polgons in an 800x600 screen without hardware accelertion.

So Now im focusing my attention on Linux.

To Simulate Running without 3d hardware acceleration, im Running Xorg with the vesa driver ( instead of the nvidia or nv driver )

and using Mesa as the Graphics Library.

However, im having some real difficulty in using OpenGL VBO's

my test program compiles and runs fine with the Nvidia libraries / Driver, but always seg-faults under Mesa.

I Believe this is because glxinfo does NOT show support for the "GL_ARB_vertex_buffer_object" Extension.

However, states that this extension has been supported since mesa-6.0, which was a few years ago i believe.

I Realise that VBO's would be no faster in pure software rendering than the usual OpenGL 1.0 method of calling glVertex between GlBegin() and glEnd()

However this extension would be usefull for code compatability should it one day be run on a more advanced machine.

As You Can See, Im Clearly Confused..... Any Idea's ?
Old 11-22-2006, 06:35 PM   #2
Registered: Apr 2005
Distribution: Exherbo
Posts: 474
Blog Entries: 1

Rep: Reputation: 32
First off, I am not a coder.

Maybe you should compile against the standard GLX libraries/headers instead of the nvidia libraries, it is possible that this is what is messing everything up.

Old 11-23-2006, 08:14 AM   #3
LQ Guru
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Original Poster
Rep: Reputation: 47
Compiling Againsed The Nvidia Libraries ( That Support OpenGL 2.x ) everything Runs Fine, as VBO's were Intoroduced in OpenGL Version 1.5.

But my software MUST run without any hardware acceleration, which is why i need to link againsed the mesa libs. claims that Version 6.0 and above is compatable with OpenGL 1.5, and claims that the Extension GL_ARB_vertex_buffer_object is supported..

however, when running with the mesa libraries, glxinfo does not list GL_ARB_vertex_buffer_object as an Extension.

( However, the VBO API's are defined in mesa's gl.h ( or maybe glext.h.. i forget )

This is why i am confused.

For Now, i am Using Display Lists ( OpenGL 1.2 )

I am Guessing that what OpenGL Extension Mesa Claims to support is highly dependant on DRI ( which is not possable without Hardware Acceleration )


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting sLoPPy cASE to Pretty Case with tr lowpro2k3 Programming 4 04-13-2005 09:13 PM
Why are all my upper case files being shown as lower case?? [Kernel 2.6.9-1.667 FC3] t3gah Fedora 4 03-11-2005 05:09 PM
Lower case to upper case letter sudhasmyle Programming 1 12-03-2004 05:15 AM
Does Linux Support 200GB hdd on an external usb 2.0 case ??? sponsii Linux - Hardware 2 11-04-2004 01:27 PM
Changing from MESA OpenGL to ATI OpenGL tillyoubreakit Linux - Hardware 19 10-07-2003 08:32 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:37 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration