aboutsummaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2024-03-21Destroy glx context on fail/deinitdec05eba
2024-03-11Add -cursor option to not record cursordec05eba
2024-03-10Use dri card matching current egl contextdec05eba
2024-03-10Fix cursor capture in nvidia wayland, hdr, clear background immediately in ↵dec05eba
window capture
2024-03-09Refactor capture basedec05eba
2024-03-09Draw cursor in window capturedec05eba
2024-03-09Refactor xcompositedec05eba
Move common code between cuda/vaapi implementations into xcomposite file. This also fixes limited/full range colors on nvidia.
2024-03-08Set frame size to video codec context size, nicer rgb to nv12dec05eba
2024-03-08Use opengl capture for nvfbc (prepare for vulkan capture without cuda)dec05eba
2024-03-08Refactor kms_vaapi and kms_cudadec05eba
Also fixes color metadata, color range and hdr on nvidia wayland.
2024-02-11nvidia wayland: add hdr metadatadec05eba
2024-02-11Remove dependency on egl in nvfbcdec05eba
2024-02-11Fix nvfbc capture crash on startdec05eba
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-08Window capture: clear background with black colordec05eba
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-28nvidia wayland: support hardware cursor planedec05eba
2024-01-11Nvidia: use default p4 preset instead of p5, might fix frame issuesdec05eba
2023-11-18Support nvidia wayland bit depth over 8 bit (fixes incorrect colors on some ↵dec05eba
systems running kde plasma)
2023-10-22Fix vram leak for realsdec05eba
2023-10-21Attempt to fix amd/intel driver bug vram leak, force cfr when livestreaming, ↵dec05eba
replace std::filesystem with posix create replay directory automatically, recursively
2023-09-29Remove unused cursor codedec05eba
2023-09-18egl es -> egldec05eba
2023-07-26High priority egl context if possible, use eglBindAPI(EGL_OPENGL_ES_API)dec05eba
2023-07-25Dont use jpeg color range (fixes too dark image on amd/intel in flatpak)dec05eba
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-21vfr on wayland (even on nvidia), add uninstall scriptdec05eba
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-05-17Fix all warningsdec05eba
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-21Add code to copy cursor image to opengl texture and update on event update ↵dec05eba
(not used yet)
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-15Move EGL define to egl.h from window texture .cdec05eba
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
2023-04-01Rename drm to vaapiSteam Deck User
2023-04-01Use vaapi to do rgb->yuv420p color conversionSteam Deck User
Enable window capture for amd/intel. Properly check if h264/hevc is supported on amd/intel before using codec.
2023-03-31Install coolbits if using nvidia, add preserve video memory install scriptdec05eba
2023-03-26Remove unused codedec05eba
2023-03-21Copy vaapi structures to vaapi.h instead of depending on vaapi at compile timedec05eba
2023-03-17Add overclocking option -oc to workaround a NVIDIA driver bug (forcefully ↵dec05eba
set to p2 state when using cuda)