408 Commits
Author SHA1 Message Date
MattKC fe6008c279 Update README.md [skip ci] 2025-12-07 12:33:58 -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
MattKC b1b7565506 define htobe32 for windows 2025-12-06 09:40:27 -08:00
Eduardo Melianditsmattkc b7c52fb03c MSAA scaling alignment fix for text in buttons (#261)
* alignment on all corners VUI_BUTTON_STYLE_CORNER

* fix for all shapes in VUI_BUTTON_STYLE_CORNER text

* msaa scaling for btn text

---------

Co-authored-by: itsmattkc <[email protected]>
2025-12-03 16:46:19 -08:00
itsmattkc 46127333e8 Merge branch 'buildroot' 2025-12-02 23:47:51 -08:00
itsmattkc f41c385dc8 add boot image 2025-12-02 23:46:48 -08:00
itsmattkc dc27082558 ci: fix cache action 2025-12-02 22:45:33 -08:00
Eduardo Melianditsmattkc 29ef683034 Fix for VUI_BUTTON_STYLE_CORNER text alignment for non-circular buttons (#206)
* alignment on all corners VUI_BUTTON_STYLE_CORNER

* fix for all shapes in VUI_BUTTON_STYLE_CORNER text

---------

Co-authored-by: itsmattkc <[email protected]>
2025-12-02 18:23:49 -08:00
itsmattkc bc1417c920 use init.d to start vanilla on boot 2025-12-02 18:08:51 -08:00
itsmattkc a946b12169 try to fix issues with our defconfig 2025-12-02 16:50:22 -08:00
itsmattkc 2a7f360ca2 disable rootfs overlay 2025-12-01 11:44:41 -08:00
itsmattkc f411c19f47 fix local build option 2025-12-01 10:26:06 -08:00
itsmattkc 4edcf199d4 find git, remove bash from pi0 defconfig 2025-12-01 10:05:59 -08:00
itsmattkc efbdcaee11 Update build.yml 2025-12-01 03:52:24 -08:00
itsmattkc 957987b679 use local repo for buildroot build instead of retrieving from git 2025-12-01 03:28:25 -08:00
itsmattkc b270166b95 re-add rpi-ffmpeg 2025-12-01 03:18:03 -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 7fbfa33ca5 add defconfig for rpi0w 2025-12-01 00:21:08 -08:00
itsmattkc 939e2714f1 add CI action 2025-12-01 00:04:32 -08:00
itsmattkc a5e97ac498 initial buildroot commit 2025-12-01 00:03:37 -08:00
itsmattkc 9deaa49fcf begin docker implementation 2025-11-30 21:40:31 -08:00
MattKC b0bbc31002 Various optimizations and refactoring (#259)
* optimizations

* Update menu_game.h

* try new code

* use cached EGLImages

* try drm cache on pi

* nani?

* huh?

* require opengl egl

* find EGL

* find EGL separately

* logging

* add support for versions of ffmpeg less than 6.0

* disable drm cache for now

* Update ui_sdl.c

* use old code for now

* disable avcc hdr for now

* restore error message

* try disabling format modifiers?

* tell me what the layer is

* pi decoder actually produces frames in yuv420p

* print more debug info

* try this

* switch to faster decode path

* switch to old code

* Update ui_sdl.c

* add more timing profiling

* more printing

* enable some optimizations

* draw menus when not in game mode

* call render present

* Update ui_sdl.c

* Update ui_sdl.c

* remove unused code

* Update CMakeLists.txt

* incorporate direct DRM code

* Update CMakeLists.txt

* free drm context and test old decoding code

* move SDL event loop to separate thread so controls are not limited by display rate

* add a wait to reduce CPU thrashing

* fix double free

* separate video into recv and consume threads

* Update ui_sdl_drm.c

* Update ui_sdl_drm.c

* Update gamepad.c

* further optimizations

* anti-alias buttons more

* fix some compiler errors

* only include DRM on linux

* fix windows compile issues

* fix includes

* Update CMakeLists.txt

* add htobe32 define for macOS

* Update video.c

* Update gamepad.c
2025-11-30 20:56:52 -08:00
itsmattkc 6a82715263 gui: use strtoul for reading server_address from config 2025-11-05 23:07:30 -08:00
itsmattkc cbd8d15e67 gui: only use pkexec if polkit is available 2025-11-05 21:27:43 -08:00
itsmattkc 5535248781 cmake: fix polkit logic 2025-11-05 17:24:35 -08:00
itsmattkc beb504774f ensure correct build if polkit isn't available 2025-11-05 16:46:52 -08:00
itsmattkc 488bd08b8d cmake: add option for vaapi [skip ci] 2025-11-05 16:39:18 -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
MattKC dcd2f31180 Update README.md [skip ci] 2025-10-03 17:19:31 -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 <[email protected]>
2025-10-03 16:25:00 -07:00
MattKC 6bf8d4898b ui: try using SDL_SetHintWithPriority to enforce steam deck gyros on 2025-09-13 15:46:11 -07:00
MattKC 2859af766a cmake: make polkit rule conditional, install script if off 2025-08-25 21:44:50 -07:00
MattKC 9c2eaa995c use textures for loading graphic instead of utf-8 chars 2025-08-24 11:28:43 -07:00
MattKC 47dca2b4d5 Squashed commit of the following:
commit 0172f88e43d2d6569fb02482085e41c41da69de6
Author: MattKC <[email protected]>
Date:   Mon Aug 18 17:22:55 2025 -0700

    fix VAAPI on x11

commit 34f1552c42bf53e3e3a11541d603fa0f0a718494
Author: MattKC <[email protected]>
Date:   Mon Aug 18 17:08:46 2025 -0700

    print more debug info

commit 9dadb24c63f46d026c1757237b910c4e514c9dcd
Author: MattKC <[email protected]>
Date:   Mon Aug 18 16:58:08 2025 -0700

    prefer wayland if available for VAAPI

commit 4db3b14eebf09852129989cc34b2a61c2a376540
Author: MattKC <[email protected]>
Date:   Mon Aug 18 16:40:53 2025 -0700

    print eglGetError

commit ad78d993881a198f1532cd5f9ec29ad83500f1af
Author: MattKC <[email protected]>
Date:   Mon Aug 18 15:55:51 2025 -0700

    don't include EGL stuff if not using

commit f5a9b8966f49b75db849282352d67c842e353c9b
Author: MattKC <[email protected]>
Date:   Mon Aug 18 15:18:07 2025 -0700

    link X11

commit 3b498dfdf8cf3d83d8f9b943f0b637f5fb094080
Author: MattKC <[email protected]>
Date:   Mon Aug 18 15:04:31 2025 -0700

    more vaapi libs

commit 6fef38233ebbf7ecec5c1249f0792c3837fc1a02
Author: MattKC <[email protected]>
Date:   Mon Aug 18 14:50:22 2025 -0700

    link libva

commit 89a185efcafb0048e57a28baf207c0a810ea457f
Author: MattKC <[email protected]>
Date:   Mon Aug 18 14:32:51 2025 -0700

    conditionally compile with EGL

commit 409edbd810503b919aa03751584b1eadeeade8d5
Author: MattKC <[email protected]>
Date:   Mon Aug 18 14:22:47 2025 -0700

    only enable vaapi on linux builds

commit e0c3a001ac4c2c0b36cf2678c69cc7e034de9ed3
Author: MattKC <[email protected]>
Date:   Mon Aug 18 14:17:37 2025 -0700

    check for has_EGL_EXT_image_dma_buf_import EGL extension

commit a61f959de2e2946f46432959bb7c478412d55ffc
Author: MattKC <[email protected]>
Date:   Mon Aug 18 14:10:50 2025 -0700

    implement VAAPI and DRM

commit 4e51af70dbacd2e55e5b67f7154adf424360cea1
Author: MattKC <[email protected]>
Date:   Mon Aug 18 10:09:22 2025 -0700

    get VAAPI frames up to the display thread

commit 1270c0dfdaf16f9b80f514fc0c95141256cf8d8c
Author: itsmattkc <[email protected]>
Date:   Mon Aug 18 07:29:00 2025 -0700

    began impl
2025-08-18 17:53:20 -07:00
MattKC c9b44cfe70 close pipefd after process has exited
Otherwise, command will throw a broken pipe exception and crash before it completes
2025-08-18 17:07:21 -07:00
MattKCandMattKC e644a02ec9 Various Steam Deck Improvements (#229)
* initial commit

* seems to work

* try SDL_SetHintWithPriority

* set hint with SDL_HINT_OVERRIDE

* try setting hint before SDL_init

* fix issue with signal handling

* send sigterm to pipe

* ensure SDL creates signal handlers?

* fixed pipe issues not closing

* ensure pipe is stopped ASAP when receiving SIGINT and SIGTERM

The Steam Deck gives us extremely little time to clean up before getting SIGKILL'd, so make sure pipe is told to quit ASAP when receiving SIGINT or SIGTERM.

* fix logic issue

* removed things that aren't necessary for this PR

* clarified some comments [skip ci]

---------

Co-authored-by: MattKC <[email protected]>
2025-08-17 22:34:32 -07:00
VoxelTek 41f1f6efe2 CLI argument improvement (#207)
* Re-add CLI help messages

* Rename `vanilla-pi` to `vanilla`

* Use `argv` to get `vanilla` executable name
2025-08-13 09:12:47 -07:00
MattKC 1705518536 Update README.md 2025-07-25 14:42:34 -07:00
VoxelTek 67f7f6f5ac Rename Vanilla-Pi to Vanilla (#209)
* Rename vanilla-pi to vanilla-gui

* revert weirdly-changed menu.h

* Change icon to rounded

* Rename vanilla-gui to vanilla, name libvanilla

* Fix broken .desktop file

* Rename `vanilla-gui` to `vanilla`
2025-07-25 00:32:16 -07:00
Eduardo Meli ab052847cc alignment on all corners VUI_BUTTON_STYLE_CORNER (#137) 2025-06-26 14:10:19 -07:00