Commit Graph

2471 Commits

Author SHA1 Message Date
Cameron Gutman f64712f277 Always reset the thread desktop before calling DuplicateOutput()
Otherwise capture will fail if the thread desktop is different than the current input desktop (ex: UAC secure desktop is active)
2024-01-18 19:14:45 -06:00
Cameron Gutman 8a86678d62 Reenumerate displays when the display is reinitialized or switched 2024-01-18 19:14:45 -06:00
Cameron Gutman b94f8c0b50 Improve Name->DRM_MODE_CONNECTOR mapping with new types and names 2024-01-16 19:49:34 -06:00
Cameron Gutman df2d728af7 Fix plane_it_t skipping the last entry when iterating 2024-01-16 19:49:34 -06:00
dependabot[bot] 35b785ebb8 build(deps): bump third-party/moonlight-common-c
Bumps [third-party/moonlight-common-c](https://github.com/moonlight-stream/moonlight-common-c) from `6e9ed87` to `298f356`.
- [Commits](https://github.com/moonlight-stream/moonlight-common-c/compare/6e9ed871bc3e013386c775b2ee7d31deb1151068...298f356acbb57f56863680d41c0d307a2fd5cb91)

---
updated-dependencies:
- dependency-name: third-party/moonlight-common-c
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-15 09:39:17 -06:00
ReenigneArcher 701b7081b1 build(linux deps): fix miniupnp dependency (#2022) 2024-01-14 15:48:46 -05:00
Cameron Gutman d0049da2df Implement pen and touch support for Linux 2024-01-14 11:45:12 -06:00
Cameron Gutman c1a3903d20 Fix absolute mouse motion being interpreted as touchscreen input 2024-01-14 11:45:12 -06:00
ReenigneArcher bc3ab8a000 fix(ui): allow hash handler to accept tab ids (#2019) 2024-01-14 09:26:58 -05:00
ReenigneArcher ec1ae4a3fe docs(advanced-usage): cross reference config UI (#2000) 2024-01-14 08:16:02 -05:00
ReenigneArcher 1ccda51df9 feat(ui): add hash handler for configuration ids (#2002) 2024-01-13 23:46:15 -05:00
ReenigneArcher 937d0d810c fix: add additional pin validation (#2007) 2024-01-13 22:03:49 -05:00
Cameron Gutman 545af98459 Add a fallback to retry codec init with more lenient config options
This allows use of low_power=1 for VAAPI to allow more performant
encoding on capable Intel hardware (like we do for QSV).

This also provides a low_power=0 fallback for QSV to allow use
on old/low-end Intel GPUs that don't support low power encoding.

Finally, this also implements a fallback to deal with the AMD
driver regression on pre-RDNA cards that causes H.264 encoding
to fail with AMF_VIDEO_ENCODER_USAGE_ULTRA_LOW_LATENCY.
2024-01-12 19:50:34 -06:00
Cameron Gutman 056281b745 Implement HDR support for Linux KMS capture backend (#1994)
Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
2024-01-11 22:41:58 -06:00
dependabot[bot] 3fb384f868 build(deps): bump third-party/tray from 8bb9978 to 2bf1c61
Bumps [third-party/tray](https://github.com/LizardByte/tray) from `8bb9978` to `2bf1c61`.
- [Commits](https://github.com/LizardByte/tray/compare/8bb9978991a1438fe0665513012628d85f0783ce...2bf1c610300b27f8d8ce87e2f13223fc83efeb42)

---
updated-dependencies:
- dependency-name: third-party/tray
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-11 04:22:39 -08:00
Cameron Gutman 593e170da8 Implement graceful termination and group-based app tracking 2024-01-08 23:55:43 -06:00
ReenigneArcher d05a67166e feat(ui): add href to logs in fatal error container (#1984) 2024-01-07 15:02:25 -05:00
ReenigneArcher de7b81e3b4 fix(ui): reorder and add missing config options (#1993) 2024-01-07 13:32:32 -05:00
dependabot[bot] d873c8b088 build(deps): bump vue from 3.2.25 to 3.4.5 (#1983)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-07 12:31:36 -05:00
ReenigneArcher b5fae464b6 docs: refactor and general cleanup (#1992) 2024-01-07 11:58:13 -05:00
dependabot[bot] 88d46914ca build(deps): bump @vitejs/plugin-vue from 4.3.4 to 4.6.2 (#1965)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-07 11:30:30 -05:00
ReenigneArcher 60c95d6385 fix(web-api): allow trailing slash on endpoints (#1985) 2024-01-06 10:56:35 -05:00
Cameron Gutman f88df0f596 Implement support for KMS cursor plane capture (#1981) 2024-01-05 23:02:39 -06:00
ReenigneArcher 791ed48a3f fix(macos): replace depreciated AbsoluteToNanoseconds (#1986)
Co-authored-by: Cameron Gutman <2695644+cgutman@users.noreply.github.com>
2024-01-05 23:28:50 -05:00
Cameron Gutman 7d751f050e Fix EGL import for modifiers that require aux planes 2024-01-05 21:25:06 -06:00
Cameron Gutman c7e5df5976 Refactor EGLAttrib logic into a shared function 2024-01-05 21:25:06 -06:00
James Le Cuirot bc6cc2078e build(linux) make vaapi optional without dlopen (#1979)
Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
2024-01-05 10:59:41 -05:00
Cameron Gutman 0dff8b16fd Use the new VAAPI dummy image support for kmsgrab too 2024-01-04 22:26:39 -06:00
Cameron Gutman ebe01ce20b Remove useless texture size queries for every frame in display_ram_t 2024-01-04 22:26:39 -06:00
Cameron Gutman 3adf9e5967 Don't busy loop during wlgrab capture 2024-01-04 22:26:39 -06:00
Cameron Gutman e1771de37a Fix race condition causing hangs and EGL import errors due to concurrent snapshot() calls 2024-01-04 22:26:39 -06:00
Cameron Gutman 0403ad147a Fix capturing scaled output with wlgrab 2024-01-04 22:26:39 -06:00
Cameron Gutman 1bd45ca803 Fix low-res scrolling on Linux 2024-01-04 00:51:10 -06:00
Cameron Gutman 556d9586e9 Switch to LizardByte ViGEmClient submodule 2024-01-03 21:55:37 -06:00
Cameron Gutman a01a15a54b Fix termination of child processes when the parent terminates 2024-01-03 16:50:08 -06:00
Cameron Gutman 43992e7e9b Don't fail kmsgrab init entirely if a single card doesn't work 2024-01-03 16:14:18 -06:00
Cameron Gutman 0f640b8dd9 Fix clear color when rendering to VA surfaces 2024-01-03 16:14:18 -06:00
Cameron Gutman a9b459cdb1 Use P010 instead of YUV420P10 for 10-bit VAAPI encoding 2024-01-03 16:14:18 -06:00
Cameron Gutman beb51cc925 Correctly passthrough plane format and modifiers when importing VA surface 2024-01-03 16:14:18 -06:00
Mariotaku 52e5662dd9 docs: add reset credential examples for unique pacakges (#1973) 2024-01-03 16:04:21 -05:00
Cameron Gutman e7a3c485ee Only keep the ViGEmBus connection alive while gamepads are attached 2024-01-02 19:32:19 -06:00
ReenigneArcher 9a3106fcef fix(ui): fix missing favicon (#1972) 2024-01-02 17:25:32 -05:00
Cameron Gutman caf5e02d8b Alphabetize defaultConfig 2024-01-01 19:53:57 -06:00
Cameron Gutman 3ca75bee19 Add option to disable native pen/touch support 2024-01-01 19:53:57 -06:00
Cameron Gutman 729922d2c0 Add option to disable high resolution scroll events 2024-01-01 19:53:57 -06:00
Cameron Gutman 6ea836c511 Add options to control gamepad autoselection heuristics
Also move gamepad type selection to the input tab while we're here
2024-01-01 19:53:57 -06:00
Cameron Gutman 97c921629a Move Alt to Windows mapping option to Input tab 2024-01-01 19:53:57 -06:00
ReenigneArcher 852db4877d refactor(process): re-order variables to avoid unused variable when tray is disabled (#1963) 2024-01-01 19:36:00 -05:00
ReenigneArcher c0164caaaa builds(deps): use miniupnpc package instead of submodule (#1971)
Co-authored-by: Cameron Gutman <aicommander@gmail.com>
2024-01-01 18:48:27 -05:00
ReenigneArcher a452402267 ci(macos): install boost from source (#1954) 2024-01-01 14:42:19 -05:00