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