Download

Online

Gallery

Blog

  Index  | Recent Threads  | List Attachments  | Search
 Welcome Guest  |  Register  |  Login
Login Name  Password
 

Sweet Home 3D Forum



No member browsing this thread
Thread Status: Active
Total posts in this thread: 3
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 1617 times and has 2 replies Next Thread
jeanmarcL
Newbie
Member's Avatar

France
Joined: Feb 13, 2018
Post Count: 10
Status: Offline
Reply to this Post  Reply with Quote 
[sweethome3d display via ssh -X Linux Debian]

Bonjour,

Tout d'abords, bravo pour cette application et sa richesse de
fonctions ...

Je souhaite utiliser sweethome3d sous Linux sur un équipement en
version Debian 10.1 et sweethome3D 6.1.2+dfsg-2. Cet équipement est
accessible exclusivement via du ssh via tunnel X11 (ssh -X)

Les composants de sweethome3d installé sont :
dpkg -l |grep sweethome
ii sweethome3d 6.1.2+dfsg-2 all Interior 2D design application with 3D preview
ii sweethome3d-furniture 1.6.4-1 all Interior 2D design application with 3D preview (additional furniture)
ii sweethome3d-furniture-editor 1.24-2 all Sweet Home 3D Furniture Library Editor
ii sweethome3d-furniture-nonfree 1.6.2-2 all Interior 2D design application with 3D preview (additional non-free furniture)
ii sweethome3d-textures-editor 1.6-2 all Sweet Home 3D Textures Library Editor


Le client est un système Linux Debian Stretch connecté au serveur en
IPV4.

Les aspects exports de DISPLAY fonctionnent bien pour le "forwarding"
de toutes les applications graphiques.

De plus, l'usage de Libreoffice se comporte correctement, élément
important puisque ce logiciel utilise également java.

En revanche, le lancement de sweethome3d se lance bien, mais le
passage de la souris sur chaque bouton entraîne un affichage du cadre
et du contenu de l'application en noir, rendant de fait l'usage
impossible. Il faut redimensionner la fenêtre par déplacement de la
souris, ce qui rends la solution inutilisable au premier mouvement de
souris (!)

J'ai incriminé la version du serveur (Debian Buster v10.1) pour un
problème de dépendance quelconque sur un composant de dépendance (?)

Je me suis donc connecté à un autre serveur en mode Debian stretch
avec sweethome3d (v 5.3), donc dans la même version que sur le client,
avec les mêmes paramètres ssh, donc y compris à travers un tunnel
chiffré. Ce test ne présente pas d'intérêt autre que de regarder les
potentielles erreurs....

Le lancement dans un xterm de sweethome3d retourne l'erreur suivante
...

Java 3D: implicit antialiasing enabled
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
Canvas3D_createNewContext: couldn't make current
Error in Java 3D : 3 Renderer: Error creating Canvas3D graphics context


et l'interface graphique affiche un message d'erreur (cf pièce jointe
) Le fichier d'erreur est disponible sur le site suivant :

http://dl.free.fr/fopI6s5SC

La question est donc tout de même sur le premier use case à savoir
l'écran noir ....

Merci d'avance de votre aide

Cordialement

