Doesn't launch anymore in Ubuntu 17.10

This topic has been viewed 164304 times and has 40 replies
Thread status: Active
Questions about Sweet Home 3D installation [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
User avatar
UbuntuBirdy
Posts: 421
Joined: Thu Aug 31, 2017 10:31 pm
Country: Switzerland
Contact:

Re: Doesn't launch anymore in Ubuntu 17.10

Post by UbuntuBirdy »

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

SH3D 6.6 / Ubuntu 22.04 (Mainline-Kernel) / Radeon RX580 / Ryzen 7 5800x
mrpraline
Posts: 5
Joined: Mon Mar 04, 2019 9:22 pm
Country: NL

Re: Doesn't launch anymore in Ubuntu 17.10

Post by mrpraline »

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:

Code: Select all

#
# 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.
User avatar
UbuntuBirdy
Posts: 421
Joined: Thu Aug 31, 2017 10:31 pm
Country: Switzerland
Contact:

Re: Doesn't launch anymore in Ubuntu 17.10

Post by UbuntuBirdy »

In your personal folder in .local/share/applications create new file named SweetHome3D.desktop.
Copy the following content into it:

Code: Select all

[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

SH3D 6.6 / Ubuntu 22.04 (Mainline-Kernel) / Radeon RX580 / Ryzen 7 5800x
mrpraline
Posts: 5
Joined: Mon Mar 04, 2019 9:22 pm
Country: NL

Re: Doesn't launch anymore in Ubuntu 17.10

Post by mrpraline »

Hi Pascal,

I tried your suggestion, but no success. I should have told you that the messages I got were from staring Sweethome3D from the command line.

So I typed both ./Sweethome3D and ./SweetHome3D-Java3D-1_5_2 in the directory where I extracted SweetHome3D-6.1.2-linux-x86.tgz.
User avatar
UbuntuBirdy
Posts: 421
Joined: Thu Aug 31, 2017 10:31 pm
Country: Switzerland
Contact:

Re: Doesn't launch anymore in Ubuntu 17.10

Post by UbuntuBirdy »

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

SH3D 6.6 / Ubuntu 22.04 (Mainline-Kernel) / Radeon RX580 / Ryzen 7 5800x
mrpraline
Posts: 5
Joined: Mon Mar 04, 2019 9:22 pm
Country: NL

Re: Doesn't launch anymore in Ubuntu 17.10

Post by mrpraline »

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.
mrpraline
Posts: 5
Joined: Mon Mar 04, 2019 9:22 pm
Country: NL

Re: Doesn't launch anymore in Ubuntu 17.10

Post by mrpraline »

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.
lpalazzotto
Posts: 2
Joined: Tue Jun 04, 2019 11:39 pm

Re: Doesn't launch anymore in Ubuntu 17.10

Post by lpalazzotto »

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.
lpalazzotto
Posts: 2
Joined: Tue Jun 04, 2019 11:39 pm

Re: Doesn't launch anymore in Ubuntu 17.10

Post by lpalazzotto »

P.S. I have Ubuntu 19.04
User avatar
dorin
Posts: 824
Joined: Thu Apr 24, 2014 9:14 am
Country: Vatra Dornei, Suceava, Romania

Re: Doesn't launch anymore in Ubuntu 17.10

Post by dorin »

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
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 2 guests