Crash after latest mesa driver update from ppa (oibaf)

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Crash after latest mesa driver update from ppa (oibaf)

brebarth
Hi,

I think, since I updated my ubuntu to the latest mesa drivers (from ppa oibaf) I can't run jogl based apps anymore.

https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers

I don't know if this is a jogl problem or a driver problem.
I tried out the runtime test
etc/test.sh

And it gives me a very similar stack trace to what I get with my app (the whole log is attached.test.log)


it ends on the essentially same exception I have with my particular app..

Thanks for any tips, if I can do anything about this on my side. (Perhaps I'm overlooking something in my environment)

Exception in thread "main" java.lang.RuntimeException: com.jogamp.opengl.GLException: Profile GL4bc is not available on X11GraphicsDevice[type .x11, connection :0, unitID 0, handle 0x7fb79c017460, owner true, ResourceToolkitLock[obj 0x9e1a7bb, isOwner true, <2a23c7c1, 476bea80>[count 1, qsz 0, owner <main-Display-.x11_:0-1-EDT-1>]]], but: [GLProfile[GLES1/GLES1.hw], GLProfile[GLES2/GLES3.hw], GLProfile[GL2ES1/GLES1.hw], GLProfile[GL4ES3/GL4.hw], GLProfile[GL2ES2/GL4.hw], GLProfile[GL4/GL4.hw], GLProfile[GLES3/GLES3.hw], GLProfile[GL4/GL4.hw], GLProfile[GL3/GL4.hw], GLProfile[GL2GL3/GL4.hw]]
        at jogamp.newt.DefaultEDTUtil.invokeImpl(DefaultEDTUtil.java:252)
        at jogamp.newt.DefaultEDTUtil.invoke(DefaultEDTUtil.java:165)
        at jogamp.newt.DisplayImpl.runOnEDTIfAvail(DisplayImpl.java:442)
        at jogamp.newt.WindowImpl.runOnEDTIfAvail(WindowImpl.java:2782)
        at jogamp.newt.WindowImpl.setVisible(WindowImpl.java:1330)
        at jogamp.newt.WindowImpl.setVisible(WindowImpl.java:1335)
        at com.jogamp.newt.opengl.GLWindow.setVisible(GLWindow.java:578)
        at com.jogamp.newt.opengl.GLWindow.main(GLWindow.java:1127)
Caused by: com.jogamp.opengl.GLException: Profile GL4bc is not available on X11GraphicsDevice[type .x11, connection :0, unitID 0, handle 0x7fb79c017460, owner true, ResourceToolkitLock[obj 0x9e1a7bb, isOwner true, <2a23c7c1, 476bea80>[count 1, qsz 0, owner <main-Display-.x11_:0-1-EDT-1>]]], but: [GLProfile[GLES1/GLES1.hw], GLProfile[GLES2/GLES3.hw], GLProfile[GL2ES1/GLES1.hw], GLProfile[GL4ES3/GL4.hw], GLProfile[GL2ES2/GL4.hw], GLProfile[GL4/GL4.hw], GLProfile[GLES3/GLES3.hw], GLProfile[GL4/GL4.hw], GLProfile[GL3/GL4.hw], GLProfile[GL2GL3/GL4.hw]]
        at com.jogamp.opengl.GLProfile.get(GLProfile.java:991)
        at jogamp.opengl.GLContextImpl.verifyInstance(GLContextImpl.java:1471)
        at jogamp.opengl.GLContextImpl.setGLFunctionAvailability(GLContextImpl.java:1942)
        at jogamp.opengl.x11.glx.X11GLXContext.createImpl(X11GLXContext.java:395)
        at jogamp.opengl.GLContextImpl.makeCurrentWithinLock(GLContextImpl.java:765)
        at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:648)
        at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:586)
        at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1279)
        at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147)
        at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:759)
        at jogamp.opengl.GLAutoDrawableBase.defaultWindowResizedOp(GLAutoDrawableBase.java:260)
        at com.jogamp.newt.opengl.GLWindow.access$200(GLWindow.java:119)
        at com.jogamp.newt.opengl.GLWindow$2.windowResized(GLWindow.java:141)
        at jogamp.newt.WindowImpl.consumeWindowEvent(WindowImpl.java:4383)
        at jogamp.newt.WindowImpl.sendWindowEvent(WindowImpl.java:4317)
        at jogamp.newt.WindowImpl.setVisibleActionImpl(WindowImpl.java:1306)
        at jogamp.newt.WindowImpl$VisibleAction.run(WindowImpl.java:1318)
        at com.jogamp.common.util.RunnableTask.run(RunnableTask.java:145)
        at jogamp.newt.DefaultEDTUtil$NEDT.run(DefaultEDTUtil.java:375)
X11Util.Display: Shutdown (JVM shutdown: true, open (no close attempt): 2/2, reusable (open, marked uncloseable): 0, pending (open in creation order): 2)
X11Util: Open X11 Display Connections: 2
X11Util: Open[0]: NamedX11Display[:0, 0x7fb79c001560, refCount 1, unCloseable false]
X11Util: Open[1]: NamedX11Display[:0, 0x7fb79c017460, refCount 1, unCloseable false]
Reply | Threaded
Open this post in threaded view
|

Re: Crash after latest mesa driver update from ppa (oibaf)

Xerxes Rånby
Hi, can you do a quick test using the current 2.4.0 rc from 2020-01-15 and check if this still is an issue?
http://forum.jogamp.org/JogAmp-Jbeil-RC-Build-2-4-0-rc-20200115-td4040267.html
Reply | Threaded
Open this post in threaded view
|

Re: Crash after latest mesa driver update from ppa (oibaf)

brebarth
Yep.. That works!

I used - https://jogamp.org/chuck/view/fwd/job/jogl/1500/

specifically I used jogamp-fat.jar from:
https://jogamp.org/deployment/v2.4.0-rc-20200115/fat/

thanks!