[Scilab-users] ?==?utf-8?q? Both scilab 5.5.2 & 6.0 stopped working (java issue under linux)

amonmayr at laas.fr amonmayr at laas.fr
Tue Jan 23 13:52:12 CET 2018


Le 21/01/2018 à 21:34, Tim Wescott a écrit :
> Yes, but how can I have a clue as to what to set them _to_?
Here is what worked for me (no idea why):

#!/bin/bash
export MESA_GL_VERSION_OVERRIDE=3.0 ; scilab $*

Cheers,

Antoine

>
> On Mon, 2017-12-04 at 16:05 +0000, Clément David wrote:
>> Hi all,
>>
>> Nice catch Antoine ! From my understanding of the crash and depending
>> on your graphic card, you
>> could switch the actual GL implementation to a well supported one
>> rather than relying on the latest
>> GL. For example, using mesa on my Intel i965 system, I can tweak the
>> used Profile through
>> MESA_GL_VERSION_OVERRIDE and MESA_EXTENSION_OVERRIDE [https://www.mes
>> a3d.org/envvars.html].
>>
>> Regards,
>>
>> --
>> Clément
>>
>> Le lundi 04 décembre 2017 à 16:38 +0100, Antoine Monmayrant a écrit :
>>> Hi all,
>>>
>>> Answering my own post: it was a graphic driver issue, as usual.
>>> I switch to another driver and now scilab starts, but all the
>>> graphics windows are empty!
>>>
>>> Antoine
>>>   
>>>   
>>> On Monday, December 04, 2017 16:12 CET, "Antoine Monmayrant" <amonm
>>> ayr at laas.fr> wrote:
>>>   
>>>> Hi everyone,
>>>>
>>>> It seems that some automatic update have broken scilab on my
>>>> linux station (16.04.3 64bits).
>>>> Any java related feature is broken and only scilab-cli is
>>>> working.
>>>> As any of you any idea on how to investigate this issue?
>>>>
>>>> Thanks in advance,
>>>>
>>>> Antoine
>>>>
>>>> PS: Here is the crash log:
>>>>
>>>>
>>>> $ scilab
>>>> Could not create a Scilab main class. Error:
>>>> Exception in thread "main" java.lang.InternalError: XXX0
>>>> profile[1]: GL3bc -> profileImpl GL4bc
>>>> !!! not mapped
>>>>          at
>>>> com.jogamp.opengl.GLProfile.computeProfileMap(GLProfile.java:2071
>>>> )
>>>>          at
>>>> com.jogamp.opengl.GLProfile.initProfilesForDeviceCritical(GLProfi
>>>> le.java:1954)
>>>>          at
>>>> com.jogamp.opengl.GLProfile.initProfilesForDevice(GLProfile.java:
>>>> 1875)
>>>>          at
>>>> com.jogamp.opengl.GLProfile.initProfilesForDefaultDevices(GLProfi
>>>> le.java:1842)
>>>>          at
>>>> com.jogamp.opengl.GLProfile.access$000(GLProfile.java:80)
>>>>          at com.jogamp.opengl.GLProfile$1.run(GLProfile.java:230)
>>>>          at java.security.AccessController.doPrivileged(Native
>>>> Method)
>>>>          at
>>>> com.jogamp.opengl.GLProfile.initSingleton(GLProfile.java:216)
>>>>          at
>>>> com.jogamp.opengl.GLProfile.getProfileMap(GLProfile.java:2297)
>>>>          at com.jogamp.opengl.GLProfile.get(GLProfile.java:988)
>>>>          at
>>>> com.jogamp.opengl.GLProfile.getDefault(GLProfile.java:722)
>>>>          at
>>>> com.jogamp.opengl.GLProfile.getDefault(GLProfile.java:733)
>>>>          at org.scilab.modules.gui.SwingView.<init>(Unknown
>>>> Source)
>>>>          at
>>>> org.scilab.modules.gui.SwingView.registerSwingView(Unknown
>>>> Source)
>>>>          at org.scilab.modules.core.Scilab.<init>(Unknown Source)
>>>>
>>>> Scilab cannot create Scilab Java Main-Class (we have not been
>>>> able to find the main Scilab
>>>> class. Check if the Scilab and thirdparty packages are
>>>> available).
>>>>
>>>> _______________________________________________
>>>> 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
>> _______________________________________________
>> users mailing list
>> users at lists.scilab.org
>> http://lists.scilab.org/mailman/listinfo/users


-- 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++

  Antoine Monmayrant LAAS - CNRS
  7 avenue du Colonel Roche
  BP 54200
  31031 TOULOUSE Cedex 4
  FRANCE

  Tel:+33 5 61 33 64 59
  
  email : antoine.monmayrant at laas.fr
  permanent email : antoine.monmayrant at polytechnique.org

+++++++++++++++++++++++++++++++++++++++++++++++++++++++




More information about the users mailing list