Commit Graph

2303 Commits

Author SHA1 Message Date
Cameron Gutman aa1985dec8 Avoid calling Boost logging functions in appdata()
The app data directory is needed prior to logging initialization.
2024-03-15 01:59:13 -05:00
Cameron Gutman f66a7d5da6 Fix dereferencing a null pointer if SUNSHINE_MIGRATE_CONFIG doesn't exist 2024-03-15 01:59:13 -05:00
Cameron Gutman b523945f48 Update tray submodule to fix broken tray icon on some systems 2024-03-14 21:28:47 -05:00
dependabot[bot] 476141d740 build(deps): bump LizardByte/homebrew-release-action from 2024.311.172824 to 2024.314.134529 (#2264)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-14 21:13:55 -04:00
Cameron Gutman c43dd2489f Don't update tray icon after tray_exit() was called 2024-03-13 19:22:05 -04:00
ReenigneArcher 22736c4ce9 Fix(linux/fedora39) patch system headers so build succeeds with cuda (#2253)
Co-authored-by: Cameron Gutman <2695644+cgutman@users.noreply.github.com>
2024-03-13 18:05:45 -04:00
ReenigneArcher 3e49e25c63 chore: bump version to v0.22.1 (#2221)
Co-authored-by: Cameron Gutman <aicommander@gmail.com>
2024-03-13 10:44:31 -04:00
Crashdummy 0bfad20d4c fix(Linux/Fedora): re-enable CUDA and bump to 12.4.0 (#2247) 2024-03-13 09:48:13 -04:00
dependabot[bot] 1859e23cd5 build(deps): bump LizardByte/homebrew-release-action from 2024.309.150158 to 2024.311.172824 (#2245)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-13 09:04:41 -04:00
Cameron Gutman c13a30db78 Allow NVENC to be forced to try capturing non-Nvidia GPUs 2024-03-13 01:23:47 -05:00
Cameron Gutman d8877982ff Improve KMS debuggability and avoid known broken cases 2024-03-13 01:23:47 -05:00
Cameron Gutman e383ab9956 Add note to prefer distro packages over Flatpak/AppImage 2024-03-12 19:54:20 -05:00
Cameron Gutman 97467ea355 Reorder and reword the KMS setup step 2024-03-12 19:54:20 -05:00
Cameron Gutman 3181d91edf Apply udev rules to /dev/uinput immediately after installation 2024-03-12 19:54:20 -05:00
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