-
-
Notifications
You must be signed in to change notification settings - Fork 501
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
Amiberry - preparation for next release #3156
Comments
@midwan
With v6.27 I will as well test our new Buster SDL2 binaries on Stretch. If it fails due to outdated library packages, I will rebuild them for Stretch. This allows much more lightweight install since a bunch of unused libraries do not need to be installed, most importantly no Xserver is required. This quickly saves dozens of dependency packages from being installed and ~200 MiB disk space. All new builds will be done and tested with the Amiberry beta then. |
Awesome, thanks! |
@midwan |
How are you guys doing regarding this? Is everything set, do you need assistance with something, or do you need more time? |
@midwan After you did the release, I will rebuild LibSDL2 and Amiberry for Stretch and Buster all together, probably including RockPro64. This should be done anyway better sooner than later, since currently our Odroid XU4 binary does not work. I was misinterpreting the comments it was blocked for pre-v6.26: The binary did not require Stretch to work, but it was build for Jessie and a new build obviously is required to be done against Stretch to work with the Stretch LibSDL2 binaries. |
@midwan |
@MichaIng Otherwise, it's ready to go (and I've already started working on further updates in separate branches, to avoid messing anything up). :) |
@midwan |
@MichaIng |
@midwan
|
@MichaIng It's not a problem compiling the RPI4 version on an RPI2/3, as long as the OS is the same. |
@midwan Hah, now I see that Raspbian Buster ships KMSDRM-enabled libSDL2 already. But this is not true for Debian Buster, so all other SBCs, right? .... nope indeed not: https://buildd.debian.org/status/fetch.php?pkg=libsdl2&arch=armhf&ver=2.0.10%2Bdfsg1-1&stamp=1568932042&raw=0
Okay I'll just stay with building the lightweight libSDL2* for all SBCs, also this means e.g. v2.0.10 instead of v2.0.9. Those will be packaged together with the Armbian files per-SBC/RPi model with |
@MichaIng The thing I'm investigating has to do with Vsync refresh rate, when using Dispmanx (so, RPI only) if the monitor is also using the same refresh rate as the emulated one. It seems to "miss" one in two frames, so you get half of the expected FPS (e.g. 25 FPS in a 50Hz mode, 30 FPS in a 60Hz mode). |
@MichaIng
I'll prepare binaries this week. ;) |
@midwan I am thinking about GitHub Actions now. In theory, one should be able to use the Ubuntu VM, download current Raspbian, chroot it via systemd-nspawn + binfmt-misc + qemu-arm-static emulation and automate the builds 🤔. |
Funny, I've been thinking about something similar since yesterday as well. :) Then we can use something like https://github.com/github/hub to create/upload the release binaries. |
Update implemented: https://github.com/MichaIng/DietPi/pull/3252/files I noticed that our |
@MichaIng
|
@midwan |
@MichaIng There might be another update coming soon (in a week or less), btw. |
@midwan Only issue: If we want to keep our users up-to-date, we'd need to check their Amiberry version. In theory we could simply check the binary timestamp and then either inform users via MOTD and/or on dietpi-update about available Amiberry update and the possibility to run Or can the amiberry binary be used to identify its version, a way that it does not require an attached screen, active TTY and such? Wiki page with cmd arguments/options would be nice btw 😉. |
@MichaIng |
@midwan Little question: You recommend to start with a fresh amiberry.conf on updates, right? |
@MichaIng For the v3.x updates you don't have to overwrite it, as nothing breaking was introduced. Some new options are available and they are all documented in the relevant wiki, but they all have default values. |
The Amiberry BETA testing is going really well, and I'm planning a code freeze at this point. We should be able to get a new stable release really soon now - haven't set a fixed date yet, but I'll update you once that is done also. For now, it's a good opportunity to sync with the various package / distro managers regarding the upcoming changes, to ensure a smooth upgrade.
The version history (https://github.com/midwan/amiberry/wiki/Version-history) is fully updated with any new features and changes, of course. But here are some details that are more specific regarding building it from source, which might have an impact in the distro:
rpi
back-end (e.g. the ones provided by the Raspbian repo), but unfortunately the RPI4 cannot. You'll need an SDL2 compiled from source for the RPI4, with thekmsdrm
back-end enabled and therpi
back-end disabled (--enable-video-kmsdrm --disable-video-rpi
).libsdl2-dev libsdl2-ttf-dev libsdl2-image-dev
libraries installed.whdboot
directory has been updated with a new WHDLoad booter (compared to the previous stable), so make sure you update that as well, when you do an "update from source". Not just the binary.I think that is all for now, but I've forgotten anything I'll come back with more.
It would be great if you would start testing the integration of the BETA (currently sitting in the
dev
branch) with the distro, to catch any issues early. Ping me if you run into problems or have any questions, please!The text was updated successfully, but these errors were encountered: