20kdc / gabien-app-r48

(Possibly buggy) application for game making, modding, and datamining, with a general focus around game engines compatible with the RPG Maker series.
The Unlicense
34 stars 2 forks source link

R48 Editor doesn't get past bootup #63

Closed Penncilk closed 6 months ago

Penncilk commented 6 months ago

image image I'm unsure what the issue is,

Penncilk commented 6 months ago

I found out that version 1.4-3 works on my system however,

20kdc commented 6 months ago

Huh! Can you please try LIBGL_ALWAYS_SOFTWARE=1 java -jar (etc...) when running R48? I'll admit, I don't understand how this happened, but that might provide an acceptable workaround for the moment. I would also like to see the output of the eglinfo command.

20kdc commented 6 months ago

Oh! It's possible you might not have the package libgles1. R48 uses OpenGL ES 1 (and desktop OpenGL 1 on Windows) in order to ensure compatibility with the widest range of hardware possible. However, it appears that expecting all Linux systems to support OpenGL ES 1 may have been a little hasty, as the necessary support packages are not necessarily installed.

Penncilk commented 6 months ago

I installed libgles1, but I still got the same error, Same with running the app with software rendering

Except it being able to find R48/font.r48 for some reason, or at least just not mentioning it,

20kdc commented 6 months ago

Alright, I think I'll need the output of eglinfo on your system to really make any headway here, sorry!

Penncilk commented 6 months ago

No worries! Thank you so much for helping me through this I hope this helps! eglinfo.txt

I found that clicking the link doesn't work, as it tries to read it as a XML file, but when I downloaded it, it worked fine

20kdc commented 6 months ago

See if this test build works; if it does not, then I recommend finding an installation of Chromium on your system or any Chromium-based app, and trying to set, say, BADGPU_EGL_LIBRARY=/someplace/example-chromium-like-thing/libGLESv2.so accordingly? The important thing is the libGLESv2.so file, either from SwiftShader (not entirely tested, I never thought this procedure would have to be used!) or ANGLE. v1.6-3-test-penncilk.zip

Penncilk commented 6 months ago

It works! Thank you so much! ^^

20kdc commented 6 months ago

Sorry, but, to confirm, what worked specifically? Just the test build alone, or the workaround environment variable?

20kdc commented 6 months ago

Hmm. What GPU are you using? While it's good this worked, it also seems weird?

Penncilk commented 6 months ago

I'm using an Integrated Intel UHD Graphics 620! ^^

Penncilk commented 6 months ago

Oops, my phone glitched out and deleted a previous comment

20kdc commented 6 months ago

...huh. Well, in any case, I guess it works now and I'll make a new release? (There's now also a useful message should this happen again to anyone else.) The comment you deleted was the one with the eglinfo.txt results; if you don't mind I can reupload them for future reference?

20kdc commented 6 months ago

Closing for now, though this might come up again later, hmm.

Penncilk commented 6 months ago

Oh! I don't mind ^^ sure thing!

20kdc commented 6 months ago

eglinfo.txt attached eglinfo results for the device in question

20kdc commented 1 month ago

An update on this: I forgot eglBindAPI and later versions of Ubuntu don't ship an OpenGL ES 1 implementation. There was supposed to be a fallback path to use desktop OpenGL, but, well, again, I forgot eglBindAPI.