glshim icon indicating copy to clipboard operation
glshim copied to clipboard

Minecraft on Raspberry Pi: EGL_NOT_INITIALIZED / NullPointerException

Open alexmarkley opened this issue 9 years ago • 4 comments

Hello! First, I wanted to thank you for working on glshim. I'm trying to use glshim as part of an overall solution to port Minecraft (full 1.8.9) to the Raspberry Pi, and I think I'm running into an issue that might be related to glshim. (But I'm not sure.)

As you probably know, past attempts to port Minecraft (which is mostly a Java application) to the Rpi have failed due to certain dependencies which have JNI components (which are only supplied for Intel architectures).

I have managed to get past the JNI roadblock by recompiling those specific dependencies from source, specifically targeting the arm processor. So at this point, I have a Minecraft port which should run (I think) if the OpenGL renderer works well enough.

Would you be willing to take a look at the log files I attached and tell me what you think might be happening here?

Thanks very much! --Alex crash-2015-12-31_16.13.10-client.txt glxgears_info_output.txt glxinfo_output.txt minecraft_output.txt

alexmarkley avatar Jan 01 '16 00:01 alexmarkley

Does it work with ptitseb's glshim? I might be missing a glx function minecraft uses.

lunixbochs avatar Jan 01 '16 02:01 lunixbochs

If you have a link to an alternative glshim I can try for comparative purposes I would be happy to do that. (I was planning on attempting that anyway.)

I was also planning on trying to set up a pure software glx rendering environment just to confirm that the JNI recompiling I did didn't break the game.

Even if the stupid game only runs at 1fps in software, that would at least confirm that the application is functional on ARM at some level.

alexmarkley avatar Jan 01 '16 02:01 alexmarkley

http://github.com/ptitseb/glshim has been used to make previous minecraft releases.

if you install mesa-libgl minecraft should just work

lunixbochs avatar Jan 01 '16 05:01 lunixbochs

Out of curiosity, do you know of any previous (publicly documented) attempts to make Minecraft run on Raspberry Pi? I was having no luck tracking any down.

alexmarkley avatar Jan 02 '16 13:01 alexmarkley