midis2jam2 icon indicating copy to clipboard operation
midis2jam2 copied to clipboard

LWJGLv2 causes startup issues on some systems

Open VGMRUS opened this issue 2 years ago • 20 comments

Describe the bug

Since this build the visualizer window simply won't show up when you press start, start becomes gray and nothing else happens, at least in the latest build it does show an error as you can see below

Offending MIDI file

It happens with any midi

Screenshots Here is the error that shows on the lastest build imagen

System Provide your OS, and computer specs if applicable. Windows 10 21H2, ryzen 7 3700x, 16gb ram, rx 580 4gb

VGMRUS avatar Jul 31 '22 09:07 VGMRUS

@VGMRUS Does your issue still persist on the latest build?

wyskoj avatar Aug 15 '22 00:08 wyskoj

Yes, even in the latests version, as you can see on this gif it just does nothing, the visualizer window won't show up: Midi2jam2 bug

VGMRUS avatar Aug 15 '22 16:08 VGMRUS

Do any errors appear in the console output?

wyskoj avatar Aug 15 '22 17:08 wyskoj

I'm not getting any errors like last time, no, I've tried F3 but it doesn't do anything without the visualizer window

VGMRUS avatar Aug 15 '22 17:08 VGMRUS

Can you take a screenshot of the console window after you've pressed start?

wyskoj avatar Aug 15 '22 17:08 wyskoj

I meant that the error window didn't show up like last time, how do I open the console?

VGMRUS avatar Aug 15 '22 18:08 VGMRUS

I've asked a friend how to and this is the error that I got: imagen

VGMRUS avatar Aug 15 '22 19:08 VGMRUS

Can you try running the .jar file in another location on your computer? Preferably somewhere on the C: drive, perhaps your desktop.

wyskoj avatar Aug 15 '22 19:08 wyskoj

ok imagen

VGMRUS avatar Aug 15 '22 20:08 VGMRUS

Looks like you are running it with Java 16, can you try using Java 11 instead? I have some instructions written if you need it.

wyskoj avatar Aug 15 '22 20:08 wyskoj

Hello, I'm also trying to run the program without luck. I'm using Java 11 (from Oracle JDK 11) on Windows 10 21H2 This is the console output when only selecting the .mid file:

image

However, when clicking Start, nothing happens on the main window. On the console, this appears:

image image

manu-romero-411 avatar Aug 15 '22 20:08 manu-romero-411

Here with version 11 imagen

VGMRUS avatar Aug 15 '22 20:08 VGMRUS

@manu-romero-411 @VGMRUS can you both try using this build and post your result?

wyskoj avatar Aug 15 '22 21:08 wyskoj

And just to confirm, you both are on a 64-bit machine, correct?

wyskoj avatar Aug 15 '22 21:08 wyskoj

Unfortunately, the program doesn't work with your latest build.

image

I'm on a 64-bit machine, correct :)

manu-romero-411 avatar Aug 15 '22 21:08 manu-romero-411

Unfortunately, the program doesn't work with your latest build.

I understand that. I need you to try the other build I mentioned above:

can you both try using this build and post your result?

wyskoj avatar Aug 15 '22 21:08 wyskoj

yes 64 bit, that build you posted does work normally (visualizer window opens) but it has these warnings: imagen imagen imagen

VGMRUS avatar Aug 15 '22 21:08 VGMRUS

Unfortunately, the program doesn't work with your latest build.

I understand that. I need you to try the other build I mentioned above:

can you both try using this build and post your result?

Oops, sorry, I got into trouble auto-completing the commit hash at the end of the file names.

And yes, this is working:

image

manu-romero-411 avatar Aug 15 '22 21:08 manu-romero-411

The warnings can safely be ignored.

Glad to see it working! I think this narrows down the problem to a LWJGL versioning issue. I'll make sure this is resolved in the next update.

wyskoj avatar Aug 15 '22 21:08 wyskoj

Hi, I can confirm that the last build works without any issue, the visualizer window starts as it should. Cheers

VGMRUS avatar Aug 18 '22 13:08 VGMRUS

This issue is resolved, further work needs to be done on #125.

wyskoj avatar Oct 09 '22 01:10 wyskoj