[vbox-dev] OpenGL/3D on Mac Hosts... Screenshots

mikhail sennikovsky mikhail.sennikovsky at oracle.com
Fri May 31 11:33:02 GMT 2013


Hi Louis,

Due to the way VBox 3D support is implemented currently, taking 
screenshot inside guest may not work,
actually it should work only if guest is using standard 3D/OpenGL API 
for screenshot acquisition.
VBox 3D support gets enhanced constantly, so this should be surely fixed 
one day I'd say.
For now you can use host's "take screenshot" functionality as a workaround.

Mikhail

On 31.05.2013 15:06, Louis King Jr wrote:
> I wanted to restate in case it was missed, Debian 7 running Gnome 3 is 
> the first and only Linux guest where screenshots work with 3D enabled.
>
>
> On Fri, May 31, 2013 at 6:06 AM, Louis King Jr <inlieuoflou at gmail.com 
> <mailto:inlieuoflou at gmail.com>> wrote:
>
>     Yes, it's always been a 3D problem. 3D has always been problematic
>     with the Mac version of VirtualBox. The screenshot problem for 3D
>     has been going on for something like 3 years. 2D screenshots are fine.
>
>     I figured the errors weren't too meaningful but I thought I should
>     include them.
>
>
>     On Fri, May 31, 2013 at 5:58 AM, Sergey Dubov
>     <Sergey.Dubov at oracle.com <mailto:Sergey.Dubov at oracle.com>> wrote:
>
>         Louis King Jr <inlieuoflou at gmail.com
>         <mailto:inlieuoflou at gmail.com>> ?????(?) ? ????? ?????? Fri,
>         31 May 2013 01:00:17 +0400:
>
>             the build is VirtualBox-4.2.51-86105
>
>
>             On Thu, May 30, 2013 at 4:56 PM, Louis King Jr
>             <inlieuoflou at gmail.com <mailto:inlieuoflou at gmail.com>> wrote:
>
>                 the error in the Ternimal....
>                 louiss-imac:~ Mine$ VirtualBox -startvm "LMDE
>                 Cinnamon" --rmode image
>                 VirtualBox: error: Code NS_ERROR_NOT_IMPLEMENTED
>                 (0x80004001) - Not implemented (extended info not
>                 available)
>                 VirtualBox: error: Context:
>                 "Notify3DEvent(VBOX3D_NOTIFY_EVENT_TYPE_VISIBLE_WINDOW, NULL)"
>                 at line 266 of file crservice.cpp
>
>
>                 On Thu, May 30, 2013 at 4:48 PM, Louis King Jr
>                 <inlieuoflou at gmail.com <mailto:inlieuoflou at gmail.com>>
>                 wrote:
>
>                     when I use 'VirtualBox -startvm <guest's name>
>                     --rmode image' I get a message about starting in
>                     16 bit color mode although it does start in 32 bit
>                     color. The screenshot is still black. That's when
>                     I tried it with LMDE - Cinnamon.
>
>
>                     On Thu, May 30, 2013 at 3:30 PM, Sergey Dubov
>                     <Sergey.Dubov at oracle.com
>                     <mailto:Sergey.Dubov at oracle.com>> wrote:
>
>                         Louis King Jr <inlieuoflou at gmail.com
>                         <mailto:inlieuoflou at gmail.com>> ?????(?) ?
>                         ????? ?????? Thu, 30 May 2013 22:00:53 +0400:
>
>
>                             This has been a long standing problem with
>                             VirtualBox running on Mac hosts. For
>                             whatever reason screenshots on Linux
>                             guests running Compiz or Unity or Gnome3
>                             or Cinnamon can not take screenshots. All
>                             one gets is an empty black screen. I've
>                             been told this is not an issue for the
>                             Windows or Linux versions of VB. As of
>                             today's 4.2.51 version it's still an
>                             issue. If it is one of the things being
>                             worked on currently of course ignore this
>                             message.
>
>                             I would mention the current version of
>                             Debian 7 with Gnome 3 does actually work
>                             as far as screenshots go and I have no
>                             idea why.
>
>
>                         Hi.
>                         Is it the case with QImage frame-buffer too?
>                         I mean by default MacOS X host VM uses
>                         Quartz2D frame-buffer but there is an
>                         experimental QImage frame-buffer support which
>                         can be used by trunk VM through '--rmode
>                         image' passed as additional argument to
>                         'VirtualBox -startvm <vm name>' like:
>                         VirtualBox -startvm Ubuntu --rmode image
>
>                         -- 
>                         */With Best Regards,/*
>                         */[Oracle/VirtualBox] Sergey Dubov
>                         /*
>                         */
>                         /*
>
>                         _______________________________________________
>                         vbox-dev mailing list
>                         vbox-dev at virtualbox.org
>                         <mailto:vbox-dev at virtualbox.org>
>                         https://www.virtualbox.org/mailman/listinfo/vbox-dev
>
>
>
>
>
>         Hi.
>
>         Ok, it seems the screen-shot issue is deeper than the used
>         frame-buffer type.
>         Is it 3D related thing? I mean is the screenshot correct when
>         you are getting it with 3D turned off for the same VM?
>
>         About error warnings in terminal, you can ignore these
>         warnings for now.
>         They are related to new functionality which is not yet
>         implemented from the GUI side.
>
>         -- 
>         */With Best Regards,/*
>         */[Oracle/VirtualBox] Sergey Dubov
>         /*
>         */
>         /*
>
>         _______________________________________________
>         vbox-dev mailing list
>         vbox-dev at virtualbox.org <mailto:vbox-dev at virtualbox.org>
>         https://www.virtualbox.org/mailman/listinfo/vbox-dev
>
>
>
>
>
> _______________________________________________
> vbox-dev mailing list
> vbox-dev at virtualbox.org
> https://www.virtualbox.org/mailman/listinfo/vbox-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20130531/a7a61fef/attachment.html>


More information about the vbox-dev mailing list