Scilab isn't starting

java
amd
(richard.llom) #1

Hi all,
scilab doesn’t start for me anymore (see error below). I suspect a problem with with a java package maybe?

Thanks for any clues!

$ scilab 
javax.media.opengl.GLException: X11GLXDrawableFactory - Could not initialize shared resources for :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:745)
Caused by: java.lang.NullPointerException
        at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:625)
        at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:539)
        at jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:293)
        ... 2 more
Could not create a Scilab main class. Error:
Exception in thread "main" java.lang.InternalError: XXX0 profile[1]: GL3bc -> profileImpl GL4bc !!! not mapped 
        at javax.media.opengl.GLProfile.computeProfileMap(GLProfile.java:2021)
        at javax.media.opengl.GLProfile.initProfilesForDeviceCritical(GLProfile.java:1889)
        at javax.media.opengl.GLProfile.initProfilesForDevice(GLProfile.java:1838)
        at javax.media.opengl.GLProfile.initProfilesForDefaultDevices(GLProfile.java:1807)
        at javax.media.opengl.GLProfile.access$000(GLProfile.java:77)
        at javax.media.opengl.GLProfile$1.run(GLProfile.java:201)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.media.opengl.GLProfile.initSingleton(GLProfile.java:187)
        at javax.media.opengl.GLProfile.getProfileMap(GLProfile.java:2246)
        at javax.media.opengl.GLProfile.get(GLProfile.java:959)
        at javax.media.opengl.GLProfile.getDefault(GLProfile.java:693)
        at javax.media.opengl.GLProfile.getDefault(GLProfile.java:704)
        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).
(totte) #2

When did it last work? What changed since then? I can’t reproduce this error with version 6.0.0-1, using the stable repositories. Can you provide more information about your system (see the default template)?

(richard.llom) #3

I’m not using scilab on a regular basis. Last time I worked with it was probably in 2017, so I cannot name an exact date when it broke for me.

Looking closer at that error it might have something to do OpenGL / graphic drivers… :confused: I’m running on the AMD foss stack, system info:

System:    Host: cray Kernel: 4.14.12-1-CHAKRA x86_64 bits: 64 Desktop: KDE Plasma 5.12.2 Distro: Chakra
Machine:   Device: desktop Mobo: ASUSTeK model: A88XM-PLUS v: Rev X.0x serial: N/A
           UEFI: American Megatrends v: 3003 date: 03/04/2017
CPU:       Quad core AMD A10-7850K Radeon R7 12 Compute Cores 4C+8G (-MCP-) cache: 8192 KB
           clock speeds: max: 4200 MHz 1: 4200 MHz 2: 1700 MHz 3: 1700 MHz 4: 1700 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Fiji [Radeon R9 FURY / NANO Series]
           Display Server: x11 (X.Org 1.19.5 ) driver: amdgpu Resolution: 2560x1440@143.86hz
           OpenGL: renderer: AMD Radeon R9 Fury Series (FIJI / DRM 3.19.0 / 4.14.12-1-CHAKRA, LLVM 5.0.1)
           version: 4.5 Mesa 17.3.3
Audio:     Card-1 Advanced Micro Devices [AMD] FCH Azalia Controller driver: snd_hda_intel
           Card-2 Advanced Micro Devices [AMD/ATI] Fiji HDMI/DP Audio [Radeon R9 Nano / FURY/FURY X]
           driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture v: k4.14.12-1-CHAKRA
Network:   Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller driver: r8169
           IF: enp4s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 1250.3GB (33.7% used)
           ID-1: /dev/sdb model: ST1000DX001 size: 1000.2GB
           ID-2: /dev/sda model: Samsung_SSD_850 size: 250.1GB
Sensors:   System Temperatures: cpu: 40.5C mobo: 30.0C
Info:      Processes: 202 Uptime: 2:56 Memory: 4040.3/15987.8MB Client: Shell (bash) inxi: 2.3.56
(totte) #4

https://jogamp.org/bugzilla/show_bug.cgi?id=1357

https://bugzilla.redhat.com/show_bug.cgi?id=1535240

I suggest that you report the package as broken here.

1 Like
(system) closed #5

This topic was automatically closed 170 days after the last reply. New replies are no longer allowed.