[img] http://dl.free.fr/fopI6s5SC[/img
[Nov 1, 2019, 5:49:42 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
jeanmarcL
Newbie
Member's Avatar

France
Joined: Feb 13, 2018
Post Count: 10
Status: Offline
Reply to this Post  Reply with Quote 
Re: [sweethome3d display via ssh -X Linux Debian]

Pour compléter les tests ....

J'ai installé sweethome3d sur un portable arm64 (Pinebook) (avec 4 coeurs 64 bits), lequel est totalement opérationnel au niveau graphique pour une session locale.

La distribution est une Debian 10.2 avec les composants suivants :

jean-marc@pinebook:~$ dpkg -l |grep sweethome3d
ii sweethome3d 6.1.2+dfsg-2 all Interior 2D design application with 3D preview
ii sweethome3d-furniture 1.6.4-1 all Interior 2D design application with 3D preview (additional furniture)
ii sweethome3d-furniture-editor 1.24-2 all Sweet Home 3D Furniture Library Editor
ii sweethome3d-furniture-nonfree 1.6.2-2 all Interior 2D design application with 3D preview (additional non-free furniture)
ii sweethome3d-textures-editor 1.6-2 all Sweet Home 3D Textures Library Editor

jean-marc@pinebook:~$ uname -a
Linux pinebook 5.3.9-sunxi64 #19.11.3 SMP Mon Nov 18 19:19:00 CET 2019 aarch64 GNU/Linux

jean-marc@pinebook:~$ dpkg -l |grep java
ii ca-certificates-java 20190405 all Common CA certificates (JKS keystore)
ii java-common 0.71 all Base package for Java runtimes
ii java-wrappers 0.3 all wrappers for java executables
ii libactivation-java 1.2.0-2 all JavaBeans Activation Framework
ii libapache-pom-java 18-1 all Maven metadata for all Apache Software projects
ii libbatik-java 1.10-2 all xml.apache.org SVG Library
ii libbcmail-java 1.60-1 all Bouncy Castle generators/processors for S/MIME and CMS
ii libbcpkix-java 1.60-1 all Bouncy Castle Java API for PKIX, CMS, EAC, TSP, PKCS, OCSP, CMP, and CRMF
ii libbcprov-java 1.60-1 all Bouncy Castle Java Cryptographic Service Provider
ii libcommons-io-java 2.6-2 all Common useful IO related classes
ii libcommons-logging-java 1.2-2 all common wrapper interface for several logging APIs
ii libcommons-parent-java 43-1 all Maven metadata for Apache Commons project
ii libfreehep-export-java 2.1.1-4 all FreeHEP Export and Save As Library
ii libfreehep-graphics2d-java 2.1.1-6 all FreeHEP 2D Graphics Library
ii libfreehep-graphicsio-java 2.1.1-5 all FreeHEP GraphicsIO Base Library
ii libfreehep-graphicsio-svg-java 2.1.1-5 all FreeHEP Scalable Vector Graphics Driver
ii libfreehep-graphicsio-tests-java 2.1.1+dfsg1-5 all FreeHEP GraphicsIO Test Library
ii libfreehep-io-java 2.0.2-6 all FreeHEP I/O library
ii libfreehep-swing-java 2.0.3-5 all FreeHEP swing extensions
ii libfreehep-util-java 2.0.2-7 all FreeHEP utility library
ii libfreehep-xml-java 2.1.2+dfsg1-5 all FreeHEP XML Library
ii libitext-java 2.1.7-12 all Java Library to create and manipulate PDF on the fly
ii libjanino-java 2.7.0-2 all runtime compiler for Java expressions - library
ii libjas-plotter-java 2.2.6+dfsg1-4 all JAS(2) Plotter graphic library
ii libjava3d-java 1.5.2+dfsg-16 all Java 3D API (java library)
ii libjava3d-jni 1.5.2+dfsg-16 arm64 Java3D API (java jni library)
ii libjavascriptcoregtk-4.0-18:arm64 2.26.2-1~deb10+1 arm64 JavaScript engine library from WebKitGTK
ii libjaxen-java 1.1.6-4 all Java XPath engine
ii libjaxp1.3-java 1.3.05-5 all Java XML parser and transformer APIs (DOM, SAX, JAXP, TrAX)
ii libjdom1-java 1.1.3-2 all lightweight and fast library using XML
ii libmail-java 1.6.2-1 all JavaMail API Reference Implementation
ii libnb-org-openide-util-java 10.0-2 all Utility classes from the NetBeans Platform
ii libnb-org-openide-util-lookup-java 10.0-2 all Utility lookup classes from the NetBeans Platform
ii librhino-java 1.7.7.1-1 all Libraries for rhino Java Script Engine
ii libsunflow-java 0.07.2.svn396+dfsg-17 all rendering system for photo-realistic image synthesis
ii libtablelayout-java 20090826-4 all Java layout manager for creating user interfaces fast and easy
ii libtagsoup-java 1.2.1+-1 all SAX-compliant parser for real-life HTML
ii libvecmath-java 1.5.2-7 all javax.vecmath vector math package
ii libxalan2-java 2.7.2-2 all XSL Transformations (XSLT) processor in Java
ii libxerces2-java 2.12.0-1 all Validating XML parser for Java with DOM level 3 support
ii libxml-commons-external-java 1.4.01-3 all XML Commons external code - DOM, SAX, and JAXP, etc
ii libxml-commons-resolver1.1-java 1.2-9 all XML entity and URI resolver library
ii libxmlgraphics-commons-java 2.3-1 all Reusable components used by Batik and FOP
jean-marc@pinebook:~$

En lanceant sweethome3d dans la session courante, donc sans déport X11, le problème est identique concernant l'affichage, ce qui indique donc que le sujet n'est plus (ou pas pour le moment) sur le déport X11 via le ssh -X ou ssh -Y.

Merci d'avance de votre aide

Cordialement
[Nov 27, 2019, 2:44:19 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
jeanmarcL
Newbie
Member's Avatar

France
Joined: Feb 13, 2018
Post Count: 10
Status: Offline
Reply to this Post  Reply with Quote 
Re: [sweethome3d display via ssh -X Linux Debian]

Bonjour,
Au lancement de sweethome3d dans un xterm via un ssh -X, il y l'exception suivante java :


jean-marc@vm-buster-arm64-130:~$ sweethome3d
Java 3D: implicit antialiasing enabled
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 java.desktop/javax.swing.AncestorNotifier.fireAncestorAdded(AncestorNotifier.java:86)
at java.desktop/javax.swing.AncestorNotifier.componentShown(AncestorNotifier.java:193)
at java.desktop/java.awt.AWTEventMulticaster.componentShown(AWTEventMulticaster.java:188)
at java.desktop/java.awt.AWTEventMulticaster.componentShown(AWTEventMulticaster.java:187)
at java.desktop/java.awt.AWTEventMulticaster.componentShown(AWTEventMulticaster.java:187)
at java.desktop/java.awt.Component.processComponentEvent(Component.java:6464)
at java.desktop/java.awt.Component.processEvent(Component.java:6412)
at java.desktop/java.awt.Container.processEvent(Container.java:2263)
at java.desktop/java.awt.Window.processEvent(Window.java:2049)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5008)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)


Ce qui pourrait probablement expliquer le pb évoqué dans ce thread (!)
javascript:smilie('devilish')
[Nov 28, 2019, 8:24:09 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

    Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads
   
© Copyright 2006-2024 eTeks - All rights reserved