VirtualBox

Opened 15 years ago

Closed 14 years ago

#4598 closed defect (fixed)

OpenGL accel seems to work, but some things cause asserts -> Fixed in SVN/3.1.6

Reported by: John Carr Owned by:
Component: 3D support Version: VirtualBox 3.0.2
Keywords: Cc:
Guest type: other Host type: other

Description

I'm getting this error on an OSX host with an Ubuntu Jaunty VM. Using 3.0.2 and 3.0.2 additions.

OpenGL Error: Assertion failed: !context->pOwnWindow, file /mnt/tinderbox/add-3.0/src/VBox/Additions/common/crOpenGL/context.c, line 894

#0  0xb7fb4430 in __kernel_vsyscall ()
#1  0xb7cf44b0 in raise () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb7537261 in crError () from /usr/lib/VBoxOGLcrutil.so
#3  0xb7596b88 in stubMakeCurrent () from /usr/lib/dri/vboxvideo_dri.so
#4  0xb75ab01c in vboxstub_glXMakeCurrent () from /usr/lib/dri/vboxvideo_dri.so
#5  0xb7f6f190 in ?? () from /usr/lib/libclutter-glx-0.8.so.0
#6  0xb7f3c960 in ?? () from /usr/lib/libclutter-glx-0.8.so.0
#7  0xb7f6413e in clutter_stage_ensure_current () from /usr/lib/libclutter-glx-0.8.so.0

This is code using clutter 0.8 and works on unvirtualised ubuntu. Apologies for the heavy clutter references that follow... This problem occurs if we use clutter_stage_new(), but not with clutter_stage_get_default().

Here's the test case:

#include <clutter/clutter.h>
#include <stdlib.h>

int main (int argc, char ** argv) {
    ClutterActor* stage;
    clutter_init (&argc, &argv);

    //stage = (ClutterActor *)clutter_stage_get_default ();
    stage = (ClutterActor *)clutter_stage_new();

    clutter_actor_set_size (stage, 800, 200);
    clutter_actor_show (stage);

    clutter_main ();

    return 0;
}

gcc -Wall -g test.c -o test pkg-config clutter-0.8 --cflags --libs

Change History (7)

comment:1 by Leonid Lobachev, 15 years ago

Irc tip, so i wouldn't forget it: Jc2k: yes, you just need libclutter-0.8-dev

comment:2 by Leonid Lobachev, 15 years ago

Summary: OpenGL accel seems to work, but some things cause assertsOpenGL accel seems to work, but some things cause asserts -> Fixed in SVN.

Should be fixed in SVN.

comment:3 by Frank Mehnert, 14 years ago

Resolution: fixed
Status: newclosed

Please upgrade VBox to 3.1.0, upgrade the guest additions to 3.1.0 as well!

comment:4 by Sam Morris, 14 years ago

Resolution: fixed
Status: closedreopened

I'm seeing this with 3.1.2.

$ ./test OpenGL Error: Assertion failed: !context->pOwnWindow, file /build/buildd-virtualbox-ose_3.1.2-dfsg-1-amd64-Yq77uy/virtualbox-ose-3.1.2-dfsg/src/VBox/Additions/common/crOpenGL/context.c, line 894

comment:5 by Leonid Lobachev, 14 years ago

Fixed in SVN. PS. Not sure if this code is supposed to show anything though, as I only see a white window. If it's not expected output, open a separate ticket please.

comment:6 by Frank Mehnert, 14 years ago

Summary: OpenGL accel seems to work, but some things cause asserts -> Fixed in SVN.OpenGL accel seems to work, but some things cause asserts -> Fixed in SVN/3.1.6

comment:7 by Frank Mehnert, 14 years ago

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

© 2023 Oracle
ContactPrivacy policyTerms of Use