hs_err_pid7247.log
I just installed Ubuntu 15.10 with the wily-proposed fglrx driver (FirePro W8100 GPU) and when calling GLProfile.getDefaultDevice() I get a segmentation fault: Stack: [0x00007f64cdcac000,0x00007f64cddad000], sp=0x00007f64cddaa418, free space=1017k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [fglrx_dri.so+0x20f5210] Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) j com.jogamp.opengl.egl.EGL.dispatch_eglInitialize0(JLjava/lang/Object;ILjava/lang/Object;IJ)Z+0 j com.jogamp.opengl.egl.EGL.eglInitialize(JLjava/nio/IntBuffer;Ljava/nio/IntBuffer;)Z+84 j jogamp.opengl.egl.EGLDisplayUtil$EGLDisplayRef.getOrCreateOpened(JLjava/nio/IntBuffer;Ljava/nio/IntBuffer;)Ljogamp/opengl/egl/EGLDisplayUtil$EGLDisplayRef;+21 j jogamp.opengl.egl.EGLDisplayUtil.eglInitialize(J[I[I)Z+15 j jogamp.opengl.egl.EGLDisplayUtil.eglGetDisplayAndInitialize(J[J[I[I[I)I+33 j jogamp.opengl.egl.EGLDisplayUtil.eglGetDisplayAndInitialize([J[I[I)J+17 j jogamp.opengl.egl.EGLDisplayUtil.access$300([J[I[I)J+3 j jogamp.opengl.egl.EGLDisplayUtil$1.eglGetAndInitDisplay([J[I[I)J+3 j com.jogamp.nativewindow.egl.EGLGraphicsDevice.open()Z+84 j jogamp.opengl.egl.EGLDrawableFactory$SharedResourceImplementation.mapAvailableEGLESConfig(Lcom/jogamp/nativewindow/AbstractGraphicsDevice;[I[I[I[Lcom/jogamp/opengl/GLRendererQuirks;)Z+320 j jogamp.opengl.egl.EGLDrawableFactory$SharedResourceImplementation.createEGLSharedResourceImpl(Lcom/jogamp/nativewindow/AbstractGraphicsDevice;)Ljogamp/opengl/egl/EGLDrawableFactory$SharedResource;+135 j jogamp.opengl.egl.EGLDrawableFactory$SharedResourceImplementation.createSharedResource(Lcom/jogamp/nativewindow/AbstractGraphicsDevice;)Ljogamp/opengl/SharedResourceRunner$Resource;+8 j jogamp.opengl.SharedResourceRunner.run()V+267 j java.lang.Thread.run()V+11 v ~StubRoutines::call_stub I'm using Jogl 2.3.1. (I've attached the whole hs_err file) Is this a Jogl issue with the new driver/kernel/other or a driver-specific issue I should post on the fglrx bugs for ubuntu? It looks like native code issues but all the OpenGL demos I've tried outside of Java have worked without issue. Thanks for the help. - Stephen |
FYI, same thing happens with 2.4 nightlies for gluegen/jogl from 2015-10-15.
- Stephen |
Administrator
|
Try to disable OpenGL ES to work around this "bug".
Julien Gouesse | Personal blog | Website
|
Please follow the steps to generate a test_dbg.log using the current 2.3.2 release wget http://jogamp.org/deployment/jogamp-current/archive/jogamp-all-platforms.7zhttp://jogamp.org/wiki/index.php/Jogl_FAQ#Bugreports_.26_Testing 2015-11-03 22:09 GMT+01:00 gouessej [via jogamp] <[hidden email]>: Try to disable OpenGL ES to work around this "bug". |
This post was updated on .
from your hotspot log i can see that your system uses a mix of fglrx, mesa3d, gbm and wayland
hence there may be an incompatible combination of drivers on your system we need to know if your fglrx driver have EGL & Wayland support we need to know why both mesa3d and fglrx drivers are enabled at the same time on your system wayland is not yet supported by jogl. we plan to add it for the 2.4 release. http://jogamp.org/wiki/index.php/SW_Tracking_Report_Objectives_for_the_release_2.4.0 Can you configure your system to use Xorg instead of Wayland ? /usr/lib/dri/fglrx_dri.so /usr/lib/x86_64-linux-gnu/libgbm.so.1.0.0 /usr/lib/x86_64-linux-gnu/libwayland-server.so.0.1.0 /usr/lib/x86_64-linux-gnu/libwayland-client.so.0.3.0 /usr/lib/x86_64-linux-gnu/mesa-egl/libEGL.so.1.0.0 /usr/lib/x86_64-linux-gnu/mesa-egl/libEGL.so.1.0.0 /usr/lib/x86_64-linux-gnu/mesa-egl/libEGL.so.1.0.0 /usr/lib/x86_64-linux-gnu/mesa-egl/libEGL.so.1.0.0 /usr/lib/fglrx/libGL.so.1.2 |
Please note that the AMD FGLRX driver for Radeon adapters does not support the EGL interface
https://www.debian.org/releases/jessie/amd64/release-notes/ch-information#gnome-fglrx The AMD FGLRX driver is incompatible with Wayland http://wayland.freedesktop.org/building.html "AMD/ATI: Requires open source driver (radeon/ati, not fglrx/catalyst)." https://wiki.ubuntu.com/Wayland "Can Wayland be used with the closed source proprietary graphics drivers? No, not at this time. fglrx, nvidia, psb, and other closed source drivers are developed externally to X.org and externally to Ubuntu. As far as we know, work to update them to conform to the new KMS/GEM/etc. architecture is not planned (at least, not publicly) and would need to be done before they could be used under Wayland. According to Kristian closed drivers need 2 things: A way to set the graphics mode (like KMS, but it could also be a standalone library) A way to share video memory buffers (for example an EGLImage) between processes psb already is capable of mode setting. I (adamw) don't know if it can share buffers. " |
As far as I know, libwayland shouldn't be enabled; I don't have gnome-session-wayland installed and I set WaylandEnable=false in /etc/gdm/custom.conf (https://ask.fedoraproject.org/en/question/65310/how-can-i-disable-wayland-in-f22-alpha/) just in case. As for mesa, I didn't think it would be used if fglrx was installed; not sure how to make sure its disabled.
Anyway, here's the test_dbg.log test_dbg.log - Stephen |
In reply to this post by gouessej
Disabling OpenGL ES (-Djogl.disable.opengles=true) allows my app to work.
- Stephen |
Administrator
|
Ok you have at least a workaround. Please fill a bug report.
Julien Gouesse | Personal blog | Website
|
Administrator
|
Thanks :)
Julien Gouesse | Personal blog | Website
|
Free forum by Nabble | Edit this page |