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

Matias Bonaventura matiasb at gmail.com
Thu Jan 30 03:58:49 CET 2014


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.    :-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20140130/137a67fd/attachment.htm>


More information about the users mailing list