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
Cameron Gutman
9a65c91671
Rename SunshineSvc to SunshineService
...
This avoids a MalwareBytes false positive.
Fixes #1126
2023-05-26 17:54:38 -05:00
Cameron Gutman
f5e3353f82
Fix resolutions reported by dxgi-info.exe on high DPI systems
2023-05-24 18:23:32 -05:00
Cameron Gutman
9955890023
Fix console session changes via fast user switching
...
We need to respawn Sunshine.exe in the new console session.
2023-05-15 19:11:51 -06:00
ReenigneArcher
4ca6dc6c8e
docs: update file level doxygen blocks ( #1258 )
2023-05-07 18:12:39 -04:00
Cameron Gutman
e8963b8255
Only modify channel-related format attributes
...
Specifying sample rate will fail on devices using 192 KHz sample rate
2023-05-07 11:52:57 -05:00