Everything posted by Jyu Ho
-
[Release] EmulationStation-RE: A modern C++23 & SDL3 fork of EmulationStation for desktop Linux and Raspberry Pi
1. Claude vs. Human work • Human: All architectural decisions, porting strategy (SDL3, GL3/GLES3 pipeline, render-on-demand, es-launcher redesign), code reviews, and real-hardware testing on SBCs. • Claude: Used as a coding assistant to speed up the heavy lifting (translating legacy GL code, updating SDL2 calls to SDL3, and writing boilerplate/tests), with every change reviewed and tested on hardware rather than blindly merged. 2. New GL3/GLES3 renderer vs. Batocera ES3 on modern SBCs Yes, it is a significant upgrade over Batocera's legacy-heavy ES2/ES3 path on modern GLES 3.0+ SBCs (automatically negotiating ES 3.2 → 3.1 → 3.0): • Render-on-demand: Hashes each frame's draw state (64-bit FNV-1a) before touching the GPU and skips unchanged frames completely, dropping idle CPU/GPU load and heat to near zero. • Zero-stall batching: Batches up to 1,024 quads per draw call (pre-transforming 2D matrices on the CPU so widget transforms don't break batches) backed by an append-only 64K streaming ring buffer. • Async PBO uploads & state caching: Streams large textures (> 256 KB, like boxart/fanart) asynchronously via a 3-slot GLsync-fenced PBO ring to prevent scroll stutters, and caches GL states to eliminate redundant driver overhead on Mesa (Panfrost, Freedreno, V3D). In practice, while peak FPS on a fast chip like an RK3588 will hit the display cap on both, you get much lower idle power/heat and noticeably smoother scrolling in heavy artwork themes.
-
[Release] EmulationStation-RE: A modern C++23 & SDL3 fork of EmulationStation for desktop Linux and Raspberry Pi
Thanks for the interest! Here is how both points work on Armbian: 1. SDL3 & OpenGL ES dependencies • On Debian Trixie-based Armbian releases (or newer): Everything is handled automatically. The .deb is built natively on Debian Trixie and dynamically links against the system libraries (libsdl3-0, libsdl3-image0, and libgles2), so installing it with sudo apt install ./emulationstation-re_*.deb will pull in all SDL3 and OpenGL ES dependencies automatically. • On older bases (like Debian Bookworm or Ubuntu Noble): SDL3 is not available in the default repositories (and the .deb targets Trixie's shared library versions), so backports alone won't cover it out of the box—on those releases, building SDL3 and EmulationStation-RE from source is the recommended path. 2. es-launcher configs & package updates • Yes, user settings and per-system overrides are completely isolated from the package files. • The .deb only installs binaries and default assets under /usr/, while es-launcher and EmulationStation store user configurations and per-system overrides in your user's config directory (~/.config/emulationstation/). Updating or reinstalling the .deb will never overwrite your custom overrides.
-
[Release] EmulationStation-RE: A modern C++23 & SDL3 fork of EmulationStation for desktop Linux and Raspberry Pi
Hi everyone, I'd like to share EmulationStation-RE, a Linux-focused fork of EmulationStation (originally based on Batocera's fork) that has been heavily modernized to run natively and cleanly on standard desktop and SBC distributions (Arch Linux, CachyOS, Debian trixie, and Armbian on Raspberry Pi 4 and later). [1] What's new under the hood: Modern C++23 & SDL 3.2+: Built with native audio decoding (MP3, Ogg Vorbis, FLAC, WAV without SDL_mixer) and a unified OpenGL 3.3 Core (x86_64) / OpenGL ES 3.x (ARM64) renderer. [1] Native C++ Game Launcher (es-launcher): Replaces Batocera's Python launch scripts with fast native C++ generators that handle controller mapping, video settings, and per-game options for RetroArch, Dolphin, PCSX2, RPCS3, DuckStation, Cemu, PPSSPP, Azahar, Eden, xemu, and Xenia. [1, 2] Built-in Catalog & Bezel Project Integration: Download standalone emulators (AppImages, archives, Flatpaks), libretro cores, themes, and The Bezel Project game overlays straight from the UI. [1, 2, 3] Clean Linux Integration: Strictly follows the XDG Base Directory spec (~/.config, ~/.local/share), features a built-in web server (port 1234) for remote management/ROM uploads, and ships pre-built Arch (.pkg.tar.zst) and Debian/Armbian (.deb) packages with built-in updates. [1, 2, 3] New Default Theme (es-re-mono): Ships with a clean charcoal and amber interface featuring 47 monochrome system logos. [1] GitHub & Releases: https://github.com/JyuHo/emulationstation-re Feedback, bug reports, and contributions are more than welcome!