[Scilab-users] Fwd: Crush using plot in ubuntu + virtual box

Paul Bignier paul.bignier at scilab-enterprises.com
Thu Jan 30 14:42:05 CET 2014


Hello Matias,

It may be driver-related. Try to check your install, notably by making 
tests on your host.

Or maybe you could test a Scilab 5.4.1 to see if it is a Scilab version 
problem.

Hope this helps,
Cordially,
Paul.

On 01/30/2014 03:58 AM, Matias Bonaventura wrote:
>
> Hi,
>
> I have an ubuntu 12 running in a VirtualBox. Scilab is unable to plot 
> any simple graph (Im testing with "plot(1,1)"). The graph window 
> appears completly black and it stops responding.
> I found some posts about this problem, and I already tried several 
> things but nothing fixed my installation.
> It would be awsome if some can give me a hint to try to solve the 
> issue as Im stuck now. Below you can find all the details of the 
> environment and the things I already tried.
>
> Thanks!!
>
> *Environment*
> The host OS is a windows 8, with a VirtualBox 4.3.6. Im running Ubuntu 
> 12 and Scilab 5.3.3 (I can not use another version of Scilab as it is 
> linked to another software).
> I already reinstall the lastest VirtualMachine Additions and enabled 
> 3D acceleration.
> Without 3D acceleration scilab is able to graph but Ubuntu run really 
> sloooooowww.
>
> *The problem
> *
> *1) *plot (1,1)
> When I execute "plot(1, 1)" I get the following error and a black 
> graphic window (debug info at the end):
> !--error 999
> A native error occurred during the drawing of the figure.
> Description: Illegally formatted version identifier: "null"
> ......
>
> *2)* I tried using "system_setproperty("jogl.gljpanel.nohw","");"
> But I get exacly the same problem
>
> *3) *With usecanvas(%f) I get a different error (debug info also at 
> the end):
> ->plot(1,1)
> Exception in thread "AWT-EventQueue-0" javax.media.opengl.GLException: 
> Unable to select one of the provided GLCapabilities
>     at 
> javax.media.opengl.DefaultGLCapabilitiesChooser.chooseCapabilities(DefaultGLCapabilitiesChooser.java:218)
>     at 
> com.sun.opengl.impl.x11.X11GLDrawable.chooseVisual(X11GLDrawable.java:142)
> .........
>
> 4) Disabling 3D Aceleration from virtualBox solves the issue but makes 
> ubuntu run too slow.
>
>
> *debug info with usecanvas(%t)*
> -->[a,b]=getdebuginfo()
>  b  =
>
> !Compilation date: Jun 14 2012  !
> !                               !
> !Compilation time: 03:41:20     !
> !                               !
> !XML version: 2.7.8             !
> !                               !
> !Compiler Architecture: X86     !
>  a  =
>
> !Total memory:    5109284                    !
> !                                            !
> !Used memory:    1605504                     !
> !                                            !
> !Free memory:    3503780                     !
> !                                            !
> !Shared memory:          0                   !
> !                                            !
> !Buffers memory:     130640                  !
> !                                            !
> !Cached memory:     668376                   !
> !                                            !
> !Used -/+ buffers/cache:     806488          !
> !                                            !
> !Free -/+ buffers/cache:    4302796          !
> !                                            !
> !Total swap:    5174268                      !
> !                                            !
> !Used swap:          0                       !
> !                                            !
> !Free swap:    5174268                       !
> !                                            !
> !SCI: /usr/share/scilab/                     !
> !                                            !
> !SCIHOME: /home/matias/.Scilab/scilab-5.3.3  !
>
> *debug info with usecanvas(%f)*
> -->[a,b]=getdebuginfo()
>  b  =
>
> !Compilation date: Jun 14 2012  !
> !                               !
> !Compilation time: 03:41:20     !
> !                               !
> !XML version: 2.7.8             !
> !                               !
> !Compiler Architecture: X86     !
>  a  =
>
> !Total memory:    5109284                    !
> !                                            !
> !Used memory:    1589628                     !
> !                                            !
> !Free memory:    3519656                     !
> !                                            !
> !Shared memory:          0                   !
> !                                            !
> !Buffers memory:     141296                  !
> !                                            !
> !Cached memory:     661748                   !
> !                                            !
> !Used -/+ buffers/cache:     786584          !
> !                                            !
> !Free -/+ buffers/cache:    4322700          !
> !                                            !
> !Total swap:    5174268                      !
> !                                            !
> !Used swap:          0                       !
> !                                            !
> !Free swap:    5174268                       !
> !                                            !
> !SCI: /usr/share/scilab/                     !
> !                                            !
> !SCIHOME: /home/matias/.Scilab/scilab-5.3.3  !
>
>
> -- 
>                      :-)  M.A.T.I.A.S.    :-)
>
>
>
> -- 
>                      :-)  M.A.T.I.A.S.    :-)
>
>
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users

-- 
Paul BIGNIER
Scilab Engineer & Xcos Developer
-----------------------------------------------------------
Scilab Enterprises
143bis rue Yves Le Coz - 78000 Versailles, France
Phone: +33.1.80.77.04.69
http://www.scilab-enterprises.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20140130/98b971a0/attachment.htm>


More information about the users mailing list