VirtualBox

Ticket #4598 (closed defect: fixed)

Opened 5 years ago

Last modified 4 years ago

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

Reported by: johncarr Owned by:
Priority: major 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

comment:1 Changed 5 years ago by leonid

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

comment:2 Changed 5 years ago by leonid

  • Summary changed from OpenGL accel seems to work, but some things cause asserts to OpenGL accel seems to work, but some things cause asserts -> Fixed in SVN.

Should be fixed in SVN.

comment:3 Changed 4 years ago by frank

  • Status changed from new to closed
  • Resolution set to fixed

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

comment:4 Changed 4 years ago by cortana

  • Status changed from closed to reopened
  • Resolution fixed deleted

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 Changed 4 years ago by leonid

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 Changed 4 years ago by frank

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

comment:7 Changed 4 years ago by frank

  • Status changed from reopened to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use