Commit Graph

606 Commits

Author SHA1 Message Date
dec05eba
25b7b4e84e Pure vaapi capture (for capture target) and opengl composition for cursor only when capturing window and portal as well, clear background on resize for monitor capture 2024-09-16 23:31:53 +02:00
dec05eba
4bcf976a71 Improve capture performance on amd/intel when using monitor capture: capture display frame using purely vaapi unless the monitor is rotated 2024-09-16 23:31:53 +02:00
dec05eba
69fc104d20 Remove xi2 code, it's not needed 2024-09-15 04:25:10 +02:00
dec05eba
f6f8fdb33c Portal: sync capture to frame update 2024-09-15 04:22:00 +02:00
dec05eba
f53d7b30b1 Allow recording at very low fps 2024-09-14 13:44:14 +02:00
dec05eba
14d5c42f5e Update usage 2024-09-14 12:13:45 +02:00
dec05eba
ba9aa1f39f Allow -fm content with monitor capture on x11 2024-09-14 03:52:06 +02:00
dec05eba
714561987e Properly damage if moving cursor
Only damage if cursor is inside the target area
2024-09-14 02:27:48 +02:00
dec05eba
8acb346382 Set update fps to video fps, on x11 sync video to damage tracking 2024-09-14 01:15:01 +02:00
dec05eba
992792fb1f Move amix to separate thread 2024-09-07 14:09:04 +02:00
dec05eba
8158a809b7 Move damage tracking to separate file 2024-09-06 23:55:43 +02:00
dec05eba
2682df9e0f Portal: fix external texture 2024-09-06 13:28:35 +02:00
dec05eba
111432f7dd Revert "Portal: fix external texture glitches"
This reverts commit 0f289b58bb.
2024-09-06 13:27:51 +02:00
dec05eba
0f289b58bb Portal: fix external texture glitches 2024-09-06 13:17:17 +02:00
dec05eba
f756d5a0a7 Allow prime run with desktop portal 2024-09-06 12:42:02 +02:00
dec05eba
954a41de9c Explicit glFlush/glFinish before and after render operations to fix tearing and stutter on amd 2024-09-06 12:41:14 +02:00
dec05eba
239f2010f5 Fix systemd service file 2024-09-05 23:39:17 +02:00
Faker0715
cb782763f0 More cleanup hwdevice ctx 2024-09-05 20:30:13 +02:00
dec05eba
98f75b273b More cleanup 2024-09-03 22:43:30 +02:00
dec05eba
867ef7a297 Cleanup hwdevice ctx 2024-09-03 22:38:49 +02:00
dec05eba
33251a4799 Disable vaapi info debug log 2024-08-31 03:41:58 +02:00
dec05eba
c31f724992 m 2024-08-31 03:21:09 +02:00
dec05eba
b7c5df3c4b Faster startup (faster video codec query), fix some video codec callback logic 2024-08-31 03:17:18 +02:00
dec05eba
b99539af57 Add --version command 2024-08-31 00:48:04 +02:00
dec05eba
1d7c1e7d14 Enable recording on steam deck with warning, use vbr on steam deck and add -bm bitrate mode option for qp or vbr 2024-08-31 00:26:22 +02:00
dec05eba
dfe2b17648 Prepare for video codec query, cleanup readme, add libva-drm as dependency 2024-08-29 22:22:46 +02:00
dec05eba
45a10baf5f Disable steam deck support at the moment because the driver is broken (ignores qp, capture tearing) 2024-08-20 15:28:37 +02:00
dec05eba
faf6ba69a0 Improve quality again 2024-08-20 15:23:49 +02:00
dec05eba
aee79749bd Also revert av1 quality 2024-08-20 01:37:28 +02:00
dec05eba
5ac1db7a65 Revert quality parameters, they were overkill 2024-08-20 01:35:32 +02:00
dec05eba
1fca7080eb comment 2024-08-19 19:22:05 +02:00
dec05eba
78e4620d9c Update comments 2024-08-19 17:42:42 +02:00
dec05eba
a6422818b8 x11 cursor deinit: check if display is valid 2024-08-18 18:16:50 +02:00
dec05eba
d52b775674 Fix kms capture crash on wayland if x11 is not available (always the case in the flatpak) 2024-08-18 17:59:09 +02:00
dec05eba
8efc371038 Small refactor in pipewire code, remove unused extra/install_preserve_video_memory.sh script 2024-08-18 13:38:29 +02:00
dec05eba
fa81e01663 Fix: hevc and av1 is always 10bits 2024-08-17 20:06:25 +02:00
dec05eba
eaef33640e --info and --list-audio-devices should separate key and value by a | instead of whitespace because audio device names can contain space if they are virtual 2024-08-17 20:00:51 +02:00
dec05eba
3ec93bcc41 Add hevc_10bit and av1_10bit options for 10bit color range, increase video quality (qp) 2024-08-17 19:55:09 +02:00
dec05eba
1e39dc6286 Refactor kms capture 2024-08-16 23:20:04 +02:00
dec05eba
4012d60dbc Remove unused include 2024-08-16 19:40:47 +02:00
dec05eba
da4925b23e Allow capture of external monitors on a laptop with dedicated gpu (prime) on x11, fix cursor not visible on some wayland compositors (hyprland) with multiple monitors 2024-08-16 19:37:00 +02:00
dec05eba
f297a92e05 Create example start recording script 2024-08-15 19:53:07 +02:00
dec05eba
d5e5490164 Fix software encoding option not working 2024-08-15 13:21:42 +02:00
dec05eba
c1debaa838 Disable prime-run + portal for now 2024-08-15 12:08:16 +02:00
dec05eba
85d59ea2c8 HACK: portal: copy external image to internal image before render. Dont stop screencast when paused as that stops recording when window is resized 2024-08-15 11:13:49 +02:00
dec05eba
7ebaf95645 minor 2024-08-15 08:47:24 +02:00
dec05eba
0b9d232ce8 Fix crash, use opengl es instead of opengl desktop 2024-08-15 08:21:54 +02:00
dec05eba
8e3014aa97 Use external texture target for external texture 2024-08-15 08:12:44 +02:00
dec05eba
ffb8c6af3b Allow prime-run capture on laptop with external gpu when the iGPU
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-15 08:09:23 +02:00
dec05eba
a9b7618be7 Debug test again 2024-08-15 07:13:13 +02:00