Commit graph

208 commits

Author SHA1 Message Date
MattKC
890442639e restore stdout after running udhcpc 2024-12-09 13:50:32 -08:00
MattKC
6d014a06b5 completed most major work on this
Still waiting for:
- New fork of hostap/wpa_supplicant
- Read udhcpc output for leased IP address
2024-12-09 13:35:33 -08:00
itsmattkc
7788aebd8b added SDL fallback for vanilla-pi, fixed decoding issue seemingly 2024-11-15 19:59:29 -08:00
itsmattkc
b17645c71e add mutexes for arena retrieval functions 2024-11-15 19:59:15 -08:00
itsmattkc
b3ab7dcf5a remove unnecessary code 2024-11-15 19:03:31 -08:00
itsmattkc
d9d9a0ab47 added SDL alt frontend to vanilla-pi 2024-11-15 19:03:22 -08:00
itsmattkc
7524130b7a use bswap correctly 2024-11-15 19:03:00 -08:00
itsmattkc
e1e9128fb1 use significantly faster bit reversing algorithm 2024-11-15 17:57:15 -08:00
itsmattkc
72d889ebbc don't bother swapping bits on audio payload size
This amounts to a 16-bit byteswap anyway which is way faster
2024-11-15 17:00:14 -08:00
itsmattkc
242386ea75 use memory arena to optimize handing data to frontend 2024-11-15 16:52:19 -08:00
itsmattkc
410b002d99 optimization: only copy actual data to frontend 2024-11-15 15:50:34 -08:00
itsmattkc
5f86ab1498 use custom dhcp script
Greatly improves routing behavior.

Rather than letting dhclient perform routing and then "correct" it after the fact, we replace dhclient's behavior entirely.

Rather than add a system-wide route to 192.168.1.10, we bind our socket to the interface so no conflicts will occur with any other device on the network named 192.168.1.10. No system-wide route is made via the wireless interface for 192.168.1.0/24 or for 192.168.1.10.

Fixes #96
2024-11-15 12:57:46 -08:00
MattKC
7be31c5169
Update README.md
Qt SVG is now required
2024-11-15 12:43:00 -08:00
MattKC
cb0a2afaa1 started implementing controller remapping functionality
Currently axes don't work, will need to find a good solution for this
2024-11-14 18:49:18 -08:00
MattKC
a5ef5fca7c require svg
We use an SVG in the input dialog and it disappears if QtSvg isn't available. There's an argument that converting it to PNG is cleaner than requiring an SVG parsing library, but most people will probably have QtSvg?
2024-11-14 18:48:45 -08:00
MattKC
f4f4fc4746 skip printing BSSIDs in debug output 2024-11-14 03:38:42 -08:00
MattKC
20f48c01a6 require vanilla-pipe to run as root 2024-11-14 03:38:28 -08:00
MattKC
e9bd0fa30f Merge branch 'rpi-eventloop' 2024-11-13 22:14:37 -08:00
itsmattkc
4ecf7c07f1 move reverse_bits into util.c 2024-11-13 17:40:08 -08:00
itsmattkc
31afc359a1 move decoding into separate thread 2024-11-13 17:40:08 -08:00
Daniel Foster
86d9feca8d
lib: use pthread_setname_np directly (#99)
since pthread_setname_np is non-portable (hence the _np), it is only declared if
you #define _GNU_SOURCE
2024-11-08 19:59:15 -08:00
itsmattkc
a8893cd1f8 optimized writing exp golomb leading zeros 2024-11-08 16:24:05 -08:00
itsmattkc
2f6a3a1252 improved bitshift part of code 2024-11-08 16:22:51 -08:00
itsmattkc
f6e0945095 got audio working on vanilla-pi 2024-11-08 16:19:02 -08:00
itsmattkc
997c4d7543 fixed audio seemingly 2024-11-06 16:18:14 -08:00
itsmattkc
b063abb359 use software clzl implementation 2024-11-06 14:32:03 -08:00
itsmattkc
1aa81b4b3b fix cmake source entry 2024-11-04 20:40:30 -08:00
itsmattkc
73d3bc99db rename tests to test 2024-11-04 20:36:51 -08:00
itsmattkc
99d5d2c8ef introduce test building cmake arg 2024-11-04 20:36:29 -08:00
itsmattkc
00739b85b1 added unit tests for SPS generating code 2024-11-04 20:34:08 -08:00
itsmattkc
8e1ce4e5d6 generate custom SPS parameters
Fixes majority of latency issue on raspberry pi

Thanks to: https://forums.raspberrypi.com/viewtopic.php?p=334801#p334801
2024-11-04 20:33:52 -08:00
itsmattkc
fe2fed1815 add controller support (and commented out audio support) 2024-11-04 20:32:10 -08:00
itsmattkc
f20452ba66 rpi frontend needs -lm too 2024-11-04 20:31:43 -08:00
itsmattkc
4e2d1ed22c copy wpa_supplicant_drc so it doesn't leave files in the build directory 2024-11-04 20:31:34 -08:00
itsmattkc
fadb98429a removed extant slash 2024-11-04 20:29:30 -08:00
itsmattkc
5c42244a4c only push audio event if payload size > 0 2024-11-04 20:29:10 -08:00
Daniel Foster
e62c607cfb
fix some leaks in pipe/linux/wpa.c, discovered by clang-analyzer (#91) 2024-11-02 09:20:19 -07:00
Cameron Clough
be1b46eb9e
fix: add missing braces to switch case (#90)
This resolves a build error on macOS/clang 17, due to declaring a
variable immediately after a case label in the switch, we need to wrap
the case in braces.
2024-11-02 09:17:26 -07:00
itsmattkc
af454b07e1 make build the main cmd of rpi dockerfile 2024-10-27 18:22:49 -07:00
itsmattkc
717dcbc6cd add get_millis() to util 2024-10-27 18:22:20 -07:00
itsmattkc
e140c1a58c significantly optimized video/audio packet intake 2024-10-27 18:22:08 -07:00
itsmattkc
5f34f63dc9 name all threads 2024-10-27 16:30:42 -07:00
itsmattkc
9252f39336 wow 60 fps! 2024-10-27 15:34:06 -07:00
itsmattkc
8c1db345ad rpi build require eudev 2024-10-27 15:32:37 -07:00
itsmattkc
9b4620f0e0 improved 2024-10-23 20:47:03 -07:00
itsmattkc
02879479e5 lol this took about 2 hours to figure out 2024-10-23 18:15:11 -07:00
itsmattkc
7587f805fd decoding mostly functional, display still iffy 2024-10-23 16:41:34 -07:00
itsmattkc
c167ff44a3 get DRM PRIME frames directly from the decoder 2024-10-21 18:20:28 -07:00
itsmattkc
5cfb54800b started native DRM implementation 2024-10-21 16:52:50 -07:00
itsmattkc
8241f0d459 working-ish SDL implementation 2024-10-21 13:32:35 -07:00