Incomplete draw buffer error on AMD cards

I keep getting the incomplete draw error on two of my test computers. The only thing these computers have in common is they use AMD. AMD HD6410 / HD5850 are the two cards in question. The same application runs fine on intel and nvidia processors.

I normally play games on the computer with the hd6410 chip set so installed the skd on that machine to debug the application. I was able to run several of the jmetest app. However , when I tried to open my scene in the scene composer the sdk froze and crashed.

Here is the error output from running the application through the sdk.

java.lang.IllegalStateException: Incomplete draw buffer.
at com.jme3.renderer.opengl.GLRenderer.checkFrameBufferError(GLRenderer.java:1425)
at com.jme3.renderer.opengl.GLRenderer.updateFrameBuffer(GLRenderer.java:1590)
at com.jme3.renderer.opengl.GLRenderer.setFrameBuffer(GLRenderer.java:1736)
at com.jme3.renderer.RenderManager.renderViewPort(RenderManager.java:1072)
at com.jme3.renderer.RenderManager.render(RenderManager.java:1145)
at com.jme3.app.SimpleApplication.update(SimpleApplication.java:253)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop(LwjglAbstractDisplay.java:151)
at com.jme3.system.lwjgl.LwjglDisplay.runLoop(LwjglDisplay.java:193)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:232)
at java.lang.Thread.run(Thread.java:745)

My only guess at the moment is this is an issue with JME and AMD. I run games fine on these machines with no graphical errors.

It seems models aren’t rendering properly. When I run the game I get the opening loading screen which consist of 2d gui quads. It crashes as soon as I try to load a model.

P.S. I’m using the JME 3.1 xbuff sdk. The sdk won’t open an empty scene.

Please enable graphics debug and try again:

AppSettings settings = new AppSettings(true);
settings.putBoolean("GraphicsDebug", true);
app.setSettings(settings);

Include the entire log if possible.

Where does the log output ? My error out put window is still displaying the same message as before.

I also confirmed it is a JME 3.1 issue. The scene composer in 3.1 was crashing with incomplete draw buffer error on the AMD hd6410. I uninstalled 3.1 and installed the 3.0 sdk. I could open a scene in 3.0 however I couldn’t open any of my 3.1 scenes. I’m assuming there is a versioning difference.

I used 3.0 in the past on this computer. I just wanted to confirm my suspicion it was 3.1 causing the issue. Somewhere in between something got messed up. I found this online I"m not sure if it is relevant but here you go anyways.

https://groups.google.com/forum/#!topic/jmonkeyengine-notification/LmRGPj6mvzo

You can view the application output by going to Window → Output in the SDK

Alternatively, you can view the log by running the application from the command line.

Okay it’s the same window I was looking at before. I wanted to make sure there wasn’t some hidden debug or output command the sdk. Here is the full output. These are the normal errors I get on both machines. Ignore can’t find texture error. I load those manually. Let me know if there is anything else you need. When I get home from work later tonight I’ll have some free time.

