JZY3d does not work any more on ubuntu 20 on lenovo laptop due to opengl issues

28 views
Skip to first unread message

Oliver...@orat.de

unread,
Feb 28, 2022, 10:25:46 AM2/28/22
to Jzy3d
Hallo,
jzy3d 2.0 does not work any more on my ubuntu 20 lenovo notebook. I have tried several jdk-versions without success.  If I add -djogl.disable.openglcore=false the output window is opened but the content is very strange - shows the graph only sometimes after resizing the window.

Any idea what can help?

Does it make sense also to test your 1.0 Version?

best regards
Oliver

Oliver...@orat.de

unread,
Feb 28, 2022, 10:30:33 AM2/28/22
to Jzy3d
Additional infos:

glxinfo -B
name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
   Vendor: Intel (0x8086)
   Device: Mesa Intel(R) UHD Graphics (CML GT2) (0x9b41)
   Version: 21.2.6
   Accelerated: yes
   Video memory: 3072MB
   Unified memory: yes
   Preferred profile: core (0x1)
   Max core profile version: 4.6
   Max compat profile version: 4.6
   Max GLES1 profile version: 1.1
   Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) UHD Graphics (CML GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 21.2.6
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 21.2.6
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 21.2.6
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20


Oliver...@orat.de

unread,
Feb 28, 2022, 10:44:35 AM2/28/22
to Jzy3d
Here are the warnings I got:

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.jogamp.common.os.NativeLibrary$3 (file:/home/oliver/.m2/repository/org/jogamp/gluegen/gluegen-rt/2.3.2/gluegen-rt-2.3.2.jar) to method java.lang.ClassLoader.findLibrary(java.lang.String)
WARNING: Please consider reporting this to the maintainers of com.jogamp.common.os.NativeLibrary$3
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

Martin Pernollet

unread,
Feb 28, 2022, 10:53:28 AM2/28/22
to jz...@googlegroups.com
Hi Oliver,

I have tested Ubuntu 20 with success when using JOGL 2.4-rc4 instead of JOGL 2.3.2.  To get it you should use Jzy3D 2.0.1-SNAPSHOT which was updated on friday - you are lucky :)

If this does not fix your problem, I am interested by a more extended description of your problem (which stacktrace, how to reproduce).

The warning you mention is a different problem that occur on all OS. There is a workaround here.


--
Vous recevez ce message, car vous êtes abonné au groupe Google Groupes "Jzy3d".
Pour vous désabonner de ce groupe et ne plus recevoir d'e-mails le concernant, envoyez un e-mail à l'adresse jzy3d+un...@googlegroups.com.
Cette discussion peut être lue sur le Web à l'adresse https://groups.google.com/d/msgid/jzy3d/cb71152d-f066-4fc3-85f0-4b123d91cc89n%40googlegroups.com.

Oliver...@orat.de

unread,
Feb 28, 2022, 12:13:20 PM2/28/22
to Jzy3d
Hi Martin,

very thanks for your answer. 2.0.1 really fixed the problem - thats great!

Only

import org.jzy3d.chart.EmulGLSkin;
import org.jzy3d.chart.factories.EmulGLChartFactory;

is gone which I have just used as a workaround but is now not used at the moment.

Your quick answer has driven the decision to use your tool for visualizations in the context of  our conformal geometric algebra java api project:-)

best regards
Oliver

Martin Pernollet

unread,
Feb 28, 2022, 12:21:38 PM2/28/22
to jz...@googlegroups.com
Hi Oliver,

Thanks for confirming.

EmulGL, the (great) CPU fallback renderer is still in the API. Maybe the maven artifact names have changed since I changed it to jzy3d-emul-gl-awt to differentiate from jzy3d-emul-gl-swt.

Note that if you were using EmulGL, which is an alternative to JOGL, there is no reason for having the problems and warnings you mentionned. These problems and warning occured with JOGL (sometime due to the OS or the JVM rather than JOGL itself). EmulGL is a good way of getting rid of all these annoying low level problems as long as the number of polygons remains "low".

I'll be happy to read about your geometric algebra project :)

Best,

Martin


Reply all
Reply to author
Forward
0 new messages