openrndr-template icon indicating copy to clipboard operation
openrndr-template copied to clipboard

"Unable to create primary window" issue

Open Sofianba opened this issue 4 years ago • 5 comments

I get this error when I try to run the template :

Caused by: java.lang.IllegalStateException: primary window could not be created.

My procedure was :

  • cloning the repository via version control.
  • running "run" in the gradle tasks tab.

I tried this :

  1. deleting the clone.
  2. resetting IntelliJ IDEA to default settings.
  3. going through the same steps again.

Sofianba avatar Mar 16 '21 10:03 Sofianba

Which platform and hardware are you using? primary window could not be created usually indicates that no OpenGL context could be created.

edwinRNDR avatar Mar 16 '21 11:03 edwinRNDR

I looked up OpenGL and yes, you're right. My machine does only support openGL up to version 2.x since it's using integrated graphics.

Sofianba avatar Mar 19 '21 10:03 Sofianba

Sometimes integrated graphics support up to 4.5 or 4.6. Are there new drivers available?

hamoid avatar Mar 19 '21 12:03 hamoid

with the latest drivers installed now I can only run up to GL 3.1.

In any case here's a GPU report with all info : gpu_caps_viewer_report.txt

Sofianba avatar Mar 24 '21 19:03 Sofianba

According to https://guide.openrndr.org/#/01_Before_you_start/C02ShouldIUseOPENRNDR GL 3.3 unfortunately is the minimum.

hamoid avatar Sep 30 '21 07:09 hamoid