Commit Graph

68 Commits

Author SHA1 Message Date
盼兮
40ae6c8002 fix(linux): drop implicit DRM master for card fds (#5286)
Co-authored-by: Kishi85 <41839133+Kishi85@users.noreply.github.com>
2026-07-09 10:06:44 -04:00
Dave Lane
09dc9e4c35 chore: use lizardbyte-common in c++ (#5356)
Co-authored-by: Kishi <41839133+Kishi85@users.noreply.github.com>
2026-06-30 19:12:10 -04:00
Dave Lane
a991a9622c docs(doxygen): enforce warn if undocumented (#5337) 2026-06-25 22:43:17 -04:00
Kishi
1a6fb5f19a fix(linux/vulkan): Ensure RADV vulkan video encoding is enabled on newer versions of Mesa (#5211) 2026-05-29 13:22:31 -04:00
Conn O'Griofa
ecba5c3c2e fix(linux): security: drop CAP_SYS_ADMIN when possible, retain CAP_SYS_NICE (#5075) 2026-05-05 20:05:21 -04:00
Kishi
a90d3068e9 feat(capture/linux): add KWin direct screencast capture method (#5009)
Co-authored-by: Ramalama2 <6314556+Ramalama2@users.noreply.github.com>
2026-05-04 20:58:35 -04:00
Kishi
e39dfb80be refactor(linux/xdgportal): Move elevated privilege check/drop to misc.cpp (#5026) 2026-04-20 13:05:42 -04:00
neatnoise
3210078310 fix(linux): auto-detect GPU with connected display for VAAPI and Vulkan (#4961) 2026-04-17 14:38:06 -04:00
neatnoise
75a3bedf5c revert: "feat(linux/vulkan): enable RADV low-latency Vulkan Video encoding" (#4989) 2026-04-14 11:19:31 -04:00
neatnoise
43f973dbf2 feat(linux/vulkan): enable RADV low-latency Vulkan Video encoding (#4984) 2026-04-13 16:28:35 -04:00
neatnoise
0752f641b1 feat(linux): Add Vulkan video encoder (#4603) 2026-03-30 22:17:00 -04:00
Conn O'Griofa
3e06afab1f feat(linux): add thread priority support for POSIX systems (#4885) 2026-03-22 23:25:42 -04:00
David Lane
ea201155f4 build(linux): generate glad sources at compile time (#4798)
Co-authored-by: Conn O'Griofa <connogriofa@gmail.com>
2026-03-15 21:21:41 -04:00
David Lane
874880e5ea feat(linux)!: Support streaming through XDG portals and Pipewire (#4417)
Co-authored-by: Carlos Garnacho <carlosg@gnome.org>
Co-authored-by: Carson Katri <Carson.katri@gmail.com>
Co-authored-by: Bond <bond-d@ukr.net>
Co-authored-by: d.bondarev <d.bondarev@crm-onebox.com>
Co-authored-by: Conn O'Griofa <connogriofa@gmail.com>
2026-02-03 08:19:02 -05:00
Andy Grundman
3a12f96a86 perf(threads): implement adjust_thread_priority for macOS and add set_thread_name (#4605) 2026-01-22 19:38:09 -05:00
tstokes22
fd2bfaac7e fix(windows): resolve disappearing cursor after KVM switch (#4407) 2026-01-16 19:45:16 -05:00
David Lane
1d6d916b7a build: add freebsd support (#4049) 2025-11-11 23:46:11 -05:00
David Lane
875ad1d11a build(deps): bump boost to 1.89 (#4253) 2025-11-01 21:02:15 -04:00
Cameron Gutman
2a9bb98c6e fix(build): remove VLA zeroing to fix Clang build (#4052) 2025-07-06 00:50:34 -05: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
Cameron Gutman
fb1f5b5a89 fix(hostname): fix handling of non-ASCII hostnames on Windows (#3382) 2024-11-09 14:05:46 -06:00
Cameron Gutman
1cab1a5a1e fix(process): avoid leaking zombies and fds in detached processes (#3379) 2024-11-07 22:15:33 -06:00
Lukas Senionis
e90b71ce62 fix(boost)!: migrate boost to 1.86 (#3256) 2024-10-03 21:42:16 -04:00
ReenigneArcher
697e877070 fix(linux): use correct value for AMD_DEBUG environment variable (#3115) 2024-09-01 09:01:03 -04:00
ReenigneArcher
bf92fda969 fix(linux): enable lowlatency mode for AMD (#3088) 2024-08-25 10:50:51 -04:00
Cameron Gutman
3935d305ae Implement S/G IO for batched sends and eliminate another frame copy (#2874) 2024-07-19 04:04:18 +00:00
Cameron Gutman
81c6e61594 Implement S/G IO for non-batched sends and eliminate more data copies (#2867) 2024-07-18 02:34:56 +00:00
ns6089
037c61dc99 Implement basic network flow control (#2803)
Co-authored-by: Cameron Gutman <aicommander@gmail.com>
2024-07-11 00:03:16 +00:00
ReenigneArcher
1dd4b68e1c docs(src): add examples alias and general cleanup (#2763) 2024-06-28 08:34:14 -04:00
ReenigneArcher
f3abf59fbf docs(src): fix some doxygen warnings (#2731) 2024-06-20 01:36:09 +00:00
ReenigneArcher
9a82b6810a docs: fix ffmpeg include directory (#2727) 2024-06-19 02:54:35 +00:00
Cameron Gutman
15c5e76ed4 Use a copy+delete instead of a move operation for config migration
This can handle migration across filesystems.
2024-03-15 01:59:13 -05:00
Cameron Gutman
8c9e14e335 Only attempt a config migration once per launch 2024-03-15 01:59:13 -05:00
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
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
Cameron Gutman
5606840c89 Stop enumeration after finding a working capture backend 2024-03-02 12:08:35 -06:00
ReenigneArcher
8689469ea8 refactor(main): move remaining entry related code (#2127) 2024-02-11 14:15:45 -05:00
ReenigneArcher
0aa4f06c39 refactor(logging): separate logging from main (#2110) 2024-02-07 09:59:24 -05:00
Cameron Gutman
ff8c8ce3ab Skip encoder reprobing if no GPU changes have occurred 2024-02-06 20:00:24 -06:00
Cameron Gutman
be6f856840 Fix DSCP tagging for dual-stack sockets on Linux 2024-02-04 16:19:22 -06:00
Cameron Gutman
2008bc0eaa Use CS6 instead of CS7 for audio traffic
CS7 is reserved for network control traffic.
2024-02-02 18:30:48 -06:00
Cameron Gutman
bb3b7984f3 Add refcounting to Mac and Linux QoS state to ensure it works properly with multiple clients
This means we can't control DSCP tagging per-client, but it shouldn't pose a big problem as routers that blackhole DSCP tagged traffic are pretty rare.
2024-02-02 18:30:48 -06:00
Cameron Gutman
5c9533f6d7 Allow DSCP tagging and local traffic prioritization to be enabled separately on Mac and Linux 2024-02-02 18:30:48 -06:00
Rafael
2e995355dc fix(linux)!: use XDG spec for fetching Linux configuration directory (#2034) 2024-01-18 21:24:55 -05:00
Cameron Gutman
593e170da8 Implement graceful termination and group-based app tracking 2024-01-08 23:55:43 -06:00
Cameron Gutman
f88df0f596 Implement support for KMS cursor plane capture (#1981) 2024-01-05 23:02:39 -06:00
James Le Cuirot
bc6cc2078e build(linux) make vaapi optional without dlopen (#1979)
Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
2024-01-05 10:59:41 -05:00
Cameron Gutman
1303defb67 Fix crash during UDP segmentation due to stack garbage
CMSG_NXTHDR() tries to read the _next_ message to check if it fits in
the provided control buffer length. If that part of the stack has some
large value stored in the uninitialized cmsg_len there, CMSG_NXTHDR()
will return NULL and we will crash.
2023-10-02 00:13:47 -05:00