[vtkusers] Oracle VM VirtualBox and VTK

Andrew Maclean andrew.amaclean at gmail.com
Tue Jul 3 21:50:38 EDT 2012


Thanks Pat,
Gnome classic seems to work much better. I just need to click on the panel
to redraw it if the window frame is moved.

Regards
   Andrew


On Wed, Jul 4, 2012 at 1:24 AM, Pat Marion <pat.marion at kitware.com> wrote:

> Hi Andrew,
>
> I'm not sure if this will help at all, but I'd try switching the desktop
> environment on your Ubuntu 12.04 install.  By default, Ubuntu uses a 3D
> accelerated desktop environment named Unity.  You could install gnome
> classic:
>
>     sudo apt-get install gnome-panel
>
> and then log out and at the log in screen select Gnome Classic (No
> effects).
>
>
> http://www.omgubuntu.co.uk/2012/03/gnome-classic-in-ubuntu-12-04-its-like-nothing-ever-changed
>
> Pat
>
> On Mon, Jul 2, 2012 at 7:17 PM, Andrew Maclean <andrew.amaclean at gmail.com>wrote:
>
>> Hi All,
>>    I am trying out virtual box on a Dell XPS Laptop running Windows
>> 7, Pentium i7 with 8GB of RAM and NVidia Optimus as the host and Ubuntu
>> 12.04 as the client system.
>>
>> Installation and setup was really easy, the only thing to watch for was
>> 3D acceleration.
>> To fix this I had to run Virtual Box with the High-performance NVIDIA
>> processor as default. If you don't do this, mouse response is good but
>> there is a significant keyboard lag!
>>
>> Multiple cores work nicely and the build happily runs with 8 processors
>> and 2048Kb of memory without affecting the host system too much. It
>> is incredibly fast compared with a Visual Studio 2010 Express build.
>>
>> I am pretty sure that my OpenMesa OpenGL setup is Ok as running glxgears
>> gives
>> 289 frames in 5.0 seconds = 57.650 FPS
>> 294 frames in 5.0 seconds = 58.776 FPS
>> 296 frames in 5.0 seconds = 59.177 FPS
>> Which I think is quite good for a VM on a laptop!
>>
>> Running  VTKBenchMark - NOTE: This is a debug build
>> Building Fractal ... (this may take a minute or two)
>> Smoothing...
>> Cutting...
>> Converting to Triangles...
>> Computing Normals...
>> Creating Strips...
>> Number Of Triangles: 114428
>> Average Strip Length: 6.10576
>> Build Rate: 0.168542
>> OpenGL Warning: No pincher, please call crStateSetCurrentPointers() in
>> your SPU
>> Render Rate:                1.07867 MegaTriangles/Second
>> Render Rate:           NORM 5.705 MegaTriangles/Second
>> Render Rate:      SCAL      3.21426 MegaTriangles/Second
>> Render Rate:      SCAL NORM 5.12586 MegaTriangles/Second
>> Render Rate: IMED           1.74367 MegaTriangles/Second
>> Render Rate: IMED      NORM 2.74953 MegaTriangles/Second
>> Render Rate: IMED SCAL      1.74752 MegaTriangles/Second
>> Render Rate: IMED SCAL NORM 2.30884 MegaTriangles/Second
>> Which is not as good as a Windows Release build:
>> Build Rate: 0.338983
>> Render Rate:                4.18639 MegaTriangles/Second
>> Render Rate:           NORM 5.76948 MegaTriangles/Second
>> Render Rate:      SCAL      3.81427 MegaTriangles/Second
>> Render Rate:      SCAL NORM 4.06253 MegaTriangles/Second
>> Render Rate: IMED           4.45823 MegaTriangles/Second
>> Render Rate: IMED      NORM 3.63264 MegaTriangles/Second
>> Render Rate: IMED SCAL      4.42947 MegaTriangles/Second
>> Render Rate: IMED SCAL NORM 4.86928 MegaTriangles/Second
>> But still excellent - I would think a release build may be as fast as
>> this in the Ubuntu client.
>>
>> When it comes to running VTK programs (Python and Native C++) I see some
>> issues:
>> 1) OpenGL Warning: No pincher, please call crStateSetCurrentPointers() in
>> your SPU - from a search on the web this is almost certainly a Virtual Box
>> issue so nothing can be done about it.
>> 2) If you move a window with a VTK object in it then the panel containing
>> the window lags and will ultimately catch up with the window and reseat
>> itself. This is an issue because if you open dialogs etc. they stay behind
>> the main window and thus are obscured. Curiously QtCreator and Eclipse work
>> normally so I think this may be  VTK issue.
>>
>> Has anyone any experience with this kind of setup and can give me some
>> advice?
>>
>> I must admit that overall I am impressed with the Virtual Machine. I have
>> usually dual booted my machines.
>>
>> Regards
>>    Andrew
>>
>> --
>> ___________________________________________
>> Andrew J. P. Maclean
>>
>> ___________________________________________
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>>
>>
>


-- 
___________________________________________
Andrew J. P. Maclean

___________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120704/183b3c13/attachment.htm>


More information about the vtkusers mailing list