Commit Graph
445 Commits
Author SHA1 Message Date
ReenigneArcher 923eb82c7b Add player LED feedback and extension capability
Introduce a new gamepad feedback path for player indicator LEDs, including a new feedback message type, control-stream packet encoding (0x5504), and virtual HID output handling with deduplication of repeated LED states. Broaden controller extension capability detection from touchpad-only to touchpad-or-motion and use it consistently across Linux, macOS, and Windows capability reporting. Update unit tests to cover both touchpad support and controller extension advertising, plus player LED routing/dedup behavior, and bump the libvirtualhid submodule.
2026-08-28 11:51:02 -04:00
ReenigneArcher e3c8713af5 Refresh Virtual HID keyboard and mouse path
Renamed the license-state refresh flow from mouse-only to shared virtual input so Sunshine now recreates both libvirtualhid keyboard and mouse devices, including resetting keyboard/mouse state before refresh. Added explicit keyboard refresh support in the virtualhid input context and wired config HTTP license updates to trigger the full refresh.

Updated Windows-facing messaging and docs to describe Raw Input keyboard + mouse support, added troubleshooting guidance for keyboard detection, and adjusted tray/UI localization strings accordingly. Also bumped the minimum supported Virtual HID Driver version to 2026.826.2024.22, updated related unit tests, and advanced the libvirtualhid submodule.
2026-08-27 15:55:34 -04:00
Conn O'GriofaandKishi85 f273ce8f45 fix(pipewire): gate variable rate capture and fix fractional framerates (#5538)
Co-authored-by: Kishi85 <41839133+Kishi85@users.noreply.github.com>
2026-08-25 20:18:04 -04:00
nikzasel e5759171f1 fix(linux/publish): release the Avahi client when the poll loop stops (#5545) 2026-08-23 23:03:05 -04:00
Dave Lane 05b49f0d87 chore: update Virtual HID requirements and mouse refresh (#5547) 2026-08-23 14:44:37 -04:00
Zach DentonandReenigneArcher 3dfbfe0906 fix(wayland): use the current wl_output mode (#5150)
Signed-off-by: Zach Denton <z@chdenton.com>
Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
2026-08-20 23:00:50 -04:00
Dave Lane d3c5e2c85e fix(input): preserve aux gamepad data and bump libvirtualhid (#5531) 2026-08-20 17:00:44 -04:00
Eduardo Mozart de Oliveira f0a46d759d fix(macOS): System tray icon disappears when restarting Sunshine (#5504) 2026-08-20 12:51:31 -04:00
Conn O'Griofa 9e1f089e1f fix(linux/freebsd): truncate thread names to 15 characters (#5527) 2026-08-19 23:31:03 -04:00
luanweslley77andluanweslley77 6ad5f9735d fix(linux/pipewire): restore dummy buffer for software encoders and fix buffer ownership (#5495)
Co-authored-by: luanweslley77 <luanweslley77@users.noreply.github.com>
2026-08-18 11:59:30 -04:00
Dave Lane 687e12d013 feat(input): implement libvirtualhid adding new gamepad styles (#5368) 2026-08-16 15:24:58 -04:00
Kishi 3cba9baeba fix(linux/kms)!: Use connector type index from KMS instead of self calculation (#5489) 2026-08-10 14:38:43 -04:00
dependabot[bot]andReenigneArcher 965c91a428 build(deps): bump third-party/lizardbyte-common from 06cd442 to 011ad2b (#5457)
* build(deps): bump third-party/lizardbyte-common

Bumps [third-party/lizardbyte-common](https://github.com/LizardByte/lizardbyte-common) from `06cd442` to `011ad2b`.
- [Release notes](https://github.com/LizardByte/lizardbyte-common/releases)
- [Commits](https://github.com/LizardByte/lizardbyte-common/compare/06cd442b808f02f1674f3192a84d25b9a503c482...011ad2bb139083dcf4ec21f9c09f07470891a668)

---
updated-dependencies:
- dependency-name: third-party/lizardbyte-common
  dependency-version: 011ad2bb139083dcf4ec21f9c09f07470891a668
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* style: run clang-format across C++ sources

Reformatted conditionals, loops, and long function calls across core, platform, NVENC, and test helper code to match updated formatting rules, including minor spacing normalization in type declarations. These are style-only edits with no intended behavior changes.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
2026-07-28 08:08:12 -04:00
Dave Lane fb3d85cff4 fix(nvenc): dynamic nv codec sdk selection (#5451) 2026-07-26 21:06:28 -04:00
Kishi 4b74548578 fix(linux/kms): use same methodology for display name matching and list generation (#5448) 2026-07-25 20:06:33 -04:00
Kishi a55d2d99c4 feat(linux): use connector name as default display name on linux (#5423) 2026-07-21 20:11:30 -04:00
Conn O'Griofa 71acfc57ec feat(linux/vaapi): VAAPI encoder improvements (#5388) 2026-07-15 10:41:22 -04:00
Dave Lane 24cbf6f833 chore(sonar): change NOSONAR comment style (#5410) 2026-07-13 17:31:55 -04:00
neatnoise 1d9ab7b8d8 fix(linux): avoid memory leak from unnecessary encoder re-probing (#5404) 2026-07-12 18:32:18 -04:00
Dave Lane 3377f7a73f refactor(sonar): migrate worker threads to std::jthread (#5398) 2026-07-12 00:30:05 -04:00
盼兮andKishi85 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
martonaandDave Lane fbafc49768 feat(macOS): libdispalydevice integration (#5338)
Co-authored-by: Dave Lane <42013603+ReenigneArcher@users.noreply.github.com>
2026-07-03 21:11:39 -04:00
KishiandPsyke83 33aaefa8c1 fix(linux/pipewire): avoid memory leaks (#5360)
Co-authored-by: Psyke83 <psyke83@users.noreply.github.com>
2026-07-03 15:53:20 -04:00
Dave LaneandKishi 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
Aliaksei Dziadziuk bba6c6cac0 feat(linux): pace capture at exact fractional NTSC framerates (#5282) 2026-06-30 09:40:08 -04:00
Kishiandpsyke83 e40d355f96 fix(video): fix video stream freezing on capture re-init (e.g. pipewire display switch) (#5249)
Co-authored-by: psyke83 <psyke83@users.noreply.github.com>
2026-06-26 10:40:01 -04:00
Dave Lane a991a9622c docs(doxygen): enforce warn if undocumented (#5337) 2026-06-25 22:43:17 -04:00
Sheynar e4740f0696 feat(linux/cuda-gl): Allow YUV4:2:0 HDR and YUV4:4:4 HDR on nvidia cards (#5315) 2026-06-24 16:04:26 -04:00
Sheynar 338afe6709 fix(linux/cuda-gl): gl:[00000501] error regression (#5310) 2026-06-24 13:26:11 -04:00
Kishi fdf1363201 feat(linux/kwin): log object serial when available on stream creation (#5299) 2026-06-23 11:28:52 -04:00
Kishi 2438a9bd7c feat(linux/xdgportal): Add support for pipewire-serial (#5060) 2026-06-23 09:57:59 -04:00
Kishi 4e6e137796 feat(linux/pipewire): add fallback to node id if connection via object serial fails (#5302) 2026-06-22 18:22:02 -04:00
martona c9863ebee9 fix(macos): wake sleeping display at the beginning of capture session (#5291) 2026-06-17 11:28:07 -04:00
Sheynar 39c9e845fe feat(linux): Add hardware yuv444 chromasubsampling support on nvidia cards (cuda/cuda gl) (#4965) 2026-06-16 11:30:54 -04:00
Joe Knockenhauer c2b5513a5f fix(wayland): support DMA-BUF modifiers for wlroots capture (#5132) 2026-06-09 11:23:26 -04:00
Kishi a682ab07dc fix(linux/kwin): retry init with fully dropped elevated privileges in case KWin is missing CAP_SYS_NICE on linux (#5212) 2026-05-29 15:00:09 -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
Bo He 3c7952b2dd fix(linux/vulkan): preserve host aspect ratio in encoder output (#5130) 2026-05-26 22:55:39 -04:00
martona be18f2f38f fix(macos): scale remote scroll input using macOS scroll speed (#5133) 2026-05-17 10:02:29 -04:00
Andy Grundman 2cd7ba3532 fix(audio): fix install of Steam Streaming Speakers driver (#5125) 2026-05-15 21:12:56 -04:00
Ethan Lee 0e66dd811b fix(linux/pipewire): Add 10-bit RGB formats with 2-bit Alpha to format_map (#5088) 2026-05-15 11:18:03 -04:00
martona 33bdb011e2 fix(macos): provide left/right identity for modifiers (#5115) 2026-05-14 17:59:27 -04:00
martona 44cca9a523 fix(macos): preserve modifier state in input events (#5102) 2026-05-13 23:10:16 -04:00
netanelbi a241c78caf feat(linux/wlgrab): match output_name by xdg_output name (#5071) 2026-05-05 23:41:29 -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
Willian Barreto dd30d0555f feat(input): implement multiseat support and virtual device naming (#4954) 2026-05-05 18:12:16 -04:00
garnacho 017ce4964a feat(linux/pipewire): Handle HDR(Rec. 2020/SMPTE 2084 PQ) visuals (#5025) 2026-05-05 10:53:20 -04:00
KishiandRamalama2 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 747e213539 feat(linux/pipewire): Add support for pipewire stream selection by object serial (#5054) 2026-04-27 16:34:31 -04:00
Kishi 2f00cb3089 feat(linux/xdgportal): Simplify display matching logic (#5053) 2026-04-27 13:20:53 -04:00