"glDrawElementsInstanced" not available

The worst monsters in the Hearthlands warp the fabric of space and time...
Rexe21
Posts: 15
Joined: Fri Aug 05, 2011 5:13 am

"glDrawElementsInstanced" not available

Post by Rexe21 »

Code: Select all

java.lang.RuntimeException: haven.BGL$BGLException: javax.media.opengl.GLException: Method "glDrawElementsInstanced" not available
	at com.jogamp.common.util.awt.AWTEDTExecutor.invoke(AWTEDTExecutor.java:58)
	at jogamp.opengl.awt.AWTThreadingPlugin.invokeOnOpenGLThread(AWTThreadingPlugin.java:103)
	at jogamp.opengl.ThreadingImpl.invokeOnOpenGLThread(ThreadingImpl.java:206)
	at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:172)
	at javax.media.opengl.Threading.invoke(Threading.java:191)
	at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:528)
	at haven.HavenPanel$6.uglyjoglhack(HavenPanel.java:441)
	at haven.HavenPanel$6.run(HavenPanel.java:472)
	at java.lang.Thread.run(Unknown Source)
Caused by: haven.BGL$BGLException: javax.media.opengl.GLException: Method "glDrawElementsInstanced" not available
	at haven.BGL.run(BGL.java:80)
	at haven.HavenPanel.redraw(HavenPanel.java:387)
	at haven.HavenPanel$1.display(HavenPanel.java:102)
	at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:649)
	at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:633)
	at javax.media.opengl.awt.GLCanvas$9.run(GLCanvas.java:1271)
	at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1103)
	at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:978)
	at javax.media.opengl.awt.GLCanvas$10.run(GLCanvas.java:1282)
	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$500(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: javax.media.opengl.GLException: Method "glDrawElementsInstanced" not available
	at jogamp.opengl.gl4.GL4bcImpl.glDrawElementsInstanced(GL4bcImpl.java:4807)
	at haven.BGL$45.run(BGL.java:406)
	at haven.BGL.run(BGL.java:78)
	... 22 more
It happen everytime
i tried Downgrade and upgrade drivers and reinstal java
Windows 7 64Bit Java 8
Paladin4all
Posts: 1
Joined: Sat Feb 22, 2014 6:52 pm

Re: Bulding map error!

Post by Paladin4all »

I Have the same problem :(
teriono
Posts: 1
Joined: Sat Aug 29, 2015 11:34 am

Re: Bulding map error!

Post by teriono »

it's so nice that they are taking care of players that can't play.. -.-
Tetsurio
Posts: 3
Joined: Wed Jun 24, 2015 2:36 am

Re: Bulding map error!

Post by Tetsurio »

Me to have the same problem :(
Tetsurio
Posts: 3
Joined: Wed Jun 24, 2015 2:36 am

Error when building a map

Post by Tetsurio »

Code: Select all

java.lang.RuntimeException: haven.BGL$BGLException: javax.media.opengl.GLException: Method "glDrawElementsInstanced" not available
	at com.jogamp.common.util.awt.AWTEDTExecutor.invoke(AWTEDTExecutor.java:58)
	at jogamp.opengl.awt.AWTThreadingPlugin.invokeOnOpenGLThread(AWTThreadingPlugin.java:103)
	at jogamp.opengl.ThreadingImpl.invokeOnOpenGLThread(ThreadingImpl.java:206)
	at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:172)
	at javax.media.opengl.Threading.invoke(Threading.java:191)
	at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:528)
	at haven.HavenPanel$6.uglyjoglhack(HavenPanel.java:441)
	at haven.HavenPanel$6.run(HavenPanel.java:472)
	at java.lang.Thread.run(Unknown Source)
Caused by: haven.BGL$BGLException: javax.media.opengl.GLException: Method "glDrawElementsInstanced" not available
	at haven.BGL.run(BGL.java:80)
	at haven.HavenPanel.redraw(HavenPanel.java:387)
	at haven.HavenPanel$1.display(HavenPanel.java:102)
	at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:649)
	at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:633)
	at javax.media.opengl.awt.GLCanvas$9.run(GLCanvas.java:1271)
	at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1103)
	at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:978)
	at javax.media.opengl.awt.GLCanvas$10.run(GLCanvas.java:1282)
	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$500(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: javax.media.opengl.GLException: Method "glDrawElementsInstanced" not available
	at jogamp.opengl.gl4.GL4bcImpl.glDrawElementsInstanced(GL4bcImpl.java:4807)
	at haven.BGL$45.run(BGL.java:406)
	at haven.BGL.run(BGL.java:78)
	... 22 more
Win 7 x64 service pack
java 8.0_60
Geforce 7700
all drivers are up to date
trying with standard client
Kimparo
Posts: 14
Joined: Sat Jul 20, 2013 4:31 am

Re: Error when building a map

Post by Kimparo »

I am no expert or even know what I'm talking about right now. Though I am under the assumption that the new Haven uses OpenGL 4. Your (and my) graphics card does not support it. I am 100% not sure though.
Rexe21
Posts: 15
Joined: Fri Aug 05, 2011 5:13 am

Re: "glDrawElementsInstanced" not available

Post by Rexe21 »

Still need help :(
User avatar
MagicManICT
Posts: 18435
Joined: Tue Aug 17, 2010 1:47 am

Re: Error when building a map

Post by MagicManICT »

Kimparo wrote:I am no expert or even know what I'm talking about right now. Though I am under the assumption that the new Haven uses OpenGL 4. Your (and my) graphics card does not support it. I am 100% not sure though.
v2.0

I'd have to look up a specific device to see what the OpenGL compatibility is for it as it wasn't kept track of neatly like DirectX
Opinions expressed in this statement are the authors alone and in no way reflect on the game development values of the actual developers.
User avatar
Granger
Posts: 9255
Joined: Mon Mar 22, 2010 2:00 pm

Re: "glDrawElementsInstanced" not available

Post by Granger »

Loftar is working on an option to remove instanced drawing to fix this. Be patient please.
⁎ Mon Mar 22, 2010 ✝ Thu Jan 23, 2020

Return to “Bugs”