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
Question Pinebook pro dead / keyboard issue? / Troubleshooting Mengalef 2 363 12-05-2024, 04:16 PM
Last Post: tllim
  Testing Some More Games on the Pinebook Pro! ImmyChan 5 3,943 09-24-2024, 01:43 AM
Last Post: pigkang
  Converting the Pinebook Pro into a CrowView Note like device 8jef 0 349 08-18-2024, 05:42 PM
Last Post: 8jef
  Pinebook Pro Initial Impressions kunger 443 685,168 04-16-2024, 07:29 PM
Last Post: KC9UDX
  looking to buy one pinebook pro (mainland China) duanduan 3 3,280 03-21-2024, 07:44 PM
Last Post: wangyukunshan
  Cellular module for Pinebook Pro Lotech 1 1,049 03-05-2024, 05:40 AM
Last Post: KC9UDX
  Screen on pinebook stays black but can ssh into machine tuxxpine 0 754 02-23-2024, 04:22 PM
Last Post: tuxxpine
  Sale my ANSI PineBook Pro cuthbertdavies 0 740 02-14-2024, 09:12 PM
Last Post: cuthbertdavies
  Compiling with -j6 on the Pinebook Pro (Overheat) KC9UDX 0 666 02-14-2024, 09:01 AM
Last Post: KC9UDX
  Manjaro versions bad and good gilwood 0 725 02-12-2024, 05:03 PM
Last Post: gilwood

Forum Jump:


Users browsing this thread: 4 Guest(s)