** Description changed:

+ [Impact]
+ 
+ Software that use libjogl2-java (Scilab, Matlab,...) fail to run,
+ because Mesa dropped 'Gallium' from the renderer string.
+ 
+ [Test case]
  Steps to reproduce:
  1. have installed Scilab on Ubuntu Xenial system
  2. install system updates
  3. try to launch Scilab from GUI - it does not start
  4. try to launch Scilab from terminal - it does not start with the following 
output in the terminal:
  
  $ 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(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)
+ 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).
- 
  
  Expected results:
  Scilab works normally on Ubuntu 16.04 LTS system.
  
  Actual results:
  see error above.
  
- ProblemType: Bug
- DistroRelease: Ubuntu 16.04
- Package: scilab 5.5.2-2ubuntu3
- ProcVersionSignature: Ubuntu 4.4.0-104.127-generic 4.4.98
- Uname: Linux 4.4.0-104-generic x86_64
- ApportVersion: 2.20.1-0ubuntu2.15
- Architecture: amd64
- CurrentDesktop: MATE
- Date: Fri Jan 12 12:02:32 2018
- PackageArchitecture: all
- SourcePackage: scilab
- UpgradeStatus: No upgrade log present (probably fresh install)
+ [Regression potential]
+ The fix is a simple oneliner that allows libjogl2-java to detect Mesa with 
both new and original version of Mesa.
-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1742894

Title:
  Scilab does not start after some upgrades on Ubuntu Xenial

To manage notifications about this bug go to:
https://bugs.launchpad.net/mesa/+bug/1742894/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to