Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect GL Version - Win 10 + Intel HD Graphics + JDK 8 #6

Open
jzy3d opened this issue Nov 9, 2021 · 0 comments
Open

Incorrect GL Version - Win 10 + Intel HD Graphics + JDK 8 #6

jzy3d opened this issue Nov 9, 2021 · 0 comments
Labels
bug Something isn't working invalid This doesn't seem right Windows

Comments

@jzy3d
Copy link
Owner

jzy3d commented Nov 9, 2021

https://forum.jogamp.org/JOGL-project-does-not-work-in-a-different-computer-td4041404.html
https://jogamp.org/bugzilla/show_bug.cgi?id=1278

I tried to get the version in code, by calling :
System.out.println("OpenGL version : " + gl.glGetString(GL2.GL_VERSION));
And I got :
OpenGL version : 1.1.0

This kind of surprises me, since it seems that the maximum valid version of OpenGL is 3.1 in my computer... And also this computer isn't that old

  • OS : Windows 10, 32 bits
  • GPU : Intel(R) HD Graphics 3000 with drivers up to date (I verified them so they should be)
  • Java : jre1.8.0_261

As stated on the original bugzilla ticket, the bug is due to intel drivers.

Instead of providing no OpenGL driver for Windows 10, Intel provides a driver that fails to load for its discontinued hardware. When a signed software claims to support Windows 10 which is the case of Oracle Java and OpenJDK 1.8.0 update 60 and later, the driver loads to load and Microsoft GDI Generic driver is used instead.

I fear that Java Webstart will follow the same route than applets (deprecated in Java 1.9, removed from Java 1.10). I remind that Java Webstart is mostly unusable without paying for a "trusted" certificate or tinkering the JRE. I don't advise to use an old version of Java as it exposes to vulnerabilities. Therefore, there is no acceptable workaround (Java Webstart or downgrading to OpenJDK 1.8.0 update 55).

If we lied to the the driver somehow, it would "work" but as it's not maintained, the bugs would remain unfixed. Intel is to blame here, there is nothing that we can do.

On the long term, using Mesa or Angle under Windows in these cases might help:
https://jogamp.org/bugzilla/show_bug.cgi?id=1179

@jzy3d jzy3d added the bug Something isn't working label Nov 9, 2021
@jzy3d jzy3d added the invalid This doesn't seem right label Nov 29, 2021
@jzy3d jzy3d added the Windows label Dec 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working invalid This doesn't seem right Windows
Projects
None yet
Development

No branches or pull requests

1 participant