<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello Matias,<br>
    <br>
    It may be driver-related. Try to check your install, notably by
    making tests on your host.<br>
    <br>
    Or maybe you could test a Scilab 5.4.1 to see if it is a Scilab
    version problem.<br>
    <br>
    Hope this helps,<br>
    Cordially,<br>
    Paul.<br>
    <br>
    <div class="moz-cite-prefix">On 01/30/2014 03:58 AM, Matias
      Bonaventura wrote:<br>
    </div>
    <blockquote
cite="mid:CACmr+CmOsiC39bPmQdRxDr_k9hVdqje=_S9NOa83knMr7t7F-g@mail.gmail.com"
      type="cite">
      <div dir="ltr"><br>
        <div class="gmail_quote">
          <div dir="ltr">
            <div>
              <div>Hi,<br>
                <br>
              </div>
              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.<br>
            </div>
            I found some posts about this problem, and I already tried
            several things but nothing fixed my installation. <br>
            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.<br>
            <div><br>
              Thanks!!<br>
              <br>
              <b>Environment</b><br>
              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).<br>
            </div>
            <div>I already reinstall the lastest VirtualMachine
              Additions and enabled 3D acceleration.<br>
            </div>
            <div>Without 3D acceleration scilab is able to graph but
              Ubuntu run really sloooooowww.<br>
            </div>
            <div><br>
            </div>
            <div><b>The problem<br>
              </b></div>
            <div><b>1) </b>plot (1,1)<br>
            </div>
            <div>When I execute "plot(1, 1)" I get the following error
              and a black graphic window (debug info at the end):<br>
              <div>
                <div style="margin-left:40px">!--error 999 <br>
                  A native error occurred during the drawing of the
                  figure.<br>
                  Description: Illegally formatted version identifier:
                  "null"<br>
                  ...... <br>
                </div>
                <br>
              </div>
              <div><b>2)</b> I tried using
                "system_setproperty("jogl.gljpanel.nohw","");"<br>
              </div>
              <div>But I get exacly the same problem<br>
                <br>
              </div>
              <div><b>3) </b>With usecanvas(%f) I get a different error
                (debug info also at the end):<br>
                <div style="margin-left:40px">->plot(1,1)<br>
                  Exception in thread "AWT-EventQueue-0"
                  javax.media.opengl.GLException: Unable to select one
                  of the provided GLCapabilities<br>
                      at
javax.media.opengl.DefaultGLCapabilitiesChooser.chooseCapabilities(DefaultGLCapabilitiesChooser.java:218)<br>
                      at
com.sun.opengl.impl.x11.X11GLDrawable.chooseVisual(X11GLDrawable.java:142)<br>
                  .........<br>
                  <br>
                </div>
                4) Disabling 3D Aceleration from virtualBox solves the
                issue but makes ubuntu run too slow.<br>
              </div>
              <div>
                <div style="margin-left:40px"><br>
                </div>
              </div>
              <div><br>
                <b>debug info with usecanvas(%t)</b><br>
                -->[a,b]=getdebuginfo()<br>
                 b  =<br>
                 <br>
                !Compilation date: Jun 14 2012  !<br>
                !                               !<br>
                !Compilation time: 03:41:20     !<br>
                !                               !<br>
                !XML version: 2.7.8             !<br>
                !                               !<br>
                !Compiler Architecture: X86     !<br>
                 a  =<br>
                 <br>
                !Total memory:    5109284                    !<br>
                !                                            !<br>
                !Used memory:    1605504                     !<br>
                !                                            !<br>
                !Free memory:    3503780                     !<br>
                !                                            !<br>
                !Shared memory:          0                   !<br>
                !                                            !<br>
                !Buffers memory:     130640                  !<br>
                !                                            !<br>
                !Cached memory:     668376                   !<br>
                !                                            !<br>
                !Used -/+ buffers/cache:     806488          !<br>
                !                                            !<br>
                !Free -/+ buffers/cache:    4302796          !<br>
                !                                            !<br>
                !Total swap:    5174268                      !<br>
                !                                            !<br>
                !Used swap:          0                       !<br>
                !                                            !<br>
                !Free swap:    5174268                       !<br>
                !                                            !<br>
                !SCI: /usr/share/scilab/                     !<br>
                !                                            !<br>
                !SCIHOME: /home/matias/.Scilab/scilab-5.3.3  !<br>
                 <br>
                <b>debug info with usecanvas(%f)</b><br>
                -->[a,b]=getdebuginfo()<br>
                 b  =<br>
                 <br>
                !Compilation date: Jun 14 2012  !<br>
                !                               !<br>
                !Compilation time: 03:41:20     !<br>
                !                               !<br>
                !XML version: 2.7.8             !<br>
                !                               !<br>
                !Compiler Architecture: X86     !<br>
                 a  =<br>
                 <br>
                !Total memory:    5109284                    !<br>
                !                                            !<br>
                !Used memory:    1589628                     !<br>
                !                                            !<br>
                !Free memory:    3519656                     !<br>
                !                                            !<br>
                !Shared memory:          0                   !<br>
                !                                            !<br>
                !Buffers memory:     141296                  !<br>
                !                                            !<br>
                !Cached memory:     661748                   !<br>
                !                                            !<br>
                !Used -/+ buffers/cache:     786584          !<br>
                !                                            !<br>
                !Free -/+ buffers/cache:    4322700          !<br>
                !                                            !<br>
                !Total swap:    5174268                      !<br>
                !                                            !<br>
                !Used swap:          0                       !<br>
                !                                            !<br>
                !Free swap:    5174268                       !<br>
                !                                            !<br>
                !SCI: /usr/share/scilab/                     !<br>
                !                                            !<br>
                !SCIHOME: /home/matias/.Scilab/scilab-5.3.3  !<br>
                 <br>
                <br>
                --  <br>
                                     :-)  M.A.T.I.A.S.    :-)
              </div>
            </div>
          </div>
        </div>
        <br>
        <br clear="all">
        <br>
        -- <br>
                             :-)  M.A.T.I.A.S.    :-)
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Paul BIGNIER
Scilab Engineer & Xcos Developer
-----------------------------------------------------------
Scilab Enterprises
143bis rue Yves Le Coz - 78000 Versailles, France
Phone: +33.1.80.77.04.69
<a class="moz-txt-link-freetext" href="http://www.scilab-enterprises.com">http://www.scilab-enterprises.com</a> </pre>
  </body>
</html>