====== PiMIGA64 ====== ===== Prepartions ===== sudo apt-get install gir1.2-ibus-1.0 libdbus-1-dev libegl1-mesa-dev libibus-1.0-5 libibus-1.0-dev libice-dev libsm-dev libsndio-dev libwayland-bin libwayland-dev libxi-dev libxinerama-dev libxkbcommon-dev libxrandr-dev libxss-dev libxt-dev libxv-dev x11proto-randr-dev x11proto-scrnsaver-dev x11proto-video-dev x11proto-xinerama-dev git sudo apt-get install libsdl2-dev libsdl2-ttf-dev libsdl2-image-dev libflac-dev libmpg123-dev libpng-dev libmpeg2-4-dev ===== Build ===== cd code ./sdl2.sh ./sdl2_image.sh ./sdl2_ttf.sh ./get_amiberry.sh ./amiberry.sh ./capsimg.sh ===== References ===== * midwan / amiberry - https://github.com/midwan/amiberry * Compile SDL2 for KMSDRM - https://github.com/midwan/amiberry/wiki/Compile-SDL2-for-KMSDRM * Enabling IPF support - https://github.com/midwan/amiberry/wiki/Enabling-IPF-support ===== Links ===== * raspios_lite_arm64 - https://downloads.raspberrypi.org/raspios_lite_arm64/images/ * AmiBerry - git clone https://github.com/midwan/amiberry * SDL version 2.0.16 (stable) - https://www.libsdl.org/download-2.0.php * SDL_ttf 2.0 - https://www.libsdl.org/projects/SDL_ttf/ * SDL_image 2.0 - https://www.libsdl.org/projects/SDL_image/ ===== Other ===== ==== Minimal X Server ==== sudo apt install xserver-xorg xinit xserver-xorg-video-fbdev lxde lxde-common ==== Troubleshooting ==== * SDL2 on Raspberry Pi without X? - https://stackoverflow.com/questions/57672568/sdl2-on-raspberry-pi-without-x * Could not initialize SDL : No available video device Don't move - https://askubuntu.com/questions/443053/could-not-initialize-sdl-no-available-video-device-dont-move * SDL2: Could not create window: No available video device - https://stackoverflow.com/questions/66906476/sdl2-could-not-create-window-no-available-video-device * Good default for XDG_RUNTIME_DIR? - https://serverfault.com/questions/388840/good-default-for-xdg-runtime-dir * What is XDG_RUNTIME_DIR? - https://askubuntu.com/questions/872792/what-is-xdg-runtime-dir