Page 1 of 1

issues with glGetVertexAttribiv

Posted: 27. Aug 2010, 03:09
by kuroneko
I'm probably doing everything wrong this being a first post ...

I'm running VirtualBox under Vista, guest OS being XP/SP3. Guest additions are versioned as Virtual Box Guest Additions 3.2.8r64453. The logfile shows - among other stuff - this (I can post the full log if required):
  • VirtualBox 3.2.8 r64453 win.x86 (Aug 5 2010 14:06:59)
  • OpenGL Info: Render SPU: GL_VENDOR: NVIDIA Corporation
  • OpenGL Info: Render SPU: GL_RENDERER: GeForce 8400M GS/PCI/SSE2
  • OpenGL Info: Render SPU: GL_VERSION: 2.1.1
  • OpenGL Info: Render SPU: GL_EXTENSIONS: ...
  • Shared crOpenGL service loaded.
Now, I have a piece of OpenGL code which uses glGetVertexAttribiv() with attribute GL_VERTEX_ATTRIB_ARRAY_ENABLED. This call is supposed to return a single integer. It does so running natively under Vista and XP. Running inside the VM with guest additions installed will return said integer but the call also corrupts the following 3 integer locations in memory (same values for a given VM session but different between sessions).

Is this a known issue? I thought before I report this as a bug I get an opinion here. FWIW other calls like e.g. glGetIntegeriv don't have this issue so it could be specific to the way this particular function is implemented.

Thanks

Re: issues with glGetVertexAttribiv

Posted: 27. Aug 2010, 03:22
by Perryg
See Chapter 4.5.1. Hardware 3D acceleration (OpenGL and Direct3D 8/9) in your VirtualBox users guide.
Most of this is still experimental. You can post a ticket at bugtracker but most of these are being worked on already.

Re: issues with glGetVertexAttribiv

Posted: 30. Aug 2010, 02:47
by kuroneko
Thanks, much appreciated.