Pinebook Pro Open Arena Tournament (Saturday /Sunday fun anyone?)
#11
(01-17-2020, 04:18 PM)Luke Wrote:
(01-17-2020, 04:17 PM)astr0baby Wrote:
(01-17-2020, 10:59 AM)hackerfantastic Wrote:
(01-16-2020, 03:38 PM)Luke Wrote: Here is a script for mainline + panfrost images: https://paste.sr.ht/~martijnbraam/7a43a5...bd93365376
Thanks @MartijnBraam

Thanks! I actually got this working with the help of astr0baby, from a clean build of Manjaro run the following, first install Panfrost drivers:

Quote:sudo pacman -S mesa-git qt5-es2-base qt5-es2-declarative qt5-es2-multimedia mesa-demos
sudo pacman -R xf86-video-fbturbo

After a reboot you should be able to see that it's using panfrost using "es2_info" command. I am using AUR packages and "yay" package manager which you should setup, you can then install the openarena dependancy. Alternatively you can compile this from github if you prefer not to use AUR https://github.com/cmatsuoka/libxmp

Quote:yay -S libxmp-git

You can now download the openarena engine ready for compiling using "git clone https://github.com/OpenArena/engine" - you need to apply a single patch to the file "code/qcommon/q_platform.h" - there is a large define elif block in the header for all supported architecture, just simply add a line like below around line 218 in that block to add aarch64 support.
Quote:#elif defined __aarch64__
#define ARCH_STRING "aarch64"

Now you can "make" the openarena engine and you should produce a "build" directory that has "openarena.aarch64" binary amongst other files. You still need the core OS pk3 files, so get them from http://www.openarena.ws/smfnews.php as a zip file, unpack the zip file and move the pk3 files into your compiled openarena engine under "baseoa" directory.

that's it! you are ready to frag the night away. I played it for a few hours late last night and honestly I do not see any performance difference when compared to higher end machines, I was able to run with high resolution, got a steady FPS, the WiFi enabled me to play multiplayer and I got into a few multiplayer games - having no issues with lag or latency, fragging away to my hearts content. You may need to install a few packages like "make" and "gcc" etc if your booting from a completely clean Manjaro (I already had those installed) but once you get past the slight curve of compiling it really is quite impressive. I recommend playing with an external mouse unless you want to die against everyone online as the trackpad is very difficult to aim with.

Yes it works amazingly well on the highest details on the Pinebookpro Smile     Just got fragged by HackerFantastic in the Pine64 arena !

Playing on our server or?

[edit] regardless, I'll need to try on Manjaro and see for myself how well it runs on the Panfrost driver Smile
Thank you for posting!
Yes we threw in a short match on

185.54.207.135
Port: 22222 
http://arena.brixit.nl 

P.S USB Mouse is a must for this ... no way of playing with the trackpad Wink
#12
Mines supposed to be coming in soon, I like this idea of internet gaming events, hoping to join you all soon!
#13
I'll be joining today evening (EU time) - but you can join in anytime Smile
You can find me on IRC, Discord and Twitter


#14
We were able to compile OpenArena with the help of martijn's APKBUILD for aarch64 PinebookPro.

Download the pkg file from Here.

Install the pkg.
Code:
sudo pacman -U openarena-0.8.8-0-aarch64.pkg.tar.xz

Copy Game Date to Home Local directory, So you don't have to run with sudo. Thanks to morrolinux
Code:
sudo cp -rf /usr/share/games/openarena/baseoa/ ~/.local/share/OpenArena/


Run game using this command.
Code:
/usr/share/games/openarena/openarena.aarch64


If it have issue with permission then just update the permission
Code:
sudo chmod 755 /usr/share/games/openarena/openarena.aarch64


Let me know if there is any issue. Also this will only work with Panfrost Driver. 
If you're on fbturbo then you will have to switch to Panfrost, Please follow this link on how to switch to Panfrost on PBP.

[How To] Enable Hardware Acceleration on Panfrost and Lima devices
Manjaro ARM Team.
Devices: Pinebook Pro & PinePhone.
#15
Cool! but why does it need root permissions to run?

EDIT:
Game content is being placed in /usr/share/games/openarena/baseoa/
You just needed to copy/move /usr/share/games/openarena/baseoa/ to your home in ~/.local/share/OpenArena/baseoa to run it without sudo

Cheers Smile
#16
(01-18-2020, 04:51 AM)morrolinux Wrote: Cool! but why does it need root permissions to run?

EDIT:
Game content is being placed in /usr/share/games/openarena/baseoa/
You just needed to copy/move  /usr/share/games/openarena/baseoa/ to your home in ~/.local/share/OpenArena/baseoa to run it without sudo

Cheers Smile

The default permissions of /usr/share/games/openarena/baseoa is a bit stupid, it can't be read by the normal user. needs to be fixed in the package and then you don't have to copy it.

I also uploaded my aarch64 musl build (for alpine, but can be untarred on other distros) for openarena here: http://images.postmarketos.org/pinebookp...8.8-r0.apk
#17
Playing on our server or?

[edit] regardless, I'll need to try on Manjaro and see for myself how well it runs on the Panfrost driver Smile
Thank you for posting!


Yes! I played a death match game with one dev and astr0baby yesterday to test it out. The server is working great! I also just joined and shot you! :-)

[edit] Luke served me on this game, be careful, he is very good lol.
#18
(01-18-2020, 11:41 AM)hackerfantastic Wrote: Playing on our server or?

[edit] regardless, I'll need to try on Manjaro and see for myself how well it runs on the Panfrost driver Smile
Thank you for posting!


Yes! I played a death match game with one dev and astr0baby yesterday to test it out. The server is working great! I also just joined and shot you! :-)

Our server. I'll be there at GMT 0 - 9:00PM (21:00)
You guys start whenever you want to obviously
You can find me on IRC, Discord and Twitter


#19
Conclusion, pinebooks work pretty well for openarena and the keyboard can handle the pressure for battleing for the 1st place Big Grin
#20
(01-18-2020, 05:18 PM)MartijnBraam Wrote: Conclusion, pinebooks work pretty well for openarena and the keyboard can handle the pressure for battleing for the 1st place Big Grin

Big Grin For some, also I read now a mouse is must? I don't have one...
What framerates do you get?
First I had about 6fps with fb_turbo-git and then, after installing qt-es.. I get a seg.fault.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Wiki: Pinebook 1080 entry disappeared Surehand53 1 3,276 12-28-2020, 11:21 AM
Last Post: tophneal
  Can't open alerts on HTTP forum zxorg 0 2,729 12-02-2020, 08:09 AM
Last Post: zxorg
  Selling Pinebook 14" with 64GB eMMC, from Europe dahni 2 5,216 11-07-2018, 05:45 AM
Last Post: Luke

Forum Jump:


Users browsing this thread: 1 Guest(s)