Commit graph

8017 commits

Author SHA1 Message Date
Jools Wills
e1935ab5da helpers - added inputBox function that uses the OSK
If the OSK is installed it will be used for input, otherwise it will fall back to using dialog --inputbox

function takes 3 parameters:

The title of the dialog, the default text and a minimum number of characters to accept.

Adjusted wifi module to use the new inputBox. There is no need to redirect cmd output with 2>&1 >/dev/tty as the inputBox function does this.
2023-02-24 21:47:22 +00:00
Jools Wills
1cf5cb6f32 retropie-setup - bump version to 4.8.3 2023-02-22 19:57:11 +00:00
Jools Wills
1f5372d657
Merge pull request #3635 from schiele/vice-3.7.1
vice - switch to v3.7.1 release
2023-02-22 18:16:02 +00:00
Jools Wills
bc94ee1324
Merge pull request #3640 from cmitu/update-package
packages: amend update detection for untracked modules
2023-02-22 17:46:24 +00:00
cmitu
191485ae99 packages: amend update detection for untracked modules
Added a fallback for getting the `modified_date` of a module if the module's file is not tracked by `git`.
If the module is just copied in the `scriptmodules` folder or under `ext`, but not part of a `git` repo, use the modification date of the file.
This avoids re-building the module when a mass update is run.

