Commit Graph

80 Commits

Author SHA1 Message Date
Yukino Song
7a1e9c7393 Merge branch 'master' of https://github.com/LizardByte/Sunshine
# Conflicts:
#	.github/workflows/ci-copr.yml
#	.github/workflows/ci-flatpak.yml
#	.github/workflows/ci-homebrew.yml
#	.github/workflows/ci-linux.yml
#	.github/workflows/ci-windows.yml
#	.github/workflows/ci.yml
#	.github/workflows/localize.yml
#	README.md
#	scripts/icons/convert_and_pack.sh
#	src/config.cpp
#	src/config.h
#	src/confighttp.cpp
#	src/logging.cpp
#	src/video.cpp
#	src_assets/common/assets/web/config.html
#	src_assets/common/assets/web/public/assets/locale/en.json
#	src_assets/common/assets/web/public/assets/locale/it.json
#	src_assets/windows/misc/gamepad/install-gamepad.bat
#	third-party/build-deps
#	third-party/moonlight-common-c
#	tools/CMakeLists.txt
2025-08-03 13:52:19 +08:00
ReenigneArcher
274b998ec5 build(cmake): bump c++ to 23 (#4096) 2025-07-19 09:00:44 -04:00
Yukino Song
e43420f18b Merge remote-tracking branch 'sunshine/master' 2025-07-13 23:16:01 +08:00
ReenigneArcher
1938385bf0 build(windows): fix gcc15 compatibility (#3946) 2025-06-07 16:29:45 -04:00
Yukino Song
542c4e315b misc 2025-05-26 17:33:00 +08:00
Yukino Song
e2d058faae Merge remote-tracking branch 'sunshine/master' 2025-04-10 05:50:16 +08:00
ReenigneArcher
7d75e4b75f build(cmake): update policies (#3775) 2025-04-03 19:09:40 -04:00
Yukino Song
fd059e36f0 Merge remote-tracking branch 'origin/master' 2025-02-06 09:14:18 +08:00
ReenigneArcher
c2420427b1 style: adjust clang-format rules (#2186)
Co-authored-by: Vithorio Polten <reach@vithor.io>
2025-01-19 22:34:47 -05:00
Yukino Song
1dc6465f12 Merge remote-tracking branch 'origin/master' 2025-01-14 23:43:50 +08:00
Cameron Gutman
8392bdc98f feat(capture/windows): hook APIs to avoid output reparenting that breaks DDA (#3530)
* Revert "feat(ddprobe): allow to manually specify gpu preference (#3521)"

This reverts commit 6a233cbcbf.

* Keep display revert delay input type change from 6a233cbcb

* Remove ddprobe

* feat(capture/windows): hook APIs to avoid output reparenting that breaks DDA
2025-01-12 17:11:03 -06:00
Chase Payne
fceda35d44 fix: automatic selection for hybrid GPU and IDDSampleDriver users (#3002)
* Fix frame capture and output duplication for dual GPU setups and virtual displays

- Added `test_frame_capture` function to verify if frames are successfully captured and not empty.
- Fixes issues with virtual displays such as IDDSampleDriver when using more than one GPU.

Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
Co-authored-by: Cameron Gutman <aicommander@gmail.com>
2024-09-29 20:32:34 +00:00
Yukino Song
fa896eea14 Merge remote-tracking branch 'Nonary/gpu_selection_fix_v2' 2024-09-17 15:13:56 +08:00
Chase Payne
4bdae9cf86 make sonarcloud happy again 2024-09-14 18:19:42 -04:00
Chase Payne
6823595352 fix compliler errors 2024-09-14 18:19:42 -04:00
Chase Payne
b733d2b9e9 implement suggestions from cgutman 2024-09-14 18:19:42 -04:00
Chase Payne
7257b188c3 Update tools/ddprobe.cpp
Co-authored-by: Cameron Gutman <aicommander@gmail.com>
2024-09-14 18:19:42 -04:00
Chase Payne
6f71f42d50 more doc fixes 2024-09-14 18:19:42 -04:00
Chase Payne
bae2d30816 Update tools/ddprobe.cpp
Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
2024-09-14 18:19:42 -04:00
Chase Payne
431a7f6bf0 fix documentation 2024-09-14 18:19:42 -04:00
Chase Payne
6d8f5b22c3 clang fixes 2024-09-14 18:19:42 -04:00
Chase Payne
7dc2d41b77 implement cgutmans ideas 2024-09-14 18:19:42 -04:00
Chase Payne
026c2aebf3 move unmap to fail guard 2024-09-14 18:19:42 -04:00
Chase Payne
f8d14ac05b remove code changes that were not needed 2024-09-14 18:19:42 -04:00
Chase Payne
b9069cd9b5 remove else statements 2024-09-14 18:19:42 -04:00
Chase Payne
9a1bfebd03 attempt to match previous coding styles 2024-09-14 18:19:42 -04:00
Chase Payne
56dedbde7f code review suggestions 2024-09-14 18:19:42 -04:00
Chase Payne
d9bd8e2d77 clang fixes 2024-09-14 18:19:42 -04:00
Chase Payne
d470cc7d4e Check all pixels instead
It occoured to me there might be some desktop images that are predominately black, which could cause a false positive.
2024-09-14 18:19:42 -04:00
Chase Payne
2185c4f2ce Fix frame capture and output duplication for dual GPU setups and virtual displays
- Added `test_frame_capture` function to verify if frames are successfully captured and not empty.
- Fixes issues with virtual displays such as IDDSampleDriver when using more than one GPU.
2024-09-14 18:19:42 -04:00
Yukino Song
e06e1429fa Add pause to tools 2024-08-24 02:23:45 +08:00
Yukino Song
8bbd64f025 Migrate installer to Apollo 2024-08-23 02:35:31 +08:00
Yukino Song
fcbd86398a Merge remote-tracking branch 'Nonary/gpu_selection_fix_v2' into vdisplay 2024-08-22 22:11:09 +08:00
Chase Payne
5d88d4a016 clang fixes 2024-08-17 01:40:57 -05:00
Chase Payne
24a4a89d2b implement cgutmans ideas 2024-08-17 01:36:44 -05:00
Chase Payne
4fd9bf7873 move unmap to fail guard 2024-08-12 03:03:12 -05:00
Chase Payne
f5fa99cdb3 remove code changes that were not needed 2024-08-11 23:15:28 -05:00
Chase Payne
14de699b8d remove else statements 2024-08-11 23:12:16 -05:00
Chase Payne
6d5091bd29 attempt to match previous coding styles 2024-08-11 23:09:54 -05:00
Chase Payne
eac116658c code review suggestions 2024-08-11 23:06:11 -05:00
Chase Payne
f2311bb74c clang fixes 2024-08-10 14:27:54 -05:00
Chase Payne
b1ec2dffe5 Check all pixels instead
It occoured to me there might be some desktop images that are predominately black, which could cause a false positive.
2024-08-10 14:08:59 -05:00
Chase Payne
e7fd80dc30 Fix frame capture and output duplication for dual GPU setups and virtual displays
- Added `test_frame_capture` function to verify if frames are successfully captured and not empty.
- Fixes issues with virtual displays such as IDDSampleDriver when using more than one GPU.
2024-08-10 14:00:47 -05:00
Yukino Song
d5605cc899 Fix audio-info.exe for CJK chars 2024-08-04 19:11:58 +08:00
ReenigneArcher
1dd4b68e1c docs(src): add examples alias and general cleanup (#2763) 2024-06-28 08:34:14 -04:00
Tejas Rao
7fb8c76590 Use C++20. (#2322) 2024-04-26 15:49:15 -04:00
Cameron Gutman
93e622342c Quote the path to sunshinesvc.exe when launching the termination helper (#2379) 2024-04-06 19:21:03 -04:00
ReenigneArcher
328a300550 build(cmake): use CMAKE_SOURCE_DIR property (#2091) 2024-02-03 15:29:09 -05:00
Cameron Gutman
f64712f277 Always reset the thread desktop before calling DuplicateOutput()
Otherwise capture will fail if the thread desktop is different than the current input desktop (ex: UAC secure desktop is active)
2024-01-18 19:14:45 -06:00
Cameron Gutman
d07f5dbd1b Fix audio code build with new MinGW headers 2023-07-30 16:35:24 -04:00