[Scilab-Dev] Scilab-5 and rendering a plot under linux

Collette Yann ycollet at freesurf.fr
Thu Mar 6 22:12:31 CET 2008


Collette Yann a écrit :
> Hello,
>
> I've still a lot of problem to render a plot under linux 
> mandriva-2008.0. I'm an unlucky owner of an ati radean 9200 PRO 
> graphic card.
> I've tried to install the latest ati driver obtained from ati.amd.com 
> and scilab-5 hangs when I tried to plot a simple curve (see bug 
> http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=2657).
> So I decided to switch to the x.org ati driver.
> First try: I removed the Load "glx" and Load "dri" options with the 
> "radeon" driver.
> When I enter the command plot(X,Y), an empty plot windows pops up and 
> an error message appears in the console (something like "can't find 
> GLX ...").
> Second try: I added the Load "glx" option and then, the plot windows 
> appears and a loop  of error messages (related to java) appears in the 
> console. The list of messages ended with:
> Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: 
> Java heap space
>
> I join a log of the error messages (the log is gzipped and weight 11Mo 
> ungzipped !).
>
> Yann COLLETTE
Hello,

Ah ah ! Something has changed since this morning.
Here are the messages I see in the bash console when I start scilab 
(these messages where not here this morning):

Could not enable OpenGL pipeline for default config on screen 0
Set the EventHandler status  of figure 0 to false
Exception in thread "main" java.lang.NullPointerException
        at 
org.scilab.modules.gui.bridge.CallScilabBridge.setEventHandlerEnabled(Unknown 
Source)
Set the EventHandler of figure 0 to
Exception in thread "main" java.lang.NullPointerException
        at 
org.scilab.modules.gui.bridge.CallScilabBridge.setEventHandler(Unknown 
Source)
Set the EventHandler status  of figure 0 to false
Exception in thread "main" java.lang.NullPointerException
        at 
org.scilab.modules.gui.bridge.CallScilabBridge.setEventHandlerEnabled(Unknown 
Source)
Set the EventHandler status  of figure 0 to false
Set the EventHandler of figure 0 to
Set the EventHandler status  of figure 0 to false


Now, When  do a plot(X,Y), here is the window I see (without any 
infinite loop) (see included image).
All the points of the curve are here ... but in disorder :-)

YC


-------------- next part --------------
A non-text attachment was scrubbed...
Name: capture2.png
Type: image/png
Size: 9617 bytes
Desc: not available
URL: <https://lists.scilab.org/pipermail/dev/attachments/20080306/08914c8c/attachment.png>


More information about the dev mailing list