Commit Graph

86 Commits

Author SHA1 Message Date
dec05eba
84f9a04272 Small changes who cares 2023-12-23 12:40:16 +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
72d75d0f4a Workaround mesa (amd and intel driver issue): use hevc when mkv is used since mesa doesn't support global headers for h264 2023-11-30 18:27:39 +01:00
dec05eba
21a8180f82 test 2023-11-27 16:42:11 +01:00
dec05eba
5a8900e3c1 Remove old todo 2023-11-18 14:32:57 +01:00
dec05eba
a629c0bfb3 Make amd/intel nvidia/wayland capture display match x11 connector name, allow screen capture on amd/intel nvidia/wayland (select the first output for now) 2023-11-17 10:09:51 +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
f4f78b0684 Add experimental av1 support (only tested on amd) 2023-11-11 13:36:45 +01:00
dec05eba
62e7a04b10 Revert "Try re-enabling use of modified in linux dma buf ext egl create image"
This reverts commit 97a345f08f.
2023-10-31 21:11:23 +01:00
dec05eba
f12541d3f0 Revert temp modifier test 2023-10-31 20:59:40 +01:00
dec05eba
97a345f08f Try re-enabling use of modified in linux dma buf ext egl create image 2023-10-31 17:40:32 +01:00
dec05eba
44d50065b9 Update TODO 2023-10-21 23:10:06 +02:00
dec05eba
bae4504370 Install systemd service in install script, skip empty audio device
Stop systemd service with SIGINT
2023-10-15 18:12:33 +02:00
dec05eba
7d358580a2 wip 2023-09-07 19:19:00 +02:00
dec05eba
3acc7e5972 README password prompt 2023-08-18 23:14:59 +02:00
dec05eba
59bf8e3025 Change nvenc preset to p5 to workaround new nvidia driver bug 2023-08-15 23:27:13 +02:00
dec05eba
a0e8e9ba59 Test fix recent regression in ffmpeg that increases cpu usage 2023-08-09 18:18:46 +02:00
dec05eba
140199bf7b Update TODO with camera 2023-08-09 09:14:58 +02:00
dec05eba
3a85b457c8 Remove TODO items, improve readme replay service section 2023-07-28 23:06:26 +02:00
dec05eba
4ad0118f35 High priority egl context if possible, use eglBindAPI(EGL_OPENGL_ES_API) 2023-07-26 02:31:12 +02:00
dec05eba
bee99a69e3 Dont use jpeg color range (fixes too dark image on amd/intel in flatpak) 2023-07-25 04:46:45 +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
4de23c2556 Temp disable cursor fix 2023-07-22 05:13:23 +02:00
dec05eba
22a0a01553 AMD/Intel capture cursor 2023-07-22 02:57:38 +02:00
dec05eba
5a9673b1d7 TODO 2023-07-21 17:06:55 +02:00
dec05eba
8cd0ae0162 vfr on wayland (even on nvidia), add uninstall script 2023-07-21 16:17:22 +02:00
dec05eba
de019711d1 Support wlroots screen capture, which doesn't require kms root access and also captures cursor 2023-07-21 02:57:06 +02:00
dec05eba
585382cf18 More kms vaapi allow to work without xwayland 2023-07-18 07:06:12 +02:00
dec05eba
d879ccf0fe todo 2023-07-18 05:07:49 +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
a20068e23c Do not automatically install coolbits 2023-06-20 00:26:28 +02:00
dec05eba
66dbfe69a4 Mention that only h264/hevc is supported at the moment 2023-06-07 19:30:39 +02:00
dec05eba
41176177c6 Update readme about flatpak 2023-05-29 00:43:59 +02:00
dec05eba
cfec0ef728 Readd opus todo 2023-05-17 19:11:25 +02:00
dec05eba
6cff1a49d2 Fix all warnings 2023-05-17 18:49:16 +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
25af1c81d0 manjaro ***** 2023-04-27 20:42:44 +02:00
dec05eba
ec22eb6da4 Temporary disable opus/flac because it breaks multiple audio, fix possible audio/video desync on nvidia 2023-04-27 13:57:01 +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
03ef7d0964 Show shorter form of help on argument error 2023-04-18 18:41:06 +02:00
dec05eba
c510bc5ae5 Remove extra swapBuffer in kms capture 2023-04-15 20:39:02 +02:00
dec05eba
c9c615d4c7 Apply rotation fix for intel as well (for kms capture) 2023-04-15 19:41:49 +02:00
dec05eba
f6107a0c5d Fix AMD single monitor rotated display being rotated in recording
If there is only one monitor connected and it's rotated then
the drm buf will also be rotated. This only the case with AMD and
only when using one monitor!

To fix this, we perform color conversion with an opengl shader
which allows us to also rotate the texture.
VAAPI supports rotation but it's not implemented by AMD at least.

Performance seems to be the same as when using VAAPI, even when
GPU usage is 100%.
2023-04-15 19:06:08 +02:00
dec05eba
2fdc73ffab Temporary disable monitor recording on amd/intel 2023-04-11 00:48:59 +02:00
dec05eba
59046178c4 Remove unecessary vaCreatebuffer every frame 2023-04-10 22:46:56 +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
9bdbca864d TODO fixed 2023-04-09 17:47:18 +02:00
dec05eba
e3702f147f Use flatpak-spawn in flatpak 2023-04-08 07:12:45 +02:00