LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 11-20-2006, 03:32 PM   #1
qwijibow
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.


Greetings...

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, Mesa3d.org 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, 05:35 PM   #2
Samoth
Member
 
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.

<<Samoth>>
 
Old 11-23-2006, 07:14 AM   #3
qwijibow
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.

Mesa3d.org 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 )
 
  


Reply



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 08: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 04:09 PM
Lower case to upper case letter sudhasmyle Programming 1 12-03-2004 04:15 AM
Does Linux Support 200GB hdd on an external usb 2.0 case ??? sponsii Linux - Hardware 2 11-04-2004 12:27 PM
Changing from MESA OpenGL to ATI OpenGL tillyoubreakit Linux - Hardware 19 10-07-2003 07:32 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:40 PM.

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