Commit Graph

897 Commits

Author SHA1 Message Date
dec05eba
62bbdd7c30 Revert kde plasma 6.2 hdr workaround code 2025-02-15 16:57:37 +01:00
dec05eba
e869b55878 Revert hdr color fix. It looked better for fullscreen hdr games before 2025-02-13 01:05:37 +01:00
dec05eba
d217aec053 Minor -sc fix for flatpak 2025-02-10 18:07:10 +01:00
dec05eba
d088586296 Make plasmashell check work in flatpak 2025-02-10 17:04:31 +01:00
dec05eba
ddc3871b27 Change hdr colors again 2025-02-09 16:49:39 +01:00
dec05eba
3b3d8e893d Make hdr better for limited range colors 2025-02-09 16:32:03 +01:00
dec05eba
a3b9b89a7f Attempt to fix incorrect hdr colors on kde plasma 6.2 2025-02-09 06:51:22 +01:00
dec05eba
86df5a580e HDR: always set has_primaries and has_luminance, otherwise data will be missing from file 2025-02-08 22:43:33 +01:00
dec05eba
2ee6c9dc92 Fix crash when trying to capture hdr and it fails
Also move replay buffer frames reset to right after saving instead when
the save has finished.
2025-02-08 19:30:43 +01:00
dec05eba
7babffaa01 Improve argument parsing 2025-02-07 23:47:39 +01:00
dec05eba
4ac5da0c1c m 2025-02-06 01:57:20 +01:00
dec05eba
1cb9066dbb Increase replay max allowed duration to 3 hours 2025-02-06 01:56:17 +01:00
Alex Murkoff
31ca53540a fix: proper cleanup for init_filter_graph 2025-01-28 19:45:00 +01:00
dec05eba
26e9029579 Pipewire: support 10-bit formats (where alpha is 2 bits, total 32-bits) 2025-01-27 10:30:31 +01:00
dec05eba
450bc0ac4a Dont normalize audio for mixed audio. This matches app audio|device audio mix, fixes mic audio being decreased 2025-01-25 19:54:33 +01:00
dec05eba
6e545c7ca0 -overlay-replay > -restart-replay-on-save 2025-01-24 10:06:09 +01:00
dec05eba
802067d1df -overlapping-replay > -overlap-replay 2025-01-24 00:29:57 +01:00
dec05eba
b55096544b Add version to --info output 2025-01-23 23:56:19 +01:00
dec05eba
e87ade6ee3 Add -overlapping-replay option to clear replay buffer after a save 2025-01-23 23:52:31 +01:00
dec05eba
bae0fdd949 Mesa check version 24.3.6 2025-01-18 21:59:29 +01:00
dec05eba
59df69bf6a amd: disable vaapi surface copy unless mesa 2.3.4 is used, which fixes a performance issue. Otherwise we get stutter in some games 2025-01-18 21:12:28 +01:00
dec05eba
b68400ca20 Add -gl-debug option to make it easier to debug user issues that cant easily be reproduced 2025-01-16 22:55:20 +01:00
dec05eba
5baa4b82e3 Fix possibility of monitor captured changing on wayland when monitors are reconfigured 2025-01-13 00:42:00 +01:00
dec05eba
3a200a4c9f Workaround teamspeak crashing when recording app audio 2025-01-10 23:59:15 +01:00
dec05eba
43d353b7b4 Unset DRI_PRIME as well when gpu offloading cant be used 2025-01-08 17:17:33 +01:00
dec05eba
621f253f00 Minor change 2025-01-03 17:14:30 +01:00
dec05eba
fbaa73bfc7 Prefix program arguments error with error: 2024-12-31 10:40:07 +01:00
dec05eba
2c51e8630d Exit with exit code 50 if invalid audio device. Exit with exit code 51 if invalid monitor 2024-12-26 15:21:47 +01:00
dec05eba
c1048a3d20 Make '-w screen' capture the first monitor on nvidia x11 as well to make it work like amd, intel and nvidia wayland. Keep screen-direct for all monitors, that is gsync compatible 2024-12-26 13:49:20 +01:00
dec05eba
a006261ade Fix --list-capture-options with card path not working on x11 nvidia because x11 nvidia doesn't use dri 2024-12-09 01:57:10 +01:00
dec05eba
da08e318a6 Remove shit 2024-12-08 23:26:14 +01:00
dec05eba
10dd7f1c64 Yeet the unecessary properties error location code, it fails to build on some versions of spa 2024-12-08 23:24:36 +01:00
dec05eba
fc45439b31 Attempt to fix build on some distros 2024-12-08 23:01:29 +01:00
dec05eba
a25cbc1ef6 Fix window creation on wayland 2024-12-08 03:14:00 +01:00
dec05eba
d138a1fe73 Add card path to --info, add card path and vendor to --list-capture-options if known to speed up the command 2024-12-08 02:52:58 +01:00
dec05eba
c259a19b9d Refactor windowing from egl to window_x11/window_wayland, yolo 2024-12-08 02:17:41 +01:00
dec05eba
655fd3756b Comment out unused egl priority for now because amd error is misleading 2024-12-07 22:39:03 +01:00
dec05eba
175ed79b06 Fix virtual sink not destroyed if gsr is forcefully killed (use pipewire to create the virtual sink instead of pulseaudio) 2024-12-06 12:53:44 +01:00
dec05eba
1b40947884 Add error output when reaching max ports/stream nodes/links 2024-12-05 19:14:00 +01:00
dec05eba
00b132c7b4 Remove incorrect references to -aa and -aai 2024-12-05 17:48:21 +01:00
dec05eba
51265d3536 --help improvement 2024-11-29 18:36:11 +01:00
dec05eba
0ae3c1f827 Repurpose '/' in audio argument to set the audio track name, not the recording node name in pulseaudio/pipewire. This also now allows setting audio track name when recording application audio 2024-11-28 11:42:39 +01:00
dec05eba
c2cd9c3473 Print --help to stdout instead of stderr 2024-11-28 10:42:23 +01:00
dec05eba
d472d8d41e Dont allow running the program as the root user 2024-11-24 22:52:12 +01:00
dec05eba
41b3136797 Only report monitors when /dev/dri/cardN is available (its not available on linux mint for some reason with prime setup) 2024-11-22 18:13:01 +01:00
dec05eba
8e94d6a696 Dont run any pipewire if audio server is not pipewire (fix freeze on linux mint 21.3 pulseaudio system in flatpak) 2024-11-22 17:36:23 +01:00
dec05eba
dcc1bf1e2a Remove GSR_APP_AUDIO macro use when not needed 2024-11-22 00:14:33 +01:00
dec05eba
02673c4644 Fix portal capture on broken amd drivers: fallback to opengl copy instead of vaapi on known buggy mesa version 2024-11-21 00:25:56 +01:00
dec05eba
68c9781f44 print 2024-11-21 00:01:18 +01:00
dec05eba
2879d64d40 Revert "va sync buffer/surface"
This reverts commit a033d7c98a.
2024-11-21 00:01:01 +01:00