Commit graph

65 commits

Author SHA1 Message Date
Tomáš Kelemen
198dd04be7
RPi-Composite: initial commit (#2037)
this brings images suited to work OOB for RPi3/4/5 with CRT TV sets. it
comes with preconfigured shaders, core options, readable font, ...
see https://www.lakka.tv/articles/2024/05/02/rpi-composite/

- add new RPiX-Composite devices under RPi project
- RPi3/4-Composite use own kernel config
- RPi5-Composite uses kernel config of RPi5
- remove linux.arm.conf broken symlinks from some devices
- move VULKAN enable to device options
- add splash screens for 480/576 height
- glibc: match kernel version for RPi3/4 (using 5.10.y with "fake" 240p
  patch)
- adjust DEVICE conditions to only match first 4 characters / first 4
  characters + wildcard (various places)
- add specific assets, configs, shaders in retroarch package
- retroarch: adjust default configuration
- linux: add 5.10.y kernel (used by RPi3/4-Composite, see above)
- linux: add patches for 5.10.y kernel
- mkimage: add additional information into cmdline.txt and
  retroarch-overrides.txt
- firstboot.sh: add output (logged in fs-resize.log)
- firstboot.sh: prepend processed overrides with hash
- firstboot.sh: copy core configurations to storage partition
- firstboot.sh: rework wifi autoconfig script
- retroarch: add full default config file and apply changes in the
  package file directly to the config for individual systems (solves
  some issues with core/game overrides when there is no value in the
  config and user creates overrides in first run of retroarch, then
  these overrides are also stored in default config)
2025-03-07 01:09:47 +01:00
Tomáš Kelemen (vudiq)
3976a67fb6
retroflag safe shutdown: enable/disable via RetroArch
- retroflag_picase_safeshutdown
  - remove copy service (is copied automatically)
  - enable the service
  - start the service only when specific files exists
- RPi3/4/5: add RetroArch patch that adds menu item under Settings ->
  Services to enable/disable the service
- retroarch: enable HAVE_RETROFLAG for RPi3/4/5
2025-03-07 00:51:54 +01:00
Tomáš Kelemen (vudiq)
0c2dc6de5b
retroarch: enable cloudsync
this enables cloudsync in retroarch. tested webdav driver with private
cloud server (nextcloud) - works.

closes: #2004
2025-02-28 21:52:32 +01:00
Tomáš Kelemen (vudiq)
b094a3543c
move some dependencies to lakka metapackage 2025-02-16 23:03:11 +01:00
Yasai-san
77c4e72fe5
retroarch: RPiZero2-GPiCase2W: Fix typo
port of PR #2023
2025-02-02 09:37:45 +01:00
Tomáš Kelemen
e9d6841d41
Update libretro cores / RetroArch to latest versions (#2028)
- all libretro cores updated to latest version
- RetroArch updated to 1.20.0
- assets, core-infos, joypad configs, shaders, overlays, databases
  updated to latest version
- easyrpg: removed patch merged upstream, switched to latest commit
  instead of tag
- liblcf: updated to latest version (dep of easyrpg)
- libinih: new dep of liblcf/easyrpg
- mame: updated patch for crosscompilation
- mupen64_plus_next: updated patch for gcc14 buildfix
- picodrive: dropped patch merged upstream
- retroarch: updated patch for saving to default config
- retroarch: drop libXv dep for x11 build (pkg was removed)
- ppsspp: drop old patch
- snes9x2002: dropped ARM_ASM=1 from make options for RPi0/1
- fbalpha2012: add buildfix patch
- yabasanshiro: dropped patch for RPi5 merged upstream
- yabasanshiro: added patch with function declaration
- yabasanshiro: re-enable for most targets
2025-02-01 09:53:03 +01:00
Tomáš Kelemen (vudiq)
decaf2e65d
update retroarch and libretro packages
- update RetroArch to 1.19.0
- update libretro cores to latest commits/tag
- retroarch: drop patches merged upstream
2024-05-30 16:02:08 +02:00
Tomáš Kelemen (vudiq)
389d914f40
retroarch: drop obsolete LAKKA_NIGHTLY, LAKKA_DEVBUILD and LAKKA_CANARY_PATH 2024-05-25 09:48:28 +02:00
Tomáš Kelemen (vudiq)
e76d2cd837
Lakka/retroarch: set update URL and target device name at build time
instead of relying on values in retroarch or parsing files to determine
the full URL to download updates, it is more flexibile to set these
values at build time to the current needs. much easier maintenance of
future changes (no need to change in retroarch code base), when e.g. URL
for devel or nightly builds will change (or even for releases). also
community members can set up their own update for their community builds
without the need to patch retroarch.

usage:
at build time add e.g. LAKKA_BUILD_TYPE=<type>, where type can be
release, nightly or devel (can be expanded in future) and based on the
build type matching URL will be set.

or add LAKKA_UPDATE_SERVER_URL=http://some.site/path/to/updates and this
URL will be used.

examples
make image LAKKA_BUILD_TYPE=nightly PROJECT=... DEVICE=... ARCH=...
make image LAKKA_UPDATE_SERVER_URL=... PROJECT=... ...
2024-05-24 23:39:49 +02:00
GavinDarkglider
600e246a94
L4T/Ayn: upstream changes from 5.x
Lakka 5.x Switch changes (#1853)
Lakka v5.x switchroot 5.1.2 (#1871)
Fix Switch Issue's in upstream 5.x (#1888)
Minor Switch Changes (#1893)
Lakka v5.x switch 3 (#1895)
Lakka v5.x switch 4 (#1898)
L4T: Xorg-server: Fix build issue (#1924)
Switch: remove ra patch
Lakka v5.x switch 6 (#1926)
Cleanups, More LibreELEC Stuff, more permission fixes, Misc switch stuff. (#1930)
Switch: U-Boot: bump version to 2024-NX02 (#1946)

L4T/Ayn post-upstreaming fixes
- retroarch_joypad_autoconfig: remove spaces from file names
- retroarch: remove Switch specific patch merged upstream
- libXv: move to L4T packages folder (package removed in upstream)
- bring some packages from v5.x to L4T packages
- ffmpeg: remove vulkan
- remove stella core from Switch build (missing C++ headers)
- Ayn/Odin: use proper kernel arg to not hide kernel messages in console
- connman: add wpa_supplicant support back
2024-05-21 15:41:36 +02:00
Tomáš Kelemen (vudiq)
e474528130
retroarch: correct path for cheats
cheats are part of libretro database package, so after overlay for
/tmp/database is created, the cheats are in the cht subfolder. there is
no need for the tmp-cheats.mount units.
2024-05-02 09:36:06 +02:00
Tomáš Kelemen (vudiq)
3a6eb911c3
retroarch: fix test / add missing square brackets 2024-04-28 10:49:42 +02:00
Tomáš Kelemen (vudiq)
39723d1b21
Lakka: cleanups 2024-04-26 13:02:19 +02:00
Tomáš Kelemen (vudiq)
39f78f33fb
retroarch: add missing quotes 2024-04-20 14:42:53 +02:00
Yasai-san
cb83e4680d
Change GPICase2 and GPICase2W default menu driver and settings (#1961) 2024-04-16 17:27:39 +02:00
Tomáš Kelemen (vudiq)
b659bb5039
rename GPiCase builds for consistency 2024-04-12 09:28:11 +02:00
Demetris Ierokipides
cf65a215d3
Retroarch: enable vulkan and wayland apis 2024-04-10 18:04:59 +02:00
Tomáš Kelemen (vudiq)
e9ee58bce6
retroarch: enable RetroAchievements 2024-04-10 17:23:27 +02:00
Demetris Ierokipides
2456fdfd3a
RPi5: add retroarch support 2024-04-10 17:16:43 +02:00
Yasai-san
382241d601
Fix Default No Audio For GPICases (#1904) 2024-04-10 17:02:19 +02:00
Yasai-san
d57233047f
Support RetroFlag GPiCASE2W RPiZero2 aarch64 (port of #1947) 2024-04-10 16:54:52 +02:00
Tomáš Kelemen (vudiq)
ceee8b9e28
update libretro cores + retroarch
following cores were not updated and removed from build, as they fail to
build with old as well as updated:
- citra
- dolphin
- easyrpg
- mame
- mupen64plus_next
- pcsx2
- ppsspp
- same_cdi

build tested only for Generic.x86_64
2024-04-09 14:29:40 +02:00
Tomáš Kelemen (vudiq)
916368a387
update libretro cores + retroarch (non-tag) 2023-02-11 22:00:26 +01:00
Tomáš Kelemen (vudiq)
966a2ea078
retroarch: wayland / assets / shutdown/reboot 2023-02-08 00:28:57 +01:00
Tomáš Kelemen (vudiq)
575eef7f37
Lakka: x11: use proper file name for env 2023-02-04 19:18:40 +01:00
Tomáš Kelemen (vudiq)
3f982a5818
retroarch: remove mkdir - already created 2023-02-04 00:32:59 +01:00
Tomáš Kelemen (vudiq)
3504404a4c
fix x11 support for RetroArch 2023-02-03 23:16:48 +01:00
Tomáš Kelemen (vudiq)
8bf8dbc1ca
retroarch: fix package / add missing || 2023-01-23 21:31:45 +01:00
gouchi
d0706a24dc
retroarch : increase maximum amount of users to 8 (#1767) 2023-01-21 18:43:04 +01:00
David Lawson
13fb43105d
Fix retroarch tmp- mount paths (#1754)
* retroarch: fix assets mount source

* retroarch: change /usr/share/retroarch-system to /usr/share/retroarch/system to match other mounts

* retroarch: change /usr/share/retroarch-overlays to /usr/share/retroarch/overlays
2023-01-21 17:27:06 +01:00
GavinDarkglider
4f8d2a57e9
WIP - Add Support for Ayn Odin (#1713)
* Initial fully buildable/bootable Odin Support

* Rework NX-Boot to FAT32 Boot for shared usage between switch and odin

* Move shared packages from switch/odin to main packages folder
2023-01-21 16:11:38 +01:00
Tomáš Kelemen (vudiq)
ec0a3ea83a
Lakka: update libretro cores / retroarch
- cores updated to latest commit / latest tag
- retroarch updated to 1.14.0
- libzip: add PIC flag (for ppsspp)
2023-01-19 22:21:00 +01:00
Tomáš Kelemen (vudiq)
231bbbcb97
Exynos/OdroidXU4: adapt libretro packages 2022-04-24 10:27:22 +02:00
Tomáš Kelemen (vudiq)
3d3272a506
retroarch: prepare package for Generic+GLES 2022-04-19 10:07:38 +02:00
Tomáš Kelemen (vudiq)
7e3d98df3c
libretro update (1.10.3)
- update RetroArch to 1.10.3
- remove RetroArch patches merged upstream
- update cores
- vice: remove buildfix patch
- fuse_libretro: add flags/define for bzip2 and dependency
- mame2010: add database
- mame2015: add database
- update databases/assets/shaders/joypads
2022-04-14 16:03:33 +02:00
Tomáš Kelemen (vudiq)
af172c011c
retroarch: enable GLESv3 on RK3288 and RK3399 2022-04-10 22:16:54 +02:00
Tomáš Kelemen (vudiq)
a9a91df584
retroarch: add GLES3 only for RPi4 2022-04-09 22:09:17 +02:00
Tomáš Kelemen (vudiq)
af98b28e74
retroarch: add make option to build with HAVE_LAKKA_DEVBUILD 2022-04-08 19:49:19 +02:00
Tomáš Kelemen
c6f18da35b
libretro update (#1670)
another update, as RetroArch tag for 1.10.2 was updated
- update RetroArch to (newly tagged) 1.10.2
- update cores / database / asseets / ... to latest
2022-04-08 00:07:05 +02:00
Tomáš Kelemen
074434b096
libretro update (#1661)
- update RetroArch to 1.10.2 and drop patch merged upstream
- RetroArch: disable core system files downloader (included in image)
- update almost all cores to their latest version
- drop duckstation core
- modify libretro_update.sh script to allow for updates to latest tagged commit
- modify some packages to use latest tag during automated update
- update liblcf to 0.7.0 (EasyRPG dependency) and drop patches
- do not rename `genesis_plus_gx_wide_libretro.so` to `genesis_plus_gx_libretro.so` in the install path
2022-04-08 00:01:38 +02:00
Tomáš Kelemen
06c196f595
retroarch: use blank config file (#1639)
we used lot of `sed` to replace stuff in the supplied config file. as it
is not predictable, how the config file may change in the future, it is
safer just to create default config file from scratch. the supplied
config file did not set any option anyway.
2022-04-07 23:49:50 +02:00
Tomáš Kelemen (vudiq)
231403dd3f
retroarch: add VULKAN as dependency when needed 2022-04-07 23:05:13 +02:00
GavinDarkglider
8a48e6f2c5
Cleanup decoder/encoder stuff for L4T Builds, update some things, fix GLES building, but keep GL build. Other Minor cleanups. (#1623)
* Update L4T encoder/decoder to latest version which is 70% faster at 1080p

* Add vulkan support to ffmpeg

* Add vitaquake3 and boom3 cores for switch builds

These cores are considered broken, but starting, so maybe in the future they will be more reliable.

* Run dock-hotplug before starting retroarch.

This Will properly force DPI if booted on dock, and audio switching. It also has the added bonus of force fixing audio issues where speakers randomly dont work on boot."

* Update Kernel Repos

* update libglvnd

* update xf86-video-nouveau

* Build mesa properly in L4T LibreELEC builds.

* Update L4T build config for retroarch to fix building with support for EGL/openGLES.
While L4T supports EGL/OpenGLES, and the issue building for it is fixed,
we arent switching now though because moonlight core doesnt support it.

* Exclude moonlight core in Lakka builds that use openGLES over openGL, as openGLES is not supported

* Use openGLES in LibreELEC builds, as that is what upstream is targeting
2022-04-07 23:04:13 +02:00
Tomáš Kelemen (vudiq)
acf941af47
update RetroArch to 1.10.1 + all cores to current
* ppsspp: kept at 1.12.3
* retroarch: removed patch for Switch merged upstream
2022-04-07 22:46:36 +02:00
Tomáš Kelemen (vudiq)
b3c8d0500b
update retroarch and libretro
update RetroArch to 1.10.0
update all other retroarch and libretro packages to latest
2022-03-03 22:23:40 +01:00
Tomáš Kelemen (vudiq)
dcfbfc19a1
retroarch: change default recordings folder and expose it via samba 2022-03-03 22:05:38 +01:00
GavinDarkglider
f6f6a2a455
Fix recording/streaming in Lakka 4.x builds Few other minor fixes..... (#1617)
* Add Xvideo Extension Support

* Fix moonlight dependencies

* Fix retroarch recording/streaming.

* Fix melonds for tegra210 builds
2022-03-03 22:02:36 +01:00
GavinDarkglider
57ab31843d
Latest Lakka Switch Patches (#1600)
* Update kernel Config/patches for CEC support

* Add base CEC support to dock-hotplug, and make so support can be disabled via uenv.txt

* Add working libcec package for L4T, and enable CEC support in packages.

* Fix pulseaudio-alsa routing

This fixes using other audio backends(Alsathread, Alsa, TinyAlsa) in retroarch via dock or bluetooth.

* Downgrade GCC in L4T builds

This fixes issues revolving around undefined symbol: __aarch64_ldadd4_acq_rel issue with gcc 10

* Fix updater for switch builds
Only tested working with tar archives.

* Edit retroarch default settings for the switch.

* Fix pulseaudio changing sink volume issues.
2022-03-03 21:51:20 +01:00
Tomáš Kelemen (vudiq)
42ec40ee45
Add support for Raspberry Pi Zero 2 W with GPICase
Co-authored-by: Cicirifu <54900043+Cicirifu@users.noreply.github.com>
2022-03-03 18:45:14 +01:00
Tomáš Kelemen (vudiq)
04df6c84fa
retroarch: remove activation of cheats mount unit 2021-11-20 12:22:59 +01:00