France
Joined: Nov 7, 2005
Post Count: 9426
Status:
Offline
Re: Poor performance on desktop application 3D View compared to HTML5 viewer.
I tried again the installer version (coming with Java 8u51) and the Java Web Start version (with Java 8u131) in 32 and 64 bit under Windows 10 Creators Update on two different computers (an Asus T100 and another one running under Parallels Desktop), and didn't notice any slowdown in the 3D view. Let's wait for the the release of the first updates of the new Windows 10 version before concluding it's Java or Sweet Home 3D fault. By the way, I would be very astonished that the suggestion to install Java 3D 1.4 made by vinylspeed could make the program run better, because Sweet Home 3D always tries to use the Java 3D version provided with it. Running the program with Java 3D 1.4 can't be made without changing running options in an IDE, and it's not what he seems to have attempted (but still thanks for trying)!
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
New Zealand
Joined: Oct 10, 2016
Post Count: 9
Status:
Offline
Re: Poor performance on desktop application 3D View compared to HTML5 viewer.
Emmanuel, It feels like this is another poor graphics driver update bundled with windows 10. I wonder if you could ask everyone who's had this issue to try with webstart, as that uses a different exe from normal java http://www.sweethome3d.com/SweetHome3D.jnlp If that goes ok, then that tells us it's probably driver related.
The last major issue relating to drivers was the generic 1.2 driver which normally stopped everything from working, so I presume this is not that exact same issue.
Possibly checking the old d3d driver performance might help, but it's not easy, if someone with the issue could run this: open powershell on windows cd to a "Program Files (x86)" version of Java (which for me was) C:\Program Files (x86)\Java\jre1.8.0_131\bin> then run sweethome3d from there with the following command:
Notes: you have to use ./ or the normal java runs you have to use all the string quotes or powershell doesn't understand you have to use the -client version and all the other options mentioned or it will not load the java3d1.5.2 d3d drivers
If anyone with the issue could run that, and confirm the speed is ok, then it is almost certainly opengl drivers failing to load.
Also it might help if everyone who's had the issues reports what the graphics card in their machine is, by opening powershell:
wmic path win32_VideoController get name,driverversion
Joined: Apr 25, 2017
Post Count: 5
Status:
Offline
Re: Poor performance on desktop application 3D View compared to HTML5 viewer.
My problem concerns only the desktop version. Web version runs nicely. Another curiosity: I usually work in split secreen. There every manipulation of the 3D takes about 10sec. to be executed. So I move the courser "blindly" on a frozen 3D model and 10sec. later I get the rotation. However, I then switched to "show 3D in seperate window" and I could move and turn it perfectly, for about 30sec.. From then on (and even after restarting sh3d) it's also have the 10sec. stall. Btw. sh3d never crashes or slows down the pc or anything, it just takes 10sec to change the 3D and upon starting takes forever to "load" the bitmaps of furniture (all standard) in the 2D.
Spain
Joined: May 9, 2012
Post Count: 154
Status:
Offline
Re: Poor performance on desktop application 3D View compared to HTML5 viewer.
I tried with the DirectX version of the webstart and it runs considerably better.
---------------------------------------- If a long walk every day were healthy, mailmen would be immortal.
New Zealand
Joined: Oct 10, 2016
Post Count: 9
Status:
Offline
Re: Poor performance on desktop application 3D View compared to HTML5 viewer.
I'm still waiting for anyone with the issue to assist in debugging it by running the 2 command line steps I mentioned above. If we can reliable say that it's the Intel driver on windows 10 bug (and many people have suggested configurations that don't match this) then I can look into a solution.
If someone with the issue also has it with directx, then we will know it something entirely new. If someone with the issue doesn't have Intel drivers, then we know it's not that. If someone with this issue also has it under WebStart then we also know it's not the issue I'm thinking of. However I have never come across another issue like this, other than the Intel driver bug in many long years, so without more debug information it'll be slow going to get a fix done.
Regarding your particular issue, I can't really explain the brief speed up you got when switching to a separate window. But the super slow 3D is perfectly explained by software rendering (which is what it appears people machines are falling back to). The 2D view being slow is expected because the top down icons are created by a one frame 3D render from above. You could change to the catalog icon for furniture in the preferences if you like, but obviously that won't help much.
Sorry it's taking a long time, but I don't get the issues, and I don't have an old Intel GPU laptop to try to reproduce on. Phil.
Thailand
Joined: May 29, 2017
Post Count: 1
Status:
Offline
Re: Poor performance on desktop application 3D View compared to HTML5 viewer.
Could not make heads tails out of the requested test, but with 9.17.10.4439 HD3000 it seems that some times it works for 20 minutes just fine then not - a restart of the program or even the PC does not seem to matter if it is going to work or not - it just sometimes works for a while and then not. Memory management issue I would think - it is not laoding up the PC at all - I have a ton of resource not being used - it just seems to not make use of the memory for the program (sometimes) like 85% of the time. I have 8gig of 1333 ram it is not making use of anything. No expert but a guess.
Joined: May 12, 2013
Post Count: 1545
Status:
Offline
Re: Poor performance on desktop application 3D View compared to HTML5 viewer.
Tried Win10/64bit thingy with an i3 processor. OS just updated through numerous cycles. Confirm that whatever updates Win10 has been up to, has now rendered SH3D so slow that it is practically useless. CPU usage pretty normal, but SH3D (Java Platform SE binary) appears to eat up more memory than it used to(?) Most operations in SH3D are hopelessly slow and 3D window only responds after having
PS> wmic path win32_VideoController get name,driverversion DriverVersion Name 10.18.10.4358 Intel(R) HD Graphics 4000
But this is just one of the issues I have with Win10. Pretty much everything is slower and the fan spins so fast I am afraid the laptop will take off. Sorry that I cannot be of more help. For me the obvious solution is to avoid Win10 (for as long as I can). So far I have yet to find one single benefit for the 'upgrade'.
ok
The other shell command, I have yet to figure out, but I am to annoyed with Win10 to check right now.
PS C:\Users\ok> java "-client" "-d32" "-Dj3d.rend=d3d" "-Dcom.eteks.sweethome3d.j3d.version=1.5.2" -jar "C:\Program Files (x86)\Sweet Home 3D\SweetHome3D-5.4.jar" Error: Unable to access jarfile C:\Program Files (x86)\Sweet Home 3D\SweetHome3D-5.4.jar PS C:\Users\ok> java "-client" "-d32" "-Dj3d.rend=d3d" "-Dcom.eteks.sweethome3d.j3d.version=1.5.2" -jar "C:\Program Files (x86)\Sweet Home 3D\lib\SweetHome3D.jar" Error: Invalid or corrupt jarfile C:\Program Files (x86)\Sweet Home 3D\lib\SweetHome3D.jar PS C:\Users\ok>