Commits
Today
✨ feat: Windows share picker is a live thumbnail grid: xcap lists screens and windows without cloaked/tool/own junk, rescans every 1.5s, thumbnails refresh within a 100ms budget per tick and are cached per window, rows virtualized. 🐛 fix: window share follows resizes (encoders reopen once the new size holds 300ms); share button ignores clicks while a start/stop is in flight, so Linux no longer stacks portalsAhmet Kaan Gümüş · 38b4cd2
✨ feat: Windows share picker is a live thumbnail grid: xcap lists screens and windows without cloaked/tool/own junk, rescans every 1.5s, thumbnails refresh within a 100ms budget per tick and are cached per window, rows virtualized. 🐛 fix: window share follows resizes (encoders reopen once the new size holds 300ms); share button ignores clicks while a start/stop is in flight, so Linux no longer stacks portals
Yesterday
🐛 fix: share adaptation. Random loss no longer cuts the rate: the uplink controller only backs off on quinn congestion events, a low send buffer or RTT growth, and FEC parity is sized per frame from the binomial tail of the reported loss (frame miss under 0.1%, keyframes 0.01%), so 5% uplink drop no longer leaves ~1% of frames unrecoverable (sender-side drops never reach the server cache NACKs resend from). Encoder lanes that can't keep up step down (fps to 30, then 2/3 size to 360p) and lower a shared pixel-rate budget that new lanes start within; a step that doesn't cut encode time stops the descent (software 2160p60: 1.5 -> 10-14 fps). A new watch waits a keyframe interval before asking for one, so the ask can't beat WatchShare to the server (NotFound); failed media requests name the requestAhmet Kaan Gümüş · e5ae8bc
🐛 fix: share adaptation. Random loss no longer cuts the rate: the uplink controller only backs off on quinn congestion events, a low send buffer or RTT growth, and FEC parity is sized per frame from the binomial tail of the reported loss (frame miss under 0.1%, keyframes 0.01%), so 5% uplink drop no longer leaves ~1% of frames unrecoverable (sender-side drops never reach the server cache NACKs resend from). Encoder lanes that can't keep up step down (fps to 30, then 2/3 size to 360p) and lower a shared pixel-rate budget that new lanes start within; a step that doesn't cut encode time stops the descent (software 2160p60: 1.5 -> 10-14 fps). A new watch waits a keyframe interval before asking for one, so the ask can't beat WatchShare to the server (NotFound); failed media requests name the request
2026-11-27
✨ feat: Windows zero-copy screen share: the WGC frame is copied into edith's D3d11Pool in the capture callback and the encoder reads the shared texture (encode_d3d11), 3 frames in flight against the ring of 4; falls back to cpu copies when d3d11 import is unsupported or fails; edith 9b677004; Dmabuf renamed Gpu (one GPU frame type per OS)Ahmet Kaan Gümüş · cf604c4
✨ feat: Windows zero-copy screen share: the WGC frame is copied into edith's D3d11Pool in the capture callback and the encoder reads the shared texture (encode_d3d11), 3 frames in flight against the ring of 4; falls back to cpu copies when d3d11 import is unsupported or fails; edith 9b677004; Dmabuf renamed Gpu (one GPU frame type per OS)
✨ feat: Windows tray (badge icon, Show/Quit, close to tray), per-thread CPU on every OS (threads report their own time), machine storage row, server stats sampled always, macOS GPU via ioreg; 🐛 fix: server machine stats late on first openAhmet Kaan Gümüş · 5da5470
✨ feat: Windows tray (badge icon, Show/Quit, close to tray), per-thread CPU on every OS (threads report their own time), machine storage row, server stats sampled always, macOS GPU via ioreg; 🐛 fix: server machine stats late on first open
✨ feat: share clarity: bits per pixel doubled (AV1/H265 0.12, H264 0.16, VP9 0.14, VP8 0.18) with average = ceiling, BT.709 limited colour tag, decode width from the real contain/cover rect so the viewer samples once; edith 9876fb67 (desktop hint, quality level, CDEF, bilinear chroma)Ahmet Kaan Gümüş · f3f8ae1
✨ feat: share clarity: bits per pixel doubled (AV1/H265 0.12, H264 0.16, VP9 0.14, VP8 0.18) with average = ceiling, BT.709 limited colour tag, decode width from the real contain/cover rect so the viewer samples once; edith 9876fb67 (desktop hint, quality level, CDEF, bilinear chroma)
2026-11-26
🐛 fix: repeated identical PipeWire format no longer renegotiates buffers or logs twice, Vulkan encode check reuses the startup probe instead of initializing VA-API againAhmet Kaan Gümüş · 51bbfe8Browse files
🐛 fix: share encoder retries Vulkan (5x100ms, logging the reason) before falling back to VA-API, so a transient Vk open failure no longer drops DMA-BUF capture to shared memoryAhmet Kaan Gümüş · dbc5912Browse files
⚡ perf: DMA-BUF screen capture straight into Vk encode (edith 7836ccd5) with shared-memory fallback, camera opens at the configured resolution instead of the largestAhmet Kaan Gümüş · 6b212ab
⚡ perf: DMA-BUF screen capture straight into Vk encode (edith 7836ccd5) with shared-memory fallback, camera opens at the configured resolution instead of the largest - PipeWire offers edith's importable modifiers first, then SHM; an import failure renegotiates to SHM - capture callback holds the buffer until every encode lane drops the frame - camera prefers raw over MJPEG at equal size and reopens when camera quality changes - frame counters seed from wall clock so a reopened share keeps counting forward - YUMUSH_NO_DMABUF disables the GPU path
⚡ perf: server NACK retransmit, RPS loss recovery (edith c4111899), adaptive playout, delay-based quality adapt, static frame skip, voice 32k + loss-driven FEC, no voice echo, single-copy frames to GPUAhmet Kaan Gümüş · a2e75c8
⚡ perf: server NACK retransmit, RPS loss recovery (edith c4111899), adaptive playout, delay-based quality adapt, static frame skip, voice 32k + loss-driven FEC, no voice echo, single-copy frames to GPU Harness 1440p60 AV1 Vk, base vs new: - share viewer latency 109 -> 34 ms - share viewer cpu 30 -> 14 % - share fps at 2% drop 55.9 -> 57.9, nacks recover loss - voice up/down 35.6/41.6 -> 24.2/26.5 kbps, loopback 302 -> 188 kbps Harness: metrics behind YUMUSH_METRICS, talker linked straight into harness-mic.
⚡ perf: share encoders use VBR capped at the bitrate ceiling (edith_codecs 299aff6), static and scrolling screens drop from ~30 Mbps to under 1 Mbps, H265 and H264 bpp loweredAhmet Kaan Gümüş · 040e8d4Browse files
2026-11-25
♻️ refactor: one transport, one framing and a split error modelAhmet Kaan Gümüş · e2d1bd5
♻️ refactor: one transport, one framing and a split error model
Split the client network module into net/{link,events,datagram,voice,share}.
Both sides share one QUIC transport config, an ALPN protocol version and
typed close codes; the client resolves hosts per family with backoff.
Every stream uses one length prefixed bitcode frame with a reset on drop
send guard, and uploads, downloads and backups go through Open{Call,
Upload, Fetch}. Wire errors are separate from server internal and client
link errors, and the GUI matches enums instead of strings.♻️ refactor: simplify the whole workspace and fix the bugs found on the wayAhmet Kaan Gümüş · d58bc19
♻️ refactor: simplify the whole workspace and fix the bugs found on the way Collapse duplicated helpers across client, server and common: one gui widget module, one capture worker type, shared db query helpers, one name validator. Gate the capture modules behind a stub so macOS compiles again, close the portal screencast session on stop, stop camera read spins, stop double WatchShare requests, fix frame pacing jitter drops, mention prefix matching, validation holes and a set of server cleanup and auth gaps.
✨ feat: back off share bitrate when the sharer uplink congestsAhmet Kaan Gümüş · 73ca796Browse files
⚡ perf: convert and scale pixels with simd in an always optimized crateAhmet Kaan Gümüş · d671fb1Browse files
⚡ perf: scale and convert share frames on the gpuAhmet Kaan Gümüş · d9eb963
⚡ perf: scale and convert share frames on the gpu Hardware layers hand BGRA straight to ec-hw, which scales and converts to NV12 in one Vulkan compute pass. Only the software H.264 fallback still converts on the CPU.
✨ feat: encode shares through vulkan or va-api with ec-hwAhmet Kaan Gümüş · fd75e8c
✨ feat: encode shares through vulkan or va-api with ec-hw ec-hw now builds on every OS and picks Vulkan first, then VA-API on Linux, with software H.264 as the last fallback. Hardware decode goes through the cross-platform HwDecoder. Adds YUMUSH_CONFIG_DIR so test clients on Windows can keep separate accounts, and a Windows VM helper for the harness.
✨ feat: add software av1 decode and video loss injection for testsAhmet Kaan Gümüş · 8c90a0d
✨ feat: add software av1 decode and video loss injection for tests Viewers without hardware AV1 now decode it in software, and the round trip test checks software against hardware decode. YUMUSH_TEST_LOSS drops a share of incoming video datagrams to exercise auto quality. Software H264 encodes on four threads, and viewers dropped after a source change are told the share stopped.
🐛 fix: apply share settings live and fix share stats and settingsAhmet Kaan Gümüş · 6cc4c4c
🐛 fix: apply share settings live and fix share stats and settings Changing resolution, fps, codec or audio while sharing now updates the running share in place: the server keeps the viewers and re-picks their layers, and the client keeps its capture. Before, a change did nothing until the share was restarted. Also fixed: - the watching tab names the sharer; - keyframes are counted; - stats tiles fill the card; - the voice label stays on one line; - share settings only offer sizes the source supports; - the empty exclude heading is hidden; - software H.264 forces keyframes instead of rebuilding the encoder. The harness now runs on a private PipeWire with null devices, gets a second compositor for a third client, and has an audio round-trip check. edith_codecs now carries the cros-libva fix itself.
✨ feat: add screen sharing with simulcast, hardware codecs and share audioAhmet Kaan Gümüş · e06b4ef
✨ feat: add screen sharing with simulcast, hardware codecs and share audio Screen sharing over QUIC datagrams. Frames are fragmented with a layer tag (resolution, fps, codec) and the server forwards one layer per viewer, switching only on keyframes and telling the sharer which layers to encode. The client captures through the ScreenCast portal and PipeWire, encodes each layer on its own thread with VA-API (H264, HEVC, AV1) and falls back to software H264. Viewers decode in hardware where possible, sync audio and video on the sharer clock and adapt quality from loss. Share audio captures everything except communication streams or one picked source. Adds codec choice, share settings, a viewer pane, live badges and share metrics, and moves playback to interleaved stereo.