Problem with OpenGL

This topic has been viewed 7653 times and has 4 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
SporSeba97
Posts: 1
Joined: Fri Dec 28, 2018 6:06 pm
Country: DE

Problem with OpenGL

Post by SporSeba97 »

Hello everyone,

after some time I have installed Sweet Home 3D again.
Now I get when I start the program the error that I need to update the driver of the graficcard.
My problem is now, that I have updated the driver and I get the error also.

This is my system:
Windows 10 Education 64-bit
CPU: Intel i7-4790K
RAM: 16GB
GPU: Nvidia GTX-970 Driver Verison: 417.35
JRE and JDK Version: 1.8.0_191

I have also tryed older versions of Sweet Home 3D, there I got the same error.
Moreover I have tryed the executable jar version. If I run this from the commandline I get the following error:

Code: Select all

javax.media.j3d.IllegalRenderingStateException: Java 3D ERROR : OpenGL 1.2 or better is required (GL_VERSION=1.1)         at javax.media.j3d.JoglPipeline.setupCanvasProperties(JoglPipeline.java:8090)         at javax.media.j3d.JoglPipeline.createNewContext(JoglPipeline.java:6439)         at javax.media.j3d.Canvas3D.createNewContext(Canvas3D.java:4612)         at javax.media.j3d.Canvas3D.createNewContext(Canvas3D.java:2386)         at javax.media.j3d.Renderer.doWork(Renderer.java:881)         at javax.media.j3d.J3dThread.run(J3dThread.java:271) Error in Java 3D : 3 Renderer: Error creating Canvas3D graphics context


I have also reinstalled java (jre and jdk), the driver of the graficcard and all nvidia software, which I have found on my system. I don't know which more software I need to reinstall.

I have no problems with minecraft which is also running with java and OpenGL.

Does anyone have an idea, who I can fix the probleme without an windows reinstallation?
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Problem with OpenGL

Post by Puybaret »

Did you try both 32 bit and 64 bit versions, selecting either Architecture options in the installation folder screen of Sweet Home 3D installer?
Emmanuel Puybaret, Sweet Home 3D creator
pfranzini
Posts: 5
Joined: Thu Jan 17, 2019 10:07 am
Country: Svizzera

Re: Problem with OpenGL

Post by pfranzini »

I have the same problem too

This is my system:
Windows 10 Home 64-bit
CPU: Intel i7-6700K
RAM: 32GB
GPU: Nvidia GeForce 1080 Driver Version: 417.17
JRE and JDK Version:
java version "1.8.0_201"
Java(TM) SE Runtime Environment (build 1.8.0_201-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode)

try with 32/64 bit:
in task manager Java Platform SE Binary appears and disappears in a moment
tryed the executable jar version:
the same problem as SporSeba97
Java 3D ERROR : OpenGL 1.2 or better is required (GL_VERSION=1.1)
some idea?
pfranzini
Posts: 5
Joined: Thu Jan 17, 2019 10:07 am
Country: Svizzera

Re: Problem with OpenGL

Post by pfranzini »

Update:
with this CMD line work!

Code: Select all

C:\Program Files (x86)\Java\jre1.8.0_201\bin\java "-client" "-d32" "-Dj3d.rend=d3d" "-Dcom.eteks.sweethome3d.j3d.version=1.5.2" -jar C:\Temp\SweetHome3D-6.1.jar"
pfranzini
Posts: 5
Joined: Thu Jan 17, 2019 10:07 am
Country: Svizzera

Re: Problem with OpenGL

Post by pfranzini »

UPDATE 2021.01:
J'ai créé le fichier SweetHome3D.l4j.ini
comme décrit ici : http://www.sweethome3d.com/fr/faq.jsp#e ... ringSystem
et l'a ensuite copié dans:
C:\Program Files (x86)\Sweet Home 3D

en :
C:\Program Files (x86)\Sweet Home 3D\
J'ai renommé le répertoire jre8 de SH3D en _jre8
J'ai créé un nouveau répertoire jre8

J'ai copié les répertoires bin et lib du répertoire
C:\Program Files (x86)\Java\jre1.8.0_271

dans
C:\Program Files (x86)\Sweet Home 3D\jre8

fonctionne maintenant
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest