aboutsummaryrefslogtreecommitdiff
path: root/src/capture
AgeCommit message (Collapse)Author
2023-04-22vaapi window capture: resizing window should make the window have its ↵dec05eba
original size instead of resized to video size
2023-04-21Use x11 event loop with XPending instead of XCheckTypedWindowEventdec05eba
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
2023-04-01Rename drm to vaapiSteam Deck User
2023-04-01Cleanup xcomposite_drmSteam 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-31Make sure region size for focused window is divisable by 2dec05eba
2023-03-31Install coolbits if using nvidia, add preserve video memory install scriptdec05eba
2023-03-26Remove yuv444 for nowdec05eba
2023-03-26Move video encoding to separate thread, remove pixel_format that doesn't do ↵dec05eba
anything and was bugged
2023-03-26Add pixfmt yuv420p/yuv444p option to set lossless colordec05eba
2023-03-26Remove unused codedec05eba
2023-03-17Add overclocking option -oc to workaround a NVIDIA driver bug (forcefully ↵dec05eba
set to p2 state when using cuda)
2023-03-17vaapi wipSteam Deck User
2023-03-04Add screen-direct-force option for VRR monitordec05eba
2023-02-19Fix follow focused for the first window and when switching from/to invalid ↵dec05eba
window
2023-01-18Fix crash on error: dont do av_buffer_unref on frame contex because ↵dec05eba
device_ctx frees it as well
2022-12-20follow focuseddec05eba
2022-11-30wip inteldec05eba
2022-10-16Refactor xcomposite into abstract capture apidec05eba
Refactor c++ files into c files, more usable
2022-10-14Refactor nvfbc into abstract capture apidec05eba