Print at Aug 15, 2018 4:30:04 PM

Posted by richardlyons at Jan 26, 2018 9:46:49 PM
Re: [solved] Re: Can't start sweethome3d on Linux
Further explanation of the problem using SH3D on Arch Linux.

Installation of the package available for the distro results in only the splash screen. Using the start script is difficult because the libraries listed are located in different directories. It may be possible to edit the script. I have not tried as I am unsure how to select compatible versions.

Installing from the SweetHome3D site, it is easy to edit the script to start the program, but the 3D rendering fails. The following errors are generated (it looks as though the first few lines are critical):

Java 3D: implicit antialiasing enabled
amdgpu_parse_asic_ids: Cannot parse ASIC IDs: Ressource temporairement non disponible
Exception in thread "AWT-EventQueue-0" javax.media.j3d.IllegalRenderingStateException: Can't create graphics environment for Canvas 3D
at com.eteks.sweethome3d.j3d.Component3DManager.getCanvas3D(Unknown Source)
at com.eteks.sweethome3d.j3d.Component3DManager.getOnscreenCanvas3D(Unknown Source)
at com.eteks.sweethome3d.swing.HomeComponent3D.createComponent3D(Unknown Source)
at com.eteks.sweethome3d.swing.HomeComponent3D.access$200(Unknown Source)
at com.eteks.sweethome3d.swing.HomeComponent3D$1.ancestorAdded(Unknown Source)
at javax.swing.AncestorNotifier.fireAncestorAdded(AncestorNotifier.java:86)
at javax.swing.AncestorNotifier.componentShown(AncestorNotifier.java:193)
at java.awt.AWTEventMulticaster.componentShown(AWTEventMulticaster.java:180)
at java.awt.AWTEventMulticaster.componentShown(AWTEventMulticaster.java:179)
at java.awt.AWTEventMulticaster.componentShown(AWTEventMulticaster.java:179)
at java.awt.Component.processComponentEvent(Component.java:6365)
at java.awt.Component.processEvent(Component.java:6313)
at java.awt.Container.processEvent(Container.java:2237)
at java.awt.Window.processEvent(Window.java:2025)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2295)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.awt.EventQueue$4.run(EventQueue.java:729)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82