2048 Commits

Author SHA1 Message Date
Cameron Gutman
9a3553db04 Refactor to use pixel format helpers in VAAPI 2024-01-27 21:32:29 -06:00
Cameron Gutman
3b11bc86b0 Rewrite software scaling to use new multi-threaded swscale API 2024-01-27 21:32:29 -06:00
Cameron Gutman
a15bd65391 Adjust default CPU thread count to 2
It's a tiny reduction of encoding quality for a major increase in performance
2024-01-27 21:32:29 -06:00
Cameron Gutman
9dfe97d405 Send the frame number in the encrypted video header 2024-01-25 23:43:30 -06:00
Cameron Gutman
65851407b1 Avoid unnecessary reallocation of the IV for every packet 2024-01-25 23:43:30 -06:00
Kelvie Wong
3f31400e7f Revert "Remove useless texture size queries for every frame in display_ram_t"
This reverts commit ebe01ce20b06c6f10392f945c1c7083ed3aa733f.

Looks like this commit undos the fix for #453, see also PRs #649 and #884.

This also adds a comment so hopefully it doesn't get removed again in
the future (or a proper fix is found).
2024-01-25 21:09:43 -06:00
ReenigneArcher
75b6e1f1d8
docs(setup): correct instruction for portfile install (#2058) 2024-01-25 20:21:05 -05:00
PVermeer
0d4dfcd708
Find the correct install paths for systemd units and udev rules (#2046) 2024-01-21 16:53:30 -05:00
ns6089
52511f3ccb Update docs for new nvenc options 2024-01-20 18:28:09 -06:00
ns6089
fe886632dc Add new nvenc options to legacy ffmpeg path 2024-01-20 18:28:09 -06:00
ns6089
6ded2a9577 Update config page for new nvenc/nvprefs options 2024-01-20 18:28:09 -06:00
ns6089
ede59e17d8 Expose more nvenc options
1. Spatial AQ, for some reason NVENC have problems recovering details on
   flat regions of static images over multiple frames, official docs
   recommend to enable it for "game-streaming"
2. Percentage increase of default single-frame VBV/HRD, can act as
   low latency variable bitrate substitute
2024-01-20 18:28:09 -06:00
ns6089
66150872b0 Add nvprefs user override options 2024-01-20 18:28:09 -06:00
ns6089
270716b862 Use safe string composition in tray tooltip 2024-01-20 18:28:09 -06:00
Lukas Senionis
bf1b9a20ec
Add a dedicated library for working with JSON (#2047) 2024-01-20 17:05:35 -05:00
dependabot[bot]
bed58cf8b9
build(deps): bump vite from 4.4.9 to 4.5.2 (#2048)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-20 11:07:42 -05:00
Cameron Gutman
a10ec3a98a Drop unencrypted messages on the encrypted control stream 2024-01-19 18:57:58 -06:00
Cameron Gutman
c88fa655f5 Implement video encryption 2024-01-19 18:57:58 -06:00
Cameron Gutman
23fb07d4a2 Implement control stream v2 encryption 2024-01-19 18:57:58 -06:00
Cameron Gutman
2f80145b8e Change crypto::aes_t to variable size and cleanup some crypto code 2024-01-19 18:57:58 -06:00
Cameron Gutman
6b5a712506 Normalize IPv4-mapped IPv4 addresses before checking PC/LAN/WAN type 2024-01-19 18:57:58 -06:00
Cameron Gutman
3d6e7f447a Refactor audio encryption to use new encryption flags 2024-01-19 18:57:58 -06:00
Cameron Gutman
77b0bab374 Pass launch_session_t directly into session::alloc() 2024-01-19 18:57:58 -06:00
ReenigneArcher
6cdb7f7d03
docs(docker): add podman notes (#2035) 2024-01-18 21:53:33 -05:00
Rafael
2e995355dc
fix(linux)!: use XDG spec for fetching Linux configuration directory (#2034) 2024-01-18 21:24:55 -05:00
Cameron Gutman
21e4450ee1 Fix stream disconnecting when reconfiguring display in X11 2024-01-18 19:14:45 -06:00
Cameron Gutman
404b434754 Fix starvation of encoder thread when not receiving new captured frames
This often happens when switching to the UAC secure desktop.
2024-01-18 19:14:45 -06:00
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](6e9ed871bc...298f356acb)

---
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](8bb9978991...2bf1c61030)

---
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