Ask Your Question
2

Scilab problem in Fedora 26

asked 2017-12-16 15:01:02 -0600

sgaray gravatar image

updated 2017-12-16 17:10:17 -0600

Hi all,

Scilab 6.0.0 is not working on fedora 26. I am using this OpenGL renderer for my video card:

      *-display
            description: VGA compatible controller
            product: Baffin [**Radeon RX 460/560D** / Pro 450/455/460/560]
            vendor: Advanced Micro Devices, Inc. [AMD/ATI]
            physical id: 0
            bus info: pci@0000:01:00.0
            version: cf
            width: 64 bits
            clock: 33MHz
            capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
            configuration: **driver=amdgpu** latency=0
            resources: irq:123 memory:c0000000-cfffffff memory:d0000000-d01fffff ioport:e000(size=256) memory:dfe00000-dfe3ffff memory:c0000-dffff

When I run it in a terminal it gives me:

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(GLProfile.java:1954) at com.jogamp.opengl.GLProfile.initProfilesForDevice(GLProfile.java:1875) at com.jogamp.opengl.GLProfile.initProfilesForDefaultDevices(GLProfile.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).

Previous version did not work too.

edit retag flag offensive close merge delete

Comments

Can you ran it under X?

fcomida gravatar imagefcomida ( 2017-12-17 11:56:25 -0600 )edit

I ran it in Mate desktop, which runs X. In order to give you a safe response I ran it under Gnome Xorg and it gave the same error. Maybe I have to say that my FC26 is an upgrading from FC25, where scilab worked perfectly.

sgaray gravatar imagesgaray ( 2017-12-17 15:04:00 -0600 )edit

In software, you can find many comments of people who can't run Scilab on Fedora 26. I have found this bug report, not much activity though...

remjg gravatar imageremjg ( 2017-12-18 06:45:32 -0600 )edit

Thanks remjg for your comment, but I already had this bug ( https://bugzilla.redhat.com/show_bug.... ) in FC25. Now, Scilab does not start even from the terminal.

sgaray gravatar imagesgaray ( 2017-12-18 12:28:40 -0600 )edit

Scilab starts from the terminal on my fedora 26 system (but crashes if launched from gnome-shell). So it might be related to your hardware.

Off topic: to remove the warnings, I had to install the following dependencies :

sudo dnf install lucene-analysis lucene-queryparser saxon

But it still crashes when launched from Gnome Shell.

remjg gravatar imageremjg ( 2017-12-18 14:48:26 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2018-01-14 08:34:48 -0600

sgaray gravatar image

Hi Fedora's people, i found a detailed description of the problem in this ubuntu/debian page: https://bugs.launchpad.net/ubuntu/+so...

I understand that the problem is in the jogl2 package, could someone in Fedora's team make a patch to solve this problem? I am not qualified to help in this task so I have to wait for someone to do it. I also want to add that geogebra 5.0.328.0-3D does not work with 3D graphics, but only 2D. I think it is the same problem. I am following this topic because I really need this programs to work. Thank you!

edit flag offensive delete link more

Comments

I want to add that I tried installing jogl2 version: FC24, FC27, FC28, but none of them were able to solve the problem.

sgaray gravatar imagesgaray ( 2018-01-15 08:25:30 -0600 )edit

Open a bug report on bugzilla detailing the issue.

fcomida gravatar imagefcomida ( 2018-01-16 14:11:59 -0600 )edit
0

answered 2018-12-23 07:34:47 -0600

Sandylex gravatar image

updated 2018-12-23 13:11:04 -0600

As at time of writing: download; scilab-6.0.1.bin.linux-x86_64.tar.gz from, https://www.scilab.org/download/6.0.1 Next switch to a directory/folder you wish to download the program to e.g. Desktop or /usr or /opt
COMMENT: //I don't know the optimal one Next within that space .e.g /opt run the following command at the terminal window pane: tar -xvf ~/Downloads/scilab-6.0.1.bin.linux-x86_64.tar.gz COMMENT: //the above presumes you downloaded scilab-6.0.1.bin.linux-x86_64.tar.gz to the downloads folder. Now by going to scilab-6.0.1 i.e./e.g. /opt/scilab-6.0.1 or /usr/scilab-6.0.1 or etc. you can either change to the "bin" folder and run the following command: ./scilab or from the scilab-6.0.1 folder run the following command: ./bin/scilab Scilab will run without crashing out but the image processing toolboxes won't load correctly in Fedora 29 but they do in e.g. Ubuntu 18.04. Interestingly(?) in my iMac running Mojave, Scilab image processing works with the module added from the ATOMS manager but incurs an error if the toolbox also is added!

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2017-12-16 15:01:02 -0600

Seen: 545 times

Last updated: Dec 23 '18