aboutsummaryrefslogtreecommitdiff
path: root/src/capture/kms_vaapi.c
AgeCommit message (Collapse)Author
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
2023-04-10Amd monitor recording fixed, remove unused modifier codedec05eba
2023-04-10test kmsdec05eba
2023-04-10Debug amd kms errdec05eba
2023-04-10kms: get plane every frame, might fix not updating issue and issue where ↵dec05eba
plane gets invalid
2023-04-09Use /usr/bin/gsr-kms-server constant path for pkexecdec05eba
2023-04-09Move kms client and server to separate directoriesdec05eba
2023-04-07Implement kms vaapi capturedec05eba