run:
Sep 19, 2016 2:18:43 PM java.util.prefs.WindowsPreferences
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(…) returned error code 5.
Sep 19, 2016 2:18:45 PM com.jme3.system.JmeDesktopSystem initialize
INFO: Running on jMonkeyEngine 3.1-beta1

  • Branch: HEAD
  • Git Hash: 310f4db
  • Build Date: 2016-04-25
    Sep 19, 2016 2:18:46 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
    INFO: LWJGL 2.9.3 context running on thread jME3 Main
  • Graphics Adapter: aticfx64
  • Driver Version: 8.17.10.1094
  • Scaling Factor: 1
    Sep 19, 2016 2:18:46 PM com.jme3.renderer.opengl.GLRenderer loadCapabilitiesCommon
    INFO: OpenGL Renderer Information
  • Vendor: ATI Technologies Inc.
  • Renderer: AMD RADEON HD6410D Graphics
  • OpenGL Version: 4.1.11079 Compatibility Profile Context
  • GLSL Version: 4.10
  • Profile: Core
    Sep 19, 2016 2:18:46 PM com.jme3.asset.AssetConfig loadText
    WARNING: Cannot find loader com.jme3.scene.plugins.blender.BlenderModelLoader
    Sep 19, 2016 2:18:46 PM com.jme3.audio.openal.ALAudioRenderer initOpenAL
    INFO: Audio Renderer Information
  • Device: OpenAL Soft
  • Vendor: OpenAL Community
  • Renderer: OpenAL Soft
  • Version: 1.1 ALSOFT 1.15.1
  • Supported channels: 64
  • ALC extensions: ALC_ENUMERATE_ALL_EXT ALC_ENUMERATION_EXT ALC_EXT_CAPTURE ALC_EXT_DEDICATED ALC_EXT_disconnect ALC_EXT_EFX ALC_EXT_thread_local_context ALC_SOFT_loopback
  • AL extensions: AL_EXT_ALAW AL_EXT_DOUBLE AL_EXT_EXPONENT_DISTANCE AL_EXT_FLOAT32 AL_EXT_IMA4 AL_EXT_LINEAR_DISTANCE AL_EXT_MCFORMATS AL_EXT_MULAW AL_EXT_MULAW_MCFORMATS AL_EXT_OFFSET AL_EXT_source_distance_model AL_LOKI_quadriphonic AL_SOFT_buffer_samples AL_SOFT_buffer_sub_data AL_SOFTX_deferred_updates AL_SOFT_direct_channels AL_SOFT_loop_points AL_SOFT_source_latency
    Sep 19, 2016 2:18:46 PM com.jme3.audio.openal.ALAudioRenderer initOpenAL
    WARNING: Pausing audio device not supported.
    Sep 19, 2016 2:18:46 PM com.jme3.audio.openal.ALAudioRenderer initOpenAL
    INFO: Audio effect extension version: 1.0
    Sep 19, 2016 2:18:46 PM com.jme3.audio.openal.ALAudioRenderer initOpenAL
    INFO: Audio max auxiliary sends: 4
    Bullet-Native: Initializing java classes
    Sep 19, 2016 2:18:47 PM com.jme3.texture.Texture read
    SEVERE: Cannot locate texture loading.png (Flipped) (Mipmapped)
    Sep 19, 2016 2:18:47 PM com.jme3.texture.Texture read
    SEVERE: Cannot locate texture dot.png (Flipped) (Mipmapped)
    Sep 19, 2016 2:18:47 PM com.jme3.texture.Texture read
    SEVERE: Cannot locate texture dot.png (Flipped) (Mipmapped)
    Sep 19, 2016 2:18:47 PM com.jme3.texture.Texture read
    SEVERE: Cannot locate texture dot.png (Flipped) (Mipmapped)
    Sep 19, 2016 2:18:48 PM com.jme3.material.Material setTextureParam
    WARNING: The texture Models/zombiecommon/textures/zombie_common_hood.tga has linear color space, but the material parameter DiffuseMap specifies no color space requirement, this may lead to unexpected behavior.
    Check if the image was not set to another material parameter with a linear color space, or that you did not set the ColorSpace to Linear using texture.getImage.setColorSpace().
    Sep 19, 2016 2:18:48 PM com.jme3.material.Material setTextureParam
    WARNING: The texture Models/zombiecommon/textures/zombie_common_hood.tga has linear color space, but the material parameter DiffuseMap specifies no color space requirement, this may lead to unexpected behavior.
    Check if the image was not set to another material parameter with a linear color space, or that you did not set the ColorSpace to Linear using texture.getImage.setColorSpace().
    Sep 19, 2016 2:18:48 PM com.jme3.material.Material setTextureParam
    WARNING: The texture Models/zombiecommon/textures/zombie_common_hood.tga has linear color space, but the material parameter DiffuseMap specifies no color space requirement, this may lead to unexpected behavior.
    Check if the image was not set to another material parameter with a linear color space, or that you did not set the ColorSpace to Linear using texture.getImage.setColorSpace().
    Sep 19, 2016 2:18:49 PM com.jme3.texture.Texture read
    SEVERE: Cannot locate texture title.png (Flipped) (Mipmapped)
    Sep 19, 2016 2:18:49 PM com.jme3.texture.Texture read
    SEVERE: Cannot locate texture start1.png (Flipped) (Mipmapped)
    Sep 19, 2016 2:18:49 PM com.jme3.texture.Texture read
    SEVERE: Cannot locate texture continue1.png (Flipped) (Mipmapped)
    Sep 19, 2016 2:18:49 PM com.jme3.app.LegacyApplication handleError
    SEVERE: Uncaught exception thrown in Thread[jME3 Main,5,main]
    java.lang.IllegalStateException: Incomplete draw buffer.
    at com.jme3.renderer.opengl.GLRenderer.checkFrameBufferError(GLRenderer.java:1425)
    at com.jme3.renderer.opengl.GLRenderer.updateFrameBuffer(GLRenderer.java:1590)
    at com.jme3.renderer.opengl.GLRenderer.setFrameBuffer(GLRenderer.java:1736)
    at com.jme3.renderer.RenderManager.renderViewPort(RenderManager.java:1072)
    at com.jme3.renderer.RenderManager.render(RenderManager.java:1145)
    at com.jme3.app.SimpleApplication.update(SimpleApplication.java:253)
    at com.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop(LwjglAbstractDisplay.java:151)
    at com.jme3.system.lwjgl.LwjglDisplay.runLoop(LwjglDisplay.java:193)
    at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:232)
    at java.lang.Thread.run(Thread.java:745)

