Minetest on Manjaro
#1
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
#2
@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

Device: Pinebook Pro 128GB No:246 / MainOS: Manjaro ARM
Godot and Flutter - creating something can be fun with the right tools!
#3
(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.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Yubikey 5C on manjaro zeb11 0 14 4 hours ago
Last Post: zeb11
  Manjaro - Internet connection sharing requires dnsmasq (but the dep isn't declared) Dendrocalamus64 0 117 09-11-2021, 05:25 PM
Last Post: Dendrocalamus64
  Pinebook pro nearly unusable after using manjaro-arm-installer TheCounselor 2 742 09-07-2021, 08:34 PM
Last Post: TRS-80
  Working suspend on Manjaro brzegorz 2 532 07-30-2021, 06:21 AM
Last Post: vssz
  Manjaro and Arch repository with privacy oriented software as400 78 48,392 07-28-2021, 05:24 AM
Last Post: llsf
  Manjaro [ARM Stable Update] 2021-07-23 issues Bocanila 0 291 07-24-2021, 09:09 AM
Last Post: Bocanila
  Sound stuttering on Manjaro gnome after latest kernel upgrade? pjsf 0 306 07-13-2021, 10:37 PM
Last Post: pjsf
  Kernel crash on Manjaro ARM mfashby 0 273 07-06-2021, 03:17 PM
Last Post: mfashby
  Manjaro wont recognize eMMC after booting with it disabled peasant 1 408 06-27-2021, 02:39 AM
Last Post: Arwen
  Pinebook Pro Manjaro Power Savinng Tips HelpMyBatteryIsDraining 1 631 06-15-2021, 08:42 AM
Last Post: moonwalkers

Forum Jump:


Users browsing this thread: 1 Guest(s)