2139 Commits

Author SHA1 Message Date
Cameron Gutman
3117fa57ec Rename 85-sunshine.rules to 60-sunshine.rules
This ensures the rules are evaluated before 73-seat-late.rules which
enables uaccess tag application for existing logged on users.
2024-03-12 19:54:20 -05:00
Cameron Gutman
91744960c1 Avoid broken fallback to cross-adapter NVENC encoding with KMS 2024-03-11 19:02:16 -05:00
ReenigneArcher
a2785baf0a
fix(linux): automatically migrate config directory (#2240) 2024-03-10 22:03:20 -04:00
brycerocky
bc0a4786f4
Use icon caching for system tray. (#2238) 2024-03-10 18:35:48 -04:00
Cameron Gutman
cb4bfaa2f4 Add the .INSTALL script needed for kmsgrab to work
This also removes the standalone PKGBUILD artifact because
our PKGBUILD has external dependencies now.
2024-03-09 18:56:44 -06:00
Cameron Gutman
74ce047a4b Add optdepends for Intel and AMD hardware encoding 2024-03-09 18:56:44 -06:00
Cameron Gutman
278567f72d Move kmsgrab dependencies from optdepends to depends
kmsgrab is the most fully featured capture backend for current
versions of Sunshine, so it should be built by default.

In addition to zero-copy capture and HDR support, it is the *only*
capture backend that can handle non-wlroots Wayland capture.
2024-03-09 18:56:44 -06:00
Cameron Gutman
9d5b01727e Replace WMIC-based check for ViGEmBus with a Powershell check
This version is simpler and much faster on machines with many installed apps.
2024-03-09 13:57:24 -06:00
ReenigneArcher
33e99e1feb
build(macos)!: add homebrew formula and drop dmg (#2222) 2024-03-09 10:47:55 -05:00
Cameron Gutman
ce3b625983 Fix undefined behavior when computing cursor end pointer 2024-03-08 23:48:57 -06:00
Cameron Gutman
7cdd156bce Fix heap corruption with cursor pixel counts that aren't divisible by 8 2024-03-07 19:01:36 -06:00
Cameron Gutman
f5dd0d4eaf Update app examples to clarify new command syntax for Windows 2024-03-07 18:14:28 -06:00
Cameron Gutman
06c0ed1d1c Temporarily add the working directory to our path when starting an app
CreateProcess() doesn't search in the child's specified working directory by default.
2024-03-07 18:14:28 -06:00
Cameron Gutman
972e5d2b14 Strip quotes out of the working directory path 2024-03-07 18:14:28 -06:00
Cameron Gutman
6aeaaf5ec9 Fix process tree tracking when the cmd.exe trampoline is used 2024-03-07 18:14:28 -06:00
Cameron Gutman
3b3e6818f3 Make debuginfo artifacts harder to confuse with the Windows portable build 2024-03-06 19:03:14 -06:00
detiam
c86a4e112b
Fix wrong path in desktop file (#2223)
Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
2024-03-06 10:23:32 -05:00
Cameron Gutman
9e299c295d Fix predefined FPS values not taking effect 2024-03-05 23:16:27 -06:00
ReenigneArcher
3f215968ad
fix(config): add missing resolution to default config ui (#2224) 2024-03-05 23:00:51 -05:00
ReenigneArcher
b99a9e92be
build(macos): fix publishing of portfile (#2220) 2024-03-05 18:18:17 -05:00
ReenigneArcher
4ebc7b5cef
build(macos): add build strategy matrix (#2211) 2024-03-05 08:56:09 -05:00
Cameron Gutman
9f94eebd32 Fix mismatched case and unhandled exception in open_drm_fd_for_cuda_device() 2024-03-05 00:07:04 -06:00
ReenigneArcher
cacadc4df4
build(linux): ensure pre-compiled arch pkg is not debug build (#2214) 2024-03-04 22:15:37 -05:00
Cameron Gutman
529f1b84f8 Fix CUDA context leak causing encoder init failures using X11 capture with NVENC 2024-03-03 19:57:46 -06:00
ReenigneArcher
8d5a9054ec
chore: bump version to v0.22.0 (#2201)
Co-authored-by: Cameron Gutman <aicommander@gmail.com>
2024-03-03 16:50:20 -05:00
Cameron Gutman
5606840c89 Stop enumeration after finding a working capture backend 2024-03-02 12:08:35 -06:00
Cameron Gutman
1ab30aa70b Add log messages to indicate display numbers for KMS and Wlgrab 2024-03-02 12:08:35 -06:00
Cameron Gutman
75a97883e7 Rework dummy image handling to avoid RTX HDR driver bug
As a side effect, it avoids useless allocations and uploads of
a zeroed memory buffer to clear the dummy image textures.
2024-03-01 01:09:10 -06:00
Cameron Gutman
e430f51e2f Add friendly message when encoder detection fails 2024-02-29 18:35:30 -06:00
Cameron Gutman
cb57322190 Move and rename Files tab to be less prominent 2024-02-29 18:35:30 -06:00
Cameron Gutman
8081f4167e Add note to enclose paths with spaces in quotes 2024-02-29 18:35:30 -06:00
Cameron Gutman
2e97c55005 Move and rename Channels option to feature more prominently in the UI 2024-02-29 18:35:30 -06:00
Cameron Gutman
84316b5ccd Adjust wording of the nvenc_latency_over_power option 2024-02-29 18:35:30 -06:00
Cameron Gutman
dfb212cc3c Don't display automatic gamepad options on unsupported platforms 2024-02-29 18:35:30 -06:00
Cameron Gutman
e9bb5697b0 Move UPnP option to the top of the Network tab 2024-02-29 18:35:30 -06:00
Cameron Gutman
4252f5df7c Add option to allow HEVC usage on older Intel GPUs without low-power encoding 2024-02-29 18:35:30 -06:00
ReenigneArcher
15272fb47e
fix(config): properly save global_prep_cmd and fps (#2192) 2024-02-29 10:33:19 -05:00
Cameron Gutman
a0d5973799 Avoid display switching unexpectedly when the UAC secure desktop appears 2024-02-27 23:12:31 -06:00
Cameron Gutman
1020d0c133 Install ViGEmBus before starting Sunshine 2024-02-27 22:32:10 -06:00
Cameron Gutman
83e3ea5aa7 Use a common function to abort for debugging purposes 2024-02-27 21:21:16 -06:00
dependabot[bot]
53b2217a34
build(deps): bump bootstrap from 5.3.2 to 5.3.3 (#2154)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-26 22:33:13 -05:00
dependabot[bot]
c605a4da2b
build(deps): bump peter-evans/create-pull-request from 5 to 6 (#2083)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-26 21:36:59 -05:00
James Le Cuirot
11c5b64d39
Use nlohmann_json package instead of submodule (#2161) 2024-02-26 18:53:56 -05:00
ReenigneArcher
8a7a6c48f8
build(cmake) properly find evdev (#2176) 2024-02-26 12:55:34 -05:00
ReenigneArcher
c6f94e93e0
build(cmake): error build on warning (#2165) 2024-02-24 22:34:53 -05:00
dependabot[bot]
dde804f14b
build(deps): bump third-party/ViGEmClient from 1920260 to 8d71f67 (#2168)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-23 21:48:41 -05:00
ReenigneArcher
341fdaad77
build(cmake): add option to skip cuda inheriting compile options (#2164) 2024-02-23 20:54:10 -05:00
ReenigneArcher
8074bf8c8d
fix(main): fix version printing (#2167) 2024-02-23 20:00:53 -05:00
Cameron Gutman
d1a635809a Implement backwards compatibility for NVENC APIs back to Video Codec SDK v11.0
This allows NVENC on drivers 456.71 (October 2020) and later.
2024-02-16 22:31:48 -06:00
Cameron Gutman
56da68c863 Preserve backwards-compatible argument escaping behavior for executables 2024-02-15 18:29:33 -06:00