Commit Graph

10 Commits

Author SHA1 Message Date
dec05eba
d0c221a233 Refactor kms_vaapi and kms_cuda
Also fixes color metadata, color range and hdr on nvidia wayland.
2024-03-08 11:34:36 +01:00
dec05eba
017fd0a37d Add support for hdr capture on amd/intel
Nvidia support will be added in the future.
Note that hdr metadata is missing from the output file as
amd and intel both have bugged drivers that dont add hdr metadata
to the output file.
Need to find a workaround for this (patching the video bitstream?).

Add -cr limited|full, to set color range
2024-02-06 02:43:47 +01:00
dec05eba
c340cb0517 Revert "Reverse kms server connect direction to fix umask issue"
This reverts commit e844421f6d.
2023-12-31 16:57:14 +01:00
dec05eba
e844421f6d Reverse kms server connect direction to fix umask issue 2023-12-31 16:41:55 +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
9ca5b8ec3a Fix cursor offset in kms grab (amd/intel), disable wlroots capture until its fixed 2023-07-22 20:12:41 +02:00
dec05eba
22a0a01553 AMD/Intel capture cursor 2023-07-22 02:57:38 +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
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
cb82677ae8 Move kms client and server to separate directories 2023-04-09 15:54:29 +02:00