Commit Graph
100 Commits
Author SHA1 Message Date
Cameron Gutman a6bf7154a7 Reduce MAX_FRAMES for RK backend
See https://github.com/moonlight-stream/moonlight-embedded/commit/b1d111b5f796dd2bfb409106878a6f2a58205b11#r146373202
2024-09-08 00:32:30 -05:00
Cameron Gutman 014af67397 Fix build warnings 2024-02-19 22:01:31 -06:00
Cameron Gutman eb4a202358 Version 2.7.0 2024-02-19 21:29:05 -06:00
Cameron Gutman bac5360494 Provide better errors when RK renderer fails 2024-02-19 20:56:55 -06:00
Cameron Gutman 0e12282311 Remove a bunch of useless asserts 2024-02-19 20:49:25 -06:00
Cameron Gutman 883498d642 Replace SDL key handling with Moonlight Qt code
The existing code had a bunch of incorrectly mapped keys and was using
keysym instead of scancode which causes issues with non-US keyboards.
2024-02-19 16:16:02 -06:00
Cameron Gutman 55b49221d8 Link util.c into the platform libraries 2024-02-19 15:58:32 -06:00
Cameron Gutman 454f67b0ed Move CPU detection code into a separate file 2024-02-19 15:56:49 -06:00
Cameron Gutman 2f03600bae Ignore CRCs in SDL mappings 2024-02-19 15:45:17 -06:00
Cameron Gutman fc904d2dac Treat devices as gamepads if they have a hat instead of an analog stick
Fixes #880
2024-02-18 14:56:57 -06:00
Cameron Gutman d6c9650a32 Add rotation support for Rockchip
Fixes #878
2024-02-18 14:48:13 -06:00
Cameron Gutman a9d6f17d5e Replace ioctl() retry loops with drmIoctl() 2024-02-18 14:30:59 -06:00
Cameron Gutman ca4c517510 Update moonlight-common-c 2024-02-18 00:48:26 -06:00
Cameron Gutman 3b1b2ab51d Replace FindLibUUID.cmake with modified version from CMake project 2024-02-18 00:25:53 -06:00
Cameron Gutman b533c52edd Add missing CMake include 2024-02-18 00:18:41 -06:00
Cameron Gutman d89bd8d20f Update SDL_GameControllerDB 2024-02-17 23:56:23 -06:00
Cameron Gutman 8125d2194b Fix __builtin_cpu_supports(aes) on GCC 9 and earlier 2024-02-17 13:23:06 -06:00
Cameron Gutman 8fb2c72ca1 Update moonlight-common-c with RTSP encryption 2024-02-17 13:18:40 -06:00
Cameron Gutman 9255f774f2 Add fast AES detection for RISC-V using hwprobe() syscall 2024-01-23 02:46:05 -06:00
Cameron Gutman d3d79c3224 Fix HAVE_GETAUXVAL codepath 2024-01-19 19:02:07 -06:00
Cameron Gutman b08a04c378 Update moonlight-common-c with finalized encryption changes 2024-01-19 18:58:57 -06:00
Cameron Gutman 0712e05aab Opt in to video encryption on CPUs with good AES perf 2024-01-15 17:35:59 -06:00
Cameron Gutman 02cddf762b Update moonlight-common-c with new encryption support 2024-01-15 17:33:30 -06:00
Cameron Gutman 3b72f5195b Update moonlight-common-c with new bitrate logic 2023-12-03 22:26:22 -06:00
Cameron Gutman 000d9da4a0 Don't hardcode the signature length 2023-11-29 23:48:09 -06:00
Cameron Gutman 2aba7a10e7 Version 2.6.2 2023-11-03 01:08:34 -05:00
Cameron Gutman 0131274dce Update moonlight-common-c to fix multi-homed host bug 2023-11-03 00:56:23 -05:00
Cameron Gutman dc03235a62 Fix several build warnings 2023-10-29 19:56:18 +00:00
Cameron Gutman c007eabf50 Update moonlight-common-c to fix input reliability/performance issues 2023-10-25 22:55:38 -05:00
Cameron Gutman d578fd8c7d Version 2.6.1 2023-10-07 21:12:37 -05:00
Cameron Gutman 807f9027c7 Update moonlight-common-c 2023-10-07 21:09:44 -05:00
Cameron Gutman 36c1636f3c Version 2.6.0 2023-09-01 18:40:56 -05:00
Cameron Gutman 19442743a6 Fix busy looping forever after an evdev device goes away 2023-09-01 18:07:25 -05:00
Cameron Gutman 74714e6fb1 Cleanup udev code a bit 2023-09-01 18:06:42 -05:00
Cameron Gutman b1d111b5f7 Only use atomic API for HDR streams on RK backend 2023-08-31 21:32:12 -05:00
Cameron Gutman eb46891f4c Add AV1 support for the AML backend 2023-08-31 19:39:53 -05:00
Cameron Gutman c883b6786f Allow modesets to handle SDR/HDR transition 2023-08-31 18:51:32 -05:00
Cameron Gutman 861cdbc014 Set Colorspace connector property in RK backend 2023-08-31 18:15:25 -05:00
Cameron Gutman 41fddcf5ef Fix error check 2023-08-31 17:55:50 -05:00
Cameron Gutman d1db1d5231 Add error handling for some RK init failures 2023-08-31 17:53:38 -05:00
Cameron Gutman 8ef8891969 Add AV1 support to Rockchip backend 2023-08-31 17:52:40 -05:00
Cameron Gutman 642b498aee Fix supportedVideoFormats value for HEVC/AV1 2023-08-31 17:51:51 -05:00
Cameron Gutman 68234081f8 Implement touch events for SDL backend 2023-08-30 00:03:49 -05:00
Cameron Gutman 3904c82ee9 Fix build with old SDL versions 2023-08-30 00:02:09 -05:00
Cameron Gutman bf14d37cd5 Fix codec autoselection 2023-08-29 22:43:00 -05:00
Cameron Gutman b1b3e274b3 Fix AVCodecContext leak 2023-08-29 22:37:18 -05:00
Cameron Gutman 93f5dc6cae Send controller arrival from SDL backend 2023-08-29 22:31:00 -05:00
Cameron Gutman e15466e909 Send controller arrival from evdev backend 2023-08-29 21:45:55 -05:00
Cameron Gutman 859965a5a6 Support new controller features for SDL backend 2023-08-29 21:19:36 -05:00
Cameron Gutman 0deeb94655 Add support for extended Sunshine button flags 2023-08-29 20:47:31 -05:00
Cameron Gutman c158833258 Try all decoders not just the first one that was compiled in 2023-08-29 20:47:09 -05:00
Cameron Gutman ab53f149f2 Update moonlight-common-c with Sunshine extensions 2023-08-29 20:46:35 -05:00
Cameron Gutman 606e6d1181 Update SDL_GameControllerDB 2023-08-21 21:57:27 -05:00
Cameron Gutman 6538d855d8 Work around broken APT config on AppVeyor Ubuntu2004 image 2023-07-15 01:18:45 -05:00
Cameron Gutman 0169cedb27 Allow up to 16 gamepads with Sunshine hosts 2023-06-30 20:55:20 -05:00
Cameron Gutman 5bb47ce8b6 Update automatic bitrate logic to match Qt client 2023-03-12 16:23:33 -05:00
Cameron Gutman 0d0728f3c4 Set HDR metadata using legacy DRM API 2023-03-12 16:11:23 -05:00
Cameron Gutman a585072ff8 Just log if atomic commit fails 2023-03-12 16:04:12 -05:00
Cameron Gutman dc786e3033 Don't assert if the previous commit is still in progress 2023-03-12 14:50:05 -05:00
Cameron Gutman dede55c7f9 Allow modesets for HDR entry/exit 2023-03-12 14:46:19 -05:00
Cameron Gutman a328a53d59 Fix handling of 10-bit YUV buffers on newer RK devices 2023-03-12 14:20:32 -05:00
Cameron Gutman 6ea4a768e4 Support both NA12 and NV15 with runtime selection 2023-03-12 13:53:19 -05:00
Cameron Gutman 91022ea3bb Add HDR metadata struct for old libdrm headers 2023-03-12 13:44:30 -05:00
Cameron Gutman 6310edb0bd Set HDR metadata and HDMI ALLM for RK backend 2023-03-12 13:16:25 -05:00
Cameron Gutman c779c1970d Change RK backend to use DRM atomic API 2023-03-12 12:58:51 -05:00
Cameron Gutman 1caf24beab Only use HEVC by default for accelerated X11 platforms 2023-03-06 21:43:50 -06:00
Cameron Gutman f486c8e356 Only prefer SDL over unaccelerated X11 2023-03-06 21:43:02 -06:00
Cameron Gutman 5edf4d3dc7 Print FFmpeg decoder name 2023-03-06 21:26:18 -06:00
Cameron Gutman 0b80cc197a Try various other non-hwaccel FFmpeg decoders 2023-03-06 21:24:49 -06:00
Cameron Gutman 21eb932e52 Prefer SDL over X11 and enable HEVC for X11/SDL 2023-03-06 21:16:35 -06:00
Cameron Gutman db52ac901f Update SDL_GameControllerDB 2023-03-05 23:53:46 -06:00
Cameron Gutman 2e0a014496 Update moonlight-common-c 2023-03-05 23:49:05 -06:00
Cameron Gutman 6ab37d0036 Accept both primary and overlay planes on Rockchip platforms
Fixes #861
2023-03-05 23:48:10 -06:00
Cameron Gutman a9f8a77b66 Use upstreamed fourcc code for 10-bit NV12 on Rockchip 2023-03-05 23:46:34 -06:00
Cameron Gutman a8a4e8908e Fix copy-pasta 2023-03-04 12:41:08 -06:00
Cameron Gutman b8442bfa95 Remove GFE-specific references from readme 2023-03-04 12:38:54 -06:00
Cameron Gutman 4c58ac9f39 Update SDL_GameControllerDB 2023-02-21 23:46:57 -06:00
Cameron Gutman 8384a243b2 Modernize HTTPS launch/resume for Sunshine 2023-02-21 23:46:31 -06:00
Cameron Gutman 32ebb00292 Add horizontal scrolling support with Sunshine 2023-02-21 23:31:34 -06:00
Cameron Gutman 00c28f53d8 Further bugfixes and improvements for AML decoder 2022-12-04 14:49:35 -06:00
Cameron Gutman e7c611bb1e Update SDL_GameControllerDB 2022-11-29 19:21:40 -06:00
Cameron Gutman 62007b912e Fix ensure_buf_size() usage in RK backend 2022-11-20 20:53:56 -06:00
Cameron Gutman 1feeab9c71 Fix more warnings 2022-11-20 20:41:21 -06:00
Cameron Gutman c985b9ea0d Fix unchecked return value in aml 2022-11-20 19:56:04 -06:00
Cameron Gutman 66bc1b2904 Remove debug code in h264bitstream 2022-11-20 19:53:30 -06:00
Cameron Gutman 32e87994cd Consolidate and improve decode buffer handling 2022-11-20 19:48:36 -06:00
Cameron Gutman 098f53cd0b Fix several build warnings and minor bugs 2022-11-20 19:34:19 -06:00
Cameron Gutman 56f84ab662 Update moonlight-common-c with audio crash fix 2022-11-09 00:10:47 -06:00
Cameron Gutman c3325a8887 Don't print error if zero samples are decoded 2022-11-09 00:10:03 -06:00
Cameron Gutman f16dc469af Make blank_fb() into a more generic write_bool() function 2022-11-08 21:45:27 -06:00
Cameron Gutman b2192eda25 Spawn a display thread if amlvideo is in the pipeline 2022-11-08 21:14:21 -06:00
Cameron Gutman b26d747e95 Parse HDR option from moonlight.conf 2022-11-08 19:42:30 -06:00
Cameron Gutman c2f21b955d Implement foundation for HDR support
Likely not functional for any decoder yet
2022-11-08 19:40:03 -06:00
Cameron Gutman 28ace51874 Add missing errno.h 2022-11-01 01:42:46 -05:00
Cameron Gutman a9302d02f5 Fix handling of partial writes and EAGAIN in Amlogic decoder
Fixes spurious codec resets due to EAGAIN errors at 4K during complex scenes.
2022-11-01 00:35:25 -05:00
Cameron Gutman 30b563a2fc Tune ALSA parameters to avoid underruns
Fixes frequent underruns on Vero 4K
2022-11-01 00:11:08 -05:00
Cameron Gutman cb4b5d55b5 Improve ALSA underrun error recovery
Fixes lack of audio on Vero 4K
2022-10-31 22:19:34 -05:00
Cameron Gutman 58958ca32a Update moonlight-common-c with improved loss recovery 2022-10-31 00:04:26 -05:00
Cameron Gutman f021439d1b Allow a pairing attempt even if the PC is busy
Pairing while busy doesn't work with GFE but works with Sunshine
2022-10-12 22:28:30 -05:00
Cameron Gutman 13390594f5 Update SDL_GameControllerDB 2022-10-05 00:04:28 -05:00