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

Minecraft on Raspberry Pi: EGL_NOT_INITIALIZED / NullPointerException #149

Open
alexmarkley opened this issue Jan 1, 2016 · 4 comments
Open
Labels

Comments

@alexmarkley
Copy link

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

@lunixbochs
Copy link
Owner

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

@alexmarkley
Copy link
Author

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.

@lunixbochs
Copy link
Owner

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

if you install mesa-libgl minecraft should just work

@alexmarkley
Copy link
Author

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.

@lunixbochs lunixbochs added the bug label Mar 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants