Commit Graph
124 Commits
Author SHA1 Message Date
Patrick Nicolas 76be61daad fix bit/byte in bitrate config 2025-09-04 10:43:44 +02:00
Patrick Nicolas 71fbcde6b8 remove bitrate multiplier 2025-09-04 10:43:44 +02:00
Patrick Nicolas 610d6ccc26 Fix vulkan validation errors 2025-09-04 10:43:44 +02:00
Patrick Nicolas 9f8cd1f627 WIP pyrowave 2025-09-04 10:43:44 +02:00
Patrick Nicolas c15de9bf27 Automatically name image/buffer allocations 2025-08-16 14:15:29 +02:00
Patrick Nicolas 9c599206d6 Working NVIDIA h264 vulkan video encode!
NVIDIA fails with initalization failed error if no
VkVideoEncodeH264RateControlLayerInfoKHR structure is provided
2025-08-08 16:22:11 +02:00
Patrick Nicolas f91c7222db Fix NVIDIA crash in vulkan video encoder creation 2025-08-08 16:15:49 +02:00
Patrick Nicolas 19ad856e59 Use VK_KHR_video_maintenance1 2025-08-08 14:06:01 +02:00
Patrick Nicolas b72554ea02 Enable split nvenc encoders by default 2025-07-28 17:18:26 +02:00
Kierek e5ba1f7394 Share CUDA context between all nvenc encoder instances 2025-07-27 23:32:41 +02:00
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