[Scilab-users] Ubuntu upgrade just killed GL

Tim Wescott tim at wescottdesign.com
Fri Nov 4 20:17:58 CET 2016


I'm 99.44% sure that the problem here resides in whatever video stuff
just got updated on Ubuntu 14.04 -- but the problem only seems to
exhibit itself under Scilab.

So, I'm hoping that someone of a more developer-ish bent could give me a
more mainstream Ubuntu test that'll let me submit a bug report to those
guys that'll attract attention.  Even better yet, if someone has some
suggested workarounds that would be exceptionally lovely.  I'm trying to
get some work delivered to a customer TODAY and things have just come to
a screeching halt -- hopefully I have a laptop around here that'll work.

I can't tell you details about the graphics card & whatnot, but I'm
willing to dig for it if you tell me it's important.

Attached are two files: devices.txt is the output of the "ubuntu-drivers
devices" command, while "scilab.doesnt.graph.txt" is the output of
Scilab's error stream when I start up, try to graph something, then
exit.  The program gets as far as opening a window on which to graph,
but fails utterly to actually put up a graph.

I tried installing and running glxgears, but it just says it can't get
an RGB channel without saying why -- I don't know if this is part of the
problem or not.

-- 

Tim Wescott
www.wescottdesign.com
Control & Communications systems, circuit & software design.
Phone: 503.631.7815
Cell:  503.349.8432
-------------- next part --------------
== /sys/devices/pci0000:00/0000:00:01.0 ==
modalias : pci:v00001002d0000130Fsv00001043sd000085CBbc03sc00i00
vendor   : Advanced Micro Devices, Inc. [AMD/ATI]
driver   : fglrx-updates - distro non-free
driver   : xserver-xorg-video-ati - distro free builtin recommended
driver   : fglrx - distro non-free

-------------- next part --------------
javax.media.opengl.GLException: X11GLXDrawableFactory - Could not initialize shared resources for :0.0
	at jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:316)
	at jogamp.opengl.SharedResourceRunner.run(SharedResourceRunner.java:295)
	at java.lang.Thread.run(Thread.java:745)
Caused by: javax.media.opengl.GLException: glXGetConfig(0x1) failed: error code Unknown error code 6
	at jogamp.opengl.x11.glx.X11GLXGraphicsConfiguration.glXGetConfig(X11GLXGraphicsConfiguration.java:570)
	at jogamp.opengl.x11.glx.X11GLXGraphicsConfiguration.XVisualInfo2GLCapabilities(X11GLXGraphicsConfiguration.java:500)
	at jogamp.opengl.x11.glx.X11GLXGraphicsConfigurationFactory.chooseGraphicsConfigurationXVisual(X11GLXGraphicsConfigurationFactory.java:433)
	at jogamp.opengl.x11.glx.X11GLXGraphicsConfigurationFactory.chooseGraphicsConfigurationStatic(X11GLXGraphicsConfigurationFactory.java:239)
	at jogamp.opengl.x11.glx.X11GLXDrawableFactory.createMutableSurfaceImpl(X11GLXDrawableFactory.java:511)
	at jogamp.opengl.x11.glx.X11GLXDrawableFactory.createDummySurfaceImpl(X11GLXDrawableFactory.java:522)
	at jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:276)
	... 2 more
Error parsing gtk-icon-sizes string: ''
java.lang.reflect.InvocationTargetException
	at java.awt.EventQueue.invokeAndWait(EventQueue.java:1288)
	at java.awt.EventQueue.invokeAndWait(EventQueue.java:1263)
	at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1347)
	at org.scilab.modules.gui.SwingView.updateObject(Unknown Source)
	at org.scilab.modules.graphic_objects.graphicController.GraphicController$2.run(Unknown Source)
	at org.scilab.modules.graphic_objects.graphicController.GraphicController.objectUpdate(Unknown Source)
	at org.scilab.modules.graphic_objects.graphicController.GraphicController.setGraphicObjectRelationship(Unknown Source)
	at org.scilab.modules.graphic_objects.builder.Builder.cloneAxesModel(Unknown Source)
	at org.scilab.modules.graphic_objects.builder.Builder.createNewFigureWithAxes(Unknown Source)
Caused by: javax.media.opengl.GLException: Profile GL_DEFAULT is not available on X11GraphicsDevice[type .x11, connection :0.0, unitID 0, handle 0x0, owner false, ResourceToolkitLock[obj 0x55e1e7e3, isOwner false, <623f1421, 1b42b4eb>[count 0, qsz 0, owner <NULL>]]], but: []
	at javax.media.opengl.GLProfile.get(GLProfile.java:901)
	at javax.media.opengl.GLProfile.getDefault(GLProfile.java:632)
	at javax.media.opengl.awt.GLJPanel.<init>(GLJPanel.java:350)
	at javax.media.opengl.awt.GLJPanel.<init>(GLJPanel.java:304)
	at javax.media.opengl.awt.GLJPanel.<init>(GLJPanel.java:295)
	at org.scilab.modules.gui.bridge.canvas.SwingScilabCanvasImpl$SafeGLJPanel.<init>(Unknown Source)
	at org.scilab.modules.gui.bridge.canvas.SwingScilabCanvasImpl$SafeGLJPanel.<init>(Unknown Source)
	at org.scilab.modules.gui.bridge.canvas.SwingScilabCanvasImpl.createOpenGLComponent(Unknown Source)
	at org.scilab.modules.gui.bridge.canvas.SwingScilabCanvas.<init>(Unknown Source)
	at org.scilab.modules.gui.bridge.tab.SwingScilabDockablePanel.addMember(Unknown Source)
	at org.scilab.modules.gui.SwingView.updateFigureChildren(Unknown Source)
	at org.scilab.modules.gui.SwingView.updateObjectOnEDT(Unknown Source)
	at org.scilab.modules.gui.SwingView$4.run(Unknown Source)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:302)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:745)
	at java.awt.EventQueue.access$300(EventQueue.java:103)
	at java.awt.EventQueue$3.run(EventQueue.java:706)
	at java.awt.EventQueue$3.run(EventQueue.java:704)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:715)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)


More information about the users mailing list