Commit Graph
339 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
LizardByte-bot ebc4f960b8 chore(l10n): update translations (#5535) 2026-08-20 17:07:18 -04:00
LizardByte-bot b983c20448 chore(l10n): update translations (#5507) 2026-08-17 21:56:07 -04:00
Dave Lane 6aece1b8d2 fix(virtual-hid): remove license expiration (#5517) 2026-08-17 14:50:19 -04:00
Dave Lane 687e12d013 feat(input): implement libvirtualhid adding new gamepad styles (#5368) 2026-08-16 15:24:58 -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
LizardByte-bot 22cafade1e chore(l10n): update translations (#5479) 2026-08-07 13:55:14 -04:00
Noklef e9ed5188f5 fix(web-ui): Welcome page styling (#5466) 2026-08-07 09:45:59 -04:00
LizardByte-bot 7cb92071ac chore(l10n): update translations (#5450) 2026-07-25 20:07:10 -04:00
Eduardo Mozart de Oliveira c58fd6d8c6 refactor: clients section to dynamically fetch from app-directory (#5380) 2026-07-23 20:56:19 -04:00
LizardByte-bot 93fc98394f chore(l10n): update translations (#5420) 2026-07-22 12:31:04 -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
LizardByte-bot f5a4f06b72 chore(l10n): update translations (#5403)
chore(l10n): update translations sunshine.json (Spanish)
2026-07-12 14:56:58 -04:00
LizardByte-bot 1221ab5501 chore(l10n): update translations (#5386) 2026-07-08 19:47:18 -04:00
LizardByte-bot 5d1a901402 chore(l10n): update translations (#5347) 2026-06-27 23:47:45 -04:00
LizardByte-bot 3a753f4064 chore(l10n): update translations (#5344) 2026-06-26 19:58:20 -04:00
NoklefandDavid Lane 3266c34172 feat(web-ui): UI consistency / layout uplifts (#5225)
Co-authored-by: David Lane <42013603+ReenigneArcher@users.noreply.github.com>
2026-06-26 19:37:38 -04:00
LizardByte-bot 1b533cb773 chore(l10n): update translations (#5311) 2026-06-22 09:12:40 -04:00
LizardByte-bot fe69a0bbb6 chore(l10n): update translations (#5254) 2026-06-17 21:45:58 -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
LizardByte-bot 8975ed14da chore(l10n): update translations (#5229) 2026-05-31 18:35:47 -04:00
LizardByte-bot 49f1695292 chore(l10n): update translations (#5220) 2026-05-30 10:43:02 -04:00
Noklef 3d9e6d24a8 feat(web-ui): Updated Add / Edit app form to use modals + new Delete App UI flow (#5166) 2026-05-30 08:38:52 -04:00
LizardByte-bot 06504eb6ec chore(l10n): update translations (#5196) 2026-05-27 11:49:47 -04:00
Bo He 3c7952b2dd fix(linux/vulkan): preserve host aspect ratio in encoder output (#5130) 2026-05-26 22:55:39 -04:00
LizardByte-bot 87182c9ef9 chore(l10n): update translations (#5193) 2026-05-25 22:48:27 -04:00
Jason Lu 81a8414825 fix(macos/packaging): add NSLocalNetworkUsageDescription so Bonjour can register (#5186) 2026-05-25 22:47:48 -04:00
LizardByte-bot 2b7a891a02 chore(l10n): update translations (#5178) 2026-05-24 14:52:09 -04:00
David Lane cda976f18a chore(deps): migrate from lucide-vue-next to @lucide/vue (#5179) 2026-05-24 14:51:31 -04:00
David Lane 68f671809c fix(web-ui): add documentation link and version-aware URLs (#5176) 2026-05-24 12:17:24 -04:00
LizardByte-bot 7aada12100 chore(l10n): update translations (#5162) 2026-05-23 08:49:40 -04:00
Georgi Valkov 3c54d5ff3a fix(web): the packetsize upper limit is 65535 (#5167)
Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
2026-05-22 08:40:33 -04:00
LizardByte-bot ccd09c1021 chore(l10n): update translations (#5161) 2026-05-21 22:24:47 -04:00
NoklefandNoklef 3a72015161 feat(web-ui): Added Filtering & Searching to the Apps page (#5158)
Co-authored-by: Noklef <281545466+Noklef@users.noreply.github.com>
2026-05-21 13:16:01 -04:00
Georgi Valkov 3a69acefa0 feat(rtsp): add option to limit packetsize for clients that cannot configure it (#5153)
Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
2026-05-21 11:43:53 -04:00
David Lane 0523cebdfe feat(web-ui): add logout (#5121) 2026-05-14 23:23:02 -04:00
Willian Barreto dd30d0555f feat(input): implement multiseat support and virtual device naming (#4954) 2026-05-05 18:12:16 -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
neatnoise eb45ea785a fix(linux/vulkan): change default rate control from VBR to CBR (#5032) 2026-04-20 13:06:00 -04:00
Andy GrundmanandReenigneArcher a5af790710 feat(nvenc): support for split frame encoding on GPUs with 2+ nvenc blocks (#4892)
Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
2026-04-19 17:44:10 -04:00
Alex Shek 379242ec99 fix(linux/postins): allow running on rpm-ostree environments (#4963) 2026-04-10 15:19:30 -04:00
neatnoise 0752f641b1 feat(linux): Add Vulkan video encoder (#4603) 2026-03-30 22:17:00 -04:00
空明竹随 4ef856ab99 fix(windows): update-path.bat registry command syntax in installer (#4902) 2026-03-30 11:04:13 -04:00
neatnoise d03334693c feat(api/ui): add client enable/disable access control (#4771) 2026-03-29 12:58:00 -04:00
David Lane 24b66fedda fix(csrf): make errors more apparent (#4889) 2026-03-22 12:39:37 -04:00