Danjb
Posts: 9
Joined: Tue Nov 05, 2013 10:03 pm

Bandicam crashes my LWJGL3 game

Sat Jan 05, 2019 3:36 am

- Windows Version: Windows 10
- Graphic card model: NVIDIA GTX 1070
- Bandicam version: 4.3.0.1479
- Bandicam mode: Game Recording Mode
- Recording Target: LWJGL3 game


I am developing a game using LWJGL3.

The game runs fine by itself, or if Bandicam is in screen recording mode. But in game recording mode, I observed that my level texture appeared cut-off after a certain point.

Thinking this was a problem with my game, I launched it again using the LWJGL debug agent. The second I put Bandicam into game recording mode, the game crashes. The debugger prints the following errors:

Code: Select all

[error][1] OpenGL debug message
  ID: 0x500
  Source: API
  Type: ERROR
  Severity: HIGH
  Message: GL_INVALID_ENUM error generated. Operation is not valid from the core profile.
  Stacktrace: org.lwjgl.system.JNI.invokePV(Native Method)
              org.lwjgl.glfw.GLFW.glfwSwapBuffers(GLFW.java:4521)
              org.lwjglx.debug.glfw.GLFW.glfwSwapBuffers(GLFW.java:453)
              client.launcher.GLWindow.swapBuffers(GLWindow.java:373)
              client.launcher.ClientLauncher.tick(ClientLauncher.java:316)
              client.launcher.ClientLauncher.start(ClientLauncher.java:282)
              main.AbacusLauncher.main(AbacusLauncher.java:73)
[error][1] OpenGL debug message
  ID: 0x502
  Source: API
  Type: ERROR
  Severity: HIGH
  Message: GL_INVALID_OPERATION error generated. Function glPushAttrib is deprecated and not available in preview contexts.
  Stacktrace: org.lwjgl.system.JNI.invokePV(Native Method)
              org.lwjgl.glfw.GLFW.glfwSwapBuffers(GLFW.java:4521)
              org.lwjglx.debug.glfw.GLFW.glfwSwapBuffers(GLFW.java:453)
              client.launcher.GLWindow.swapBuffers(GLWindow.java:373)
              client.launcher.ClientLauncher.tick(ClientLauncher.java:316)
              client.launcher.ClientLauncher.start(ClientLauncher.java:282)
              main.AbacusLauncher.main(AbacusLauncher.java:73)
[error][1] OpenGL debug message
  ID: 0x502
  Source: API
  Type: ERROR
  Severity: HIGH
  Message: GL_INVALID_OPERATION error generated. Function glMatrixMode is deprecated and not available in preview contexts.
  Stacktrace: org.lwjgl.system.JNI.invokePV(Native Method)
              org.lwjgl.glfw.GLFW.glfwSwapBuffers(GLFW.java:4521)
              org.lwjglx.debug.glfw.GLFW.glfwSwapBuffers(GLFW.java:453)
              client.launcher.GLWindow.swapBuffers(GLWindow.java:373)
              client.launcher.ClientLauncher.tick(ClientLauncher.java:316)
              client.launcher.ClientLauncher.start(ClientLauncher.java:282)
              main.AbacusLauncher.main(AbacusLauncher.java:73)
[error][1] OpenGL debug message
  ID: 0x502
  Source: API
  Type: ERROR
  Severity: HIGH
  Message: GL_INVALID_OPERATION error generated. Function glPushMatrix is deprecated and not available in preview contexts.
  Stacktrace: org.lwjgl.system.JNI.invokePV(Native Method)
              org.lwjgl.glfw.GLFW.glfwSwapBuffers(GLFW.java:4521)
              org.lwjglx.debug.glfw.GLFW.glfwSwapBuffers(GLFW.java:453)
              client.launcher.GLWindow.swapBuffers(GLWindow.java:373)
              client.launcher.ClientLauncher.tick(ClientLauncher.java:316)
              client.launcher.ClientLauncher.start(ClientLauncher.java:282)
              main.AbacusLauncher.main(AbacusLauncher.java:73)
