Minecraft Linux Fixes

2012-09-07

So after my previous entry about the technic launcher, it looks like several people got there by looking for a fix for the white screen issue.

Because the last time I looked for help on this matter I found very little concise information, I thought it would be good to share what I personally did to fix it. This does mean that I am in no way, shape or form, saying this definitely will work for you.

Also, please note that I'm using Arch Linux x86_64 (so the 64 bit version) and I am also using Java 64 bit. Hopefully you can work out the differences in file paths (which there probably wont be) and you can just use the non 64 bit libraries.

The first and foremost thing you will want to try is using the SUN Java blob, rather than OpenJDK. It is possible to use OpenJDK, but this is the first thing you should try.

If you still have no luck leave SUN Java installed and the next thing to do is to try and download the latest version of LWJGL from here: http://www.lwjgl.org/download.php (at the time of writing it's 2.8.4)

Then, unzip the file and move into the linux natives folder and check to make sure you are looking at the correct files.
~$ unzip lwjgl-2.8.4.zip ~$ cd lwjgl-2.8.4/native/linux/ ~/lwjgl-2.8.4/native/linux$ ls -l total 1.6M -rw-r--r-- 1 edgley users 15K May 30 20:33 libjinput-linux64.so -rw-r--r-- 1 edgley users 14K May 30 20:33 libjinput-linux.so -rw-r--r-- 1 edgley users 427K May 30 20:33 liblwjgl64.so -rw-r--r-- 1 edgley users 366K May 30 20:33 liblwjgl.so -rw-r--r-- 1 edgley users 375K May 30 20:33 libopenal64.so -rw-r--r-- 1 edgley users 345K May 30 20:33 libopenal.so
Now, you want to copy over all the 64 bit files to your tekkit / technic / yogbox / minecraft bin folder. For minecraft, this is just in "~/.minecraft/bin/native/linux". For all others, they are in "~/.techniclauncher/MODNAME/bin/native/linux". After that it *should* be just a case of rerunning the technic launcher and playing. If you still can't play, or the controls are sticking (when your moving and clicking you may find that you keep moving after you let go), then the next step is to try using the nightly builds of the LWJGL. You can download the required zip of all files from here: http://www.newdawnsoftware.com/jenkins/view/LWJGL/job/LWJGL/ If still no joy, I would recommend trying to install normal Minecraft from your repos (if you got Minecraft from the repos already and you still have this issue with that version, I'm not sure what else there is to do) -- for Arch, you need to download it from the AUR (or use yaourt or similar). Once you have the normal Minecraft, boot it up and check if it works. If it does, copy over ~/.minecraft/bin/native/linux/ to your mods folder and overwrite all files. Weirdly, when trying to it out on my work PC (purely for testing purposes) this still didn't work for me. I ended up doing a "rm -rf .techniclauncher/tekkit/" and redownloading it. Then I copied over the base Minecraft libraries and it worked. Send me a message if you're still having issues.