By the way, were you able to add these lines?

AppSettings settings = new AppSettings(true);
settings.putBoolean("GraphicsDebug", true);
app.setSettings(settings);

You need to put them in your app’s main method, like so:

public static void main(String[] args) {
    YourApp app = new YourApp();
    AppSettings settings = new AppSettings(true);
    settings.putBoolean("GraphicsDebug", true);
    app.setSettings(settings);
    app.start()
}

It will make finding the cause of the issue much easier.

Silly me , I’m such a noob. I put it in the wrong spot. Here is the more detailed version.

run:
Sep 19, 2016 10:49:23 PM java.util.prefs.WindowsPreferences
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(…) returned error code 5.
Sep 19, 2016 10:49:31 PM com.jme3.system.JmeDesktopSystem initialize
INFO: Running on jMonkeyEngine 3.1-beta1

  • Branch: HEAD
  • Git Hash: 310f4db
  • Build Date: 2016-04-25
    Sep 19, 2016 10:49:32 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
    INFO: LWJGL 2.9.3 context running on thread jME3 Main
  • Graphics Adapter: aticfx64
  • Driver Version: 8.17.10.1094
  • Scaling Factor: 1
    Sep 19, 2016 10:49:33 PM com.jme3.renderer.opengl.GLRenderer loadCapabilitiesCommon
    INFO: OpenGL Renderer Information
  • Vendor: ATI Technologies Inc.
  • Renderer: AMD RADEON HD6410D Graphics
  • OpenGL Version: 4.1.11079 Compatibility Profile/Debug Context
  • GLSL Version: 4.10
  • Profile: Core
    Sep 19, 2016 10:49:33 PM com.jme3.asset.AssetConfig loadText
    WARNING: Cannot find loader com.jme3.scene.plugins.blender.BlenderModelLoader
    Sep 19, 2016 10:49:33 PM com.jme3.audio.openal.ALAudioRenderer initOpenAL
    INFO: Audio Renderer Information
  • Device: OpenAL Soft
  • Vendor: OpenAL Community
  • Renderer: OpenAL Soft
  • Version: 1.1 ALSOFT 1.15.1
  • Supported channels: 64
  • ALC extensions: ALC_ENUMERATE_ALL_EXT ALC_ENUMERATION_EXT ALC_EXT_CAPTURE ALC_EXT_DEDICATED ALC_EXT_disconnect ALC_EXT_EFX ALC_EXT_thread_local_context ALC_SOFT_loopback
  • AL extensions: AL_EXT_ALAW AL_EXT_DOUBLE AL_EXT_EXPONENT_DISTANCE AL_EXT_FLOAT32 AL_EXT_IMA4 AL_EXT_LINEAR_DISTANCE AL_EXT_MCFORMATS AL_EXT_MULAW AL_EXT_MULAW_MCFORMATS AL_EXT_OFFSET AL_EXT_source_distance_model AL_LOKI_quadriphonic AL_SOFT_buffer_samples AL_SOFT_buffer_sub_data AL_SOFTX_deferred_updates AL_SOFT_direct_channels AL_SOFT_loop_points AL_SOFT_source_latency
    Sep 19, 2016 10:49:33 PM com.jme3.audio.openal.ALAudioRenderer initOpenAL
    WARNING: Pausing audio device not supported.
    Sep 19, 2016 10:49:33 PM com.jme3.audio.openal.ALAudioRenderer initOpenAL
    INFO: Audio effect extension version: 1.0
    Sep 19, 2016 10:49:33 PM com.jme3.audio.openal.ALAudioRenderer initOpenAL
    INFO: Audio max auxiliary sends: 4
    Bullet-Native: Initializing java classes
    Sep 19, 2016 10:49:34 PM com.jme3.texture.Texture read
    SEVERE: Cannot locate texture loading.png (Flipped) (Mipmapped)
    Sep 19, 2016 10:49:34 PM com.jme3.texture.Texture read
    SEVERE: Cannot locate texture dot.png (Flipped) (Mipmapped)
    Sep 19, 2016 10:49:34 PM com.jme3.texture.Texture read
    SEVERE: Cannot locate texture dot.png (Flipped) (Mipmapped)
    Sep 19, 2016 10:49:34 PM com.jme3.texture.Texture read
    SEVERE: Cannot locate texture dot.png (Flipped) (Mipmapped)
    Sep 19, 2016 10:49:36 PM com.jme3.material.Material setTextureParam
    WARNING: The texture Models/zombiecommon/textures/zombie_common_hood.tga has linear color space, but the material parameter DiffuseMap specifies no color space requirement, this may lead to unexpected behavior.
    Check if the image was not set to another material parameter with a linear color space, or that you did not set the ColorSpace to Linear using texture.getImage.setColorSpace().
    Sep 19, 2016 10:49:36 PM com.jme3.material.Material setTextureParam
    WARNING: The texture Models/zombiecommon/textures/zombie_common_hood.tga has linear color space, but the material parameter DiffuseMap specifies no color space requirement, this may lead to unexpected behavior.
    Check if the image was not set to another material parameter with a linear color space, or that you did not set the ColorSpace to Linear using texture.getImage.setColorSpace().
    Sep 19, 2016 10:49:36 PM com.jme3.material.Material setTextureParam
    WARNING: The texture Models/zombiecommon/textures/zombie_common_hood.tga has linear color space, but the material parameter DiffuseMap specifies no color space requirement, this may lead to unexpected behavior.
    Check if the image was not set to another material parameter with a linear color space, or that you did not set the ColorSpace to Linear using texture.getImage.setColorSpace().
    Sep 19, 2016 10:49:36 PM com.jme3.texture.Texture read
    SEVERE: Cannot locate texture title.png (Flipped) (Mipmapped)
    Sep 19, 2016 10:49:36 PM com.jme3.texture.Texture read
    SEVERE: Cannot locate texture start1.png (Flipped) (Mipmapped)
    Sep 19, 2016 10:49:36 PM com.jme3.texture.Texture read
    SEVERE: Cannot locate texture continue1.png (Flipped) (Mipmapped)
    [JME3] OpenGL debug message
    ID: 1000
    Source: API
    Type: ERROR
    Severity: HIGH
    Message: glTexParameteri has generated an error (GL_INVALID_ENUM)
    java.lang.Exception: Stack trace
    at java.lang.Thread.dumpStack(Thread.java:1329)
    at com.jme3.system.lwjgl.LwjglGLDebugOutputHandler.handleMessage(LwjglGLDebugOutputHandler.java:76)
    at org.lwjgl.opengl.GL11.nglTexParameteri(Native Method)
    at org.lwjgl.opengl.GL11.glTexParameteri(GL11.java:3016)
    at com.jme3.renderer.lwjgl.LwjglGL.glTexParameteri(LwjglGL.java:320)
    at com.jme3.renderer.opengl.GLDebugES.glTexParameteri(GLDebugES.java:327)
    at com.jme3.renderer.opengl.GLRenderer.updateTexImageData(GLRenderer.java:2140)
    at com.jme3.renderer.opengl.GLRenderer.updateRenderTexture(GLRenderer.java:1500)
    at com.jme3.renderer.opengl.GLRenderer.updateFrameBufferAttachment(GLRenderer.java:1531)
    at com.jme3.renderer.opengl.GLRenderer.updateFrameBuffer(GLRenderer.java:1581)
    at com.jme3.renderer.opengl.GLRenderer.setFrameBuffer(GLRenderer.java:1736)
    at com.jme3.renderer.RenderManager.renderViewPort(RenderManager.java:1072)
    at com.jme3.renderer.RenderManager.render(RenderManager.java:1145)
    at com.jme3.app.SimpleApplication.update(SimpleApplication.java:253)
    at com.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop(LwjglAbstractDisplay.java:151)
    at com.jme3.system.lwjgl.LwjglDisplay.runLoop(LwjglDisplay.java:193)
    at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:232)
    at java.lang.Thread.run(Thread.java:745)
    Sep 19, 2016 10:49:37 PM com.jme3.app.LegacyApplication handleError
    SEVERE: Uncaught exception thrown in Thread[jME3 Main,5,main]
    com.jme3.renderer.RendererException: An OpenGL error occurred - Invalid enum argument (Error Code: 1280)
    at com.jme3.renderer.opengl.GLDebug.checkError(GLDebug.java:46)
    at com.jme3.renderer.opengl.GLDebugES.glTexParameteri(GLDebugES.java:328)
    at com.jme3.renderer.opengl.GLRenderer.updateTexImageData(GLRenderer.java:2140)
    at com.jme3.renderer.opengl.GLRenderer.updateRenderTexture(GLRenderer.java:1500)
    at com.jme3.renderer.opengl.GLRenderer.updateFrameBufferAttachment(GLRenderer.java:1531)
    at com.jme3.renderer.opengl.GLRenderer.updateFrameBuffer(GLRenderer.java:1581)
    at com.jme3.renderer.opengl.GLRenderer.setFrameBuffer(GLRenderer.java:1736)
    at com.jme3.renderer.RenderManager.renderViewPort(RenderManager.java:1072)
    at com.jme3.renderer.RenderManager.render(RenderManager.java:1145)
    at com.jme3.app.SimpleApplication.update(SimpleApplication.java:253)
    at com.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop(LwjglAbstractDisplay.java:151)
    at com.jme3.system.lwjgl.LwjglDisplay.runLoop(LwjglDisplay.java:193)
    at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:232)
    at java.lang.Thread.run(Thread.java:745)

Yeah I get this too. It’s the only reason why I can’t use 3.1, the SDK won’t do anything without crashing to that incomplete draw buffer error. Running a game works fine, but I can’t view my models in Scene Composer, which I use a lot. I also run an AMD card (Radeon HD 4800)

Add the AMD R-series to the list of processors JME 3.1 isn’t compatible with. I’m not sure what is the correlation between this and the other processors is other than they are budget on board types.