Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OPENGL error, all drivers installed, 3D and 2D acceleration enabled #131

Open
MaciejJezierski opened this issue Mar 9, 2018 · 5 comments

Comments

@MaciejJezierski
Copy link

It is win 10 emulated on ubuntu by virtual box
Error:
OpenGL Warning: crPixelCopy3D: simply crMemcpy'ing from srcPtr to dstPtr
[LWJGL] GLFW_API_UNAVAILABLE error
Description : WGL: The driver does not appear to support OpenGL
Stacktrace :
org.lwjgl.glfw.GLFW.nglfwCreateWindow(GLFW.java:1235)
org.lwjgl.glfw.GLFW.glfwCreateWindow(GLFW.java:1388)
com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.createGlfwWindow(Lwjgl3Application.java:425)
com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.createWindow(Lwjgl3Application.java:372)
com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.(Lwjgl3Application.java:107)
pubg.radar.ui.GLMap.show(GLMap.kt:92)
pubg.radar.GameKt.main(Game.kt:43)
Exception in thread "main" com.badlogic.gdx.utils.GdxRuntimeException: Couldn't create window
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.createGlfwWindow(Lwjgl3Application.java:428)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.createWindow(Lwjgl3Application.java:372)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.(Lwjgl3Application.java:107)
at pubg.radar.ui.GLMap.show(GLMap.kt:92)
at pubg.radar.GameKt.main(Game.kt:43)
AL lib: (EE) alc_cleanup: 1 device not closed

@MaciejJezierski
Copy link
Author

On disabled 2D and 3D acceleration disabled it gives same error

@ghost
Copy link

ghost commented Mar 9, 2018

In pubg/radar/ui/GLMap.kt:88 set change to
config.useOpenGL3(false, 2, 1)

@MaciejJezierski
Copy link
Author

MaciejJezierski commented Mar 9, 2018

@pubgpubgpubg still same error :/ of course i used "mvn compile" and then "mvn package" again

@Al1-mert
Copy link

Al1-mert commented Mar 9, 2018

its because of virtual box. try with java 8u45

@MaciejJezierski
Copy link
Author

tried java 8u45 and still get that error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants