82 Commits
Author SHA1 Message Date
itsmattkc 4abb755ed2 docker: fix v4l2 decoder not being enabled on switch builds 2026-09-11 01:26:16 -07:00
itsmattkc a0c46f2cd8 gui: implement nvv4l2 hardware decode on nintendo switch 2026-09-10 21:59:10 -07:00
Joshua Brest (杰成)andMattKC 78b923719c Add iOS support with build scripts, toolchain, and assets (#302)
* feat: add iOS support

* ios: clean up icon

* ci: add ios build

* fix(gui): revert asset lookups to use "%s/assets/%s/%s" for macOS

* refactor(gui): remove extra `iconv` linkage for iOS

* chore(gitignore): remove unused `xcuserdata` and `DerivedData` entries

* fix(gui): use provided `LibXML2` in non-vendored builds

* fix(ci): add Xcode setup step for iOS build

* fix(pipe): prevent relay threads from using freed stack memory

* fix(input): replace bitfields with explicit wire packing for touch and gyro data

* fix merge issues

* fix cmake merge bug

* cmake: attempt iOS SDL fix

* older ios

* feat: add iOS support

* ios: clean up icon

* ci: add ios build

* refactor(gui): remove extra `iconv` linkage for iOS

* chore(gitignore): remove unused `xcuserdata` and `DerivedData` entries

* fix(ci): add Xcode setup step for iOS build

* cmake: attempt iOS SDL fix

* older ios

* cleanup

* build signed macOS app alongside iOS app

* cmake: detect ios version and include liquid glass icon if available

* ci: upload continuous release

* cmake: move more ios code to toolchain

* remove ios simulator target

* improvements

* remove CMakePresets.json

* Update ios-toolchain.cmake

* move ios folder to gui folder

* converge Info.plist templates

* update comments and readme

* cmake: remove redundant code

* remove redundant ios folder

* cmake: add comments to cache strings

* cmake/ci: maybe fix new apple builds

* cmake: fix new ios build

* cmake: fix macOS build?

---------

Co-authored-by: MattKC <34096995+itsmattkc@users.noreply.github.com>
2026-09-09 02:25:50 -07:00
itsmattkc 94a9a8cd10 docker: android fix 2026-08-26 18:01:53 -07:00
itsmattkc c809ff73e7 implement support for display brightness
commit 54e685ba9fef2b5fc1505ddc932e4fa3fe87ed68
Author: itsmattkc <34096995+itsmattkc@users.noreply.github.com>
Date:   Wed Aug 26 17:46:15 2026 -0700

    improvements

commit b442a51a71
Author: itsmattkc <34096995+itsmattkc@users.noreply.github.com>
Date:   Wed Aug 26 14:49:31 2026 -0700

    docker: add new build deps for android

commit 1e6370391e
Merge: b21181c 0681459
Author: itsmattkc <34096995+itsmattkc@users.noreply.github.com>
Date:   Wed Aug 26 14:37:15 2026 -0700

    Merge branch 'master' into brightness

commit b21181c675
Author: itsmattkc <34096995+itsmattkc@users.noreply.github.com>
Date:   Sun Aug 23 16:58:09 2026 -0700

    update display brightness - initial implementation
2026-08-26 17:50:12 -07:00
itsmattkc ec0783f945 docker: pin base image hash to prevent unnecessary cache invalidation 2026-08-25 18:58:44 -07:00
itsmattkc ff354e4176 docker: add convenience scripts for maintainers 2026-08-23 16:57:43 -07:00
theofficialgman f20671e204 Switch: bump kernel tag (adds kernel drivers for additional IMU) (#466) 2026-08-23 09:51:22 -07:00
itsmattkc 577405a92c ci: try pushing images to registry instead of cache when done 2026-08-04 10:00:07 -07:00
itsmattkc 025f7ae77e docker/buildroot: fix bug where DRM was disabled 2026-08-03 17:31:14 -07:00
EinTim e2966b2187 Make raspberry pi zero 2w buildroot image work on all 64 bit raspberry pis (#451) 2026-08-03 17:29:16 -07:00
itsmattkc f2e354bfc7 ci/buildroot/docker: fix bug and introduce 2w build too 2026-07-29 13:34:23 -07:00
itsmattkc 463aed33bf ci/buildroot/docker: build orange pi zero 3 image 2026-07-29 13:08:22 -07:00
theofficialgman 0b42dee05a ci/docker: update nintendo switch buildroot image for theofficialgman… (#382)
* ci/docker: update nintendo switch buildroot image for theofficialgman kernel fork

* buildroot: switch to modified boot.scr from noble

only change from noble is the default id to SWR-VAN

* buildroot: gzip switch kernel (matches switchroot)

* test adjust accel/gyro
2026-05-14 09:50:02 -07:00
itsmattkc 853ffca471 docker: use correct mkimage path 2026-05-08 08:19:38 -07:00
itsmattkc 4b6b0e65c5 buildroot: use newer boot script for switch
Might be related to #386
2026-05-08 08:03:55 -07:00
itsmattkc f956b9c356 Squashed commit of the following:
commit 7cb57b109f0eeade821d080a31975631cc8d2e56
Merge: 4fd52e4 08a3466
Author: itsmattkc <34096995+itsmattkc@users.noreply.github.com>
Date:   Wed May 6 18:10:14 2026 -0700

    Merge branch 'master' into new-ci

commit 4fd52e44530f820d89e618e68181f40f4bc54c6c
Author: itsmattkc <34096995+itsmattkc@users.noreply.github.com>
Date:   Wed May 6 18:09:59 2026 -0700

    docker: update for new system

commit bd055a288e8c536ac606655096b831256a0a16b4
Author: itsmattkc <34096995+itsmattkc@users.noreply.github.com>
Date:   Wed May 6 18:08:55 2026 -0700

    Update platform_nx_imu.c

commit f8e4d62e84a9efcde2b0aa0f4c3e6f855f65f458
Author: itsmattkc <34096995+itsmattkc@users.noreply.github.com>
Date:   Wed May 6 17:39:05 2026 -0700

    gui: fix inverted gyroscope axis with nintendo switch

commit f679b7cd4ce75c0343f8da5f4e3810346c127f09
Author: itsmattkc <34096995+itsmattkc@users.noreply.github.com>
Date:   Wed May 6 16:03:55 2026 -0700

    ci: fix file path

commit 5b66a246ceded84267a03e960e2ec30b76f1f563
Author: itsmattkc <34096995+itsmattkc@users.noreply.github.com>
Date:   Wed May 6 16:02:12 2026 -0700

    ci: keep docker but incorporate buildroot build

commit 882a18aba5c41a1b00750f9e1e3d5b2f012bb8ba
Author: itsmattkc <34096995+itsmattkc@users.noreply.github.com>
Date:   Wed May 6 14:01:16 2026 -0700

    ci: sign APK in CI rather than docker

    Simplifies process and improves security

commit a8d8567b1d3fc7f2cf86dc90ab316bda2beac4bb
Author: MattKC <34096995+itsmattkc@users.noreply.github.com>
Date:   Tue May 5 13:29:45 2026 -0700

    ci: stupid cache action can't handle a relative path

commit 1b248a9a3bf6ee8158e1ac3dda432600bace528a
Author: MattKC <34096995+itsmattkc@users.noreply.github.com>
Date:   Tue May 5 12:17:24 2026 -0700

    ci: actually provide path to cache

commit 01f4f4055665638e28a76cd916b4fd7f2678b49d
Author: MattKC <34096995+itsmattkc@users.noreply.github.com>
Date:   Tue May 5 11:00:33 2026 -0700

    Update build.yml

commit 83b1cefc156e1967f1eacfb53cdaf010f3ff7e11
Author: MattKC <34096995+itsmattkc@users.noreply.github.com>
Date:   Tue May 5 10:58:46 2026 -0700

    Rename vanilla_nx_defconfig to vanilla_nintendoswitch_defconfig

commit ef8899d88b403606cf6e4992037ee12d000f5d75
Author: MattKC <34096995+itsmattkc@users.noreply.github.com>
Date:   Tue May 5 10:58:05 2026 -0700

    Update build.yml [skip ci]

commit 1e3d9a3f54a49c0892aa6c3968a1206792f13008
Author: itsmattkc <34096995+itsmattkc@users.noreply.github.com>
Date:   Tue May 5 09:55:25 2026 -0700

    ci: found em

commit 23934ced2dc6555f3676b1078ed36475e9bd6a20
Author: MattKC <34096995+itsmattkc@users.noreply.github.com>
Date:   Tue May 5 08:57:43 2026 -0700

    ci: just list all the files so i can see where the image ended up

commit 1d597cd34b94ab8f14e44bac6559da3904743559
Author: itsmattkc <34096995+itsmattkc@users.noreply.github.com>
Date:   Mon May 4 17:54:22 2026 -0700

    ci: maybe fix path

commit 4bdcae22c5d9ff1fd863f7447c5d346a632a3667
Author: itsmattkc <34096995+itsmattkc@users.noreply.github.com>
Date:   Mon May 4 16:57:18 2026 -0700

    ci: fix path

commit 2be8b79c32ed42fdc0fbf12e012300e0b44501c8
Author: itsmattkc <34096995+itsmattkc@users.noreply.github.com>
Date:   Mon May 4 16:55:49 2026 -0700

    ci: fix missing defconfig

commit fe8990e2abd5b38839235b48a3870cfbbe0bdeb6
Author: itsmattkc <34096995+itsmattkc@users.noreply.github.com>
Date:   Mon May 4 15:38:44 2026 -0700

    ci: fix path

commit 8e19c7264297b5df37a127da151fe2d85767006c
Author: itsmattkc <34096995+itsmattkc@users.noreply.github.com>
Date:   Mon May 4 15:19:05 2026 -0700

    ci: fix path

commit 9a44bfa3cd36db8868b3f011c9af27e8729d5f93
Author: itsmattkc <34096995+itsmattkc@users.noreply.github.com>
Date:   Mon May 4 15:01:20 2026 -0700

    ci: split buildroot off
2026-05-06 21:16:17 -07:00
MattKC 0ff08205ee docker: revert linux build to debian bookworm 2026-05-05 11:18:21 -07:00
itsmattkc 49a05a2be3 ci/docker: add nintendo switch buildroot image 2026-04-24 23:39:45 -07:00
SirRGB bf1a680519 chore: container image maintenance (#367)
* chore: deduplicate installations

* chore: prefix dockerhub repo

* makes podman work

* chore: update debian base image

* build and functionality tested linux build
* build tested raspberrypi0w
* raspberrypizero2w is the same image

* chore: sync apt cleaning routine
2026-04-05 19:39:07 -07:00
itsmattkc 04c18c7513 docker: fix android signing issue 2026-02-21 16:54:31 -08:00
itsmattkc 45a2dd2363 docker: on unsigned android builds, copy the apk into place 2026-02-16 17:55:39 -08:00
itsmattkc 0519c7b151 docker: skip android signing if no key present 2026-02-15 23:47:44 -08:00
itsmattkc eb808d64ce docker/cmake: should fix builds 2026-01-16 10:53:23 -08:00
itsmattkc 8cd2d1dbfb docker: add non-free debian sources for CUDA libraries 2026-01-15 11:32:34 -08:00
itsmattkc 309b290264 docker: add CUDA toolkit to linux builds 2026-01-15 08:59:47 -08:00
itsmattkc 8e2f86712a ci: missed another thing 2026-01-01 13:29:24 -08:00
itsmattkc d9061be0ed ci: missed some changes 2025-12-31 00:43:01 -08:00
itsmattkc c808e834de ci/docker: add pi zero 2w build 2025-12-30 15:52:38 -08:00
itsmattkc d007ac6364 docker: add "set-e" to scripts that didn't have it 2025-12-18 03:23:59 -08:00
itsmattkc 3106d91cc3 ci: only compile release android builds
Pointless in the first place, and it makes us run out of disk space on the CI
2025-12-06 17:49:58 -08:00
itsmattkc f411c19f47 fix local build option 2025-12-01 10:26:06 -08:00
itsmattkc 957987b679 use local repo for buildroot build instead of retrieving from git 2025-12-01 03:28:25 -08:00
itsmattkc a1e4cc119c finished buildroot build (hopefully) 2025-12-01 01:53:51 -08:00
itsmattkc 48f98b2962 Update Dockerfile 2025-12-01 00:29:13 -08:00
itsmattkc 9deaa49fcf begin docker implementation 2025-11-30 21:40:31 -08:00
itsmattkc da0033e0c6 ci: remove armhf build for now
Decided it probably makes more sense to provide a buildroot distro rather than an app release.
2025-11-05 16:09:35 -08:00
itsmattkc f667f08be2 ci: oops 2025-11-04 00:48:57 -08:00
itsmattkc 1516b81391 ci: armhf - another attempt at setting CMAKE_C_FLAGS 2025-11-04 00:39:28 -08:00
MattKC 681f3bfebc ci: armhf - another attempt at setting CMAKE_C_FLAGS 2025-11-04 00:28:27 -08:00
MattKC f6b40ceed3 ci: armhf - another attempt at setting CMAKE_C_FLAGS 2025-11-04 00:12:57 -08:00
MattKC 4c0801384f ci: armhf - try setting CMAKE_C_FLAGS from cli 2025-11-04 00:08:24 -08:00
MattKC 2b0bb99762 ci: armhf linux try forcing -marm 2025-11-03 01:12:27 -08:00
MattKC 1a17e64fb8 fix armhf build.sh 2025-11-03 00:50:00 -08:00
MattKC 115d539a09 ci: attempt setting -march for armhf build 2025-11-03 00:45:07 -08:00
MattKC d90f09a895 ci: add armhf builds 2025-10-27 18:34:12 -07:00
MattKCandMattKC 61e2a91028 Implement Polkit agent for platforms that lack them (#244)
* attempt to set up polkit listener

* implement polkit agent functionality

* finalized polkit implementation

* add warning for installing polkit rule

* docker: install libpolkit-agent-1-dev

* add uninstall polkit option

---------

Co-authored-by: MattKC <mattkc@noreply.git.mattkc.com>
2025-10-03 16:25:00 -07:00
MattKC 2859af766a cmake: make polkit rule conditional, install script if off 2025-08-25 21:44:50 -07:00
MattKC 47dca2b4d5 Squashed commit of the following:
commit 0172f88e43d2d6569fb02482085e41c41da69de6
Author: MattKC <mattkc@noreply.git.mattkc.com>
Date:   Mon Aug 18 17:22:55 2025 -0700

    fix VAAPI on x11

commit 34f1552c42bf53e3e3a11541d603fa0f0a718494
Author: MattKC <mattkc@noreply.git.mattkc.com>
Date:   Mon Aug 18 17:08:46 2025 -0700

    print more debug info

commit 9dadb24c63f46d026c1757237b910c4e514c9dcd
Author: MattKC <mattkc@noreply.git.mattkc.com>
Date:   Mon Aug 18 16:58:08 2025 -0700

    prefer wayland if available for VAAPI

commit 4db3b14eebf09852129989cc34b2a61c2a376540
Author: MattKC <mattkc@noreply.git.mattkc.com>
Date:   Mon Aug 18 16:40:53 2025 -0700

    print eglGetError

commit ad78d993881a198f1532cd5f9ec29ad83500f1af
Author: MattKC <mattkc@noreply.git.mattkc.com>
Date:   Mon Aug 18 15:55:51 2025 -0700

    don't include EGL stuff if not using

commit f5a9b8966f49b75db849282352d67c842e353c9b
Author: MattKC <mattkc@noreply.git.mattkc.com>
Date:   Mon Aug 18 15:18:07 2025 -0700

    link X11

commit 3b498dfdf8cf3d83d8f9b943f0b637f5fb094080
Author: MattKC <mattkc@noreply.git.mattkc.com>
Date:   Mon Aug 18 15:04:31 2025 -0700

    more vaapi libs

commit 6fef38233ebbf7ecec5c1249f0792c3837fc1a02
Author: MattKC <mattkc@noreply.git.mattkc.com>
Date:   Mon Aug 18 14:50:22 2025 -0700

    link libva

commit 89a185efcafb0048e57a28baf207c0a810ea457f
Author: MattKC <mattkc@noreply.git.mattkc.com>
Date:   Mon Aug 18 14:32:51 2025 -0700

    conditionally compile with EGL

commit 409edbd810503b919aa03751584b1eadeeade8d5
Author: MattKC <mattkc@noreply.git.mattkc.com>
Date:   Mon Aug 18 14:22:47 2025 -0700

    only enable vaapi on linux builds

commit e0c3a001ac4c2c0b36cf2678c69cc7e034de9ed3
Author: MattKC <mattkc@noreply.git.mattkc.com>
Date:   Mon Aug 18 14:17:37 2025 -0700

    check for has_EGL_EXT_image_dma_buf_import EGL extension

commit a61f959de2e2946f46432959bb7c478412d55ffc
Author: MattKC <mattkc@noreply.git.mattkc.com>
Date:   Mon Aug 18 14:10:50 2025 -0700

    implement VAAPI and DRM

commit 4e51af70dbacd2e55e5b67f7154adf424360cea1
Author: MattKC <mattkc@noreply.git.mattkc.com>
Date:   Mon Aug 18 10:09:22 2025 -0700

    get VAAPI frames up to the display thread

commit 1270c0dfdaf16f9b80f514fc0c95141256cf8d8c
Author: itsmattkc <34096995+itsmattkc@users.noreply.github.com>
Date:   Mon Aug 18 07:29:00 2025 -0700

    began impl
2025-08-18 17:53:20 -07:00
itsmattkc 66c045f301 remove libnl and libssl from docker because vendored builds them ourselves 2025-06-24 11:02:16 -07:00