Page 1 of 1

Disabling Pixel Buffer Objects in Accelerated OpenGL

Posted: 16. Jul 2013, 04:06
by ArthurP
I am getting an error from an OpenGL app running inside VirtualBox. The program is a Java app based on Slick2D. It is called semanav-ui (just to have a name for it). The error message I am getting is:

Code: Select all

Exception in thread "main" org.lwjgl.opengl.OpenGLException: Cannot use Buffers when Pixel Unpack Buffer Object is enabled
	at org.lwjgl.opengl.GLChecks.ensureUnpackPBOdisabled(GLChecks.java:120)
	at org.lwjgl.opengl.GL11.glTexImage2D(GL11.java:2701)
	at org.newdawn.slick.opengl.InternalTextureLoader.getTexture(InternalTextureLoader.java:306)
[cut] (The rest of the trace is in the attached file LWJGLError.txt)
Does anyone have any idea what could cause this? Are there any other debugging techniques I should try? Could this be a bug in the VirtualBox guest OpenGL driver? (this last is my current best guess)

Both the host and guest are Ubuntu 13.04. The guest has the Guest Additions installed (from the Ubuntu 13.04 repositories, as I was having even more trouble with the version on the guest additions CD image). Other 3D applications do work in the guest. vminfo and vm logs are in the attached zip file.

I know this issue could be a bug in LWJGL or Slick2D, however semanav-ui DOES work when running on my system natively.

Thanks a lot!
-Arthur

Re: Disabling Pixel Buffer Objects in Accelerated OpenGL

Posted: 16. Jul 2013, 04:26
by Perryg
Using OSE repo version of VirtualBox Host or guest negates us from providing assistance since it is not the same as the one we use. We have no way to determine what they do or how they change the source code. You would need to ask Ubuntu if you want to use their guest additions or remove theirs and install the official version and we can help you then. I should say that I run Ubuntu and with the exception of ( 13.10 with MIR ) I have no problems.

Re: Disabling Pixel Buffer Objects in Accelerated OpenGL

Posted: 16. Jul 2013, 05:39
by ArthurP
From what I can tell these are not the OSE packages anymore (though I may misunderstand). virtualbox-guest-dkms in raring does not reference OSE and the VirtualBox web page states that the OSE edition was phased out at version 4.0 and only one version exists now and that version is open-source. (I would post a link but the forum doesn't let me yet.)

I would be very surprised, if the additions CD and the ubuntu package to have different versions that do not work together, especially sense I am using the ubuntu package from the same version for both VirtualBox VM and the additions.

Re: Disabling Pixel Buffer Objects in Accelerated OpenGL

Posted: 16. Jul 2013, 12:08
by mpack
In this discussion "OSE" refers to the VirtualBox source code. In the past executables and the source used to have different license terms, but now they don't. Us guys that have been around for a while however still say "OSE" - as a shorthand meaning the source bundle.

So the point remains: if somebody takes the sources, modifies it and distributes it, then it's up to them to provide support, because we can't.

Re: Disabling Pixel Buffer Objects in Accelerated OpenGL

Posted: 16. Jul 2013, 16:45
by ArthurP
Alright. Thanks. I understand.

So the supported version is the ones provided on the VirtualBox official download page.

I will experiment and start a new thread if I decide to switch to the supported versions.