[error][1] OpenGL debug message
  ID: 0x502
  Source: API
  Type: ERROR
  Severity: HIGH
  Message: GL_INVALID_OPERATION error generated. Function glLoadIdentity is deprecated and not available in preview contexts.
  Stacktrace: org.lwjgl.system.JNI.invokePV(Native Method)
              org.lwjgl.glfw.GLFW.glfwSwapBuffers(GLFW.java:4521)
              org.lwjglx.debug.glfw.GLFW.glfwSwapBuffers(GLFW.java:453)
              client.launcher.GLWindow.swapBuffers(GLWindow.java:373)
              client.launcher.ClientLauncher.tick(ClientLauncher.java:316)
              client.launcher.ClientLauncher.start(ClientLauncher.java:282)
              main.AbacusLauncher.main(AbacusLauncher.java:73)
[error][1] OpenGL debug message
  ID: 0x502
  Source: API
  Type: ERROR
  Severity: HIGH
  Message: GL_INVALID_OPERATION error generated. Function glOrtho is deprecated and not available in preview contexts.
  Stacktrace: org.lwjgl.system.JNI.invokePV(Native Method)
              org.lwjgl.glfw.GLFW.glfwSwapBuffers(GLFW.java:4521)
              org.lwjglx.debug.glfw.GLFW.glfwSwapBuffers(GLFW.java:453)
              client.launcher.GLWindow.swapBuffers(GLWindow.java:373)
              client.launcher.ClientLauncher.tick(ClientLauncher.java:316)
              client.launcher.ClientLauncher.start(ClientLauncher.java:282)
              main.AbacusLauncher.main(AbacusLauncher.java:73)
[error][1] OpenGL debug message
  ID: 0x502
  Source: API
  Type: ERROR
  Severity: HIGH
  Message: GL_INVALID_OPERATION error generated. Function glMatrixMode is deprecated and not available in preview contexts.
  Stacktrace: org.lwjgl.system.JNI.invokePV(Native Method)
              org.lwjgl.glfw.GLFW.glfwSwapBuffers(GLFW.java:4521)
              org.lwjglx.debug.glfw.GLFW.glfwSwapBuffers(GLFW.java:453)
              client.launcher.GLWindow.swapBuffers(GLWindow.java:373)
              client.launcher.ClientLauncher.tick(ClientLauncher.java:316)
              client.launcher.ClientLauncher.start(ClientLauncher.java:282)
              main.AbacusLauncher.main(AbacusLauncher.java:73)
[error][1] OpenGL debug message
  ID: 0x502
  Source: API
  Type: ERROR
  Severity: HIGH
  Message: GL_INVALID_OPERATION error generated. Function glPushMatrix is deprecated and not available in preview contexts.
  Stacktrace: org.lwjgl.system.JNI.invokePV(Native Method)
              org.lwjgl.glfw.GLFW.glfwSwapBuffers(GLFW.java:4521)
              org.lwjglx.debug.glfw.GLFW.glfwSwapBuffers(GLFW.java:453)
              client.launcher.GLWindow.swapBuffers(GLWindow.java:373)
              client.launcher.ClientLauncher.tick(ClientLauncher.java:316)
              client.launcher.ClientLauncher.start(ClientLauncher.java:282)
              main.AbacusLauncher.main(AbacusLauncher.java:73)
[error][1] OpenGL debug message
  ID: 0x502
  Source: API
  Type: ERROR
  Severity: HIGH
  Message: GL_INVALID_OPERATION error generated. Function glLoadIdentity is deprecated and not available in preview contexts.
  Stacktrace: org.lwjgl.system.JNI.invokePV(Native Method)
              org.lwjgl.glfw.GLFW.glfwSwapBuffers(GLFW.java:4521)
              org.lwjglx.debug.glfw.GLFW.glfwSwapBuffers(GLFW.java:453)
              client.launcher.GLWindow.swapBuffers(GLWindow.java:373)
              client.launcher.ClientLauncher.tick(ClientLauncher.java:316)
              client.launcher.ClientLauncher.start(ClientLauncher.java:282)
              main.AbacusLauncher.main(AbacusLauncher.java:73)
