flathub / com.sweethome3d.Sweethome3d

https://flathub.org/apps/details/com.sweethome3d.Sweethome3d
3 stars 3 forks source link

Does not open in OpenSUSE Leap 15.2 #3

Closed EagleScreen closed 4 years ago

EagleScreen commented 4 years ago

flatpak run com.sweethome3d.Sweethome3d Exception in thread "main" java.lang.ExceptionInInitializerError at javax.media.j3d.GraphicsConfigTemplate3D.isGraphicsConfigSupported(GraphicsConfigTemplate3D.java:348) at com.eteks.sweethome3d.j3d.Component3DManager.createGraphicsConfigurationTemplate3D(Unknown Source) at com.eteks.sweethome3d.j3d.Component3DManager.(Unknown Source) at com.eteks.sweethome3d.j3d.Component3DManager.getInstance(Unknown Source) at com.eteks.sweethome3d.SweetHome3D.addComponent3DRenderingErrorObserver(Unknown Source) at com.eteks.sweethome3d.SweetHome3D.init(Unknown Source) at com.eteks.sweethome3d.SweetHome3D.main(Unknown Source) Caused by: com.jogamp.opengl.GLException: Profiles [GL4bc, GL3bc, GL2, GLES1] not available on device null at com.jogamp.opengl.GLProfile.get(GLProfile.java:1039) at com.jogamp.opengl.GLProfile.get(GLProfile.java:1050) at com.jogamp.opengl.GLProfile.getMaxFixedFunc(GLProfile.java:803) at javax.media.j3d.JoglPipeline.initialize(JoglPipeline.java:131) at javax.media.j3d.Pipeline.createPipeline(Pipeline.java:92) at javax.media.j3d.MasterControl.loadLibraries(MasterControl.java:858) at javax.media.j3d.VirtualUniverse.(VirtualUniverse.java:267) ... 7 more

hadess commented 4 years ago

Looks like a problem with your system:

Caused by: com.jogamp.opengl.GLException: Profiles [GL4bc, GL3bc, GL2, GLES1] not available on device null

Make sure your system and all the Flatpak related software is up-to-date.

EagleScreen commented 4 years ago

So why the snap package is working?

El mié., 8 abr. 2020 11:58, hadess notifications@github.com escribió:

Looks like a problem with your system:

Caused by: com.jogamp.opengl.GLException: Profiles [GL4bc, GL3bc, GL2, GLES1] not available on device null

Make sure your system and all the Flatpak related software is up-to-date.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/flathub/com.sweethome3d.Sweethome3d/issues/3#issuecomment-610866838, or unsubscribe https://github.com/notifications/unsubscribe-auth/AASVM4NERCBC4NQ3UVPSBSLRLRDFHANCNFSM4MDZNECQ .

hadess commented 4 years ago

So why the snap package is working?

Because there's a problem with the GL drivers inside the Flatpak runtime itself, maybe? The fact that the snap package worked would have been useful information. So would the results of the actions I asked you to try and take...

EagleScreen commented 4 years ago

I have updated all my distribution packages, Opensuse 15.2 is in general a very updated system, in fact it is a pre-release (beta). The flatpak packages i have installed are these: flatpak 1.6.2-lp152.1.2 libflatpak0 1.6.2-lp152.1.2 system-user-flatpak 1.6.2-lp152.1.2 typelib-1_0-Flatpak-1_0 1.6.2-lp152.1.2 xdg-dektop-portal 1.6.0-lp152.1.2

El mié., 8 abr. 2020 a las 15:35, hadess (notifications@github.com) escribió:

So why the snap package is working?

Because there's a problem with the GL drivers inside the Flatpak runtime itself, maybe? The fact that the snap package worked would have been useful information. So would the results of the actions I asked you to try and take...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/flathub/com.sweethome3d.Sweethome3d/issues/3#issuecomment-610963624, or unsubscribe https://github.com/notifications/unsubscribe-auth/AASVM4NFHP5YN7ZGT2UDBQLRLR4TPANCNFSM4MDZNECQ .

hadess commented 4 years ago

Please run flatpak update -y.

EagleScreen commented 4 years ago

~> flatpak update -y Looking for updates… Nothing to do.

El jue., 9 abr. 2020 a las 10:13, hadess (notifications@github.com) escribió:

Please run flatpak update -y.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/flathub/com.sweethome3d.Sweethome3d/issues/3#issuecomment-611395283, or unsubscribe https://github.com/notifications/unsubscribe-auth/AASVM4J7TVCR45R2F4LDSHLRLV7RPANCNFSM4MDZNECQ .

hadess commented 4 years ago

Somebody will need to debug that, because it works on all the machines I tested this on, as well as on machines using the NVidia driver.

