PINE64
Minetest on Manjaro - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: Linux on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=114)
+--- Thread: Minetest on Manjaro (/showthread.php?tid=10342)



Minetest on Manjaro - newton688 - 06-19-2020

Hi All,



My son is a big fan of the Minetest game. The standard pacman package crashes on startup. I have it running in Manjaro Linux on the PBP and the performance is not terrible (not optimal either though) by compiling it from sources.



Here's how I did it:


Code:
1) git clone --depth 1 https://github.com/minetest/minetest.git
2) cd minetest/
3) git clone --depth 1 https://github.com/minetest/minetest_game.git games/minetest_game


But, this is in the unstable master branch. I have a server that runs version 5.x. So, let's change branches for both git repos to stable 5.x.

Code:
1) git fetch origin stable-5:stable-5
2) (cd games/minetest_game; git fetch origin stable-5:stable-5)
3) cmake . -DRUN_IN_PLACE=FALSE -DENABLE_LEVELDB=OFF # See here about the leveldb problem: https://archlinuxarm.org/forum/viewtopic.php?t=14458&p=63585
4) make -j$(nproc)
5) sudo make install

I hope that these instructions help others out there doing open source gaming.



Cheers,

Chris


RE: Minetest on Manjaro - PakoSt - 06-20-2020

@newton688 , have you tried to use GLES instead?
Code:
cmake . -DRUN_IN_PLACE=false -DENABLEDB=OFF ENABLE_GLES=ON
Looks like by default, the game will use the desktop GL instructions.

You might want to try to enable the experimental ES3 support in Panfrost and see if it will give any meaningful improvement for this particular title (set an environmental variable for the system)
Code:
PAN_MESA_DEBUG=gles3



Today I have a few other tasks but will see when I can spend some time to check some further gains can be made Smile


RE: Minetest on Manjaro - newton688 - 08-05-2020

(06-20-2020, 05:59 AM)PakoSt Wrote: @newton688 , have you tried to use GLES instead?
Code:
cmake . -DRUN_IN_PLACE=false -DENABLEDB=OFF ENABLE_GLES=ON
Looks like by default, the game will use the desktop GL instructions.

You might want to try to enable the experimental ES3 support in Panfrost and see if it will give any meaningful improvement for this particular title (set an environmental variable for the system)
Code:
PAN_MESA_DEBUG=gles3

Thanks, this is a good suggestion. I haven't tried compiling with GLES because it would require also recompiling the Irrlicht engine, which was a bit difficult to figure out how to do that. Meanwhile, the game is working pretty ok for my son. Perhaps I'll need to invest more time into this to make it good.