aboutsummaryrefslogtreecommitdiff
path: root/src/capture/kms_vaapi.c
AgeCommit message (Collapse)Author
2024-02-10Add screen rotation support (tested on amd/intel)dec05eba
screen rotation in wayland is best effort, wayland doesn't give the necessary information to make it robust.
2024-02-09Remove wayland capture (wlroots)dec05eba
2024-02-09Move card path to egl struct, use egl struct for monitor enumerationdec05eba
2024-02-06Add support for hdr capture on amd/inteldec05eba
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-01-28Revert "kms vaapi modifiers test"dec05eba
This reverts commit 0702aad3cf83a97ffcd979d67c5266062d5dfa7f.
2024-01-28kms vaapi modifiers testdec05eba
2024-01-28nvidia wayland: support hardware cursor planedec05eba
2024-01-11Nvidia: use default p4 preset instead of p5, might fix frame issuesdec05eba
2024-01-03Remove unused xeventdec05eba
2023-10-31Revert "Try re-enabling use of modified in linux dma buf ext egl create image"dec05eba
This reverts commit 97a345f08f910df375f5e9579876efd06674b802.
2023-10-31Revert temp modifier testdec05eba
2023-10-31bladec05eba
2023-10-31Modified hack testdec05eba
2023-10-31Try re-enabling use of modified in linux dma buf ext egl create imagedec05eba
2023-10-22Fix vram leak for realsdec05eba
2023-10-08Attempt to fix vram leak(?)dec05eba
2023-09-27Use correct offset for kms_vaapi monitordec05eba
2023-09-08Revert vaapi cdec05eba
2023-09-08Tdec05eba
2023-09-08Test vaapi plane modifierdec05eba
2023-08-13kms vaapi: fix capture bug (incorrect video size) caused by shadowed variable...dec05eba
2023-08-13fuggdec05eba
2023-08-13testdec05eba
2023-07-23AMD/Intel: do custom color conversion for window capture, better colorsdec05eba
2023-07-22Exit with exit code 10 if pkexec failsdec05eba
2023-07-22Fix cursor offset in kms grab (amd/intel), disable wlroots capture until its ↵dec05eba
fixed
2023-07-22Temp disable cursor fixdec05eba
2023-07-22Hide cursor when it's on another display 2dec05eba
2023-07-22Hide cursor when it's on another displaydec05eba
2023-07-22Use correct offset for combined plane monitor capturedec05eba
2023-07-22AMD/Intel capture cursordec05eba
2023-07-21Fix window capturedec05eba
2023-07-21Fix capture not working on intel + waylanddec05eba
Ignore nouveau cards. Fix lag on start of recording on amd/intel by only loading egl once, on startup.
2023-07-21Support wlroots screen capture, which doesn't require kms root access and ↵dec05eba
also captures cursor
2023-07-18More kms vaapi allow to work without xwaylanddec05eba
2023-07-18Fix green screen sometimes when capturing amd/intel windowdec05eba
2023-07-18Fix wayland capture on amd/inteldec05eba
2023-07-18Experimental wayland support, test 1dec05eba
2023-06-10kms rot old behavior backdec05eba
2023-06-10kms: fix multi monitor coordinate being incorrect in some casesdec05eba
2023-06-10Attempt to fix merged display coordinates in kmsdec05eba
2023-05-17Fix all warningsdec05eba
2023-05-12kms_vaapi: fix regression, screen rotation not working when capturing screendec05eba
2023-05-12kms_vaapi: support multiple drm planes (fixes capture on some multi monitor ↵dec05eba
systems)
2023-04-22kms_vaapi: add cursor capture for amd/intel monitor capturedec05eba
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-16Find /dev/dri/card path that exists (the first one)dec05eba
2023-04-16Use XDG_RUNTIME_DIR (and flatpak specific dir) and /dev/dri/renderD128 ↵dec05eba
instead of /dev/dri/card0 (fixes capture on some systems)
2023-04-15Remove extra swapBuffer in kms capturedec05eba
2023-04-15Apply rotation fix for intel as well (for kms capture)dec05eba
2023-04-15Fix AMD single monitor rotated display being rotated in recordingdec05eba
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%.