Commit Graph

36 Commits

Author SHA1 Message Date
dec05eba
5d87dbd075 texture filter change 2025-03-13 22:38:28 +01:00
dec05eba
b0de8588f2 Take screenshot with XGetImage on x11 to workaround nvidia driver (nvfbc) limitation that only allows one nvfbc session at a time 2025-03-13 22:34:29 +01:00
dec05eba
af54684103 Fix screenshot with region not working correctly for some sizes and possibly crashing 2025-03-13 01:38:26 +01:00
dec05eba
92492db788 Add region capture with -w region -region WxH+X+Y 2025-03-13 00:18:28 +01:00
dec05eba
000da7d640 Make image output lossy (use stb image writer), also significantly improves performance for jpeg 2025-02-22 01:05:29 +01:00
dec05eba
1b5cde0789 Support taking a screenshot (-o image.jpg/image.png) 2025-02-16 14:21:17 +01:00
dec05eba
c259a19b9d Refactor windowing from egl to window_x11/window_wayland, yolo 2024-12-08 02:17:41 +01:00
dec05eba
935a7b892e Rename video encoder cuda to video encoder nvenc 2024-10-09 18:32:26 +02:00
dec05eba
793d4839f5 Support hevc vulkan, fix vulkan encoding for all resolutions, disable vulkan encoding for now until drivers and ffmpeg work properly 2024-10-03 12:42:17 +02:00
dec05eba
ecf4876654 vulkan-headers as dependency 2024-10-02 17:50:13 +02:00
dec05eba
07a843747c Comment out vulkan includes for now 2024-10-01 23:10:20 +02:00
dec05eba
0eb9ce003d Cleanup rc 2024-09-29 04:56:25 +02:00
dec05eba
ebc8c69bac Add vulkan video encoding option (-k h264_vulkan). WIP, not fully hardware accelerated yet 2024-09-27 03:03:09 +02:00
dec05eba
1aaa26d87e Move codec query from encoder to separate file 2024-09-26 16:08:26 +02:00
dec05eba
0b20a46e58 Name capture/encoder variable self 2024-09-26 02:36:31 +02:00
dec05eba
aa2fa1e17e Add template for vulkan video encoding 2024-09-26 02:23:56 +02:00
dec05eba
5863fda414 Comments 2024-09-22 19:58:54 +02:00
dec05eba
f3284302a7 Dont crash on error in nvenc query 2024-09-20 18:59:37 +02:00
dec05eba
559a881dfd Pls work 2024-09-20 18:34:34 +02:00
dec05eba
3775db5565 Attempt to fix nvenc query on old nvidia cards (driver version 470) 2024-09-20 18:11:08 +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
954a41de9c Explicit glFlush/glFinish before and after render operations to fix tearing and stutter on amd 2024-09-06 12:41:14 +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
dfe2b17648 Prepare for video codec query, cleanup readme, add libva-drm as dependency 2024-08-29 22:22:46 +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
e107adbc32 Show warning when amd driver adds black bars, set frame resolution after changing video codec context resolution 2024-07-24 01:29:30 +02:00
dec05eba
b5b4d6b2bd Fix portal capture on intel, support multiple planes in one egl image (might fix capture on intel iris) 2024-07-22 04:58:41 +02:00
dec05eba
048b8d21ec Add support for desktop portal capture (-w portal) 2024-07-15 19:02:34 +02:00
dec05eba
48cd80f24e Add encoder option to systemd service file 2024-07-05 18:57:06 +02:00
dec05eba
56e9d15e0f Fix capture incorrect alignment with cpu encoding for some window sizes 2024-07-05 11:34:34 +02:00
dec05eba
b9fa7f2fa2 Separate video encoding method from capture method
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-05 10:33:47 +02:00