editor/README_TROUBLESHOOTING_GLGENBUFFERS.md
com.jogamp.opengl.GLException: The graphics device does not support: glGenBuffers
If you encounter this exception, first of all try updating your graphics drivers. If that does not help, follow the instructions for your platform below.
Spotted an error? Found another solution? Open a PR! :)
Open a new issue here and attach the output from glxinfo
To help you troubleshoot we need some info about your graphics card, for instance the output from dxdiag or a GL Report from OpenGL ExtensionsViewer. Open a new issue here and attach the info.
The editor runs on java, using jogamp for OpenGL support. Since Java 8u60, java.exe is marked Windows 10 Compliant by a small change in its embedded manifest. The Intel Windows 10 drivers only work on applications not marked Windows 10 Compliant. Go figure.
Read more about the situation here:
The editor appears to run fine if you undo the manifest change on the bundled java.exe. You can get a patched version here: java.exe
You can do it yourself by following these instructions:
First you need the Manifest Tool. It's distributed as part of the Windows SDK. You probably already have it if you have Visual Studio installed.
mt.exe installedC:\Users\your.name>mt.exe
C:\Users\your.name>cd Defold\packages\jre\bin
java.exeC:\Users\your.name\Defold\packages\jre\bin>mt -inputresource:java.exe -out:java.manifest
java.manifest you extracted above in your favourite editorC:\Users\your.name\Defold\packages\jre\bin>notepad java.manifest
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"></supportedOS>
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"></supportedOS>
<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"></supportedOS>
<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"></supportedOS>
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"></supportedOS>
</application>
</compatibility>
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"></supportedOS> is what marks java.exe Windows 10 Compliant. Remove it or comment it out. Save.C:\Users\your.name\Defold\packages\jre\bin>mt -manifest java.manifest -outputresource:java.exe;#1
Enable 3D acceleration under Hardware, Graphics, Advanced Settings.
Enable 3D acceleration under Display, Screen.