[error][1] OpenGL debug message
  ID: 0x500
  Source: API
  Type: ERROR
  Severity: HIGH
  Message: GL_INVALID_ENUM error generated. Cannot enable <cap> in the current profile.
  Stacktrace: org.lwjgl.system.JNI.invokePV(Native Method)
              org.lwjgl.glfw.GLFW.glfwSwapBuffers(GLFW.java:4521)
              org.lwjglx.debug.glfw.GLFW.glfwSwapBuffers(GLFW.java:453)
              client.launcher.GLWindow.swapBuffers(GLWindow.java:373)
              client.launcher.ClientLauncher.tick(ClientLauncher.java:316)
              client.launcher.ClientLauncher.start(ClientLauncher.java:282)
              main.AbacusLauncher.main(AbacusLauncher.java:73)
[error][1] OpenGL debug message
  ID: 0x500
  Source: API
  Type: ERROR
  Severity: HIGH
  Message: GL_INVALID_ENUM error generated. Cannot enable <cap> in the current profile.
  Stacktrace: org.lwjgl.system.JNI.invokePV(Native Method)
              org.lwjgl.glfw.GLFW.glfwSwapBuffers(GLFW.java:4521)
              org.lwjglx.debug.glfw.GLFW.glfwSwapBuffers(GLFW.java:453)
              client.launcher.GLWindow.swapBuffers(GLWindow.java:373)
              client.launcher.ClientLauncher.tick(ClientLauncher.java:316)
              client.launcher.ClientLauncher.start(ClientLauncher.java:282)
              main.AbacusLauncher.main(AbacusLauncher.java:73)
[error][1] OpenGL debug message
  ID: 0x500
  Source: API
  Type: ERROR
  Severity: HIGH
  Message: GL_INVALID_ENUM error generated. Cannot enable <cap> in the current profile.
  Stacktrace: org.lwjgl.system.JNI.invokePV(Native Method)
              org.lwjgl.glfw.GLFW.glfwSwapBuffers(GLFW.java:4521)
              org.lwjglx.debug.glfw.GLFW.glfwSwapBuffers(GLFW.java:453)
              client.launcher.GLWindow.swapBuffers(GLWindow.java:373)
              client.launcher.ClientLauncher.tick(ClientLauncher.java:316)
              client.launcher.ClientLauncher.start(ClientLauncher.java:282)
              main.AbacusLauncher.main(AbacusLauncher.java:73)
[error][1] OpenGL debug message
  ID: 0x500
  Source: API
  Type: ERROR
  Severity: HIGH
  Message: GL_INVALID_ENUM error generated. Cannot enable <cap> in the current profile.
  Stacktrace: org.lwjgl.system.JNI.invokePV(Native Method)
              org.lwjgl.glfw.GLFW.glfwSwapBuffers(GLFW.java:4521)
              org.lwjglx.debug.glfw.GLFW.glfwSwapBuffers(GLFW.java:453)
              client.launcher.GLWindow.swapBuffers(GLWindow.java:373)
              client.launcher.ClientLauncher.tick(ClientLauncher.java:316)
              client.launcher.ClientLauncher.start(ClientLauncher.java:282)
              main.AbacusLauncher.main(AbacusLauncher.java:73)
[error][1] OpenGL debug message
  ID: 0x502
  Source: API
  Type: ERROR
  Severity: HIGH
  Message: GL_INVALID_OPERATION error generated. Function glPopMatrix is deprecated and not available in preview contexts.
  Stacktrace: org.lwjgl.system.JNI.invokePV(Native Method)
              org.lwjgl.glfw.GLFW.glfwSwapBuffers(GLFW.java:4521)
              org.lwjglx.debug.glfw.GLFW.glfwSwapBuffers(GLFW.java:453)
              client.launcher.GLWindow.swapBuffers(GLWindow.java:373)
              client.launcher.ClientLauncher.tick(ClientLauncher.java:316)
              client.launcher.ClientLauncher.start(ClientLauncher.java:282)
              main.AbacusLauncher.main(AbacusLauncher.java:73)
