problem with use on linux

This topic has been viewed 4675 times and has 8 replies
Thread status: Active
Questions about Sweet Home 3D installation [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
frpatte
Posts: 15
Joined: Sat Oct 16, 2021 9:43 pm
Country: France

problem with use on linux

Post by frpatte »

Bonjour,

In fact I have 2 problems:

1- I installed sometimes ago SweetHome3D-6.6 and I could not use it because: "I had to update the drivers of my graphic card"... I never find what I had to update because everything was update...

I install SweetHome3D-7.0.2 today and... the problem is still there...

I use fedora in its last version with all drivers in their last version: graphic card is nvidia GeForce GTX 1050 Ti (which not a down market product) and all the drivers are in the last version for this card...


2- I try to install new furniture, so I go to:
http://www.sweethome3d.com/freeModels.jsp
and chose a model to import and use the "furniture import" tool as said in the manual; everything goes well: the answer is: the file.zip has been added to the catalogue. But nothing has been added, I cannot find what I added.

Same thing if I unzip the stuff and try to add one of the unzipped file.

Same thing if I try to add a .obj file or or a .sh3f file.

What can I do?

F.P.
anonnymouz
Posts: 1
Joined: Thu Sep 22, 2022 1:48 pm
Country: Brazil

Re: problem with use on linux

Post by anonnymouz »

Try do download a library from source forge:
http://www.sweethome3d.com/importModels ... sLibraries

Uncompress the zip file and, instead of using "Import forniture..." menu,
go to "Forniture >> Import forniture library" and open the .sh3f uncompressed file.
User avatar
digitaltrails
Posts: 95
Joined: Sun Dec 28, 2014 12:20 am
Country: Wellington, New Zealand, New Zealand
Contact:

Re: problem with use on linux

Post by digitaltrails »

Bonjour,

...
I use fedora in its last version with all drivers in their last version: graphic card is nvidia GeForce GTX 1050 Ti (which not a down market product) and all the drivers are in the last version for this card...

...

What can I do?

F.P.
I'm using SweetHome3D with an Nvidia 1650-Super on OpenSUSE. I'm using Nvidia's proprietary driver.

When ever using Nvidia cards with Nidia's driver, I have had to edit the SweetHome3D startup script and add the option [font=courier new]-Dcom.eteks.sweethome3d.j3d.useOffScreen3DView=true[/font]. Have you tried that?

The edited line would look something like:

Code: Select all

exec "$PROGRAM_DIR"/runtime/bin/java -Xmx6g  -Dcom.eteks.sweethome3d.j3d.useOffScreen3DView=true -classpath "$PROGRAM_DIR"/lib/SweetHome3D.jar:...
frpatte
Posts: 15
Joined: Sat Oct 16, 2021 9:43 pm
Country: France

Re: problem with use on linux

Post by frpatte »

I just tried the code you sent and it kills the terminal!
User avatar
digitaltrails
Posts: 95
Joined: Sun Dec 28, 2014 12:20 am
Country: Wellington, New Zealand, New Zealand
Contact:

Re: problem with use on linux

Post by digitaltrails »

I just tried the code you sent and it kills the terminal!
It reads like you just entered the line in a terminal - which is not what I suggested.

To be clear about what should be done:
  1. Find the executable script SweetHome3D. It will be a /bin/sh script.
    The command

    Code: Select all

    whereis SweetHome3D
    might find it, but it depends on how you installed it.
  2. Save a copy somewhere, just in case something gets messed up.
  3. Open this file with a text editor of your choice.
  4. Find the line that starts SweetHome3D, it normally follows the comment "# Run Sweet Home 3D". It will be a very long line that invokes java and will look similar to the one I quoted, but perhaps not exactly the same.
  5. Insert a new argument to java, that being

    Code: Select all

    -Dcom.eteks.sweethome3d.j3d.useOffScreen3DView=true 
    - as illustrated in my previous post. Be careful to keep the line intact.
  6. Save the file
  7. Run the file
    [/list=1]
frpatte
Posts: 15
Joined: Sat Oct 16, 2021 9:43 pm
Country: France

Re: problem with use on linux

Post by frpatte »

Thank you.... This works!

F.P.
User avatar
digitaltrails
Posts: 95
Joined: Sun Dec 28, 2014 12:20 am
Country: Wellington, New Zealand, New Zealand
Contact:

Re: problem with use on linux

Post by digitaltrails »

Thank you.... This works!

F.P.
Good news.

This should be a FAQ. The FAQ should also state that this is almost certainly true if you are using an Nvidia GPU with Nvidia's proprietary driver (which could be tested by seeing if 'lsmod | grep nvidia_drm' returns a match)."
frpatte
Posts: 15
Joined: Sat Oct 16, 2021 9:43 pm
Country: France

Re: problem with use on linux

Post by frpatte »

In fact, I don't use the proprietary driver but the one you can find on the rpm-fusion repo.

Regards.

F.P.
User avatar
digitaltrails
Posts: 95
Joined: Sun Dec 28, 2014 12:20 am
Country: Wellington, New Zealand, New Zealand
Contact:

Re: problem with use on linux

Post by digitaltrails »

In fact, I don't use the proprietary driver but the one you can find on the rpm-fusion repo.
Regards.

F.P.
On a brief look, the rpm-fusion repo appears to exist to ship non-free software that Redhat declines to ship due to licencing/copyright issues.

The repo offers the non-free Nvidia proprietary driver. So you are most likely using Nvidia's proprietary driver without knowing it. This driver is the one that comes with the nvidia-settings and nvidia-smi applications.
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest