Games compilation howto on the Pinebook-pro (Manjaro Linux and Debian native)
#75
(03-23-2020, 03:36 PM)icecream95 Wrote:
(03-23-2020, 09:33 AM)Idaho Wrote: Hey guys, I see that GZDoom and AlephOne have been successfully compiled but there are no howtos for those, I tried following the instructions on the GZDoom wiki and I got stuck because it says I have no zmusic lib but I have found no way of installing it, also, found no instructions for AlephOne... What can I do??

Although modern GZDoom does work, performance isn't great, so you'll want to use an older version.

LZDoom is a fork of GZDoom which has the old OpenGL 2 renderer, which is much faster.

You can download the latest source from https://github.com/drfrag666/gzdoom/archive/3.85.tar.gz.

Compilation can be done through the standard CMake steps:

Code:
mkdir build cd build cmake .. make -j6 sudo make install

LZDoom has the music system built in, so you won't need to install zmusic separately.

Hey thanks for the advice, I compiled the games successfully and I can choose and run whichever .WAD I want but when I try to start the game it just crashes with the following app log:


Code:
./lzdoom LZDoom <unknown version> -  - SDL version Compiled on Mar 26 2020 LZDoom version <unknown version> M_LoadDefaults: Load system defaults. W_Init: Init WADfiles. adding /usr/local/games/gzdoom-3.85/build/lzdoom.pk3, 710 lumps adding /usr/local/games/gzdoom-3.85/build/game_support.pk3, 291 lumps adding ./Doom.wad, 2306 lumps I_Init: Setting up machine state. V_Init: allocate screen. S_Init: Setting up sound. I_InitSound: Initializing OpenAL  Opened device Built-in Audio Stereo ST_Init: Init startup screen. Checking cmd-line parameters... S_InitData: Load sound definitions. G_ParseMapInfo: Load map definitions. Texman.Init: Init texture manager. ParseTeamInfo: Load team definitions. LoadActors: Load actor definitions. script parsing took 781.48 ms R_Init: Init Doom refresh subsystem. DecalLibrary: Load decals. M_Init: Init menus. P_Init: Init Playloop state. ParseSBarInfo: Loading custom status bar definition. D_CheckNetGame: Checking network game status. player 1 of 1 (1 nodes) Using video driver x11 OpenGL acceleration requires at least OpenGL 3.0. No Acceleration will be used. Resolution: 640 x 480 ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21 ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21 ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround40 ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround41 ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround50 ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround51 ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71 ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958 ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958 ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958 ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory) attempt to connect to server failed connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory) attempt to connect to server failed ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory) attempt to connect to server failed fluidsynth: error: SDL2 not initialized ** (process:37175): CRITICAL **: 13:58:47.542: Error setting locale e1m1 - Hangar ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21 ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21 ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround40 ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround41 ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround50 ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround51 ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71 ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958 ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958 ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958 ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory) attempt to connect to server failed connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory) attempt to connect to server failed ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory) attempt to connect to server failed fluidsynth: error: SDL2 not initialized ** (process:37175): CRITICAL **: 13:59:08.962: Error setting locale (process:37175): GLib-GObject-WARNING **: 13:59:08.963: cannot register existing type 'IpatchSplitsType' (process:37175): GLib-GObject-CRITICAL **: 13:59:08.963: g_param_spec_enum: assertion 'G_TYPE_IS_ENUM (enum_type)' failed ** (process:37175): CRITICAL **: 13:59:08.963: ipatch_type_install_property: assertion 'G_IS_PARAM_SPEC(prop_spec)' failed (process:37175): GLib-GObject-CRITICAL **: 13:59:08.963: g_boxed_type_register_static: assertion 'g_type_from_name (name) == 0' failed (process:37175): GLib-GObject-WARNING **: 13:59:08.963: cannot register existing type 'IpatchSF2GenType' (process:37175): GLib-GObject-WARNING **: 13:59:08.963: cannot retrieve class for invalid (unclassed) type '<invalid>' ** (process:37175): CRITICAL **: 13:59:08.963: file /build/libinstpatch/src/libinstpatch-1.1.3/libinstpatch/IpatchSF2Gen.c: line 148 (_ipatch_sf2_gen_init): assertion `enum_class != NULL' failed. (process:37175): GLib-GObject-WARNING **: 13:59:08.963: cannot register existing type 'IpatchSample' (process:37175): GLib-GObject-WARNING **: 13:59:08.963: cannot register existing type 'IpatchItem' (process:37175): GLib-GObject-CRITICAL **: 13:59:08.963: g_type_interface_add_prerequisite: assertion 'G_TYPE_IS_INTERFACE (interface_type)' failed (process:37175): GLib-GObject-WARNING **: 13:59:08.963: cannot register existing type 'IpatchSF2GenItem' (process:37175): GLib-GObject-WARNING **: 13:59:08.964: cannot register existing type 'IpatchItem' (process:37175): GLib-GObject-CRITICAL **: 13:59:08.964: g_type_interface_add_prerequisite: assertion 'G_TYPE_IS_INTERFACE (interface_type)' failed (process:37175): GLib-GObject-WARNING **: 13:59:08.964: cannot register existing type 'IpatchSF2ModItem' (process:37175): GLib-GObject-WARNING **: 13:59:08.964: cannot register existing type 'IpatchItem' (process:37175): GLib-GObject-CRITICAL **: 13:59:08.964: g_type_interface_add_prerequisite: assertion 'G_TYPE_IS_INTERFACE (interface_type)' failed (process:37175): GLib-GObject-WARNING **: 13:59:08.964: cannot register existing type 'IpatchSF2VoiceCache' (process:37175): GLib-GObject-WARNING **: 13:59:08.964: cannot retrieve class for invalid (unclassed) type '<invalid>' (process:37175): GLib-GObject-WARNING **: 13:59:08.964: cannot register existing type 'IpatchItem' (process:37175): GLib-GObject-CRITICAL **: 13:59:08.964: g_type_register_static: assertion 'parent_type > 0' failed *** Fatal Error *** Address not mapped to object (signal 11) Address: 0xffff60515e50 !!! Could not create lzdoom-crash.log following signal Segmentation fault (core dumped)

Did I do something wrong? Huh


Edit: The problem has been solved by tinkering with config files, looks like I'm getting used to the thing, even though it seems I still have a lot to learn at least I fixed one thing myself ^^

Edit2: Also I tried enabling the panfrost driver for better performances but I can't check if it's here or not because I can't install glxinfo, did I miss something?
  Reply


Messages In This Thread
RE: Games compilation howto on the Pinebook-pro (Manjaro Linux and Debian native) - by Idaho - 03-26-2020, 07:00 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Video Editing Is Possible On The PineBook Pro! ImmyChan 10 17,214 Today, 04:48 AM
Last Post: deltaexploitss
  Updated Pinebook Pro? tantamount 2 2,638 06-20-2026, 10:14 AM
Last Post: tantamount
  Pinebook pro bricked? michaelmoua 4 8,416 05-26-2026, 02:20 AM
Last Post: Anthona
Thumbs Up Finally got Kali working on my Pinebook Pro! qingss0 0 1,969 04-04-2026, 08:00 AM
Last Post: qingss0
  dead Pinebook - help please RicTor 3 3,648 03-26-2026, 04:22 PM
Last Post: williamcorlin
  Pinebook problem meghancordo 2 7,110 03-18-2026, 08:58 AM
Last Post: RicTor
  Pinebook Pro in EU for Sale - €90 jan_vdk 5 11,051 02-09-2026, 12:50 AM
Last Post: Anthona
  Pinebook Pro for sale rfm83 0 2,174 11-08-2025, 09:22 AM
Last Post: rfm83
Question Full desktop Surfing and Absolute Privacy on the pinebook? Www 1 9,050 08-02-2025, 08:55 PM
Last Post: KC9UDX
Question Printing and scanning documents with pinebook? Www 0 5,401 06-28-2025, 01:25 AM
Last Post: Www

Forum Jump:


Users browsing this thread: 2 Guest(s)