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

Simone Mannori Simone.Mannori at inria.fr
Fri Mar 7 08:43:44 CET 2008


Bonjour Yann,

On Fri, 2008-03-07 at 08:45 +0100, COLLETTE Yann wrote:
> The good news is that the plot command started to work under ATI (I have 
> switched to the xorg radeon driver instead of the proprietary ATI driver).
> 

A very good news ! Have you activated the 3D acceleration ?

May you so kind to send us the results of :

- glxinfo

- /sbin/lspci

- glxgears

- a copy of "/etc/X11/xorg.conf" ?

- any other "special trick" a/o configuration options used on you
  setup ...

Thanks in advance for your effort :)

M. Simone Mannori - Scilab/Scicos Embedded Applications


//**---------------------------------------------------------




> YC
> 
> Vincent COUVERT a écrit :
> > These NullPointerException should no more occur, I fixed this bug 
> > yesterday evening.
> >
> > Vincent
> >
> > Collette Yann a écrit :
> >> 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
> >>
> >>
> >>
> >> ------------------------------------------------------------------------
> >>
> >
> 




More information about the dev mailing list