Noticed this in [this forum topic](https://retropie.org.uk/forum/topic/33922/need-help-with-openbor-retropie-extra-exarkuniv/15), seems like [RetroPie-Extra](https://github.com/Exarkuniv/RetroPie-Extra) copies selected module files under `ext`, while the main repository folder is kept separately.
2023-02-22 17:13:58 +00:00
Jools Wills
cbe16bf974
Merge pull request #3636 from gizmo98/compressed-memory
raspbiantools: Add option to enable compressed memory (ZRAM)
2023-02-22 16:56:24 +00:00
Stefan
06f38fff87 raspbiantools: Add option to enable compressed memory (ZRAM)
Compressed memory (ZRAM) can be used with low memory embedded devices. ZRAM has compression ratio of up to 4:1 if zstd algorithm is used. 256MB
 of reserved physical memory can store up to 1024MB. It is only used if free memory is getting low. It is much faster than disk swapping. It also prevents linux from using disk swap until ZRAM is full.
https://wiki.debian.org/ZRam
https://wiki.ubuntuusers.de/zRam/
https://haydenjames.io/raspberry-pi-performance-add-zram-kernel-parameters/

Add an option which enables ZRAM with a swap size of 50% of physical memory size.

Example: Raspberry Pi4, 2GB, RetroPie 4.8

Meminfo without ZRAM
pi@retropie:~ $ cat /proc/meminfo
MemTotal:        1917108 kB
MemFree:         1567396 kB
MemAvailable:    1759312 kB
Buffers:           24592 kB
Cached:           240928 kB
SwapCached:            0 kB
Active:           115120 kB
Inactive:         170404 kB
Active(anon):        616 kB
Inactive(anon):    29056 kB
Active(file):     114504 kB
Inactive(file):   141348 kB
Unevictable:          16 kB
Mlocked:              16 kB
HighTotal:       1232896 kB
HighFree:         959980 kB
LowTotal:         684212 kB
LowFree:          607416 kB
SwapTotal:        102396 kB
SwapFree:         102396 kB
Dirty:             30800 kB
Writeback:             0 kB
AnonPages:         20052 kB
Mapped:            32344 kB
Shmem:              9668 kB
KReclaimable:      18456 kB
Slab:              35056 kB
SReclaimable:      18456 kB
SUnreclaim:        16600 kB
KernelStack:        1136 kB
PageTables:         1796 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:     1060948 kB
Committed_AS:     112832 kB
VmallocTotal:     245760 kB
VmallocUsed:        5208 kB
VmallocChunk:          0 kB
Percpu:              576 kB
CmaTotal:         327680 kB
CmaFree:          313280 kB

Meminfo with 50% ZRAM
pi@retropie:~ $ cat /proc/meminfo
MemTotal:        1917108 kB
MemFree:         1604616 kB
MemAvailable:    1676408 kB
Buffers:           20880 kB
Cached:           152212 kB
SwapCached:            0 kB
Active:            45144 kB
Inactive:         149896 kB
Active(anon):        632 kB
Inactive(anon):    55996 kB
Active(file):      44512 kB
Inactive(file):    93900 kB
Unevictable:       25004 kB
Mlocked:              16 kB
HighTotal:       1232896 kB
HighFree:        1020208 kB
LowTotal:         684212 kB
LowFree:          584408 kB
SwapTotal:       1060940 kB
SwapFree:        1060940 kB
Dirty:                72 kB
Writeback:             0 kB
AnonPages:         46988 kB
Mapped:            70232 kB
Shmem:             34672 kB
KReclaimable:      13088 kB
Slab:              28820 kB
SReclaimable:      13088 kB
SUnreclaim:        15732 kB
KernelStack:        1248 kB
PageTables:         2124 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:     2019492 kB
Committed_AS:     177464 kB
VmallocTotal:     245760 kB
VmallocUsed:        7412 kB
VmallocChunk:          0 kB
Percpu:              576 kB
CmaTotal:         327680 kB
CmaFree:          283624 kB
2023-02-22 15:46:44 +01:00
Jools Wills
361edcb4be sdl2 - updated to retropie-2.26.3 branch for bullseye
Due to https://github.com/libsdl-org/SDL/issues/5399 which breaks darkplaces-quake in RetroPie we are keeping Buster at 2.0.10 until there is a resolution.

Added libsamplerate0-dev dependency to module.

Branch includes reworking the patch for kms modesetting via env variables, some minor changes to our Mali and RPI patches, and some removal of no longer needed changes.

It also includes removal of some debian/control build dependencies which were added to upstream to align with Debian's packaging. The additions caused dependencies like libwayland-dev and libpulse-dev to be required for all platforms. As we handle adding dependencies in our sdl module code, these have been removed in our retropie-2.0.16+ sdl2 branches.

Include fix for detection of videocore due to our renamed include folders (thanks @cmitu).
2023-02-22 14:18:28 +00:00
Jools Wills
90f64e6bf5
Merge pull request #3642 from gizmo98/wayland
emulationstation: modify wayland detection
2023-02-21 20:37:18 +00:00
Stefan
88dafca9e1 emulationstation: modify wayland detection
I have done some tests running weston/wayland from CLI with a rpi4/raspbian-lite. After startup of weston $XDG_SESSION_TYPE is still "tty". If I start a weston/wayland session with graphical login (display manager sddm or gdm3) $XDG_SESSION_TYPE is "wayland". $WAYLAND_DISPLAY can be found in both constellations and seems to be more reliable. On a rpi4 $WAYLAND_DISPLAY=wayland-0. Just replace $XDG_SESSION_TYPE with $WAYLAND_DISPLAY.
2023-02-21 21:17:35 +01:00
Jools Wills
abd614a688
Merge pull request #3641 from cmitu/lr-scummvm-fix1
lr-scummvm: fix interactive prompt from unzip
2023-02-21 17:26:59 +00:00
cmitu
6920379331 lr-scummvm: fix interactive prompt from unzip
Modified the `unzip` command for the core system files to overwrite unconditionally the files, otherwise we get a prompt when upgrading.
2023-02-21 17:23:53 +00:00
Robert Schiele
aad10504c5 vice - switch to v3.7.1 release 2023-02-19 12:20:40 +01:00
Jools Wills
98c1df48fe
Merge pull request #3637 from joolswills/config_fix
setup - only show enabled modules in config section
2023-02-19 10:49:33 +00:00
Jools Wills
51a035d9c5 setup - only show enabled modules in config section
Since a98c59597f we now need to check if a module is enabled.

This fixes incorrectly showing config modules like wifi on systems where it is not supported.
2023-02-18 19:49:29 +00:00
Cristi Mitrana
47c7f130fe
Merge pull request #3630 from gizmo98/yabasanshiro-fix
yabasanshiro: remove missing python-pip package
2023-02-18 09:28:04 +02:00
Stefan
7789317774 yabasanshiro: remove package python-pip
Package python-pip is not necessary to compile and run yabasanshiro. Debian >= 10 has no python-pip package. Remove it.
2023-02-16 22:43:01 +01:00
Jools Wills
df398d097b
Merge pull request #3633 from gizmo98/yabasanshiro-pi4-1-9-0
yabasanshiro: update to version 1.9.0
2023-02-16 21:33:47 +00:00
Stefan
728fabf25b
yabasanshiro: update to version 1.9.0
Update from version 1.5.0 to version 1.9.0. Sonic R shows no glitches in the title screen anymore.
2023-02-16 22:26:54 +01:00
Jools Wills
ea2533dd19
Merge pull request #3627 from gizmo98/platform-flag-vulkan
add platform flag vulkan
2023-02-12 19:22:52 +00:00
Stefan
2386c4b22a add platform flag "vulkan" 2023-02-12 19:47:07 +01:00
Cristi Mitrana
2df48c6faa
Merge pull request #3631 from gizmo98/fix-permissions
Fix file permissions of fs-uae and yabasanshiro
2023-02-12 08:49:59 +02:00
Eschenbacher.Stefan
353df06f7a fix file permissions of fs-uae and yabasanshiro 2023-02-11 12:28:37 +01:00
Jools Wills
6ae0b973aa
Merge pull request #3628 from cmitu/desktop-paudio
raspbiantools: disable PulseAudio on Buster after install
2023-02-09 18:32:07 +00:00
cmitu
051491ce5a raspbiantools: disable PulseAudio on Buster after install
PulseAudio is pulled by installing the desktop since [1] on `buster`.
Changed the install procedure to disable it after adding the desktop and to replace the volume applet for `lxpanel` with the version that supports ALSA (otherwise `lxpanel` crashes, leaving the deskop unusable).

[1] https://www.raspberrypi.com/news/new-raspberry-pi-os-release-december-2020/
2023-02-09 18:17:11 +00:00
Jools Wills
738b670da8
Merge pull request #3626 from gizmo98/imx
Add recognition of NXP imx socs i.MX6 dual lite, i.MX6 quad and i.MX8M mini
2023-02-09 16:23:08 +00:00
Jools Wills
28f8e1444c
Merge pull request #3629 from cmitu/xpadneo-updates-4
xpadneo: update to version 0.9.5
2023-02-08 10:00:20 +00:00
cmitu
d64a1f4e02 xpadneo: update to version 0.9.5
This is a hotfix release to fix broken SDL/Steam mappings.
Previous version (0.9.4) was just a re-release of 0.9.3 which adds a missing uhid warning and fixes the module version number.
2023-02-08 06:11:07 +00:00
Jools Wills
b956140cf5
Merge pull request #3624 from gizmo98/emulationstation-gles
emulationstation: allow gles for all platforms
2023-01-25 21:08:45 +00:00
Jools Wills
b99646897b
Merge pull request #3623 from gizmo98/sdl2-wayland
emulationstation: use SDL2 wayland videodriver if applicable
2023-01-25 19:18:55 +00:00
Jools Wills
5b9bfb5779
Merge pull request #3625 from Gemba/fix_wikidocs_module
wikidocs scriptmodule: add missing dependencies
2023-01-24 22:21:54 +00:00
Gemba
dc93979819 add missing dependencies 2023-01-24 22:11:24 +00:00
Stefan
433f316c59
system: add recognition for NXP i.MX6 quad and i.MX6 dual lite/solo
not officially supported
2023-01-24 20:22:35 +01:00
Stefan
af34d24893
system: add recognition for NXP i.MX8M Mini
not officially supported
2023-01-24 20:18:19 +01:00
Stefan
6834e407be
emulationstation: allow gles for all platforms
gles can be used under x11, wayland, kms, dispmanx and fb. Respect gles platform flag and build emulationstation with gles renderer if requested.
2023-01-24 20:10:32 +01:00
Stefan
4e38965afe
emulationstation: use SDL2 wayland videodriver if applicable
If a Gnome or Weston Wayland session is started under Ubuntu 22.04, SDL2 falls back to x11 videodriver. There is ARM hardware which runs much faster and without graphical glitches if the SDL2 wayland video driver is used. To prevent SDL2 from using x11 video driver, export "SDL_VIDEODRIVER=wayland" if Wayland session is detected.
2023-01-23 20:48:44 +01:00
Jools Wills
56c36713b2
Merge pull request #3621 from gizmo98/emulationstation-GL2.1-fix
emulationstation: fix OpenGL version 2.1 check
2023-01-23 19:36:39 +00:00
Stefan
91dd24622b emulationstation: fix OpenGL version 2.1 check
Emulationstation does not run with -DUSE_GL21=On if gpu supports GL <= 2.0. Fix OpenGL version check.
2023-01-23 20:02:29 +01:00
Cristi Mitrana
058f096c76
Merge pull request #3622 from DirtBagXon/master
hypseus: Add new bezels folder
2023-01-22 06:00:34 +02:00
DirtBag Xon
5419b5454f hypseus: Add new bezels folder 2023-01-22 00:52:17 +00:00
Jools Wills
90d65a3847
Merge pull request #3620 from cmitu/scummvm-lr
lr-scummvm: added `zip` as dependency
2023-01-18 06:31:36 +00:00
cmitu
f4edb59359 lr-scummvm: added zip as dependency
Fixes the creation of the `scummvm.zip` bundle file during building.
2023-01-18 05:51:18 +00:00
Jools Wills
c5e64178d8
Merge pull request #3619 from cmitu/scummvm-lr
lr-scummvm: update build recipe, upgrade the core to v2.6.1
2023-01-16 17:45:36 +00:00
cmitu
0be2bfd0bf lr-scummvm: update build recipe, upgrade the core to v2.6.1
Recently, upstream re-organized the repository and changed the build process.
This commit adapts the scriptmodule to the new structure:

 - building is done directly from the main repo source
 - data files neeed for the core is built with `make datafiles` and copied to our package
 - ScummVM is upgraded to current stable (v2.6.1) in the process.
   NOTE: WIP engines are not built by default and are not included
 - switched the theme the `scummremastered`, added in 2019 in ScummVM
 - license changed to GPLv3 (same as the main ScummVM project)
2023-01-16 17:41:08 +00:00
Jools Wills
a34b2ec36d
Merge pull request #3618 from cmitu/cgenius-updates3
cgenius: upgrade to 3.2.0 & misc module improvements
2023-01-15 18:21:57 +00:00
cmitu
b99374c268 cgenius: upgrade to 3.2.0 & misc module improvements
Updated to the latest stable version (3.2.0), with mostly bugfixes and stability changes.

Scriptmodule changes:

 * changed the build to be in a separate folder
 * removed the install prefix since it's unused
 * removed the `gcc` workaround since it's not needed anymore
 * added a minimal config to configure the games location
 * removed the gamesdir symlink, not needed with the above modifications. Should prevent copying errors when backing up the SMB folders since the `games` config sub-folder was a symlink outside the `config` share.
2023-01-15 18:17:34 +00:00
Jools Wills
ca2f1c6758
Merge pull request #3615 from cmitu/pcsx2-packaging
pcsx2: fix installation and configuration for recent 1.7 packages
2023-01-10 09:04:53 +00:00
cmitu
c825b7a6cd pcsx2: fix installation and configuration for recent 1.7 packages
* The Ubuntu PPA has 64bit packages for some time, now defaulting to 64bit only for recent 22.04 and newer.
Modified the module to take this into account and install the 64bit package when available.

* The new PCSX2 versions have a QT UI by default and the PPA installs it automatically. The parameters and commands are different from the previous WXWidgets based versions, so configuration detects the version installed and sets the correct commands for both versions.
2023-01-10 04:08:38 +00:00
Jools Wills
05776a194f
Merge pull request #3614 from cmitu/xroar-2
xroar: update to version 1.3
2023-01-07 07:54:01 +00:00
cmitu
363bc782ed xroar: update to version 1.3
The yearly XRoar update. Notable chanes since 1.0.9:

- version 1.1, Thu 21 Jul 2022
  * New GDB monitor commands [by Tormod Volden]
  * Support 1M or 2M in CoCo 3 [with Christopher Hawks]
  * Support K7 cassette image files (read-only)
  * Support UTF-8 block characters in -type for MC-10
  * Type ASCII BASIC from file on MC-10
  * NEW Matra & Hachette Alice support (keyboard layout, built-in profile)
  * New meta-options -machine-opt and -cart-opt
  * New ide-addr=address cart-opt
  * 6801/6803: fix some illegal instruction timings [George Phillips]
  * Fixed uppercase 'G', lowercase 'j' and 'w' glyphs for 6847T1 [Tim Lindner]

- version 1.2, Thu 27 Oct 2022
  * Fixed comma, lowercase 'm', lowercase 'ø' glyphs for GIME [Tim Lindner]
  * Fix SDL-only builds
  * 6809: flesh out some illegal instruction behaviours [David Banks]
  * 6309: flesh out some undocumented behaviour [David Banks]
  * Fleshed out T1-compatibility in CoCo 3 GIME [R. Allen Murphy]

- version 1.3, Wed  4 Jan 2023
  * Add -no-ratelimit option to start at maximum speed
  * Further fixes to 6809 TFR/EXG involving CC/DP [Tim Lindner]
  * Fix Delta density select [Phill Harvey-Smith]
  * Track floppy disk 'dirty' state to avoid unnecessary image rewrites
  * IMPORTANT: disk write-back now defaults to ENABLED
  * Better Vertical SCroll register behaviour in GIME [Ralph Serpas]
  * 6309 timing fix for bit operations
2023-01-07 04:24:11 +00:00