Switzerland
Joined: Aug 31, 2017
Post Count: 421
Status:
Offline
Re: Doesn't launch anymore in Ubuntu 17.10
I cannot figure out where the performance loss of java3d 1.6 is coming from and so I had to switch back to java3d 1.5.2. ... very disappointing, but hey, that's life...
----------------------------------------
Pascal
NL
Joined: Mar 4, 2019
Post Count: 5
Status:
Offline
Re: Doesn't launch anymore in Ubuntu 17.10
Don't know if I should start a new thread, but I cannot run Sweethome3d in Ubuntu 18.10. Both of the scripts in the download directory fail to run.
With both scripts I get:
# # A fatal error has been detected by the Java Runtime Environment: # # Internal Error (os_linux_x86.cpp:291), pid=17622, tid=0xf6bccb40 # fatal error: An irrecoverable SI_KERNEL SIGSEGV has occurred due to unstable signal handling in this distribution. # # JRE version: Java(TM) SE Runtime Environment (8.0_202-b08) (build 1.8.0_202-b08) # Java VM: Java HotSpot(TM) Server VM (25.202-b08 mixed mode linux-x86 ) # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again # # An error report file with more information is saved as: # /home/gjbaarda/Downloads/SweetHome3D-6.1.2/hs_err_pid17622.log # # If you would like to submit a bug report, please visit: # http://bugreport.java.com/bugreport/crash.jsp # Afgebroken (geheugendump gemaakt)
If I run the webstart version the initial window opens but then I get a pop-up window saying '3D error" and after clicking OK SH3D exits.
Switzerland
Joined: Aug 31, 2017
Post Count: 421
Status:
Offline
Re: Doesn't launch anymore in Ubuntu 17.10
In your personal folder in .local/share/applications create new file named SweetHome3D.desktop. Copy the following content into it:
[Desktop Entry] Version=1.0 Name=Sweet Home 3D GenericName=Interior 2D design application with 3D preview GenericName[de]=Innenraumplaner Comment=Interior design Java application for quickly choosing and placing furniture on a house 2D plan drawn by the end-user with a 3D preview Path=/path/to/SweetHome3D-6.1.2 Exec=sh -c "/path/to/SweetHome3D-6.1.2/SweetHome3D-Java3D-1_5_2" %U Icon=/path/to/SweetHome3D-6.1.2/SweetHome3DIcon.png StartupNotify=true StartupWMClass=com-eteks-sweethome3d-SweetHome3D Terminal=false Type=Application Categories=SweetHome3D;2DGraphics;3DGraphics;Graphics; Keywords=interior;design;2D;3D;home;house;furniture;java; MimeType=application/sweethome3d;
Edit "/path/to/SweetHome3D-6.1.2" to the location where your SH3D is. At the "Exec"-section you can try the other start script too.
This will start SH3D via the terminal.
----------------------------------------
Pascal
Switzerland
Joined: Aug 31, 2017
Post Count: 421
Status:
Offline
Re: Doesn't launch anymore in Ubuntu 17.10
It was only a try, you have not the same issue as I had. So, what type of video card have you installed? Have you the newest driver for this card? What's the reason for running Ubuntu 18.10 and not the 18.04 LTS?
----------------------------------------
Pascal
NL
Joined: Mar 4, 2019
Post Count: 5
Status:
Offline
Re: Doesn't launch anymore in Ubuntu 17.10
I'm beginning to think it is related to the graphics card. On my laptop, which is also running ubuntu 18.10, I can run the webstart SH3D if install the java3d and icedtea package. This has an intel graphics chipset.
On my desktop, I can't. It is a 12GB core i7 920, using an NVIDIA Geforce 660 Ti. Graphics driver is 390.116.
If I open the webstart version I get the program window, but then a window pops up saying 3D error. If I click that it will close the program.
NL
Joined: Mar 4, 2019
Post Count: 5
Status:
Offline
Re: Doesn't launch anymore in Ubuntu 17.10
To reply on my own post:
I removed and reinstalled all Java stuff on my computer and now I get the same behavior from the command line as from the webstart link if I use the ./SweetHome3D shell command.
However if I use the ./SweetHome3D-Java3D-1_5_2 command SH3D starts!
SO, I have no idea what was the problem, but now it is gone.
Hey Pascal: You seem to have learned quite a lot about this problem of Sweet Home 3D not launching in Ubuntu.
When I run it to terminal here is what I get:
Java 3D: implicit antialiasing enabled Java 3D ERROR : GLX extension is not supported GLX version 1.3 or higher is required Gtk-Message: 23:46:53.643: Failed to load module "canberra-gtk-module" Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException etc.
I have Java Oracle 12 installed. What is this GLX 1.3 and how do I fix it? I cannot see it in my system.
Romania
Joined: Apr 24, 2014
Post Count: 675
Status:
Offline
Re: Doesn't launch anymore in Ubuntu 17.10
Maybe out of topic For those who use it under all kind of linux system: Forget about any ppa, synaptic or whatever repository. Usually don't work or don't work correctly for a lot of reasons. That's not the fault of SH3D developer BUT the distribution managers. At this times the space is no more a problem for decent programs. Use the installer version from this site and You will be more happy. e.g.I have a <60G SSD for all system and programs (root, home & swap); SH3D have 140MB + a lot of library and plans all at a half of an ancient movie.
---------------------------------------- A computer program does what you tell it to do, not what you want it to do. Murphy's Law When all else fails, read the instructions. Murphy's Law If you don't like "AS IS", DIY. Dorin's law