Commit Graph

51239 Commits

Author SHA1 Message Date
sydarn
da11ea8a95 Merge pull request #2286 from beebono/ds-features
Add hardware microphone support to drastic-sa and fix melonds-sa DirectBoot priority
2026-02-05 23:10:41 +01:00
Philippe Simons
7bd0a9e527 Merge pull request #2292 from fenio/h700-enable-hid-playstation
H700: enable HID PlayStation module for DS4/DualSense
2026-02-05 22:54:31 +01:00
Philippe Simons
98feadf924 Merge pull request #2293 from loki666/linux-revert
linux: revert to 6.18.4
2026-02-05 22:53:15 +01:00
Philippe Simons
b1b7ba39af linux: revert to 6.18.4
6.18.8 has issues with network usb
2026-02-05 22:52:56 +01:00
Bartosz Fenski
132ce4688c H700: enable HID PlayStation kernel module for DS4/DualSense support
Enable CONFIG_HID_PLAYSTATION and CONFIG_PLAYSTATION_FF on the H700
device. Without this, DualShock 4 and DualSense controllers fall back
to hid-generic, which maps axes differently (swapped right stick and
triggers), causing erratic behavior in RetroArch and other emulators.

The hid-playstation driver (which replaced hid-sony for DS4 in kernel
6.2+) provides correct axis mapping and force feedback support.
2026-02-05 22:38:16 +01:00
sydarn
0153c6d261 Merge pull request #2291 from sydarn/rk3399-kernelconf
rk3399: enable usb configfs in kernel
2026-02-05 21:34:53 +01:00
sydarn
ff4bf1e5b4 rk3399: enable usb configfs in kernel 2026-02-05 21:34:13 +01:00
Noxwell
71fec62139 Fix melonds-sa DirectBoot option priority 2026-02-04 20:17:56 -06:00
Noxwell
e95562c961 Don't overwrite controls_a in drastic so users can set custom keybindings 2026-02-04 20:17:28 -06:00
Noxwell
8be293ae77 Add HW microphone-to-button in drastic hook 2026-02-04 20:10:11 -06:00
John Williams
f71180e4f3 Merge pull request #2282 from aenertia/fsmadvise
feat(memory/io) fsmadvise enablement optimizes memory throughput and I/O performance
2026-02-05 11:09:43 +11:00
John Williams
065d000833 Merge pull request #2281 from JeodC/portmaster-sway-fullscreen
Fix Thor/RGDS seat attachments in sway_fullscreen.sh
2026-02-05 09:33:53 +11:00
Philippe Simons
601e14949d Merge pull request #2284 from loki666/sm8550-patches
sm8550/linux: update patches
2026-02-04 22:28:44 +01:00
Philippe Simons
1fb0d2835c sm8550/linux: update patches 2026-02-04 22:28:27 +01:00
Joel Wirāmu Pauling
a29ef69496 feat(memory/IO) This update optimizes memory throughput and I/O performance across all ROCKNIX AArch64 targets by enabling File-System-backed Transparent Huge Pages (THP) and implementing a tiered hardware-aware tuning strategy.
With MGLRU and zRAM providing a safety net, enabling Large Page (2MB) support reduces TLB misses, allowing the CPU to prioritize emulation logic over memory address translation.

Key Features Enabled
File-System THP (CONFIG_READ_ONLY_THP_FOR_FS): Collapses read-only file mappings (game binaries/data) into huge pages to accelerate asset loading.

Contiguous Page Table Entries (CONFIG_ARM64_CONTPTE): Allows the MMU to treat groups of pages as a single entry, increasing TLB efficiency on high-performance targets.

Memory Compaction & Migration: Re-enabled infrastructure to shuffle physical RAM into contiguous blocks required for huge pages.

Architecture-Specific Write Support (CONFIG_ARCH_WANT_PMD_MKWRITE): Ensures efficient huge page handling during high-performance memory writes.

Tiered Userspace Management
The rocknix-memory-manager applies specific logic at boot based on the SoC and RAM capacity:

Flagship Mode (RK3588, SM8x, RK3399):

Sets defrag to defer+madvise for proactive huge page creation.

Sets vm.compaction_proactiveness to 40 to maintain a pool of contiguous blocks.

Budget Mode (H700, RK3326):

Sets defrag to defer only to prevent CPU "stalls" during gameplay.

Sets vm.compaction_proactiveness to 10 to prioritize raw CPU availability.

Texture Performance: Globally enables shmem_enabled=advise to benefit Vulkan and Wayland texture handling.

Swappiness: Sets vm.swappiness to 100 when ZRAM is active to keep physical RAM unfragmented for huge page allocations.

Safety Rationale
MGLRU: Prevents "reclaim storms" during huge page allocation on 1GB devices.

zRAM: Absorbs memory pressure via high-speed compressed swap.

Read-Only Focus: FS-Backed THP targets low-risk mappings while providing high-impact gains for asset streaming.
2026-02-05 08:47:25 +13:00
Jeod
1648c34fe1 Fix Thor/RGDS seat attachments in sway_fullscreen_sh
#2150 added a blanket seat attach wildcard which resolved an input bug for the AYN Thor. It unknowingly caused an input bug in the RG DS. Put the specific needs behind $QUIRK_DEVICE conditionals.
2026-02-03 20:49:36 -05:00
Philippe Simons
281de1be24 Merge pull request #2276 from loki666/mesa-25.3.4
mesa: update to 25.3.4
2026-02-04 00:29:15 +01:00
Philippe Simons
e4a9954013 Merge pull request #2280 from loki666/sm8650-sd
linux/sm8650: update patches
2026-02-04 00:22:42 +01:00
Philippe Simons
a037e84301 linux/sm8650: update patches 2026-02-04 00:14:58 +01:00
John Williams
4c33501487 Merge pull request #2223 from aenertia/zram-swap-core
feat(system): implement unified memory manager and tiered zram/swap core
2026-02-04 08:50:56 +11:00
John Williams
1069f8a87b Merge pull request #2279 from ROCKNIX/auto-pr-branch
Update kernel configs/device documentation
2026-02-04 08:44:43 +11:00
sydarn
840a4f63d3 Update kernel configs 2026-02-03 21:40:03 +00:00
sydarn
77547c9f9e Merge pull request #2277 from ROCKNIX/sydarn-patch-1
Fix linux pkg typo
2026-02-03 20:32:49 +01:00
sydarn
6031ddcccf Fix linux pkg typo 2026-02-03 20:27:38 +01:00
Philippe Simons
bf3c4746fd Merge pull request #2274 from loki666/linux-6.18.8
bump kernel for H700|RK3399|SM8550|SM8650|RK3566
2026-02-03 19:45:16 +01:00