Games compilation howto on the Pinebook-pro (Manjaro Linux and Debian native)
#51
(01-11-2020, 01:41 AM)agD0i7rY Wrote: With the last sources of the eduke website I have a segmentation error. (I'd have to check if it's the stable or development version :p )

Running this then compiling again will fix it:

Code:
sed -i 's/ZPL_HAVE_RDTSC/UNDEFINED/' source/build/src/timer.cpp

The crash happens because eduke tries to read a CPU timer which is not normally available for userspace applications on ARM (it would have to be enabled by a kernel module first).
  Reply
#52
(01-25-2020, 06:14 PM)branon Wrote: Interesting. On aarch64 (pinebook) I get the same error about sodium

Code:
[branon@pbp bin]$ cmake -DBINARY_RELEASE=ON -DDEBUG=OFF ..
CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
 Could NOT find sodium (missing: sodium_LIBRARY_RELEASE
 sodium_LIBRARY_DEBUG) (found version "1.0.18")
Call Stack (most recent call first):
 /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
 CMake/Findsodium.cmake:224 (find_package_handle_standard_args)
 CMakeLists.txt:117 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/branon/git/devilutionX/bin/CMakeFiles/CMakeOutput.log".
See also "/home/branon/git/devilutionX/bin/CMakeFiles/CMakeError.log".

however on amd64 (void linux), this solves the issue for me and i am able to compile successfully:

Code:
[branon@netherworld bin]$ cmake -DBINARY_RELEASE=ON -DDEBUG=OFF ..
-- Found SDL2_mixer: /usr/lib/libSDL2_mixer.so  
-- Configuring done
-- Generating done
-- Build files have been written to: /home/branon/git/devilutionx/bin

Edit: by commenting out the references to libsodium in https://github.com/diasurgical/devilutio...eLists.txt I was able to get the software to compile in aarch64

obtaining some game data now to see if it works

indeed it does. i can even create a multiplayer game and connect to myself on localhost

I guess I need to update my howto for Diablo2 Smile   When I compiled it I cannot recall I had to do this on Manjaro aarch64 ...
  Reply
#53
(01-19-2020, 06:05 AM)Luke Wrote:
(01-19-2020, 01:38 AM)icecream95 Wrote: [quote='Luke' pid='56937' dateline='1579189746']
I am encountering this issue with chocolate doom on default Debian.

If you prefer high resolutions and being able to look up and down, LZDoom is easy to compile and works with both Panfrost and the blob driver via gl4es.

https://github.com/drfrag666/gzdoom/archive/3.84.tar.gz

Compiling can be done through the standard CMake steps:

Code:
$ mkdir build
$ cd build
$ cmake .. -DCMAKE_BUILD_TYPE=Release
$ make -j`nproc`
$ sudo make install

For Panfrost, you'll want to use a very recent mesa-git as my bug fix for some levels such as E1M7 has only just been pushed.



I did get chcolate DOOM working Smile But I'll try this too.

Can you make some tutorial like the openarena you did Big Grin

Half Life (xash3d ) and Counter Strike (csmoe) I've tried to compile both but no luck at all I've always got some funny errors tutorials will be highly appreciated (stock debian)
  Reply
#54
(01-26-2020, 05:57 AM)tso4ev Wrote:
(01-19-2020, 06:05 AM)Luke Wrote:
(01-19-2020, 01:38 AM)icecream95 Wrote:
(01-16-2020, 09:49 AM)Luke Wrote: I am encountering this issue with chocolate doom on default Debian.

If you prefer high resolutions and being able to look up and down, LZDoom is easy to compile and works with both Panfrost and the blob driver via gl4es.

https://github.com/drfrag666/gzdoom/archive/3.84.tar.gz

Compiling can be done through the standard CMake steps:

Code:
$ mkdir build
$ cd build
$ cmake .. -DCMAKE_BUILD_TYPE=Release
$ make -j`nproc`
$ sudo make install

For Panfrost, you'll want to use a very recent mesa-git as my bug fix for some levels such as E1M7 has only just been pushed.



I did get chcolate DOOM working Smile But I'll try this too.

Can you make some tutorial like the openarena you did Big Grin

Half Life (xash3d ) and Counter Strike (csmoe) I've tried to compile both but no luck at all I've always got some funny errors tutorials will be highly appreciated (stock debian)
I will do it today
  Reply
#55
OpenArena on the Manjaro howto

https://astr0baby.wordpress.com/2020/01/...ng-part-2/
  Reply
#56
(01-26-2020, 01:52 AM)icecream95 Wrote:
(01-11-2020, 01:41 AM)agD0i7rY Wrote: With the last sources of the eduke website I have a segmentation error. (I'd have to check if it's the stable or development version :p )

Running this then compiling again will fix it:

Code:
sed -i 's/ZPL_HAVE_RDTSC/UNDEFINED/' source/build/src/timer.cpp

The crash happens because eduke tries to read a CPU timer which is not normally available for userspace applications on ARM (it would have to be enabled by a kernel module first).

Thanks !
By the way, I had this message with ubuntu, I would have to try again with Manjaro.
  Reply
#57
I'm linking a thread with Doom Eternity Engine, which works: https://forum.pine64.org/showthread.php?tid=8997

I'm creating a separate one as it's easier to search for it and have game discussions grouped per game, IHO.
  Reply
#58
Do you guys know if there are any games like age of empires that can run on the pinebook pro?
  Reply
#59
(02-11-2020, 12:42 PM)hectorzg Wrote: Do you guys know if there are any games like age of empires that can run on the pinebook pro?

You can compile and run OpenAge https://openage.sft.mx/ , it is buildable on the Manjaro Linux
  Reply
#60
I couldn't run OpenAge but Julius runs well on the pbp. Are we listing on the first post the games that run on pbp?
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinebook Pro Initial Impressions kunger 443 587,654 04-16-2024, 07:29 PM
Last Post: KC9UDX
  looking to buy one pinebook pro (mainland China) duanduan 3 2,282 03-21-2024, 07:44 PM
Last Post: wangyukunshan
  Cellular module for Pinebook Pro Lotech 1 392 03-05-2024, 05:40 AM
Last Post: KC9UDX
  Screen on pinebook stays black but can ssh into machine tuxxpine 0 297 02-23-2024, 04:22 PM
Last Post: tuxxpine
  Sale my ANSI PineBook Pro cuthbertdavies 0 285 02-14-2024, 09:12 PM
Last Post: cuthbertdavies
  Compiling with -j6 on the Pinebook Pro (Overheat) KC9UDX 0 218 02-14-2024, 09:01 AM
Last Post: KC9UDX
  Manjaro versions bad and good gilwood 0 245 02-12-2024, 05:03 PM
Last Post: gilwood
  Pinebook Pro in EU for Sale - €90 jan_vdk 2 661 02-07-2024, 02:12 AM
Last Post: 23Ro
  Pinebook Pro for sale tomekdev 2 730 02-01-2024, 11:35 AM
Last Post: tomekdev
  Video Editing Is Possible On The PineBook Pro! ImmyChan 10 7,593 12-17-2023, 09:29 PM
Last Post: insideau786

Forum Jump:


Users browsing this thread: 3 Guest(s)