Commit Graph
114 Commits
Author SHA1 Message Date
Patrick Nicolas 84ef968dc3 Prevent crash on very strong foveation 2025-07-15 17:31:48 +02:00
galister 5307f2fe62 pass bit_depth to probe_nvenc 2025-07-14 08:47:45 +02:00
galister ec42db83bc change encode_10bit → bit-depth 2025-07-11 23:09:37 +02:00
galister ed32676299 10-bit encoding as a global setting 2025-07-11 23:09:37 +02:00
galister d64d5909ee vaapi: 10-bit hevc/av1 encoding 2025-07-11 23:09:37 +02:00
Patrick Nicolas 11cd9235d9 Allow multiple configuration files
Will merge contents from
@CMAKE_INSTALL_PREFIX@/share/wivrn/config.json
/etc/wivrn/config.json
~/.config/wivrn.config.json (XDG_CONFIG_DIR in fact)

If -f option is provided, just parse that file, don't merge anything
2025-07-06 10:22:25 +02:00
Patrick Nicolas 40aeaab762 Cap num DPB slots to 16 2025-06-12 21:34:33 +02:00
Patrick Nicolas f6eb528ea7 Name most vulkan objects 2025-06-12 15:46:37 +02:00
Patrick Nicolas 1ed4d3cfe6 Name vulkan video objects 2025-06-12 15:46:37 +02:00
Patrick Nicolas a6c20e9520 Send vulkan video idr over tcp 2025-06-12 11:07:10 +02:00
Patrick Nicolas c98b461809 fix vulkan video conformance issues 2025-06-10 11:26:32 +02:00
galister e29a08ea2e Revert "bump default eye-tracked scale to 0.4"
This reverts commit f5b6faf327.
2025-06-07 23:22:14 +02:00
galister f5b6faf327 bump default eye-tracked scale to 0.4 2025-06-07 05:58:05 +09:00
Patrick Nicolas a33fae434e Destroy cuda context in encoder destructor 2025-05-22 17:55:35 +02:00
Patrick Nicolas f59015654c fix build with older vulkan.hpp 2025-05-18 21:36:16 +02:00
Patrick Nicolas 6b91848d29 Fix vulkan conformance issues 2025-05-11 09:20:09 +02:00
Patrick Nicolas b1a73f7352 Disable split encoders on nvenc by default 2025-04-07 16:51:11 +02:00
Guillaume Meunier 345db32bb1 Always use stderr instead of stdout for server logs 2025-03-25 21:15:01 +01:00
Patrick Nicolas a75f42ff46 Update framerate for encoders 2025-03-19 17:43:36 +01:00
Patrick Nicolas d552d24e60 remove virtual from set_bitrate 2025-03-19 17:43:36 +01:00
Kierek 20ae78f2d9 Enable ULTRA_LOW_LATENCY and NV_ENC_TWO_PASS_QUARTER_RESOLUTION for nvenc 2025-03-01 20:56:34 +01:00
Kierek 8495a9433c Enable AV1 encoding for nvenc 2025-02-20 10:55:23 +01:00
Kierek 163d72dcce Update NVIDIA Video Codec SDK headers to 12.2 2025-02-20 10:55:23 +01:00
Patrick Nicolas c4cc16cd3f Use width/height multiple of 32 for nvenc probing 2025-02-17 16:15:58 +01:00
Patrick Nicolas 802a96572e Probe for nvenc support 2025-02-14 22:04:26 +01:00
galister 22186f0043 remove reconfigure log from ffmpeg encoder 2025-02-07 19:00:34 +01:00
galister ed6e2ddce2 set-bitrate support for x264 2025-02-07 19:00:34 +01:00
galister e9f4b52b50 wip: set bitrate at runtime 2025-02-07 19:00:34 +01:00
Patrick Nicolas c8449a7891 larger DPB 2025-01-05 16:01:10 +01:00
Patrick Nicolas 4a1e01d251 Change deblocking filter flag 2025-01-05 16:01:10 +01:00
Patrick Nicolas 78eacccb2c tweak bitrate window and constraint flags 2025-01-05 16:01:10 +01:00
Patrick Nicolas 0d958ecf80 Remove useless variable, drop extra tmp layers 2025-01-05 16:01:10 +01:00
Patrick Nicolas 50d614c492 Fix image view usage flags 2024-12-30 10:18:50 +01:00
Patrick Nicolas c233280ede Fix buffer size in memory barrier 2024-12-30 10:18:50 +01:00
Patrick Nicolas 154e40a0f6 Don't use vk::WholeSize for buffer copy 2024-12-30 10:18:50 +01:00
Patrick Nicolas b16e7e1c3d Fix parsing of ffmpeg version 2024-12-05 11:18:29 +01:00
Patrick Nicolas ba47c80213 Fix 32bits warnings 2024-11-30 13:16:39 +01:00
Patrick Nicolas 9eacb3b881 Fix 32bits build 2024-11-30 13:02:24 +01:00
Guillaume Meunier c6e773fd22 Add support for authentication and encryption 2024-11-26 23:59:35 +01:00
Patrick Nicolas 9bd23ac930 Use h264 as default codec for any encoder 2024-11-10 17:03:48 +01:00
Patrick Nicolas 77a0e8710c Use separate images instead of layers 2024-11-10 16:46:28 +01:00
Patrick Nicolas d64db48c53 rename some variables, query pool per encode slot 2024-11-10 16:46:28 +01:00
Patrick Nicolas 8f7aee2b7a partial fix for mismatched image views in vulkan encode 2024-11-10 16:46:28 +01:00
Patrick Nicolas 6d89b3af5f Use cavlc for vulkan encode 2024-11-10 16:46:28 +01:00
Patrick Nicolas 3d062df2b6 Default to h264 for vulkan encode 2024-11-10 16:46:28 +01:00
Patrick Nicolas 6943fa82d2 Use device memory for vulkan encode 2024-11-10 16:46:28 +01:00
Patrick Nicolas 4df0e391c6 Move video command buffer ownership to encoder 2024-11-10 16:46:28 +01:00
Patrick Nicolas e01486110e Clamp encoder extents to width/height 2024-11-10 16:11:43 +01:00
Patrick Nicolas 6fdac88fd8 Assume positions are already aligned for nvenc 2024-11-10 15:24:07 +01:00
Patrick Nicolas 5d5f4b8af4 Enforce alignment of whole image and splits 2024-11-10 11:09:58 +01:00