-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building on postmarketOS (Alpine) on aarch64 hardware #637
Comments
I got some help from someone with manually specifying where libpcre is after also finding where it was, then it gets past that but fails on the next lib. I'm not sure how to continue this process exactly, but I get the feeling it's looking in the wrong place on my machine for these libraries. I don't know if my distro is to blame or if ivan / the build script is. |
I figured out enough to get a couple steps further.
Now I need to specify the include_dir for a couple things instead of libraries. Different enough I'm not sure how to guess my way there just yet. |
Telling it where files were manually was the wrong approach. I just needed to install -dev versions of several packages and do
That was enough to get me past the
|
@Soundtoxin awesome you are building on Arm64 on postmarketOS on your Pinebook Pro, truly a beautiful tech trifecta. Never been done before. It appears as if ivan is looking for a midi sequencer in |
Actually you could try any alsa compatible software midi synthesizer. The device could even be a hardware synth, if you have any gear available :) |
I thought I already had alsa. Don't the other sound system still depend on it? I do have working sound, for example, in a browser on youtube.
Here are general search results for alsa in case the thing I may be missing is among them.
I just tried installing |
Hmm. What do you get it you type |
|
This is getting a bit more tricky. |
you can try with QSynth if I'm not wrong, you can mute/disable midi until you fix it, try these at ~/.ivan/ivan.conf I think Volume suffices. and considering you are on *nix, you can enable the debug messages: |
I don't see QSynth in the pmOS package search results. I did a search for it on another distro just to see a description of it, and Arch says it's a Qt GUI for FluidSynth. FluidSynth is available, but... it looks like it's already installed, so I'm afraid that's a dead end as well. Is FluidSynth needed at build time? I did not have FluidSynth-dev installed when I built ivan, although I didn't seem to need to. As for configuring FluidSynth to make sure Pulseaudio is used, I guess without the Qt GUI I wouldn't know how to do it the same way you did.
I did not have that directory or file, but I created them and pasted in those lines as suggested. It did not seem to change anything.
Thanks for the suggestions, but how exactly do I do that? How is that link involved? Do I clone and build / make install that? Then do I need to launch ivan with different args or something? The readme there is lacking instructions. |
@Soundtoxin what's the contents of your |
@fejoa
The |
It's been a while. I rebuilt the postmarketOS kernel with The game now launches, but it seems every other keypress turns the screen black in the menus. The same happens during the name entry screen. Whether I use arrows or backspace or whatever, it'll swap between black and not-black with each press. Once I'm loaded into the world, there is a constant flickering on the game window (without me having to press anything). |
so the MIDI is playing now? good :)
wow... I dont remember well but I think there is no animation in the menus, so there is no frame rate, no FPS, it is just a static image for every keypress.
At this moment there is a frame rate, FPS. |
I don't remember hearing any sound, but it wouldn't even appear before, so I'm happy still to make that progress.
Yep, exactly like that sort of thing.
Thanks for the tip. Next time I power on the Pinebook Pro I will try turning that option on. |
so, on FluidSynth you have to install a sound font.
so it is blitting an empty screen frame buffer. |
I couldn't find any similar package on pmOS, but I think you're saying I could grab that ubuntu package and pull the files needed out of it. I'll explore that option. New info: the black screen and other flashing went away when launched with the env var to show FPS, but I think it was coincidence probably. I don't think I even saw an FPS counter. Then I quit and re-launched without any special args and it opened fine, no issues. I still don't have sound, but the flashing and stuff is gone. Maybe launching/qutting multiple times or something worked out the flashing issue. |
yes! :) after starting fluidsynth (it is a server link qsynth right?) but better be sure if fluidsynth is working at all, but I couldnt find a way to test if mine is working from the command line tho,
could be a hardware problem then |
You can try fluidsynth on command line like this:
|
@iology |
I'm trying to build the game on a Pinebook Pro (ARM 64, RK3399 SoC) running postmarketOS (based on Alpine).
I'm apparently missing libpcre, but I'm not sure which of many pcre packages to install. I've tried a few with no success. Is it possible to build on this setup? Has anyone done it?
Here are my options:
I already tried
libpcrecpp
,libpcre2-32
, andpcre
(although I think I had plain pcre already). I removed each new one after they didn't fix the build.I checked the PKGBUILD file for the ivan AUR package, but the only dependencies listed are
sdl
andsdl2_mixer
.I installed sdl in case I didn't already have it, and that didn't change the error I got.
The text was updated successfully, but these errors were encountered: