dec05eba
3ac17b99a0
App audio capture: remove gsr-app-sink
...
Connect application/device audio directly to gsr recording node.
This fixes an issue for some users where gsr-app-sink got selected by
default as an output device.
Dont wait until audio node first receives audio before recording audio
from the device. This might fix audio/video desync issue when recording
from microphone for example.
2025-12-07 18:10:18 +01:00
dec05eba
2064d109ee
Pipewire audio: set media role to production (hoping for lower latency)
2025-12-07 13:44:11 +01:00
dec05eba
cedf3ae7d7
Use the audio argument as the name of the audio track
2025-12-05 00:18:26 +01:00
dec05eba
c1614e4f30
nvfbc: mitigate x11 display leak on monitor off
...
When the monitor is turned off gsr will attempt to recreate the nvfbc
session once a second. If that fails (because the monitor is still
turned off) then nvfbc will leak an x11 display. This seems to be a bug
in the nvidia driver.
Mitigate this by only attempting to recreate the nvfbc session if the
capture target monitor can be found (predicting if nvfbc recreate will
fail).
Thanks to Lim Ding Wen for finding the issue and suggesting the
mitigation.
2025-12-04 20:06:47 +01:00
dec05eba
f00dec683e
Mention flickering cursor
2025-12-01 02:17:46 +01:00
dec05eba
059e3dbbc0
pipewire video: check if has modifier
2025-11-24 21:26:02 +01:00
dec05eba
990dfc7589
pipewire video: re-negotiate modifiers multiple times until we get a good one
2025-11-24 21:15:35 +01:00
dec05eba
2d551e7b1f
Proper fallback for vulkan video
2025-11-23 14:40:54 +01:00
dec05eba
72c548c19e
Fix -fallback-cpu-encoding not working properly
2025-11-23 01:36:00 +01:00
dec05eba
eba5f3f43d
Allow hevc/av1 flv for recent ffmpeg
2025-11-19 20:26:37 +01:00
dec05eba
02c7a0bcce
Fix region capture not always working on wayland if monitor is rotated (incorrect region detected)
2025-11-19 02:29:56 +01:00
dec05eba
ab5988a2bb
Dont scale image frame to padding in video
2025-11-18 02:52:11 +01:00
dec05eba
95c6fc84ea
x11: fix monitor region incorrect when capturing a rotated monitor connected to an external gpu
2025-11-18 01:06:37 +01:00
dec05eba
92f4bd5f95
kms: fix incorrect capture region on intel when playing a fullscreen game with a lower resolution (on some wayland compositors)
2025-11-17 23:54:09 +01:00
dec05eba
cc43ca0336
Scale video/image to output size instead of adding black bars or no scaling
2025-11-17 23:19:26 +01:00
dec05eba
a3e1b2a896
comment
2025-11-16 20:47:07 +01:00
dec05eba
80f0e483a4
screenshot: improve jpeg very high quality to 91 (enables yuv444 instead of yuv420)
2025-11-16 18:58:57 +01:00
dec05eba
739fd9cd72
Replay: attempt to fix audio desync when using multiple audio tracks
2025-11-16 17:42:30 +01:00
dec05eba
d34a1036ef
color_conversion: remove unused alpha_blending parameter
2025-11-14 03:43:25 +01:00
dec05eba
bf6011ffcf
Kms: fix region capture incorrect when monitor is rotated
2025-11-14 03:43:04 +01:00
dec05eba
20e101bfe9
Identify DVI monitor
2025-11-14 02:12:52 +01:00
dec05eba
9e59f5f5cd
Disable overclocking if set and gpu supports CUDA_DISABLE_PERF_BOOST
2025-11-08 13:35:30 +01:00
dec05eba
96c62f2db2
Set CUDA_DISABLE_PERF_BOOST to workaround p2 power level issue. Required nvidia driver >= 580.105.08
2025-11-05 00:57:58 +01:00
dec05eba
a545fe45c3
Allow negative position for region
2025-11-02 18:20:18 +01:00
dec05eba
e623145de8
Force QP mode when capturing with software encoder and attempting to use vbr
2025-10-27 19:02:00 +01:00
dec05eba
7d4a4068ff
Add -fallback-cpu-encoding option to use cpu encoding (x264) if gpu encoding is not available on the system
2025-10-24 11:51:10 +02:00
dec05eba
57ac400eab
Show better error on vaapi init failure
2025-10-22 10:21:11 +02:00
dec05eba
8c42c47627
Disable vaapi debug output
2025-10-05 13:26:09 +02:00
dec05eba
f9f0074f29
Update for ffmpeg 8: remove hevc vaapi padding (black bars), fix garbage output (workaround ffmpeg 8 issue)
2025-10-05 12:57:58 +02:00
Theodoros Orfanidis
c60783fdcb
Fix texture size when recording via portal
2025-10-01 17:47:54 +02:00
dec05eba
3c5514480c
Remove use of libavcodec/defs.h (fix compile on old ffmpeg)
2025-09-29 10:07:08 +02:00
dec05eba
c11dd77c44
App audio capture: fix audio sources getting paused when closing gsr
2025-09-25 18:45:43 +02:00
dec05eba
7b64f10eaf
x11: fix incorrect screen ratio in recording when recording the first monitor
2025-09-23 19:38:44 +02:00
dec05eba
8cf1a98c33
Codec resolution check: treat 0, 0 as no limit
...
Some devices such as Intel Xeon E3-1200 don't report max video
resolution. In such cases assume there is no limit and instead let
ffmepg (vaapi) fail when recording, if the resolution isn't supported.
2025-09-23 17:33:44 +02:00
dec05eba
1ded0a79fd
Remove compute shader. It doesn't improve performance and it has worse UV quality because of incorrect pixel colors
2025-09-21 03:21:30 +02:00
dec05eba
2c22782ca0
Dont use glGetTexLevelParameteriv, it's only available in opengl es 3.1
2025-09-21 03:19:56 +02:00
dec05eba
a4c227c43e
Dont initialize damage tracker if not enabled
2025-09-21 00:35:25 +02:00
dec05eba
d23a9576ff
Application audio capture: fix unable to capture virtual sources (EasyEffects microphone)
2025-09-17 20:55:07 +02:00
dec05eba
ade714d417
Output error if compiled without app audio support and attempting to use app audio
2025-09-10 21:27:09 +02:00
dec05eba
9386dd4c96
Revert "Use pipewire audio routing to merge audio when possible (this fixes out of sync audio when using multiple audio inputs for some users)"
...
This reverts commit 59d16899ab .
2025-09-10 21:24:34 +02:00
dec05eba
d4ee27716a
Cleanup debug output
2025-09-06 01:26:12 +02:00
dec05eba
fcb45b82f2
Re-add portal damage tracking (-fm content)
2025-09-06 01:24:54 +02:00
dec05eba
59d16899ab
Use pipewire audio routing to merge audio when possible (this fixes out of sync audio when using multiple audio inputs for some users)
2025-09-06 00:18:12 +02:00
LinuxUserGD
f3fb8c4a93
main: check if glibc is defined
...
musl libc doesn't implement M_MMAP_THRESHOLD
2025-09-03 18:19:15 +02:00
dec05eba
5a93d292ea
Call -sc script on screenshot as well, only save screenshot if no error
2025-08-24 21:07:58 +02:00
dec05eba
88ab64127e
EGL context version 3
2025-08-14 18:17:53 +02:00
dec05eba
b500704008
Add plugin support (-p option)
2025-08-14 14:57:51 +02:00
dec05eba
9a8fd312e0
Add error checks for video capture resolution since some users are retarded
2025-08-07 19:46:49 +02:00
dec05eba
a4b1ff28d5
Desktop portal capture: support rotated monitor capture on sway
2025-07-29 23:30:45 +02:00
dec05eba
b7c8334679
kms capture: fix incorrect rotation on wayland (kde plasma) when monitor is rotated when a window is fullscreen
...
Add support for drm plane rotation.
2025-07-29 21:57:26 +02:00