aboutsummaryrefslogtreecommitdiff
path: root/src/capture/kms_vaapi.c
AgeCommit message (Collapse)Author
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%.
2023-04-11Temporary disable monitor recording on amd/inteldec05eba
2023-04-11Remove kms modifierdec05eba
2023-04-11Revert "amd/intel: use xrgb format, use drm prime 2"dec05eba
This reverts commit 2f665e9d53d19f82af0973a169e6c2dc186e915f.
2023-04-11amd/intel: use xrgb format, use drm prime 2dec05eba
2023-04-10amd test 2dec05eba
2023-04-10Recreate surface every frame :(dec05eba
2023-04-10aaadec05eba
2023-04-10Dont create va surface every frame for kms (test)dec05eba
2023-04-10Remove unecessary vaCreatebuffer every framedec05eba