Geoffrey McRae
57e20007db
[host] dxgi: don't try to use devices without d3d support
...
This change should allow LG to work even if a virtual device is still
attached to the VM even though it might be capturing the wrong display.
2022-05-18 15:38:42 +10:00
Geoffrey McRae
2901e7aec5
[client] egl: only upload the damage rects if they actually changed
...
Profiling shows that a considerable amount of time is spent in
glBindBuffer and glBufferSubData when the damage rects are updated.
Since the amount of data here is quite small it's far faster to check if
it's different then to just blindly overwrite the buffer on each call.
Profiled on an Intel CPU with UHD P630 Graphics using magic-trace
2022-05-17 00:51:13 +10:00
Geoffrey McRae
6b9fa2b628
[host] capture: fix compilation with NvFBC C++ sources
...
The prior commit to expose the FrameBuffer internals makes use of an
atomic from `stdatomic.h`. Unfortunatly C++ has no notion of _Atomic and
as such `stdatomic.h` is not compatible. To work around this we instead
just forward declare the type here.
2022-05-16 22:09:11 +10:00
matthewjmc
53c843d9dd
[common] Update framebuffer metadata + references
2022-05-16 20:01:09 +10:00
matthewjmc
78d2b76313
Update AUTHORS
2022-05-16 20:01:09 +10:00
Geoffrey McRae
d7704b13c0
[client] x11: set window posision before entering fullscreen
...
This fixes an issue where the window position would be ignored if the
application was launched in full screen mode from the command line
causing the client to enter full screen on the wrong monitor in
multi-monitor configurations.
2022-05-15 20:41:06 +10:00
Geoffrey McRae
76d2c69b46
[doc] allow monero (XMR) crypto addresses
2022-05-15 17:23:47 +10:00
Geoffrey McRae
febc2ec980
[doc] add XMR to the list of valid words
2022-05-15 17:20:53 +10:00
Geoffrey McRae
81aa24d4d3
[client] overlay/config: general UX changes
...
* Moved the LG license and version onto a seperate tab.
* Added general donation section and link to the website donation page
* Removed donation details under gnif's section
2022-05-15 17:16:07 +10:00
Geoffrey McRae
d8f2125543
[common/doc] add monero (XMR) donation address
2022-05-15 16:47:57 +10:00
Jonathan Rubenstein
aec2c78bd2
[doc] usage: Update Full Command Line Options
2022-05-15 16:42:27 +10:00
Jonathan Rubenstein
5797fbb4e5
[doc] usage: Move Command Line Options to the top
...
Also reformats common parameters, and lists them at the top man page
style
2022-05-15 16:42:27 +10:00
Jonathan Rubenstein
836e7ab998
[doc] build: Change link text leading to client_install
2022-05-15 16:42:27 +10:00
Jonathan Rubenstein
0759a7664b
[doc] build: Change Client Building notes to full cmake commands
...
This may help novices or people who have trouble constructing the commands
themselves
2022-05-15 16:42:27 +10:00
Jonathan Rubenstein
0db17f803b
[doc] build: Adjust flow of Client Building section
2022-05-15 16:42:27 +10:00
Jonathan Rubenstein
4d57671bf1
[doc] usage: Move client install instructions to install.rst
2022-05-15 16:42:27 +10:00
Jonathan Rubenstein
30780ce445
[doc] Create usage.rst from install.rst
...
No edits
2022-05-15 16:42:27 +10:00
Geoffrey McRae
3b55ac5420
[client] x11: check for null data from XGetWindowProperty
...
This fixes a reported segfault when a window manager fails to provide
valid EWMH values.
Fixes #987
2022-05-15 16:38:17 +10:00
Geoffrey McRae
32fbcaffd2
[client] spice: fix spice shutdown race
...
Fixes #960
2022-05-15 16:28:37 +10:00
Geoffrey McRae
0a9a9ed57e
[client] config: enhance input:escapeKey to accept a KEY_* string value
...
This makes it possible to define the escape key by name rather then just
it's integer code, while still allowing fallback to using an integer
value for codes that may not be defined.
Example: `input:escapeKey=KEY_F1`
An invalid string value will also print a list of all valid string
values.
2022-05-15 16:11:33 +10:00
Geoffrey McRae
0a768a5a7f
[client] main: add new option for integer only upscaling
...
The new option `win:intUpscale` will limit upscaling to integer sizes
only if enabled.
2022-05-09 18:23:53 +10:00
Geoffrey McRae
6afd262a27
[client] egl: update AMD FSR to 1.0.2
2022-05-04 15:29:21 +10:00
Geoffrey McRae
87077dfe6e
[host] nvfbc: add downscale support
2022-05-04 13:38:49 +10:00
Geoffrey McRae
7ed18e24e2
[host] linux/pw: add missing include for min
define
2022-05-04 12:28:20 +10:00
Geoffrey McRae
60834a5719
[host] xcb/pipewire/nfbc: use min
and correct inverted logic
2022-05-04 12:23:20 +10:00
Geoffrey McRae
d5e2689d64
[host] nvfbc: fix inverted truncated frame logic
2022-05-04 11:58:04 +10:00
Geoffrey McRae
7b7a06b63f
[client] fix invalid bitwise comparison
2022-05-04 11:02:02 +10:00
Geoffrey McRae
81f91caf0e
[host] pw: fix build due to frame info structure changes
2022-05-04 10:59:44 +10:00
Geoffrey McRae
3d727a2254
[host] xcb: fix build due to frame info structure changes
2022-05-04 10:58:19 +10:00
Geoffrey McRae
e4a4e2331a
[host] nvfbc: fix build due to frame info structure changes
2022-05-04 10:37:52 +10:00
Geoffrey McRae
8682ec207e
[host] dxgi: check for invalid usage of d3d12 & downsampling
2022-05-04 10:23:42 +10:00
Geoffrey McRae
c8a5293645
[host] dxgi: refactor dxgi_copyFrame
2022-05-04 09:27:52 +10:00
Geoffrey McRae
15334c89d6
[host] dxgi: match the last entry in the downsample rule list
2022-05-03 17:58:41 +10:00
Geoffrey McRae
2eec459b47
[host] dxgi: finish downsample support for d3d11 backend
2022-05-03 12:15:24 +10:00
Geoffrey McRae
947325e00d
[host] dxgi: fix failure to copy to texture with sub resources
...
`CopyResource` will silently fail when trying to copy from a texture
with no subresources to one with. Instead we must use `ResolveSubresource`
2022-05-02 15:53:20 +10:00
Geoffrey McRae
eae559b4c9
[client/obs] update to support downscaled frames coming from the host
2022-05-01 19:51:25 +10:00
Geoffrey McRae
3134ec84de
[host] dxgi: add support for downsampling the capture before sending
...
This is an experimental & incomplete feature for those using
supersampling. Anything > 1200p will be downsampled by 50% before
copying out of the GPU to save on memory bandwidth.
Unfinished! Has issues with damage tracking and currently can not
be configured. Only dx11 has been tested at this point, everything
else will likely have problems/crash.
2022-05-01 19:45:44 +10:00
Netboy3
132d0e3c42
[client] audio/pw: pw_stream_get_time() deprecated
...
pw_stream_get_time() is deprecated in PipeWire 0.3.50.
Use pw_stream_get_time_n() instead based on PipeWire
library version.
2022-04-14 01:47:34 +10:00
Babbaj
4bbdd30284
[all] Add Babbaj to AUTHORS
2022-04-09 16:19:11 +10:00
Babbaj
6d06320fb2
[client] audio/pw: fix muting
...
Pipewire documents the mute parameter as a bool, however `pw_stream_set_control` expects a float value and converts it to a bool.
6ad6300ec6/src/pipewire/stream.c (L2063)
2022-04-09 16:19:11 +10:00
Quantum
f3fe774f69
[client] overlay/record: do not invalidate window during shutdown
2022-03-19 18:52:07 +11:00
Quantum
e053c014f7
[client] audio: display record indicator when necessary
2022-03-19 18:52:07 +11:00
Quantum
9c8a8a1b44
[client] config: add new option audio:micShowIndicator
...
This will be used to control the display of the microphone recording
indicator.
2022-03-19 18:52:07 +11:00
Quantum
1685249f3a
[client] overlay: add record indicator
2022-03-19 18:52:07 +11:00
Quantum
97cef000fd
[client] audio: avoid prompting when changing record format
...
If a recording is already in progress, we should not prompt again.
2022-03-19 15:10:39 +11:00
Quantum
8f45290beb
[client] audio: cancel confirm dialog when a new recording starts
2022-03-19 10:04:23 +11:00
Quantum
9afe170413
[client] audio: prompt before allowing audio
...
If the user clicks no, the guest only receives silence.
2022-03-19 10:04:23 +11:00
Quantum
dd6d9c44df
[client] config: add new audio:micAlwaysAllow option
...
This will be used to always grant access to microphones instead of
prompting every time.
2022-03-19 10:04:23 +11:00
Quantum
fb5a71c47e
[client] audiodevs/pipewire: implement proper recording stop/restart
...
Before, pipewire_recordStop did nothing since pw.record.active was
always false.
2022-03-19 10:04:23 +11:00
Quantum
75370e464d
[client] overlay/msg: fix type for app_msgBoxClose
...
It should not be taking a pointer to MsgBoxHandle.
Also changed the type of MsgBoxHandle to prevent similar bugs.
2022-03-19 10:04:23 +11:00