[error][1] OpenGL debug message
  ID: 0x502
  Source: API
  Type: ERROR
  Severity: HIGH
  Message: GL_INVALID_OPERATION error generated. Function glMatrixMode is deprecated and not available in preview contexts.
  Stacktrace: org.lwjgl.system.JNI.invokePV(Native Method)
              org.lwjgl.glfw.GLFW.glfwSwapBuffers(GLFW.java:4521)
              org.lwjglx.debug.glfw.GLFW.glfwSwapBuffers(GLFW.java:453)
              client.launcher.GLWindow.swapBuffers(GLWindow.java:373)
              client.launcher.ClientLauncher.tick(ClientLauncher.java:316)
              client.launcher.ClientLauncher.start(ClientLauncher.java:282)
              main.AbacusLauncher.main(AbacusLauncher.java:73)
[error][1] OpenGL debug message
  ID: 0x502
  Source: API
  Type: ERROR
  Severity: HIGH
  Message: GL_INVALID_OPERATION error generated. Function glPopMatrix is deprecated and not available in preview contexts.
  Stacktrace: org.lwjgl.system.JNI.invokePV(Native Method)
              org.lwjgl.glfw.GLFW.glfwSwapBuffers(GLFW.java:4521)
              org.lwjglx.debug.glfw.GLFW.glfwSwapBuffers(GLFW.java:453)
              client.launcher.GLWindow.swapBuffers(GLWindow.java:373)
              client.launcher.ClientLauncher.tick(ClientLauncher.java:316)
              client.launcher.ClientLauncher.start(ClientLauncher.java:282)
              main.AbacusLauncher.main(AbacusLauncher.java:73)
[error][1] OpenGL debug message
  ID: 0x502
  Source: API
  Type: ERROR
  Severity: HIGH
  Message: GL_INVALID_OPERATION error generated. Function glPopAttrib is deprecated and not available in preview contexts.
  Stacktrace: org.lwjgl.system.JNI.invokePV(Native Method)
              org.lwjgl.glfw.GLFW.glfwSwapBuffers(GLFW.java:4521)
              org.lwjglx.debug.glfw.GLFW.glfwSwapBuffers(GLFW.java:453)
              client.launcher.GLWindow.swapBuffers(GLWindow.java:373)
              client.launcher.ClientLauncher.tick(ClientLauncher.java:316)
              client.launcher.ClientLauncher.start(ClientLauncher.java:282)
              main.AbacusLauncher.main(AbacusLauncher.java:73)
[info ] Destroying OpenGL context for window[1]


I am not using any of the deprecated functions mentioned here so I assume they are the result of Bandicam hooking into my rendering calls.

Is this a known issue?

Thanks,
Dan

User avatar
Bandicam Company
Site Admin
Posts: 5993
Joined: Mon Dec 20, 2010 12:19 pm

Re: Bandicam crashes my LWJGL3 game

Tue Jan 08, 2019 12:13 pm

Hello Danjb,

Thank you for reporting.
Could you please send a sample program of your game to bandicam@bandicam.com so that our development team can test it?

We look forward to your email.

Thank you.

Danjb
Posts: 9
Joined: Tue Nov 05, 2013 10:03 pm

Re: Bandicam crashes my LWJGL3 game

Thu Jan 10, 2019 4:42 am

Done - thanks.

User avatar
Bandicam Company
Site Admin
Posts: 5993
Joined: Mon Dec 20, 2010 12:19 pm

Re: Bandicam crashes my LWJGL3 game

Thu Jan 10, 2019 11:25 am

Hello Danjb,

Thank you for your email.
We've received it and will get back to you via email.

Thank you.

Danjb
Posts: 9
Joined: Tue Nov 05, 2013 10:03 pm

Re: Bandicam crashes my LWJGL3 game

Tue Jan 15, 2019 9:45 pm

This has been reproduced and passed on to the dev team.

Thanks for looking into it!

Return to “Bandicam - General Discussion”

Who is online

Users browsing this forum: No registered users and 17 guests