aboutsummaryrefslogtreecommitdiff
path: root/src/utils.c
AgeCommit message (Collapse)Author
2024-11-21Fix portal capture on broken amd drivers: fallback to opengl copy instead of ↵dec05eba
vaapi on known buggy mesa version
2024-11-21printdec05eba
2024-11-21Revert "va sync buffer/surface"dec05eba
This reverts commit a033d7c98a2ff45da7b664702699287aeb05b009.
2024-11-20va sync buffer/surfacedec05eba
2024-11-10Add -aa and -aai options to record audio only from selected applicationsdec05eba
Use the --list-application-audio option to list available applications to record from.
2024-11-08Prefer drm cursor over x11 on x11, to fix correct position and size when x11 ↵dec05eba
output is scaled
2024-11-08Simpler xrandr monitor query (do the same thing as before)dec05eba
2024-11-08x11: fix correct monitor capture size when output is scaleddec05eba
2024-10-26Add option to change output resolution (-s)dec05eba
2024-10-23Mesa && AMD checkdec05eba
2024-10-23Support old amd gpus that need radeon driverdec05eba
2024-10-06gsr-kms-server 'security': only allow gpu-screen-recorder to get framebufferdec05eba
2024-09-22Commentsdec05eba
2024-09-16Pure vaapi capture (for capture target) and opengl composition for cursor ↵dec05eba
only when capturing window and portal as well, clear background on resize for monitor capture
2024-09-16Improve capture performance on amd/intel when using monitor capture: capture ↵dec05eba
display frame using purely vaapi unless the monitor is rotated
2024-09-14Set update fps to video fps, on x11 sync video to damage trackingdec05eba
2024-08-31Enable recording on steam deck with warning, use vbr on steam deck and add ↵dec05eba
-bm bitrate mode option for qp or vbr
2024-08-20Disable steam deck support at the moment because the driver is broken ↵dec05eba
(ignores qp, capture tearing)
2024-08-16Remove unused includedec05eba
2024-08-16Allow capture of external monitors on a laptop with dedicated gpu (prime) on ↵dec05eba
x11, fix cursor not visible on some wayland compositors (hyprland) with multiple monitors
2024-07-22Fix portal capture on intel, support multiple planes in one egl image (might ↵dec05eba
fix capture on intel iris)
2024-07-15Add support for desktop portal capture (-w portal)dec05eba
2024-06-10Take amd hevc video alignment padding into consideration to move video ↵dec05eba
content to center of video with black bars on all sides instead of only right/bottom
2024-06-10Wayland: match montitor by name before trying to match by placedec05eba
2024-06-10Workaround amd driver bug: hevc ffmpeg/mesa misaligned resolution causing ↵dec05eba
glitched video output on right/bottom side
2024-06-10Do not require a valid drm plane to capture a window on amd/intel x11dec05eba
2024-05-09Proper strncpy null terminationdec05eba
2024-03-10bad sizedec05eba
2024-03-10Use dri card matching current egl contextdec05eba
2024-03-09Refactor xcompositedec05eba
Move common code between cuda/vaapi implementations into xcomposite file. This also fixes limited/full range colors on nvidia.
2024-02-10Wayland: handle eDP for rotationdec05eba
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
2023-11-17Make amd/intel nvidia/wayland capture display match x11 connector name, ↵dec05eba
allow screen capture on amd/intel nvidia/wayland (select the first output for now)
2023-08-13kms vaapi: fix capture bug (incorrect video size) caused by shadowed variable...dec05eba
2023-07-26High priority egl context if possible, use eglBindAPI(EGL_OPENGL_ES_API)dec05eba
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-18Fix green screen sometimes when capturing amd/intel windowdec05eba
2023-07-18Experimental wayland support, test 1dec05eba
2023-07-10pdec05eba
2023-07-10Attempt to make active card detection more robustdec05eba
2023-07-09Test fix using correct gpu when multiple gpus are connecteddec05eba
2023-05-17Fix all warningsdec05eba
2023-04-16Find /dev/dri/card path that exists (the first one)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-07Implement kms vaapi capturedec05eba