I think I’m just going to go back to 3.0, then try again when I get Windows 10 (the 64 bit one of course)
When I tried to use the Dolphin GameCube Emulator in OpenGL mode, it ran absolutely horrid. Then it had a major speed boost in DirectX11 mode, but with a lot of artifacts (which have been there ever since I first started using this card, so that’s normal). I don’t remember OpenGL running so slowly. Also whenever I play Garry’s Mod, sometimes the textures will suddenly go missing, leaving that purple and black checkered pattern. Could this mean anything?
I’ve also had this enum error come up right from the very start. There are probably a lot of people having the same problem but just haven’t bothered to report it. I am using 64 bit windows 8.1 and my system drivers are up to date. Graphics card is a GForce 750M (notebook card).
Minimized? The purple and black is the missing texture texture used by them.
The engine has some notorious problems with reinitializing on maximize, so you get purpleblack skybox reflections and similar.
What could be is, that the other games have the error as well, but simple do not check for it.
JME could actually often continue to run by simple ignoreing the errors, but it is not a intelligent way of dealing with them while developing.
@alfinete & @FloppidyDingo Could you post a full log of the startup debug stuff? Maybee jme makes an assumption on supported features or similar, and this could help.
Hmm … I’ve just seen that it is using my intel card. I’ll try to get it to use my GForce card and see what happens.
… A few minutes later …
Well, I can’t seem to get jME3.1 to run on my GForce card. I tried to set “C:\Program Files\jmonkeyplatform31\bin\jmonkeyplatform64.exe” and java.exe [version 8 update 60] as the executables to activate the GForce card but neither would activate it. Prolly a problem on my pc. Prolly needs HD formatting. I’ll try it on another PC and report back. This pc is an Acer V7
After doing a factory reset on my notebook pc (Win 8 [not 8.1], 64bit), reinstalling the Java 8 JDK (32 bit, update 60) and reinstalling jME3.1 SDK, I don’t get the problem anymore. However, the jME installer is 64 bit. I’m not sure if that makes a difference.
Here is the startup log:
Running on jMonkeyEngine 3.1-alpha1
Branch: master
Git Hash: c5c893f
Build Date: 2015-08-17
LWJGL 2.9.3 context running on thread jME3 Main
Graphics Adapter: igdumdim64
Driver Version: 9.18.10.3165
Scaling Factor: 1
OpenGL Renderer Information
Vendor: NVIDIA Corporation
Renderer: GeForce GT 750M/PCIe/SSE2
OpenGL Version: 4.3.0
GLSL Version: 4.30 NVIDIA via Cg compiler
Profile: Compatibility
Audio Device: OpenAL Soft
Audio Vendor: OpenAL Community
Audio Renderer: OpenAL Soft
Audio Version: 1.1 ALSOFT 1.15.1
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
AudioRenderer supports 64 channels
Pausing audio device not supported.
Audio effect extension version: 1.0
Audio max auxilary sends: 4
Returning hash code of content
Checking page id 1,387,040,574 vs stored id 0
Returning hash code of content
Profile: Core
Audio Device: OpenAL Soft
Audio Vendor: OpenAL Community
Audio Renderer: OpenAL Soft
Audio Version: 1.1 ALSOFT 1.15.1
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
AudioRenderer supports 64 channels
Pausing audio device not supported.
Audio effect extension version: 1.0
Audio max auxilary sends: 4
java.lang.IllegalStateException: Incomplete draw buffer.
at com.jme3.renderer.opengl.GLRenderer.checkFrameBufferError(GLRenderer.java:1351)
at com.jme3.renderer.opengl.GLRenderer.updateFrameBuffer(GLRenderer.java:1488)
at com.jme3.renderer.opengl.GLRenderer.setFrameBuffer(GLRenderer.java:1577)
at com.jme3.renderer.RenderManager.renderViewPort(RenderManager.java:1005)
at com.jme3.renderer.RenderManager.render(RenderManager.java:1070)
at com.jme3.gde.core.scene.SceneApplication.update(SceneApplication.java:321)
at com.jme3.system.awt.AwtPanelsContext.updateInThread(AwtPanelsContext.java:194)
at com.jme3.system.awt.AwtPanelsContext.access$100(AwtPanelsContext.java:44)
at com.jme3.system.awt.AwtPanelsContext$AwtPanelsListener.update(AwtPanelsContext.java:68)
at com.jme3.system.lwjgl.LwjglOffscreenBuffer.runLoop(LwjglOffscreenBuffer.java:125)
at com.jme3.system.lwjgl.LwjglOffscreenBuffer.run(LwjglOffscreenBuffer.java:156)
at java.lang.Thread.run(Thread.java:745)
org.lwjgl.opengl.OpenGLException: Invalid enum (1280)
at org.lwjgl.opengl.Util.checkGLError(Util.java:59)
at com.jme3.system.lwjgl.LwjglOffscreenBuffer.checkGLError(LwjglOffscreenBuffer.java:98)
at com.jme3.system.lwjgl.LwjglOffscreenBuffer.runLoop(LwjglOffscreenBuffer.java:126)
at com.jme3.system.lwjgl.LwjglOffscreenBuffer.run(LwjglOffscreenBuffer.java:156)
at java.lang.Thread.run(Thread.java:745)
java.lang.IllegalStateException: Incomplete draw buffer.
at com.jme3.renderer.opengl.GLRenderer.checkFrameBufferError(GLRenderer.java:1351)
at com.jme3.renderer.opengl.GLRenderer.updateFrameBuffer(GLRenderer.java:1488)
at com.jme3.renderer.opengl.GLRenderer.setFrameBuffer(GLRenderer.java:1577)
at com.jme3.renderer.RenderManager.renderViewPort(RenderManager.java:1005)
at com.jme3.renderer.RenderManager.render(RenderManager.java:1070)
at com.jme3.gde.core.scene.SceneApplication.update(SceneApplication.java:321)
at com.jme3.system.awt.AwtPanelsContext.updateInThread(AwtPanelsContext.java:194)
at com.jme3.system.awt.AwtPanelsContext.access$100(AwtPanelsContext.java:44)
at com.jme3.system.awt.AwtPanelsContext$AwtPanelsListener.update(AwtPanelsContext.java:68)
at com.jme3.system.lwjgl.LwjglOffscreenBuffer.runLoop(LwjglOffscreenBuffer.java:125)
at com.jme3.system.lwjgl.LwjglOffscreenBuffer.run(LwjglOffscreenBuffer.java:156)
at java.lang.Thread.run(Thread.java:745)
org.lwjgl.opengl.OpenGLException: Invalid enum (1280)
at org.lwjgl.opengl.Util.checkGLError(Util.java:59)
at com.jme3.system.lwjgl.LwjglOffscreenBuffer.checkGLError(LwjglOffscreenBuffer.java:98)
at com.jme3.system.lwjgl.LwjglOffscreenBuffer.runLoop(LwjglOffscreenBuffer.java:126)
at com.jme3.system.lwjgl.LwjglOffscreenBuffer.run(LwjglOffscreenBuffer.java:156)
at java.lang.Thread.run(Thread.java:745)
…And those two exceptions will repeat infinitely.
I noticed that the OpenGL version is a compatibility profile. But then the profile type is core. Could that be the problem?
I did some more tests, and it turns out I was wrong. My graphics card is perfectly healthy. The screen flickering apparently only happens when GMod is running, and the random BSOD was probably some random malfunction since it won’t happen again. And the only thing on my PC that tends to overheat is the GeForce 8200m chipset, but my system will cut out if that gets too hot. And please don’t say that, my graphics card has red lights, but I don’t know what they are for since they only show during the first seconds of startup. And honestly I hope I never find out.
I have the same issue on my machine too!
On a fresh install of the 3.1 alpha 1 SDK I get many exceptions with this Invalid Enum message.
The 3.0 SDK runs on the same system (Windows 7 64-Bit, AMD Radeon HD 7730M) without issues.
Any fix for this would be greatly appreciated so I can start using 3.1.
So … it is another one of those changes I made that caused this. Sorry about that.
It is strange that both my Intel & NVIDIA GPUs failed to detect this violation of GL spec.