Commit Graph
3502 Commits
Author SHA1 Message Date
ReenigneArcher 8a0a2854be fix: Validate AMD max_au_size and update docs
Adds explicit validation for `amd_max_au_size` so only unset or values >= -1 are applied, matching FFmpeg/AMF expectations. Updates the web config input bounds and wording to clarify this as a last-resort FEC protection cap (H.264/HEVC only), and refreshes configuration docs with improved sizing guidance. Also expands unit coverage for codec option mapping and config parsing edge cases, including range boundaries.
2026-08-21 10:10:36 -04:00
pollopopo 8d3f1abe3b fix: correct recommended max_au_size value and add sizing formula
800000 bits (~97 KB/frame, ~46 Mbps at 60fps) is the correct
recommended value for Wi-Fi streaming, not 6400000.

Added formula for users to calculate based on their bandwidth:
  (target_bitrate_mbps / fps / 1.2) * 1000000
where 1.2 accounts for ~20% FEC overhead.
2026-08-20 23:18:24 -04:00
pollopopo 7be86ac13d fix: correct max_au_size units (bits not bytes), remove AV1 support
Address review feedback:
- max_au_size is in bits per FFmpeg AMF documentation, not bytes
- AV1 encoder (av1_amf) does not support max_au_size, removed
- Updated UI description, docs, and recommended value accordingly
- FFmpeg default is -1 (disabled), aligned placeholder
2026-08-20 23:18:23 -04:00
pollopopo e9ba442cb9 feat(amf): add configurable max_au_size to cap encoded frame size
Add a new optional AMF encoder parameter `amd_max_au_size` that caps
the maximum encoded frame (Access Unit) size in bytes.

When the AMF encoder (especially under CQP rate control) produces
oversized frames, they can exceed the FEC shard limit
(DATA_SHARDS_MAX=255 per block, max 4 blocks). When this happens,
FEC error correction is skipped for those frames entirely
(stream.cpp line 1373). On Wi-Fi networks, these large unprotected
frames are highly susceptible to packet loss, causing visible
dropped frames, stuttering, and stream instability.

By setting `amd_max_au_size` (e.g. 800000 bytes), the hardware
encoder itself enforces the frame size cap, ensuring every frame
stays within FEC protection limits. This works with all rate
control modes (CQP, CBR, VBR) and all three codecs (H.264, HEVC,
AV1). Disabled by default (0 or empty) to preserve existing
behavior.