cypx commented 4 years ago

Same error on Ubuntu 18.04, other flatpak (Firefox beta, Calibre, Shortwave....) running fine and SweetHome3D working using .deb or Snap

Exception in thread "main" java.lang.ExceptionInInitializerError
        at javax.media.j3d.GraphicsConfigTemplate3D.isGraphicsConfigSupported(GraphicsConfigTemplate3D.java:348)
        at com.eteks.sweethome3d.j3d.Component3DManager.createGraphicsConfigurationTemplate3D(Unknown Source)
        at com.eteks.sweethome3d.j3d.Component3DManager.<init>(Unknown Source)
        at com.eteks.sweethome3d.j3d.Component3DManager.getInstance(Unknown Source)
        at com.eteks.sweethome3d.SweetHome3D.addComponent3DRenderingErrorObserver(Unknown Source)
        at com.eteks.sweethome3d.SweetHome3D.init(Unknown Source)
        at com.eteks.sweethome3d.SweetHome3D.main(Unknown Source)
Caused by: com.jogamp.opengl.GLException: Profiles [GL4bc, GL3bc, GL2, GLES1] not available on device null
        at com.jogamp.opengl.GLProfile.get(GLProfile.java:1039)
        at com.jogamp.opengl.GLProfile.get(GLProfile.java:1050)
        at com.jogamp.opengl.GLProfile.getMaxFixedFunc(GLProfile.java:803)
        at javax.media.j3d.JoglPipeline.initialize(JoglPipeline.java:131)
        at javax.media.j3d.Pipeline.createPipeline(Pipeline.java:92)
        at javax.media.j3d.MasterControl.loadLibraries(MasterControl.java:858)
        at javax.media.j3d.VirtualUniverse.<clinit>(VirtualUniverse.java:267)
        ... 7 more
mfd141 commented 4 years ago

I am having the same issue... hope this helps...

Fedora 31 Gnome 3.34-5 Intel® HD Graphics 530

$ flatpak run com.sweethome3d.Sweethome3d Exception in thread "main" java.lang.ExceptionInInitializerError at javax.media.j3d.GraphicsConfigTemplate3D.isGraphicsConfigSupported(GraphicsConfigTemplate3D.java:348) at com.eteks.sweethome3d.j3d.Component3DManager.createGraphicsConfigurationTemplate3D(Unknown Source) at com.eteks.sweethome3d.j3d.Component3DManager.(Unknown Source) at com.eteks.sweethome3d.j3d.Component3DManager.getInstance(Unknown Source) at com.eteks.sweethome3d.SweetHome3D.addComponent3DRenderingErrorObserver(Unknown Source) at com.eteks.sweethome3d.SweetHome3D.init(Unknown Source) at com.eteks.sweethome3d.SweetHome3D.main(Unknown Source) Caused by: com.jogamp.opengl.GLException: Profiles [GL4bc, GL3bc, GL2, GLES1] not available on device null at com.jogamp.opengl.GLProfile.get(GLProfile.java:1039) at com.jogamp.opengl.GLProfile.get(GLProfile.java:1050) at com.jogamp.opengl.GLProfile.getMaxFixedFunc(GLProfile.java:803) at javax.media.j3d.JoglPipeline.initialize(JoglPipeline.java:131) at javax.media.j3d.Pipeline.createPipeline(Pipeline.java:92) at javax.media.j3d.MasterControl.loadLibraries(MasterControl.java:858) at javax.media.j3d.VirtualUniverse.(VirtualUniverse.java:267) ... 7 more

$ flatpak update -y Looking for updates… Info: org.gnome.Platform is end-of-life, with reason: The GNOME 3.32 runtime is no longer supported as of 11th March 2020. Please ask your application developer to migrate to a supported platform. Info: org.gnome.Platform.Locale is end-of-life, with reason: The GNOME 3.32 runtime is no longer supported as of 11th March 2020. Please ask your application developer to migrate to a supported platform. Nothing to do.

mfd141 commented 4 years ago

It works on my other PC...

Fedora 31 KDE Plasma 5.17.5 GeForce GTX 1650

Flatpak has the following installed... org.freedesktop.Platform.GL.nvidia-440- org.freedesktop.Platform.GL32.default org.freedesktop.Platform.GL32.nvidia-440-

$ flatpak run com.sweethome3d.Sweethome3d May 04, 2020 5:12:52 PM java.util.prefs.FileSystemPreferences$1 run INFO: Created user preferences directory. Java 3D: implicit antialiasing enabled

$ flatpak update -y Looking for updates… Nothing to do.

hadess commented 4 years ago

Test version at https://github.com/flathub/com.sweethome3d.Sweethome3d/pull/6