Hello Guest

Recent Posts

Pages: 1 2 [3] 4 5 ... 10
21
OpenGL / Re: Shader issue
« Last post by ApexModder on July 05, 2018, 11:01:29 »
23
OpenGL / Re: Shader issue
« Last post by ApexModder on July 05, 2018, 10:41:52 »
I tried to checkout the "initial" branch (which you referenced in your Renderer.java link), but that fails due to incorrect loading of the shader text (you only load the first line of the shader file).
Then I tried the "master" branch, but there you don't do anything in the Renderer class.
So the question is: Is there any version in any branch or commit that reproduces your problem?

My advice however is: Use LWJGLX/debug by downloading it from https://lwjgl.org/customize (select any release version and check only "LWJGLX/debug" under "Addons"). This will give you a zip file containing lwjglx-debug-1.0.0.jar.
Then you need to run your application with the JVM argument "-javaagent:<dir>/lwjglx-debug-1.0.0.jar", where <dir> is the directory you extracted the lwjglx-debug-1.0.0.jar into.

ahh lol its always the small issues that get you, reading 1 line rather than the whole damn file xD thanks for pointing that out lol

24
OpenGL / Re: Shader issue
« Last post by KaiHH on July 05, 2018, 10:37:39 »
I tried to checkout the "initial" branch (which you referenced in your Renderer.java link), but that fails due to incorrect loading of the shader text (you only load the first line of the shader file).
Then I tried the "master" branch, but there you don't do anything in the Renderer class.
So the question is: Is there any version in any branch or commit that reproduces your problem?

My advice however is: Use LWJGLX/debug by downloading it from https://lwjgl.org/customize (select any release version and check only "LWJGLX/debug" under "Addons"). This will give you a zip file containing lwjglx-debug-1.0.0.jar.
Then you need to run your application with the JVM argument "-javaagent:<dir>/lwjglx-debug-1.0.0.jar", where <dir> is the directory you extracted the lwjglx-debug-1.0.0.jar into.
25
OpenGL / Shader issue
« Last post by ApexModder on July 05, 2018, 10:07:48 »
Hi, Im fairly new to game development although I have been developing with Java for years now, looking to get into game development and creating a simple game using LWJGL. Although I seem to be having this weird issue when rendering a simple triangle to my screen. The triangle renders fine until I wrap it inside of a Shader bind / unbind which then my screen is just pure red (due to the glClearColor call) and no triangle like the shader is by passing my VAO and VBO renders. Anyone any idea why this might be happening?

If it helps my source code is on GitHub

preview
27
Bug Reports / RFE / Re: Error 65543 when launching from Steam
« Last post by Obsyd on July 03, 2018, 15:39:37 »
Well, turns out I simply needed to install additional packages... with the "sudo flatpak update" command. Since I installed Steam via flatpak. This installed org.freedesktop.Platform.GL.nvidia-390-67/x86_64/1.4.
Can anyone tell me how is that the flatpak system needs its own GL packages and cannot simply use the base system's GL?
Thanks!
28
Bug Reports / RFE / [SOLVED] Error 65543 when launching from Steam
« Last post by Obsyd on July 03, 2018, 09:43:39 »
Hello there!

I'm on Fedora 28 with 390.67 nvidia prop drivers. All is fine OGL 4.5  is working. (oh even 4.6 is working) As far as I know Fedora 28 is using wayland but "echo $WAYLAND_DISPLAY" returns with nothing and "loginctl show-session <mysessionnum> -p Type" returns with Type=x11.
I'm using packr to create an executable for my project. When I run my JAR with java -jar all is fine, when I run the packr created executable by double clicking or by terminal all is fine.
But when Steam tries to launch the executable I get this error:
GLFW ERROR detected! Error ID: 65543 error long: 140733324113168

I googled around and it seems like an opengl error, but how can that be? Because all other launch methods work fine except from Steam.
GLFW is able to init and sees proper resolutions and refresh rates.
I also disabled Steam overlay but no luck.

Has anyone had a problem like this?

Thanks!
29
OpenGL / Re: Same code and 2 different erros
« Last post by steve6472 on June 29, 2018, 08:59:35 »
Deleting C:\Users\{Name}\AppData\Local\Temp\lwjgl{Name} somehow helped.
Thank you for showing me the debug arguments thus helping me fix my problem.
30
OpenGL / Re: Same code and 2 different erros
« Last post by spasi on June 29, 2018, 08:12:47 »
Looks like the OpenGL .dll is missing. Run the application with -Dorg.lwjgl.util.Debug=true -Dorg.lwjgl.util.DebugLoader=true to verify. Reinstalling the GPU drivers may resolve the issue.
Pages: 1 2 [3] 4 5 ... 10