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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-20-2006, 03:32 PM
|
#1
|
|
Guru
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672
Rep:
|
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 ?
|
|
|
|
11-22-2006, 05:35 PM
|
#2
|
|
Member
Registered: Apr 2005
Distribution: Ubuntu dapper(2.6.17.4-custom), Gentoo 2006.1 amd64(2.6.17-r8-custombuild)
Posts: 472
Rep:
|
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>>
|
|
|
|
11-23-2006, 07:14 AM
|
#3
|
|
Guru
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672
Original Poster
Rep:
|
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 )
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 06:36 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|