Page 1 of 1

Minetest with Raspberry Pi's new Opengl driver

PostPosted: Fri Feb 12, 2016 20:27
by durtective6
It's been a while since I posted here but I was checking the blog on the Raspberry Pi website and saw that there has been an Opengl driver added to Raspbian (this only works on the Pi 2B model). This in turn has meant many more graphical programs can be run smoothly; what caught my eye was that somebody has said that Minetest runs very well with the new driver (they had to use this in the config though, avoid_warnings = 1) on this page https://www.raspberrypi.org/blog/another-new-raspbian-release/. Another person commented on this video https://www.youtube.com/watch?v=WMfgXOHWAnc whether or not Minetest ran and was answered that it does with around 20-25 fps so it is much more usable than previous attempts to run it. I am guessing it works with the driver by default.
I would like to run Minetest on my Raspberry Pi however I do not know how to install it as I am still fairly new to installing things on Linux (so far I mainly use the Pi to make music). How would I install it?

Re: Minetest with Raspberry Pi's new Opengl driver

PostPosted: Sat Feb 13, 2016 00:55
by benrob0329
First, I would try to install it using apt-get:

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
sudo apt-get install minetest

Re: Minetest with Raspberry Pi's new Opengl driver

PostPosted: Sat Feb 13, 2016 13:55
by durtective6
Hi again, thanks for the help. I ran sudo apt-get install minetest however this error message came up:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
E: Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/i/irrlicht/libirrlicht1.8_1.8.1+dfsg1-1_armhf.deb  Temporary failure resolving 'mirrordirector.raspbian.org'

E: Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/s/snappy/libsnappy1_1.1.2-3_armhf.deb  Temporary failure resolving 'mirrordirector.raspbian.org'

E: Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/l/leveldb/libleveldb1_1.17-1_armhf.deb  Temporary failure resolving 'mirrordirector.raspbian.org'

E: Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/l/luajit/libluajit-5.1-2_2.0.3+dfsg-3_armhf.deb  Temporary failure resolving 'mirrordirector.raspbian.org'

E: Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/f/fonts-liberation/fonts-liberation_1.07.4-1_all.deb  Temporary failure resolving 'mirrordirector.raspbian.org'

E: Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/p/pillow/python-imaging_2.6.1-2_all.deb  Temporary failure resolving 'mirrordirector.raspbian.org'

E: Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libj/libjsoncpp/libjsoncpp0_0.6.0~rc2-3.1_armhf.deb  Temporary failure resolving 'mirrordirector.raspbian.org'

E: Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/m/minetest/minetest-data_0.4.10+repack-1_all.deb  Temporary failure resolving 'mirrordirector.raspbian.org'

E: Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/m/minetest/minetest_0.4.10+repack-1_armhf.deb  Temporary failure resolving 'mirrordirector.raspbian.org'

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

What should I do in this situation?

EDIT: I managed to install a stable Raspbian Jessie 0.4.10 version from the package manager, it automatically installed the dependencies. Is there a way to update it easily? In addition to this, on singleplayer mode with no mods, lowest settings (adjusted in-game not via configs) it runs on around 50-70% cpu (internet browser also open); is this ok or is it better to try and lower it. Can't seem to be able to find the data files for minetest as it was split into two packages when installed and I can't find the file path.
Lastly here is a screenshot :D
Image
A bit choppy loading chunks and placing blocks but when just walking around it easily achieves 20-30 fps.

Re: Minetest with Raspberry Pi's new Opengl driver

PostPosted: Sun Feb 14, 2016 01:51
by benrob0329
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
sudo apt-get update && sudo apt-get upgrade


That will update the package listing and upgrade everything to the newer version.