Commit Graph

77 Commits

Author SHA1 Message Date
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
dec05eba
6a92aaba7f Remove ubuntu specific install scripts 2023-04-08 02:00:52 +02:00
dec05eba
cc63bffaf7 Dont initialize vaapi on nvidia (fixes crash on startup) 2023-04-01 23:24:12 +02:00
Steam Deck User
9f0b98dc5e Add install script for amd/intel for ubuntu 2023-04-01 19:23:34 +02:00
Steam Deck User
29237c7116 Cleanup xcomposite_drm 2023-04-01 19:01:20 +02:00
Steam Deck User
2f67083915 Use vaapi to do rgb->yuv420p color conversion
Enable window capture for amd/intel.
Properly check if h264/hevc is supported on amd/intel before using
codec.
2023-04-01 16:29:24 +02:00
dec05eba
55b2813309 todo 2023-03-31 04:06:04 +02:00
dec05eba
82e3720084 Install coolbits if using nvidia, add preserve video memory install script 2023-03-31 01:11:12 +02:00
dec05eba
d92ecea69e Remove yuv444 for now 2023-03-26 19:04:51 +02:00
dec05eba
716cb5b448 Add pixfmt yuv420p/yuv444p option to set lossless color 2023-03-26 19:04:51 +02:00