aboutsummaryrefslogtreecommitdiff
path: root/src/capture/kms.c
AgeCommit message (Collapse)Author
2024-09-16kms: allow capture higher than monitor framerate on waylanddec05eba
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-14Properly damage if moving cursordec05eba
Only damage if cursor is inside the target area
2024-09-14Set update fps to video fps, on x11 sync video to damage trackingdec05eba
2024-09-06Explicit glFlush/glFinish before and after render operations to fix tearing ↵dec05eba
and stutter on amd
2024-08-19commentdec05eba
2024-08-18Fix kms capture crash on wayland if x11 is not available (always the case in ↵dec05eba
the flatpak)
2024-08-16Refactor kms capturedec05eba
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-08-15Fix crash, use opengl es instead of opengl desktopdec05eba
2024-08-15Use external texture target for external texturedec05eba
2024-08-15Allow prime-run capture on laptop with external gpu when the iGPUdec05eba
doesn't have any monitor to capture. Fix prime-run desktop portal capture broken (fallback to external texture). Fallback to external texture in kms capture.
2024-08-15Debug test againdec05eba
2024-08-15Debug output testdec05eba
2024-08-08Fix possible capture lag (especially with desktop portal capture)dec05eba
2024-08-04Compressed plane now works, update readme and remove warningdec05eba
2024-07-26Move glClear and glx/eglSwapBuffers from capture backends to maindec05eba
2024-07-25Fix variable shadow warningsdec05eba
2024-07-23Fix hdr capture causing crash when in replay modedec05eba
2024-07-22Fix pipewire capture on amd (fallback to no drm modifiers if eglCreateImage ↵dec05eba
fails), might happen because of a buggy desktop portal/pipewire implementation
2024-07-22Use modifiers in kms capture on amd toodec05eba
2024-07-22Fix portal capture on intel, support multiple planes in one egl image (might ↵dec05eba
fix capture on intel iris)
2024-07-22Fix deskto portal capture on nvidia (add missing modifiers)dec05eba
2024-07-21Fix HDR capture (HDR metadata is now correct). Note that HDR capture is only ↵dec05eba
available on Wayland and when recording a monitor without the desktop portal option
2024-07-19Stop recording when pipewire target window is closed or when pressing close ↵dec05eba
in the desktop environments record button
2024-07-15Show warning when capture monitor on intel and the plane is compressed. The ↵dec05eba
warning tells the user to capture on x11 instead or use -w portal option
2024-07-15Add support for desktop portal capture (-w portal)dec05eba
2024-07-05Use GL_TEXTURE_EXTERNAL_OES for cursor texture on kms nvidiadec05eba
2024-07-05Fix capture incorrect alignment with cpu encoding for some window sizesdec05eba
2024-07-05Separate video encoding method from capture methoddec05eba
With this instead of kms_cuda/kms_vaapi/kms_software and xcomposite_cuda/xcomposite_vaapi/xcomposite_software there is now only kms and xcomposite.
2024-07-04Add support for software video encoding with '-encoder cpu' option, ↵dec05eba
currently h264 only
2024-06-23revert tempdec05eba
2024-06-23tempdec05eba
2024-06-19AMD: align av1 to extra padding because of hardware bugdec05eba
2024-06-14Properly cut out cursor outside video area when dealing with hevc amd paddingdec05eba
2024-06-10Remove video_alignment_padding variable, replace with putting capture ↵dec05eba
content in the center with frame resolution and capture resolution diff
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-10Revert "Fix screen capture on intel arc gpu (on x11 and wayland)"dec05eba
This reverts commit f8453bcaa4b488aea601af632ab5656979eb6024.
2024-06-10Workaround amd driver bug: hevc ffmpeg/mesa misaligned resolution causing ↵dec05eba
glitched video output on right/bottom side
2024-06-09Fix screen capture on intel arc gpu (on x11 and wayland)dec05eba
2024-03-11Add -cursor option to not record cursordec05eba
2024-03-10Fix cursor capture in nvidia wayland, hdr, clear background immediately in ↵dec05eba
window capture
2024-03-09Refactor capture basedec05eba
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.