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
  Manjaro Sway Theme Broken Eighty8 1 168 03-08-2024, 08:41 AM
Last Post: tophneal
Question Manjaro with Full Disk Encryption and GRUB dumetrulo 1 1,607 02-02-2024, 02:45 AM
Last Post: frankkinney
  Manjaro network problem late 2023 acruhl 1 215 01-19-2024, 11:32 PM
Last Post: Kevin Kofler
  Help installing Manjaro on eMMC of Pinebook Pro pine4546464 4 1,917 12-13-2023, 07:22 PM
Last Post: trillobite
  Need Help Recovering Manjaro /boot Contents on Pinebook Pro calinb 6 1,979 12-11-2023, 03:47 AM
Last Post: calinb
  Manjaro 20.04 not loading from SD (with Manjaro on eMMC) zaius 1 292 12-07-2023, 03:11 PM
Last Post: wdt
  Manjaro ARM: enabling external monitors & fixing Broadcom WiFi after updating trifleneurotic 2 746 11-14-2023, 10:57 AM
Last Post: trifleneurotic
  Manjaro [ARM Stable Update] 2021-07-23 issues Bocanila 1 1,913 08-21-2023, 09:10 PM
Last Post: vanessadonald
  [Manjaro] u-boot won't boot from eMMC with (unbootable) SD card present zackw 1 1,853 08-21-2023, 09:08 PM
Last Post: vanessadonald
  Manjaro - HIbernate - brcmfmac clk issue pompeyPinePro 1 709 08-18-2023, 02:06 AM
Last Post: juliamenendez

Forum Jump:


Users browsing this thread: 1 Guest(s)