FS#72623 - [sweethome3d] 3dview is not shown
Attached to Project:
Community Packages
Opened by sergei gorbikov (sergei_mipt) - Wednesday, 03 November 2021, 16:23 GMT
Last edited by Muflone (muflone) - Sunday, 28 November 2021, 23:45 GMT
Opened by sergei gorbikov (sergei_mipt) - Wednesday, 03 November 2021, 16:23 GMT
Last edited by Muflone (muflone) - Sunday, 28 November 2021, 23:45 GMT
|
Details
Description:
3dview is not visible after sweethome3d ( https://archlinux.org/packages/community/x86_64/sweethome3d/ ) has been launched Additional info: * package version(s) $ pacman -Q --info sweethome3d Name : sweethome3d Version : 6.6-2 Description : An interior design application to draw the plan of your house in a 3D environment Architecture : x86_64 URL : http://www.sweethome3d.com/ Licenses : GPL custom Groups : None Provides : None Depends On : java-runtime>=8 shared-mime-info desktop-file-utils libxext libgl libxrender libnsl Optional Deps : None Required By : None Optional For : None Conflicts With : None Replaces : None Installed Size : 31.24 MiB Packager : Felix Yan <felixonmars@archlinux.org> Build Date : Mon 23 Aug 2021 18:05:08 MSK Install Date : Wed 03 Nov 2021 16:59:20 MSK Install Reason : Explicitly installed Install Script : Yes Validated By : Signature * config and/or log files etc. * link to upstream bug report, if any Steps to reproduce: run the program as one of the following: sweethome3d # gui will not start at all SWEETHOME3D_JAVA3D=1.5 sweethome3d # gui will not start at all SWEETHOME3D_JAVA3D=1.6 sweethome3d # gui will start but 3dview is not visible attached: sweet.png - picture of the gui (when SWEETHOME3D_JAVA3D=1.6) 15.txt log for the command 'SWEETHOME3D_JAVA3D=1.5 sweethome3d' 16.txt log for the command 'SWEETHOME3D_JAVA3D=1.6 sweethome3d' |
This task depends upon
Closed by Muflone (muflone)
Sunday, 28 November 2021, 23:45 GMT
Reason for closing: Fixed
Additional comments about closing: sweethome3d 6.6-3
Sunday, 28 November 2021, 23:45 GMT
Reason for closing: Fixed
Additional comments about closing: sweethome3d 6.6-3
the bottom right window in the attached picture (sweet.png) showed 3D view in the past. However, now it is blank.
ps: the same file has been attached twice to this comment accidentally (Delete button doesn't work)
sweet1.png (69 KiB)
Which version of Java is active on your system (run: archlinux-java status)? The PKGBUILD for sweethome3d requires you to use java-runtime>=8. Is that the case?
You said it used to work in the past, did anything changed since then (graphics card, updates, ...)?
https://sourceforge.net/p/sweethome3d/bugs/1021/
Exception in thread "J3D-Renderer-1" java.lang.IllegalAccessError: class javax.media.j3d.X11NativeConfigTemplate3D (in unnamed module @0x7e0ea639) cannot access class sun.awt.X11GraphicsConfig (in module java.desktop) because module java.desktop does not export sun.awt to unnamed module @0x7e0ea639
at javax.media.j3d.X11NativeConfigTemplate3D.isGraphicsConfigSupported(X11NativeConfigTemplate3D.java:180)
at javax.media.j3d.NativePipeline.isGraphicsConfigSupported(NativePipeline.java:3341)
at javax.media.j3d.Renderer.doWork(Renderer.java:533)
at javax.media.j3d.J3dThread.run(J3dThread.java:275)
installing and using java 11 it works. ended up setting JAVA_HOME to java 11 in the desktop file.
I've applied a new workaround to automatically fallback to any installed Java version < 17
For the reference it was tested successfully with java-{8,12,13,14,15,16}-openjdk
fixed in sweethome3d 6.6-3