Re: Question on glBufferData / glBufferSubData

"Mike C. Fletcher" <[email protected]> Tue, 25 Mar 2014 22:38:23 -0400
Newsgroups gmane.comp.python.opengl.user
Message-ID <[email protected]>
On 03/25/2014 12:54 PM, Walter White wrote:
> Hello Mike,
>
> still no success on the issue.
> I tried two different machines, identical set-up, Win7,64-bit,Python 3.3,
> same problem.
>
> This is the complete error message, maybe you can take a look:
>
> http://bpaste.net/show/2KUuv5TCRPrYbI1OkCa5/
>
> I guess the following calls are identical, right?
>
> glBufferSubData(...,...,..., ADT.voidDataPointer(tmpArray))
> glBufferSubData(...,...,..., tmpArray)

Yes, voidDataPointer is automatically called, no reason to do the call 
yourself.

I see that vispy has encountered the *same* error you are seeing on some 
particular machine:

     https://github.com/vispy/vispy/issues/64

The commit linked there suggests that this is a bug in specific ATI 
drivers. Almar worked around it by redoing the call with glBufferData 
IFF the values happen to cover the whole buffer.

I am *not* seeing the bug on AMD Linux, as noted, but possibly some AMD 
Windows driver has it?  I have to say I'm pretty surprised to see 
something as basic as glBufferSubData have an error like this... this is 
pretty basic/core functionality to have it not work.

Precise hardware/driver information is likely relevant here, the fact 
that the two machines failing are identical lends credence to the 
driver/hardware issue, I suppose.

Thanks,
Mike

-- 
________________________________________________
   Mike C. Fletcher
   Designer, VR Plumber, Coder
   http://www.vrplumber.com
   http://blog.vrplumber.com


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net