VirtualBox

Opened 15 years ago

Closed 15 years ago

#3224 closed defect (fixed)

3D acceleration not working on OSE

Reported by: Robert Millan Owned by:
Component: 3D support Version: VirtualBox 2.1.2
Keywords: Cc:
Guest type: Windows Host type: Linux

Description (last modified by Frank Mehnert)

3D acceleration does not appear to be working on OSE. The checkbox is present, but marking it won't result in VBox.log including the usual information about OpenGL (e.g. "OpenGL Info: Render SPU: GL_VENDOR: blah").

I suspect it has something to do with incomplete handling of the OpenGLEnabled configuration setting. It is checked for, but there seems to be no code to enable it:

$ rgrep OpenGLEnabled src/
src/VBox/Main/VMMDevInterface.cpp:    if (!CFGMR3AreValuesValid(pCfgHandle, "Object\0OpenGLEnabled\0crOpenGLEnabled\0"))
src/VBox/Main/VMMDevInterface.cpp:    rc = CFGMR3QueryBool(pCfgHandle, "OpenGLEnabled", &fEnabled);

Change History (3)

comment:1 by Robert Millan, 15 years ago

Sorry, my wiki-fu sucks. This should be more readable:

$ rgrep OpenGLEnabled src/
src/VBox/Main/VMMDevInterface.cpp:    if (!CFGMR3AreValuesValid(pCfgHandle, "Object\0OpenGLEnabled\0crOpenGLEnabled\0"))
src/VBox/Main/VMMDevInterface.cpp:    rc = CFGMR3QueryBool(pCfgHandle, "OpenGLEnabled", &fEnabled);

comment:2 by Frank Mehnert, 15 years ago

Description: modified (diff)

Nothing sucks, there is even a Preview button.

Regarding your problem: See r16240. OpenGL was accidently disabled for the OSE tarball. This will be fixed with the next release. AFAICS the code you found is dead.

comment:3 by Sander van Leeuwen, 15 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use