Commit Graph

791 Commits

Author SHA1 Message Date
bbf3cf0031 fix(linux/kms): count CRTCs not planes when assigning monitor index
Some checks failed
Top issues / Top issues (push) Has been cancelled
kms_display_names() and display_t::init() each independently counted
every active, non-cursor plane as one "monitor" when building/matching
the display index. A CRTC with more than one simultaneously-active
plane (e.g. gamescope's base + overlay layers) was counted twice by
both passes, throwing their indices out of sync with each other and
producing duplicate/misnumbered display names.

Track counted CRTCs per card in both passes so a CRTC contributes to
the index exactly once, regardless of how many active planes it has.
2026-08-19 00:11:34 -06:00
Dave Lane
7df8c62ea7 feat(logging): rotating log files (#5485) 2026-08-07 21:12:25 -04:00
Dave Lane
0784774fec test(tray): add system tray tests (#4221) 2026-07-29 20:30:43 -04:00
dependabot[bot]
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](06cd442b80...011ad2bb13)

---
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
Dave Lane
c8325cbdd1 fix(amf): wire h264_amf coder and profile mapping (#5442)
Co-authored-by: k4idyn <252943111+k4idyn@users.noreply.github.com>
2026-07-24 14:27:39 -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
盼兮
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
Cameron Gutman
c42d20eb1a perf(deps): switch to upstream nanors runtime dispatching (#5369) 2026-07-03 22:31:23 -04:00
martona
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
Kishi
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 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
Aliaksei Dziadziuk
bba6c6cac0 feat(linux): pace capture at exact fractional NTSC framerates (#5282) 2026-06-30 09:40:08 -04:00
Kishi
86a253859e fix(video): avoid nullptr deref segfault on encode session teardown (#5257) 2026-06-28 16:11:35 -04:00
Conn O'Griofa
7ecd028664 fix(video): avoid UAF crashes during video reinit (reproducible on Vulkan) (#5346) 2026-06-28 10:45:45 -04:00
Kishi
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
Andreas Opferkuch
a84735d1ec fix(web-ui): don't open ui automatically on app start (#5329) 2026-06-25 11:45:40 -04:00
Anish Pallati
0731729347 fix(input): don't send ALT when right-alt is remapped to meta (#5318)
Signed-off-by: Anish Pallati <i@anish.land>
2026-06-24 18:01:58 -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
Dave Lane
2c59b2e641 fix(crypto): OpenSSL 4.x compatibility (#5330) 2026-06-24 11:49:16 -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
Kishi
4ad69aaa20 fix(tray): fix compiling without system tray enabled (#5284) 2026-06-12 13:05:50 -04:00
David Lane
6fcb048795 chore(deps): bump libdisplaydevice (#5280) 2026-06-10 23:10:53 -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
Jason Lu
3ee4144a81 fix(macos): drop max_ref_frames=1 for h264_videotoolbox and enable PARALLEL_ENCODING (#5200) 2026-05-27 11:31:58 -04:00
Bo He
3c7952b2dd fix(linux/vulkan): preserve host aspect ratio in encoder output (#5130) 2026-05-26 22:55:39 -04:00
Kishi
b91ace723d fix: explicitly check construct function error in thread_safe.h (#5184) 2026-05-25 10:53:29 -04:00
David Lane
dbce229174 fix(linux): migrate to qt tray (#4907)
Co-authored-by: Kishi <41839133+Kishi85@users.noreply.github.com>
2026-05-24 22:21:24 -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
2db7176f73 fix(Windows-installer): move ViGEmBus to ThirdParty group (#5157) 2026-05-19 21:01:45 -04:00
neatnoise
3a196379c7 fix(web): disconnect only the disabled client instead of all sessions (#5138) 2026-05-18 18:53:57 -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
David Lane
0523cebdfe feat(web-ui): add logout (#5121) 2026-05-14 23:23:02 -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