User interface issue

This topic has been viewed 22152 times and has 11 replies
Thread status: Active
Still a problem with your graphic card? [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Treglis
Posts: 6
Joined: Mon Apr 03, 2017 3:47 pm

User interface issue

Post by Treglis »

Hi all,

i just have installed latest version 5.4. After start of the application everything seems fine. But right after I create a single wall weird thing is going on with the user interface. The interface is starting to render ui components on random places over each other where ever the mouse cursor is moving, check the screen 1 or screen 2.

I have tried install version and also portable versions in 32 and 64 bit variants. Everytime with the same effect.

I'm using Windows 10, AMD RX 480 latest Crimson driver 17.3.2.

Anyone any idea what can be wrong or how to fix this? Thanks in advance.
Treglis
Posts: 6
Joined: Mon Apr 03, 2017 3:47 pm

Re: User interface issue

Post by Treglis »

So far I have tried different Java versions 6, 7 and 8 in combination of 32 and 64bit with different Java look and feel. I have also tried SH3D version 3.4 and 4.0, same problem. Started with Windows 7 compatibility and admin rights had no effect.

I have found already reported bug https://sourceforge.net/p/sweethome3d/bugs/684/.

Also according to this issue there is at least one another application with the same problem https://github.com/magefree/mage/issues/1514.

My current conclusion is that it have to be problem in JVM directly or on OS or graphic card driver level, because same problem was reported on Windows 7 and 10 and on nVidia and AMD graphic cards.

I think it is not related directly to the 3D part oh the SH3D, but more general problem of Java UI rendering. I was able to simulate it also with just opening combobox in the Settings menu right after the application started.
User avatar
bdfd
Posts: 2614
Joined: Sat Mar 29, 2014 7:17 am
Country: LILLE, Les Hauts de France, Western Europa

Re: User interface issue

Post by bdfd »

Hi,

What is the version of java ?
Go to help menu, click on About...

Give us the java and java3d please.

[:)]
Evil progresses when good people do nothing!
---
SH3D 7.1 and nothing else - W11 64b in 4K
Treglis
Posts: 6
Joined: Mon Apr 03, 2017 3:47 pm

Re: User interface issue

Post by Treglis »

I have tried Java 8_121 32 and 64bit, Java 8_66 32 bit, Java 7_79 32bit, Java 6_43 32 and 64bit. Java3D is 1.6 in SH3D 5.4. I don't know Java3D version in SH3D 4.0 and 3.4 at the moment, but my guess is 1.5.2?

Anyway the problem may be related to Swing's 2D rendering engine using Direct3D. But setting
-Dsun.java2d.opengl=true
-Dsun.java2d.d2d=false
leads to SH3D failed to start with error message that DirectX is required for 3D or something like that (I can't show the exact message at the moment, because I'm not on my home PC).
Treglis
Posts: 6
Joined: Mon Apr 03, 2017 3:47 pm

Re: User interface issue

Post by Treglis »

Small progress.

Using this settings:
-Dsun.java2d.opengl=true
-Dsun.java2d.d2d=false

leads to this.

Using just settings:
-Dsun.java2d.d2d=false

shows error message that there is problem in 3D rendering system initialisation and SH3D is closed.

Using settings:
-Dsun.java2d.d2d=false
-Dcom.eteks.sweethome3d.no3D=true

finally makes the SH3D working and no UI glitches so far. Disadvantage is the missing 3D overview and rendering possibility.

So it definitely seems like problem in Swing components rendering using Direct3D.
Treglis
Posts: 6
Joined: Mon Apr 03, 2017 3:47 pm

Re: User interface issue

Post by Treglis »

Started successfully with jre1.6.0_05 x64 including 3D view. There is problem in combination of newer Java versions (maybe because of some d2d changes in Java 6 u10), DirectX and graphic card driver.

1. Download and install jre-6u5-windows-x64.exe
2. Go to Program Files/java/jre1.6.0_05
3. Copy and overwrite directories bin and lib from the java installation folder to Sweet Home 3D/jre8 directory
4. Start SH3D
ErikJan
Posts: 6
Joined: Tue Oct 23, 2018 11:05 pm
Country: The Netherlands

Re: User interface issue

Post by ErikJan »

I have this too, tried a lot the last few days and still cannot get this resolved
mabanter
Posts: 1
Joined: Thu Nov 01, 2018 12:53 am
Country: Italia

Re: User interface issue

Post by mabanter »

Thank you Treglis. Non run well
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: User interface issue

Post by Puybaret »

Nathan Mai seems to have found a solution to this issue.
It would be nice if more users could report how it works for them.
Emmanuel Puybaret, Sweet Home 3D creator
Kobra77
Posts: 1
Joined: Tue Jan 14, 2020 6:25 pm
Country: France

Re: User interface issue

Post by Kobra77 »

Hi All,

I've used @Treglis tips and it worked! Thx @Treglis.

My Config:
-Windows 10
-Intel Core i7-7700HQ
-NVIDIA GeForce GTX 1070
-48Go Ram
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest