Trying to reproduce MovieCube example - NoClassDefFoundError: Could not initialize class com.jogamp.opengl.GLProfile

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

Trying to reproduce MovieCube example - NoClassDefFoundError: Could not initialize class com.jogamp.opengl.GLProfile

sciss
This post was updated on .
Hi,

I grabbed the MovieCube.java example from the git repository, and I try to run it with the following artefacts on the classpath (via Maven):

    org.jogamp.jogl:jogl-all:2.3.2:jar
    org.jogamp.gluegen:gluegen:2.3.2:jar

And unmanaged libraries (in `lib/`):

    jogl-all-2.3.2-natives-linux-amd64.jar
    gluegen-rt.jar
    gluegen-rt-natives-linux-amd64.jar

But I get the following exception:

-----------------------------------------------------------------------------------------------------
[error] (run-main-0-AWTAnimator#00) com.jogamp.opengl.util.AnimatorBase$UncaughtAnimatorException: com.jogamp.opengl.GLException: Caught GLException: No shader code found (source nor binary) for src: [shader/texsequence_xxx.vp], bin: null on thread run-main-0-AWTAnimator#00
com.jogamp.opengl.util.AnimatorBase$UncaughtAnimatorException: com.jogamp.opengl.GLException: Caught GLException: No shader code found (source nor binary) for src: [shader/texsequence_xxx.vp], bin: null on thread run-main-0-AWTAnimator#00
        at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:92)
        at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:452)
        at com.jogamp.opengl.util.Animator$MainLoop.run(Animator.java:204)
        at java.lang.Thread.run(Thread.java:745)
Caused by: com.jogamp.opengl.GLException: Caught GLException: No shader code found (source nor binary) for src: [shader/texsequence_xxx.vp], bin: null on thread run-main-0-AWTAnimator#00

What am I doing wrong or what am I missing?

Here is the test project: https://github.com/Sciss/jogl-test

Thanks!

Best, .h.h.
Reply | Threaded
Open this post in threaded view
|

Re: Trying to reproduce MovieCube example - NoClassDefFoundError: Could not initialize class com.jogamp.opengl.GLProfile

sciss
Ok, so I figured you cannot do anything useful with the Maven Central artefacts, and I extracted the files from the binary download. Bit of a bummer, but well, the movie starts playing now, but quickly crashes with this:

Playing, frames[(p 142, d 148) / 14314, 596.417 s, z 0 / 121], speed 1.0, dAV 163, vSCR 6008, vpts 6000, dSCR[-8, avrg 17], aSCR 6293, apts 6122 ( -171 ), AudioSink[frames [p 0, q 0, f 1, c 0], time 0, bytes 0], Texture[count 4, free 0, dec 3]
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f6376d9d67e, pid=30575, tid=0x00007f6387bf7700
#
# JRE version: Java(TM) SE Runtime Environment (8.0_101-b13) (build 1.8.0_101-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.101-b13 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libdrm_nouveau.so.2+0x367e]
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/foo/Documents/devel/jogl-test/hs_err_pid30575.log
#

The .log file is quite long. Is this a known issue with the Nouveau driver? Can I work around it? Should I report a bug?
Reply | Threaded
Open this post in threaded view
|

Re: Trying to reproduce MovieCube example - NoClassDefFoundError: Could not initialize class com.jogamp.opengl.GLProfile

Xerxes Rånby
Please file a bug, we need to look into it and need a way to reproduce the issue also we need to study if it happens using all nvidia GPu's or only the model you are using in combination with the OS you are using,
Does it happen with all movies? Which JVM did you use? What OS do you use? CPU architecute? GPU model? Comman dline arguments?
It is likely a bug in the nouveau driver however we may help create a test-case for the mesa3d project and possibly your linux distribution.


2016-08-28 22:37 GMT+02:00 sciss [via jogamp] <[hidden email]>:
Ok, so I figured you cannot do anything useful with the Maven Central artefacts, and I extracted the files from the binary download. Bit of a bummer, but well, the movie starts playing now, but quickly crashes with this:

Playing, frames[(p 142, d 148) / 14314, 596.417 s, z 0 / 121], speed 1.0, dAV 163, vSCR 6008, vpts 6000, dSCR[-8, avrg 17], aSCR 6293, apts 6122 ( -171 ), AudioSink[frames [p 0, q 0, f 1, c 0], time 0, bytes 0], Texture[count 4, free 0, dec 3]
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f6376d9d67e, pid=30575, tid=0x00007f6387bf7700
#
# JRE version: Java(TM) SE Runtime Environment (8.0_101-b13) (build 1.8.0_101-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.101-b13 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libdrm_nouveau.so.2+0x367e]
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/foo/Documents/devel/jogl-test/hs_err_pid30575.log
#

The .log file is quite long. Is this a known issue with the Nouveau driver? Can I work around it? Should I report a bug?


To start a new topic under jogl, email [hidden email]
To unsubscribe from jogamp, click here.
NAML

Reply | Threaded
Open this post in threaded view
|

Re: Trying to reproduce MovieCube example - NoClassDefFoundError: Could not initialize class com.jogamp.opengl.GLProfile

Xerxes Rånby
In reply to this post by sciss
Please attach the complete log

2016-08-29 7:16 GMT+02:00 Xerxes Rånby <[hidden email]>:
Please file a bug, we need to look into it and need a way to reproduce the issue also we need to study if it happens using all nvidia GPu's or only the model you are using in combination with the OS you are using,
Does it happen with all movies? Which JVM did you use? What OS do you use? CPU architecute? GPU model? Comman dline arguments?
It is likely a bug in the nouveau driver however we may help create a test-case for the mesa3d project and possibly your linux distribution.


2016-08-28 22:37 GMT+02:00 sciss [via jogamp] <[hidden email]>:
Ok, so I figured you cannot do anything useful with the Maven Central artefacts, and I extracted the files from the binary download. Bit of a bummer, but well, the movie starts playing now, but quickly crashes with this:

Playing, frames[(p 142, d 148) / 14314, 596.417 s, z 0 / 121], speed 1.0, dAV 163, vSCR 6008, vpts 6000, dSCR[-8, avrg 17], aSCR 6293, apts 6122 ( -171 ), AudioSink[frames [p 0, q 0, f 1, c 0], time 0, bytes 0], Texture[count 4, free 0, dec 3]
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f6376d9d67e, pid=30575, tid=0x00007f6387bf7700
#
# JRE version: Java(TM) SE Runtime Environment (8.0_101-b13) (build 1.8.0_101-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.101-b13 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libdrm_nouveau.so.2+0x367e]
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/foo/Documents/devel/jogl-test/hs_err_pid30575.log
#

The .log file is quite long. Is this a known issue with the Nouveau driver? Can I work around it? Should I report a bug?


To start a new topic under jogl, email [hidden email]
To unsubscribe from jogamp, click here.
NAML