[Scilab-users] Cannot start Scilab 6.1.1

Stefan Du Rietz sdr at durietz.se
Wed Mar 30 14:48:55 CEST 2022


When I did that, this message did not appear at startup in the Scilab 
command window:

"at line    56 of function xmlGetValues ( 
/usr/local/scilab/scilab-6.1.1/share/scilab/modules/xml/macros/xmlGetValues.sci 
line 69 )
at line    22 of function help         ( 
/usr/local/scilab/scilab-6.1.1/share/scilab/modules/helptools/macros/help.sci 
line 34 )

xmlGetValues: Invalid XPath request."

However, the messages in the terminal remained, seemingly (from the 
content) because of the nVidia graphics driver.

After changing to "X.Org X server -- Noveau display driver from 
xserver-xorg-video-nouveau (open source)" they did not appear.

So, *with the nVidia driver*, if I start Scilab from a .desktop-file 
with JAVA_OPTIONS..., then no error messages are visible and the 
graphics seem to work.

Is there any possible disadvantage?

Regards
Stefan


On 2022-03-30 00:13, Stephane Mottelet wrote:
> Can you try, on the command line :
> 
> _JAVA_OPTIONS="-Djogl.disable.openglarbcontext=1" ./bin/scilab &
> 
> 
> 
> ---
> Stephane Mottelet
> 
> Le 2022-03-29 21:43, Stefan Du Rietz a écrit :
>> Hi Stéphane,
>>
>> Thank you very much, your command worked!
>> $ sudo apt install libtinfo5
>>
>> Then Scilab started OK, but with many messages:
>>
>> stefan at LenovoTS:/usr/local/scilab/scilab-6.1.1$ ./bin/scilab &
>> [1] 276737
>> stefan at LenovoTS:/usr/local/scilab/scilab-6.1.1$ X Error of failed
>> request:  BadValue (integer parameter out of range for operation)
>>   Major opcode of failed request:  152 (GLX)
>>   Minor opcode of failed request:  24 (X_GLXCreateNewContext)
>>   Value in failed request:  0x0
>>   Serial number of failed request:  110
>>   Current serial number in output stream:  111
>> javax.media.opengl.GLException: X11GLXDrawableFactory - Could not
>> initialize shared resources for :0.0
>>   at
>> jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:317) 
>>
>>   at 
>> jogamp.opengl.SharedResourceRunner.run(SharedResourceRunner.java:295)
>>   at java.lang.Thread.run(Thread.java:748)
>> Caused by: javax.media.opengl.GLException: main-SharedResourceRunner:
>> Unable to create temp OpenGL context(1)
>>   at 
>> jogamp.opengl.x11.glx.X11GLXContext.createImpl(X11GLXContext.java:343)
>>   at 
>> jogamp.opengl.GLContextImpl.makeCurrentWithinLock(GLContextImpl.java:696)
>>   at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:589)
>>   at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:539)
>>   at
>> jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:293) 
>>
>>   ... 2 more
>> [Fatal Error] :1:1: Premature end of file.
>>
>> /Stefan
>>
>>
>> On 2022-03-29 16:02, Stéphane Mottelet wrote:
>>> Hi Stefan,
>>>
>>> Did you try to google with
>>>
>>> "libtinfo.so.5: cannot open shared object file: No such file or 
>>> directory"
>>>
>>> There is a bunch of possible fixes. did you try :
>>>
>>> sudo apt install libtinfo5
>>>
>>> ?
>>>
>>> S.
>>>
>> _______________________________________________
>> users mailing list
>> users at lists.scilab.org
>> http://lists.scilab.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users



More information about the users mailing list