Tested on AMD RDNA4 (RX 9070 XT) streaming over 5GHz Wi-Fi with
CQP mode. Setting max_au_size to 800000 eliminated FEC bypass
warnings and significantly improved stream stability.
2026-08-20 23:18:22 -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
LizardByte-bot ebc4f960b8 chore(l10n): update translations (#5535) 2026-08-20 17:07:18 -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
renovate[bot] 0a1c365c96 chore(deps): update dependency @lucide/vue to v1.33.0 (#5533)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-20 09:37:47 -04:00
LizardByte-bot e04318fe14 chore: update global workflows (#5525) 2026-08-19 23:32:54 -04:00
renovate[bot] 5d48c550bb chore(deps): update dependency @lucide/vue to v1.32.0 (#5528)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-19 23:32:35 -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
renovate[bot] c8763b6310 chore(deps): update dependency marked to v18.0.10 (#5521)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-18 08:39:15 -04:00
renovate[bot] 7e9701f3e1 chore(deps): update astral-sh/setup-uv action to v10 (#5501)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-18 08:38:58 -04:00
Eduardo Mozart de Oliveira 790d5536ae fix(macOS): update build script and ci with explicit Qt6 paths (#5502) 2026-08-17 23:24:15 -04:00
LizardByte-bot b983c20448 chore(l10n): update translations (#5507) 2026-08-17 21:56:07 -04:00
Dave Lane f0ea536944 build(homebrew): normalize remapped LCOV source paths (#5518) 2026-08-17 14:50:37 -04:00
Dave Lane 6aece1b8d2 fix(virtual-hid): remove license expiration (#5517) 2026-08-17 14:50:19 -04:00
renovate[bot] 68a569921e chore(deps): lock file maintenance (#5514)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-17 13:10:56 -04:00
Dave Lane e51818cd53 ci(FreeBSD): remove aarch64 (#5516) 2026-08-17 13:10:40 -04:00
Dave Lane 687e12d013 feat(input): implement libvirtualhid adding new gamepad styles (#5368) 2026-08-16 15:24:58 -04:00
Dave Lane cf52f4b6f3 build(windows): default to qt6-static (#5497) 2026-08-11 11:56:20 -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
renovate[bot] 4e7cfbaaa7 chore(deps): lock file maintenance (#5492)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-10 13:05:19 -04:00
renovate[bot] f0eef8c504 chore(deps): update dependency @lucide/vue to v1.31.0 (#5493)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-10 10:57:01 -04:00
Dave Lane cd9eacf09b ci: add workflow to publish PR artifacts (#5491) 2026-08-09 21:38:58 -04:00
Dave Lane 25c06d79b5 build(unix): add nv-codec-headers include path (#5488) 2026-08-08 12:42:19 -04:00
renovate[bot] f32275b1ca chore(deps): update dependency @lucide/vue to v1.30.0 (#5486)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-08 10:04:04 -04:00
LizardByte-bot 224f382655 chore(l10n): update translations (#5487) 2026-08-08 10:03:25 -04:00
Dave Lane 7df8c62ea7 feat(logging): rotating log files (#5485) 2026-08-07 21:12:25 -04:00
Dave Lane 49e5697746 build(macOS): sign only valid framework bundles (#5484) 2026-08-07 18:52:46 -04:00
Dave Lane 22f7a773d2 build(macOS): fix macOS framework signing glob (#5483) 2026-08-07 17:08:31 -04:00
Dave Lane 3d692a20cc chore(docker): fix hadolint SC3014 (#5482) 2026-08-07 15:23:54 -04:00
LizardByte-bot 22cafade1e chore(l10n): update translations (#5479) 2026-08-07 13:55:14 -04:00
renovate[bot] e553d888cd chore(deps): update dependency vue to v3.5.41 (#5475)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-07 11:29:59 -04:00
renovate[bot] ff4d2c7d89 chore(deps): update dependency marked to v18.0.9 (#5473)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-07 09:58:28 -04:00
renovate[bot] 4ba5c46a70 chore(deps): lock file maintenance (#5470)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-07 09:56:40 -04:00
renovate[bot] b1291e50cd chore(deps): update dependency @lucide/vue to v1.28.0 (#5463)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-07 09:48:11 -04:00
renovate[bot] 6fff737f78 chore(deps): update vmactions/freebsd-vm action to v1.5.3 (#5478)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-07 09:46:53 -04:00
Noklef e9ed5188f5 fix(web-ui): Welcome page styling (#5466) 2026-08-07 09:45:59 -04:00
Dave Lane 0784774fec test(tray): add system tray tests (#4221) 2026-07-29 20:30:43 -04:00
renovate[bot] 3893c5bcda chore(deps): update lizardbyte/actions action to v2026.728.214955 (#5459)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-29 09:30:13 -04:00
Dave Lane c19904b577 fix(FreeBSD): Qt6 tray dependency package (#5458) 2026-07-29 08:24:59 -04:00
Dave Lane 089f15d4b6 chore: migrate to qt tray for all platforms (#5260) 2026-07-28 22:22:43 -04:00
renovate[bot] e2074c6d62 chore(deps): lock file maintenance (#5455)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-28 17:50:21 -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
LizardByte-bot 6f58be350e chore(deps): Update build-deps to v2026.724.203728 (#5446) 2026-07-26 22:05:23 -04:00
renovate[bot] 25c3f0b624 chore(deps): update dependency vue-i18n to v11.4.8 (#5453)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-26 21:11:56 -04:00
renovate[bot] cea0b89568 chore(deps): update dependency @lucide/vue to v1.27.0 (#5452)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-26 21:11:35 -04:00