3d View suddenly impossibly slow

This topic has been viewed 242668 times and has 108 replies
Thread status: Active
Still a problem with your graphic card? [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: 3d View suddenly impossibly slow

Post by Puybaret »

borbelyimi, did you try the driver after uninstalling Java3D 1.5.1 for AMD 64, and verifying that Sweet Home 3D was slow again?
Emmanuel Puybaret, Sweet Home 3D creator
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: 3d View suddenly impossibly slow

Post by Puybaret »

Metal89, rhawke, can you report what Java 3D version is displayed in the About dialog of Sweet Home 3D after you installed Java3D 1.5.1 for AMD 64?
Emmanuel Puybaret, Sweet Home 3D creator
borbelyimi
Posts: 4
Joined: Fri Apr 14, 2017 2:23 pm
Country: Hungary

Re: 3d View suddenly impossibly slow

Post by borbelyimi »

Hi,
I installed the Java3D, and the 3d view were good for a _short time_.
Then I installed the Intel graphic driver and the 3d view is good! I think the Java3D is unnecessary, but I didn't uninstall it.
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: 3d View suddenly impossibly slow

Post by Puybaret »

borbelyimi, could you report the Java 3D version displayed in the About dialog then uninstall Java3D 1.5.1 and check how it works?
Emmanuel Puybaret, Sweet Home 3D creator
borbelyimi
Posts: 4
Joined: Fri Apr 14, 2017 2:23 pm
Country: Hungary

Re: 3d View suddenly impossibly slow

Post by borbelyimi »

Hi,

Before I uninstalled the Java3D the version in the about dialog is 1.6.0.
After I uninstalled Java3D 1.5.1 the version in the about dialog is the same (1.6.0).
rhawke
Posts: 11
Joined: Tue Dec 27, 2016 8:09 pm
Country: United States

Re: 3d View suddenly impossibly slow

Post by rhawke »

borbelyimi
Before I uninstalled the Java3D the version in the about dialog is 1.6.0.
After I uninstalled Java3D 1.5.1 the version in the about dialog is the same (1.6.0).
same for me with 64 bit mode extremely slow and installing and uninstalling did not change anything (only Webstart 32 bit worked)
borbelyimi
Then I installed the Intel graphic driver and the 3d view is good! I think the Java3D is unnecessary, but I didn't uninstall it.
This finally did the trick! After updating the Intel Graphics Driver, I can work in normal desktop mode with 64 bit again! Looks like the Intel Graphics Driver could not work with Java 3D 1.6 in 64 bit mode.

Thanks borbelyimi for finding this solution!
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: 3d View suddenly impossibly slow

Post by Puybaret »

In Sweet Home 3D 5.5 released last week, I added the 3 following options to Windows installer to let you choose the Java 3D version and architecture used by the program when there are some problems:
[font=courier new]/os.arch=x86[/font] will force the installation of the 32 bit version of Sweet Home 3D under Windows 64 bit
[font=courier new]/j3d.version=1.5.2[/font] will force the installation of Java 3D 1.5.2 (default Java 3D version until Windows 7)
[font=courier new]/j3d.version=1.6[/font] will force the installation of Java 3D 1.6 (default Java 3D version from Windows 8)

To use these options, simply execute the installer in a cmd window followed by the options of your choice separated by spaces. For example:

Code: Select all

C:\SweetHome3D-5.5-windows.exe /j3d.version=1.5.2 /os.arch=x86
For people not used to commands, this can be achieved this way:
- Press <Windows> + R keys
- Type [font=courier new]cmd[/font] and press <enter> key
- Drag and drop the icon of the installer [font=courier new]SweetHome3D-5.5-windows.exe[/font] in the command window
- Type a space in the cmd window
- Copy [font=courier new]/os.arch=x86 /j3d.version=1.5.2[/font] and paste it in the cmd window
- Press <enter> key.

From you last comments, using Java 3D 1.5.2 after updating your graphics driver might be enough to run Sweet Home 3D under Windows 64 bit, in which case you could first try to run the installer with the option [font=courier new]/j3d.version=1.5.2[/font]

I'm looking forward to reading your comments to be able to modify the FAQ accordingly.
Emmanuel Puybaret, Sweet Home 3D creator
rhawke
Posts: 11
Joined: Tue Dec 27, 2016 8:09 pm
Country: United States

Re: 3d View suddenly impossibly slow

Post by rhawke »

For some reason after a few days the old problem was back even though I didn't change anything. However, I had to replace my laptop this week and with the new one, also running Win 10, Java 1.8 and Java 3D 1.6 in 64 bit mode, everything worked fine right out of the box.

Good news, problem solved, bad news I won't be able to test the changes to the installer.
ybon
Posts: 4
Joined: Tue Nov 14, 2017 5:59 pm

Re: 3d View suddenly impossibly slow

Post by ybon »

Hi,

Running SH3D after a long period without using it, seems I'm hitting the same issue: it's abnormaly slow.
For example, trying to draw a wall on a new project takes something like 5 seconds.
Sometimes it even takes longer for the wall to be drawn on the drawing area than on the 3D viewer.

I'm running Arch Linux on a Precision 5510, with i5-6300HQ Skylake CPUs, 16Gb of RAM.
Graphic card is a Nvidia GM107GLM (Quadro M1000M).
I've a 4k screen (3840x2160).

I'm running Java through OpenJDK 1.9:

Code: Select all

java -version
openjdk version "9"
OpenJDK Runtime Environment (build 9+181)
OpenJDK 64-Bit Server VM (build 9+181, mixed mode)
Java 3D version is 1.6.0.

SH3D version is 5.5.2:

Image


Here is some of my attemps to workaround the situation, but without luck:

- using OpenJDK 8
- java -Dcom.eteks.sweethome3d.j3d.version=1.5.2 -jar SweetHome3D-5.6.jar
- ./javaws SweetHome3D.jnlp


Any idea what more I should try/check to understand/fix the issue?

Thanks for your hints!

Yohan
RalphB
Posts: 2
Joined: Wed Jun 28, 2017 2:32 am
Country: Germany

Re: 3d View suddenly impossibly slow

Post by RalphB »

Many thanks to Emmanuel! The [font=courier new]/j3d.version=1.5.2[/font] option works for me. Not dirty trick anymore, just adding the [font=courier new]Sweethome3D.l4j.ini[/font] with changed options and everything works fine. In my case no performance issues with Intel(R) Graphics Media Accelerator, Driver 9.14.3.1177 and Windows 10 32bit, 1607.

Many thanks again!
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 2 guests