Method "glDeleteBuffers" not available?

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Method "glDeleteBuffers" not available?

nyholku
I've succesfully converted my code to use VBOs and it works fine for
me on my test Windows XP and Mac OS X.

However an a client's machine I get:

javax.media.opengl.GLException: Method "glDeleteBuffers" not available
        at jogamp.opengl.gl4.GL4bcImpl.glDeleteBuffers(GL4bcImpl.java:3468)

I take that this is an indication that VBOs are not supported on that graphics card?

Or why would glDeleteBuffers method not be available?

On the other hand my code does not call glDeleteBuffers unless it has
allocated some buffers, thus this speaks from the VBOs being available...

I am asking because I have no access to this machine so I want to speculate
with possible problems and solutions as every trial and error cycle takes days.

The problematic configuration is:

HP - Compaq tower, Pentium 4 CPU 2.8 GHz running at 2.79 GHz
with 1 GB RAM. Microsoft XP Home edition, version 2002, SP2
 NVIDIA Gforce4 MX with AGP8X

Could it be that this (oldish) card does not support VBOs, or
has it got stale drivers? How can I find out what it is supposed
to support?

br Kusti




Reply | Threaded
Open this post in threaded view
|

Re: Method "glDeleteBuffers" not available?

gouessej
Administrator
Hi

Are you sure that it doesn't use the Microsoft GDI renderer instead of the driver provided by the manufacturer? glDeleteBuffersARB should be available on this hardware.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Method "glDeleteBuffers" not available?

nyholku
No, I'm not sure, how can I tell if it is and change that?

My client said that version of the driver is 5.6.7.3 (4/7/2004)
but did not provide any more information cause I did
not know to ask for it.


br Kusti
Reply | Threaded
Open this post in threaded view
|

Re: Method "glDeleteBuffers" not available?

gouessej
Administrator
Enable all logs:
http://jogamp.org/wiki/index.php/Jogl_FAQ#Detailed_Debug_Log

Maybe one of the flag that you set when you create a GLCapabilities instance forces JOGL to use the software renderer instead of the real driver.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Method "glDeleteBuffers" not available?

nyholku
Hi,

thanks, I'm going to get some more info tonight I hope from the problematic system.

Meanwhile this is how I get my capabilities:

                GLProfile glprofile = GLProfile.getDefault();
                GLCapabilities glcapabilities = new GLCapabilities(glprofile);

br Kusti


Reply | Threaded
Open this post in threaded view
|

Re: Method "glDeleteBuffers" not available?

gouessej
Administrator
You can use getMaxFixedFunc(true) or getMaxProgrammable(true) in order to favor hardware rasterizers.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Method "glDeleteBuffers" not available?

Sven Gothel
Administrator
In reply to this post by nyholku
On 11/04/2013 08:05 PM, nyholku [via jogamp] wrote:

> Hi,
>
> thanks, I'm going to get some more info tonight I hope from the problematic
> system.
>
> Meanwhile this is how I get my capabilities:
>
>                 GLProfile glprofile = GLProfile.getDefault();
>                 GLCapabilities glcapabilities = new GLCapabilities(glprofile);
>
> And if I print out glcapabilities I get:
>
> GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono  ,
> hw, GLProfile[GL2/GL2.hw], on-scr[.]]
>
> Any idea which of those could cause the glDeleteBuffers not to be available?
>
Without the debug logs, Julien & our wiki/faq ask for,
we cannot say.

~Sven

> br Kusti


signature.asc (911 bytes) Download Attachment