Commit graph

71 commits

Author SHA1 Message Date
GavinDarkglider
cb6ac9c7dd
Mostly working decoder and moonlight (#1393)
* L4T: Initial, mostly working decoder support, Switch to proper glvnd setup"
* switch: add moonlight
* Add patch to force moonlight to use hardware decoder
* Add moonlight core info file to moonlight package
* rename moonlight to moonlight-libretro

Co-authored-by: plaidman <jrtomsic@gmail.com>
2021-06-18 00:12:06 +02:00
Tomáš Kelemen (vudiq)
893e2e8257 retroarch: revert resampler changes (patch) 2021-06-18 00:09:14 +02:00
dankcushions
fe6b66a3db
Compile retroarch with gles 3.x support (#1371)
See https://github.com/libretro/RetroArch/pull/11181

This is UNTESTED. I don't have a lakka dev environment/spare SD. Just something I was meaning to eventually do after that PR was merged. It's only really relevant for things like duckstation that actually use the API to determine GLES version support. You can see if it's working via a verbose log.

I don't know if any of these other devices need updating.
2021-06-14 01:26:44 +03:00
Tomáš Kelemen (vudiq)
7c034fe482 createlog: adapt for Lakka needs 2021-06-13 17:01:42 +02:00
Tomáš Kelemen (vudiq)
e049ce614d retroarch: fix cpufreq switch patch 2021-06-13 16:52:43 +02:00
Tomáš Kelemen
25ccc4db94
update RetroArch to 1.9.5 + all cores to current (#1390)
- retroarch: also removed patches merged upstream
2021-06-13 17:49:18 +03:00
Demetris Ierokipides
55c0332b8f XU4: Restore low fps sound hack 2021-06-09 18:26:40 +03:00
Seth Barberee
22997e78e8
GPiCase: Switch back to BCM2835-driver (#1346)
* switch GPICase to BCM

* mupen64plus: build w/o mesa on GPICase

* retroarch: have to disable kms on BCM2835

* add videocore flag for 2835

* actually enable dispmanx

* retroarch: GPICase

add configure flags

* RPi/GpiCase: disable swanstation

Co-authored-by: by-gnome <40670278+by-gnome@users.noreply.github.com>
Co-authored-by: Tomáš Kelemen (vudiq) <vudiq@vudiq.sk>
2021-06-09 00:47:52 +02:00
Tomáš Kelemen
9a1c5a4c1b
Fix tests in some packages (#1367)
* retroarch: fix tests

* Python2: fix test for L4T

* tegra-bsp: fix tests
2021-06-02 23:06:28 +03:00
GavinDarkglider
abd459a6be
Switch Build fixes, and retroarch patch for battery stats (#1360) 2021-06-01 15:07:29 +03:00
Demetris Ierokipides
7da2f71975 Retroarch: Clean xu4 libmali clutter 2021-06-01 03:03:37 +03:00
Demetris Ierokipides
7d6d53e069 Bump everything to v1.9.4 2021-05-31 02:26:21 +03:00
GavinDarkglider
41a9264210
Misc fixes (#1351)
* Fix audio regression from rework of tegra-bsp

* Fix calibration matrix

* Fix Hekate Icons, Update dock-hotplug

* Hack to fix touch screen

* Enable menu mouse on switch builds

* Update L4T Project CFlags

* add patch to fix brightness on the switch
2021-05-30 10:29:33 +03:00
GavinDarkglider
0fe8cf3b47
Add initial Nintendo Switch Dock Support. (#1350) 2021-05-30 03:39:47 +03:00
GavinDarkglider
04bf338689
Fix Touchscreen, Initial Refactor of tegra-bsp, Add icons for Hekate/NYX to bootloader package. (#1339) 2021-05-26 13:37:17 +03:00
GavinDarkglider
86a406d06b
L4T: Fix Vulkan Renderer (#1325) 2021-05-24 18:25:07 +03:00
Tomáš Kelemen
359ef661c4
fix build for 32-bit Generic (#1317)
- retroarch: add VULKAN only when have VULKAN_SUPPORT
- mpg123: build with PIC for all targets
2021-05-23 11:41:11 +03:00
Demetris Ierokipides
9a8929c4e5 Retroarch: remove upstream patch 2021-05-19 04:27:58 +03:00
Demetris Ierokipides
3ce79af38f Bump every core & retroarch to v1.9.3 stable 2021-05-18 19:31:05 +03:00
David G. F
31b818eb11
Add RA upstream patch to fix brighness restore issue (#1296) 2021-05-16 05:07:40 +03:00
Ntemis
80321df01e Clean no-op audio hacks for xu4&Rpi4 and allow none vulkan gpus to work 2021-05-14 00:30:39 +03:00
GavinDarkglider
3a7545bf08
Fix misc nintendo switch boot issues (#1293)
* Fix misc nintendo switch boot issues

* Fix switch cpu overclock menu, again.
2021-05-13 04:39:40 +03:00
David G. F
cc2d3336de
Improved CPU governor/frequency scaling control menu (#1292)
* Second revision of the cpufreq driver for Lakka.

* Adding default settings for RPi and OGA devices

This preserves backwards compatibility for RPi and adds a more sensible
policy for portable devices.
2021-05-12 07:45:21 +03:00
Demetris Ierokipides
252357f80b Generic: Enable Vulkan 2021-05-11 19:44:46 +03:00
GavinDarkglider
a647587bfb
More nintendo switch stuff (#1289)
* Misc cleanups for Nintendo Switch build, and Fix retroarch build issue, due to typo in lakka_switch patches.

* Disable joycon rumble on all boards, due to incorrect rumble mappings in driver could potentially cause damage to rumble device in joycons
2021-05-11 13:40:07 +03:00
Ntemis
ec469a1b47 XU4: fix build issues 2021-05-11 03:34:06 +02:00
GavinDarkglider
810d341599
Add support for Base L4T Platform and Nintendo Switch device (#1288)
* Add new platform: Linux4Tegra(L4T) base

* L4T: Add Nintendo Switch device to L4T Project

* L4T: Add support for Nintendo Switch bootloader package to build system

* Script Update: Extract Add support for tbz2 extension

* Package Update: Update pulseaudio to latest building version, add patches to support ucm2 as that is what lakka is shipping.

* New Package: Add rewritefs package, because we need to edit filenames on the fly, when using nintendo switch, as all data is saved to fat32 partition, where : is not a valid character in file names. eg. Bluetooth Configs

* Package Update: Linux Add support for nintendo switch l4t kernel

* Package Update: Busybox: Allow L4T device builds to just dump files in initramfs, such as firmware or new init script

* New Package: Mergerfs

* Package Update: Retroarch Bump version, and Add Nintendo Switch support, add support for X display server to retroarch start enviornment

* New Package: xf86-video-nouveau

* Package Update: libxkbcommon L4T fixes

* Dockerfile: Add needed build dependencies for L4T Platform stuff.

* Update Scripts: Add support for building L4T Switch to build_all script

* Package Update: Mupen64plus_next Add Nintendo Switch build support

* Package Update: Mame2015 Add support for building on Nintendo Switch

* Package Update: Bluez Add support for Nintendo Switch

* Package Update: libdrm remove libdrm.so.2 symlink with L4T boards, as nvidia supplies their own
2021-05-10 22:56:02 +03:00
Demetris Ierokipides
a9ca697eca XU4: Restructure libmali package building 2021-05-10 20:09:35 +03:00
Seth Barberee
c051839e4c
Rotate cores on GPiCase (#1284)
RA is rotated 90 CCW. Rotate 270 to fix in all the cores
2021-05-08 00:55:31 +03:00
David G. F
818694606b
Bump Retroarch to 1.9.2 (#1280)
Also add the cpufreq patch for some beta testing and feedback.
Removed the timezone patch since it is already upstream.
2021-05-03 03:59:15 +03:00
David Lawson
cdd770d78f
Rpi kernel update to hopefully fix composite out (#1273)
* rpi: update kernel

* Remove Gamegirl support
2021-04-23 01:31:36 +03:00
Tomáš Kelemen
1e28d27cd2
retroarch: update patch for time zone setting (#1272)
now the time zone is applied immediately, no need for reeboot
2021-04-22 21:48:58 +03:00
Tomáš Kelemen
5a4fc0e668
retroarch: eject + timezone patch (#1270) 2021-04-18 21:05:29 +03:00
David Lawson
5660926e27
rpi4: default to alsathread (#1246) 2021-04-09 03:11:26 +03:00
David Lawson
7612feee6e
rpi4: enable slang shaders (#1245) 2021-04-07 22:04:22 +03:00
David G. F
00d9a6eaa9
Add volume key support to OGA and RG351V (#1241)
* Add event service package and a systemd service for OGA

This is a service that listens for certain keys on certain devices and
injects commands to Retroarch.

* Update Retroarch and add command support
2021-04-05 21:43:52 +03:00
Tomáš Kelemen
d61d423673
build fixes after latest updates to lr-cores (#1238)
* bsnes: update patch

* duckstation: enable DRMKMS, disable EVDEV

* picodrive: add root to includes

was complaining about missing <pico/pico.h>

* retroarch: remove patches merged upstream

* duckstation: update to bring in latest fixes

* duckstation: add dependencies

* beetle-psx: don't link with static libstdc++
2021-04-03 21:59:50 +03:00
Demetris Ierokipides
0078a9da62 Libretro: Update all everything 2021-04-03 04:47:13 +03:00
Tomáš Kelemen
e74cc941b2
Generic: enable vulkan, increase partition size (#1235)
minor changes also to RPi - changed VULKAN to vulkan-loader,
vulkan-headers are pulled in as dependency of vulkan-loader
2021-04-02 15:28:24 +03:00
David Lawson
568d3ede25
Update mesa to 21.0.1 and enable vulkan for rpi4 (#1226)
* mesa: update to 21.0.1

* rpi4: enable vulkan

* vuklan-loader fixup

* vulkan-loader fixup 2

* rpi4: actually build vulkan drivers
2021-03-27 02:22:20 +02:00
Tomáš Kelemen
4b32ff9b4e
cores cleanup (#1225)
* cores cleanup

- replaced core association for MAME playlist: `mame` -> `mame2003-plus`
(we do not ship `mame` anymore)
- Amlogic core association override for all targets (device S912 does
not exist)
- cleanup of redundant override for WeTek
- cleanup of redudnand override `mame` -> `mame2003-plus`
- added `snes9x2002` to RPi targets (is required/default core)

TODO:
- cleanup Generic - the system does not fit on the boot partition

* beetle-saturn: drop core

* retroarch: bump to same commit as public release

and remove patch included in upstream
2021-03-25 12:19:18 +02:00
David G. F
0892f93bde
Fix regression introduced in brightness patch (#1202)
Causes many issues including crashes and funny lang changes
2021-03-10 23:45:58 +02:00
David G. F
3022d2188e
Backport brightness control for OGA platforms (#1197) 2021-03-10 18:33:57 +02:00
David G. F
424b1d8d8f
Adding initial support for Gameforce CHI console (#1182)
This is essentially an OGA clone with a bigger (640x480) non-rotated
screen. Requires a joypad kernel patch (a copy of OGA's + small bits) and a new
DTB.

Changed a bit the way splash screens work, now you can specify proper
resolutions (instead of just vertical res) so that it works well for
cases like rotated screens.

Tweaked Retroarch to ship both drivers (DRM + GO2 DRM) and the GO2
driver to inhibit itself in case the console has a non-rotated display.
This should work for any console as long as the resolution is reported
correctly. The regular DRM driver should have 1 frame less latency!

What's not working: Console is still rotated (minor issue) and kernel
panics on poweroff :) Debugging it, but I'll need to solder the UART for
that.
2021-02-19 17:05:46 +02:00
Seth Barberee
dd68be8f61
RPi: VC4 (#1157)
* RPi: move to 5.4 and use vc4

* RPi1 functional now
2021-01-14 02:08:36 +02:00
Ntemis
f79b1b05d6 Retroarch: Clean and merge more common build flags for supported targets 2020-12-09 15:12:08 +02:00
Ntemis
9cc8d4234a RPi4: cleaner retroarh build flags
- Leaving "enable-vulkan" out for now -> tbt
2020-12-05 15:46:27 +02:00
by-gnome
abff737891
NXP/iMX6: set hdmi as default audio output (#1090)
- retroarch: set audio device to DW-HDMI, turn on menu sounds for iMX6
- NXP/iMX6: linux: configure DW HDMI audio driver as built-in
2020-11-10 18:06:55 +02:00
David Lawson
1bd927e074
Rpi4 aarch64 (#1022)
* rpi4-aarch64: Add rpi4 aarch64 kernel config

This was created by copying the arm config and looking at the diff between:

https://github.com/raspberrypi/linux/blob/rpi-5.4.y/arch/arm/configs/bcm2711_defconfig

and

https://github.com/raspberrypi/linux/blob/rpi-5.4.y/arch/arm64/configs/bcm2711_defconfig

* rpi4-aarch64: Don't pass --enable-neon to retroarch as it makes the build fail

* rpi4-aarch64: Raspberry Pi dtb files are created in a different place for aarch64

* rpi4-aarch64: Build some rpi specific packages for aarch64 as well as arm

* rpi4-aarch64: RPi4 64-bit needs fixup4.dat to boot

I don't think this harms anything else

* rpi4-aarch64: Enable 64-bit mode and specify kernel filename in config.txt

This is a bit hacky.

We need to specify the kernel filename otherwise it expects it to be kernel8.img

* rpi4-aarch64: Fix RPi options for RPi4 aarch64

* rpi4-aarch64: update mupen64plus to aarch64 compatible version

* rpi4-aarch64: exclude cores that don't compile only for rpi-aarch64

* rpi4-aarch64: Update alsa-utils to overcome https://github.com/alsa-project/alsa-utils/issues/33

* rpi4-aarch64: Remove extra $ARCH arg from mk_arcade_joystick_rpi

* rpi4-aarch64: Fix ffmpeg compilation

* rpi4-aarch64: add new kernel conf

Created by copying the existing linux.arm.conf and applying the diffs between the official 32bit rpi kernel config and the official 64bit rpi kernel config

* rpi4-aarch64: improve kernel config

* rpi4: don't configure non-default audio_device

* Update mupen64plus_next

* rpi4-aarch64: turn off a load of debugging in the kernel
2020-10-04 17:15:17 +03:00
Seth Barberee
9d10639b71
re-add vc-egl patch for RPi (#1017) 2020-08-31 15:10:18 +03:00