dec05eba
852882bae3
Fix opus and flac audio sources, fix crash when live streaming without an audio source
2023-12-03 00:59:07 +01:00
dec05eba
8e66363352
flatpak: run gsr kms server on host if the file has root capacity
2023-11-30 18:44:45 +01:00
dec05eba
31e54bdc85
Allow both hevc and h265 (as alias)
2023-11-30 17:47:37 +01:00
dec05eba
f9e067b828
has perm should have higher priority than flatpak check
2023-11-29 21:40:24 +01:00
dec05eba
31e8ba837a
Check getcap in flatpak too
2023-11-29 20:57:30 +01:00
dec05eba
11ba5d6027
Restore flatpak spawn gsr server command
2023-11-29 19:56:02 +01:00
dec05eba
7d718336bd
Use correct arguments for flatpak spawn
2023-11-29 10:36:34 +01:00
dec05eba
29376f0b93
Run gpu screen recorder gtk as a proxy for gsr kms server when using flatpak
2023-11-29 01:08:08 +01:00
dec05eba
ba111dc73a
sigkill kms server
2023-11-18 14:29:45 +01:00
dec05eba
64095e733a
close socketpair before sigint
2023-11-18 14:20:48 +01:00
dec05eba
9e6f6f67d0
Kill kms server instead of sigint, fixes being stuck with pkexec
2023-11-18 14:15:54 +01:00
dec05eba
2cbcde19f6
Properly send socketpair fd to kms server
2023-11-18 13:55:27 +01:00
dec05eba
290db495ff
kms client/server: replace unix domain socket file with socketpair after connecting (fixes issue of .gsr-kms-socket files remaining in $HOME)
2023-11-12 10:55:02 +01:00
dec05eba
2a890a4b4d
Dont include unused drm_fourcc.h, include missing unistd.h for _exit
2023-10-27 11:59:37 +02:00
dec05eba
e0b2f0c9c5
Dont forcefully set drm fourcc to argb8888, fixes kde wayland where default is 10bit colors
2023-10-22 19:45:01 +02:00
dec05eba
51154b71be
Fix vram leak for reals
2023-10-22 04:56:34 +02:00
dec05eba
9710f8a2d4
Attempt to fix amd/intel driver bug vram leak, force cfr when livestreaming, replace std::filesystem with posix
...
create replay directory automatically, recursively
2023-10-21 22:46:33 +02:00
dec05eba
cf7b5e0904
Attempt to fix vram leak(?)
2023-10-08 22:25:07 +02:00
dec05eba
f89d23c2d0
Remove unused cursor code
2023-09-29 20:56:59 +02:00
dec05eba
3131e041c1
Dont hardcore gsr-kms-server path
2023-08-13 01:07:37 +02:00
dec05eba
41883be889
Proper waitpid NOHANG handling
2023-07-23 03:08:17 +02:00
dec05eba
d45597e104
Exit with exit code 10 if pkexec fails
2023-07-22 23:22:51 +02:00
dec05eba
9ca5b8ec3a
Fix cursor offset in kms grab (amd/intel), disable wlroots capture until its fixed
2023-07-22 20:12:41 +02:00
dec05eba
60de2c47be
Use correct offset for combined plane monitor capture
2023-07-22 04:12:02 +02:00
dec05eba
22a0a01553
AMD/Intel capture cursor
2023-07-22 02:57:38 +02:00
dec05eba
b2644a9881
Fix wayland capture on amd/intel
2023-07-18 03:21:16 +02:00
dec05eba
0a2806972f
Experimental wayland support, test 1
2023-07-18 02:14:27 +02:00
dec05eba
7f2099b3ca
Update readme
2023-06-18 20:48:36 +02:00
dec05eba
41b77cc84e
Disable error on warning because of possible ffmpeg deprecated warning
2023-05-17 19:30:30 +02:00
dec05eba
6cff1a49d2
Fix all warnings
2023-05-17 18:49:16 +02:00
dec05eba
715a3c612a
Remove unecessary include
2023-05-14 01:29:47 +02:00
dec05eba
26571094aa
kms_vaapi: fix regression, screen rotation not working when capturing screen
2023-05-12 05:03:12 +02:00
dec05eba
99dbbd07ab
kms_vaapi: support multiple drm planes (fixes capture on some multi monitor systems)
2023-05-12 03:49:29 +02:00
dec05eba
e1c613666e
kms_vaapi: add cursor capture for amd/intel monitor capture
...
Always find largest drm buf, to fix some cases
when there are multiple planes and we accidentally
capture a drm buf that isn't the target buf.
We always want the full SCREEN drm buf.
2023-04-22 02:13:11 +02:00
dec05eba
df2509c0aa
Kms server timeout, move back kms unix domain socket to HOME because flatpak cant access it otherwise
2023-04-17 23:53:18 +02:00
dec05eba
d953d0bb36
Use XDG_RUNTIME_DIR (and flatpak specific dir) and /dev/dri/renderD128 instead of /dev/dri/card0 (fixes capture on some systems)
2023-04-16 22:05:09 +02:00
dec05eba
ce5e0169c4
kms: fix crash on intel when using hevc, remove debug print, remove jpeg color range (incorrect colors on intel h264)
2023-04-10 02:38:47 +02:00
dec05eba
dddd426904
kms: get plane every frame, might fix not updating issue and issue where plane gets invalid
2023-04-10 02:25:43 +02:00
dec05eba
efea5741ca
Put gsr kms socket in HOME (with random characters) to make sure it works in flatpak as well
2023-04-09 16:39:19 +02:00
dec05eba
7dcf3a68cc
Use /usr/bin/gsr-kms-server constant path for pkexec
2023-04-09 16:06:39 +02:00
dec05eba
cb82677ae8
Move kms client and server to separate directories
2023-04-09 15:54:29 +02:00