+ exec meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype plain --auto-features enabled --wrap-mode nodownload -D b_pie=true -D python.bytecompile=1 build -Dsystemd=true The Meson build system Version: 1.7.0 Source dir: /build/gpu-screen-recorder/src Build dir: /build/gpu-screen-recorder/src/build Build type: native build Project name: gpu-screen-recorder Project version: 5.3.4 C compiler for the host machine: cc (gcc 14.2.1 "cc (GCC) 14.2.1 20250207") C linker for the host machine: cc ld.bfd 2.44 C++ compiler for the host machine: c++ (gcc 14.2.1 "c++ (GCC) 14.2.1 20250207") C++ linker for the host machine: c++ ld.bfd 2.44 Host machine cpu family: x86_64 Host machine cpu: x86_64 Run-time dependency threads found: YES Found pkg-config: YES (/usr/bin/pkg-config) 2.4.3 Run-time dependency libavcodec found: YES 61.19.100 Run-time dependency libavformat found: YES 61.7.100 Run-time dependency libavutil found: YES 59.39.100 Run-time dependency x11 found: YES 1.8.12 Run-time dependency xcomposite found: YES 0.4.6 Run-time dependency xrandr found: YES 1.5.4 Run-time dependency xfixes found: YES 6.0.1 Run-time dependency xdamage found: YES 1.1.6 Run-time dependency libpulse found: YES 17.0-43-g3e2bb Run-time dependency libswresample found: YES 5.3.100 Run-time dependency libavfilter found: YES 10.4.100 Run-time dependency libva found: YES 1.22.0 Run-time dependency libva-drm found: YES 1.22.0 Run-time dependency libcap found: YES 2.75 Run-time dependency libdrm found: YES 2.4.124 Run-time dependency wayland-egl found: YES 18.1.0 Run-time dependency wayland-client found: YES 1.23.1 Run-time dependency dbus-1 found: YES 1.16.2 Run-time dependency libpipewire-0.3 found: YES 1.4.1 Run-time dependency libspa-0.2 found: YES 0.2 Dependency libdrm found: YES 2.4.124 (cached) Build targets in project: 2 gpu-screen-recorder 5.3.4 User defined options auto_features : enabled b_pie : true buildtype : plain libexecdir : lib prefix : /usr python.bytecompile: 1 sbindir : bin systemd : true wrap_mode : nodownload Found ninja-1.12.1 at /usr/bin/ninja Generating targets: 0%| | 0/2 eta ? Generating targets: 100%|██████████| 2/2 eta 00:00 Writing build.ninja: 0%| | 0/62 eta ? ninja: Entering directory `/build/gpu-screen-recorder/src/build' [1/38] Compiling C object gpu-screen-recorder.p/src_encoder_video_video.c.o [2/38] Compiling C object gpu-screen-recorder.p/src_capture_capture.c.o [3/38] Compiling C object gpu-screen-recorder.p/src_capture_ximage.c.o ../src/capture/ximage.c: In function ‘gsr_capture_ximage_upload_to_texture’: ../src/capture/ximage.c:125:13: warning: declaration of ‘y’ shadows a parameter [-Wshadow] 125 | for(int y = 0; y < image->height; ++y) { | ^ ../src/capture/ximage.c:88:87: note: shadowed declaration is here 88 | static bool gsr_capture_ximage_upload_to_texture(gsr_capture_ximage *self, int x, int y, int width, int height) { | ~~~~^ ../src/capture/ximage.c:126:17: warning: declaration of ‘x’ shadows a parameter [-Wshadow] 126 | for(int x = 0; x < image->width; ++x) { | ^ ../src/capture/ximage.c:88:80: note: shadowed declaration is here 88 | static bool gsr_capture_ximage_upload_to_texture(gsr_capture_ximage *self, int x, int y, int width, int height) { | ~~~~^ [4/38] Compiling C object gpu-screen-recorder.p/src_capture_xcomposite.c.o [5/38] Compiling C object gpu-screen-recorder.p/src_capture_nvfbc.c.o [6/38] Compiling C object gpu-screen-recorder.p/src_encoder_video_nvenc.c.o ../src/encoder/video/nvenc.c: In function ‘gsr_video_encoder_nvenc_copy_textures_to_frame’: ../src/encoder/video/nvenc.c:174:126: warning: unused parameter ‘color_conversion’ [-Wunused-parameter] 174 | static void gsr_video_encoder_nvenc_copy_textures_to_frame(gsr_video_encoder *encoder, AVFrame *frame, gsr_color_conversion *color_conversion) { | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ [7/38] Compiling C object gpu-screen-recorder.p/src_encoder_video_vaapi.c.o [8/38] Compiling C object gpu-screen-recorder.p/src_encoder_video_software.c.o ../src/encoder/video/software.c: In function ‘gsr_video_encoder_software_copy_textures_to_frame’: ../src/encoder/video/software.c:73:129: warning: unused parameter ‘color_conversion’ [-Wunused-parameter] 73 | static void gsr_video_encoder_software_copy_textures_to_frame(gsr_video_encoder *encoder, AVFrame *frame, gsr_color_conversion *color_conversion) { | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ [9/38] Compiling C object gpu-screen-recorder.p/kms_client_kms_client.c.o [10/38] Compiling C object gpu-screen-recorder.p/src_codec_query_nvenc.c.o [11/38] Compiling C object gpu-screen-recorder.p/src_codec_query_vulkan.c.o ../src/codec_query/vulkan.c: In function ‘gsr_get_supported_video_codecs_vulkan’: ../src/codec_query/vulkan.c:24:98: warning: unused parameter ‘card_path’ [-Wunused-parameter] 24 | bool gsr_get_supported_video_codecs_vulkan(gsr_supported_video_codecs *video_codecs, const char *card_path, bool cleanup) { | ~~~~~~~~~~~~^~~~~~~~~ ../src/codec_query/vulkan.c:24:114: warning: unused parameter ‘cleanup’ [-Wunused-parameter] 24 | bool gsr_get_supported_video_codecs_vulkan(gsr_supported_video_codecs *video_codecs, const char *card_path, bool cleanup) { | ^ ../src/codec_query/vulkan.c: At top level: ../src/codec_query/vulkan.c:22:12: warning: ‘num_required_device_extensions’ defined but not used [-Wunused-variable] 22 | static int num_required_device_extensions = 8; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/codec_query/vulkan.c:12:20: warning: ‘required_device_extensions’ defined but not used [-Wunused-variable] 12 | static const char *required_device_extensions[] = { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ [12/38] Compiling C object gpu-screen-recorder.p/src_capture_kms.c.o [13/38] Compiling C object gsr-kms-server.p/kms_server_kms_server.c.o [14/38] Compiling C object gpu-screen-recorder.p/src_window_window.c.o [15/38] Compiling C object gpu-screen-recorder.p/src_encoder_video_vulkan.c.o ../src/encoder/video/vulkan.c: In function ‘nop_free’: ../src/encoder/video/vulkan.c:188:28: warning: unused parameter ‘opaque’ [-Wunused-parameter] 188 | static void nop_free(void *opaque, uint8_t *data) { | ~~~~~~^~~~~~ ../src/encoder/video/vulkan.c:188:45: warning: unused parameter ‘data’ [-Wunused-parameter] 188 | static void nop_free(void *opaque, uint8_t *data) { | ~~~~~~~~~^~~~ ../src/encoder/video/vulkan.c: At top level: ../src/encoder/video/vulkan.c:188:13: warning: ‘nop_free’ defined but not used [-Wunused-function] 188 | static void nop_free(void *opaque, uint8_t *data) { | ^~~~~~~~ [16/38] Compiling C object gpu-screen-recorder.p/src_window_x11.c.o [17/38] Compiling C object gpu-screen-recorder.p/src_cuda.c.o [18/38] Compiling C object gpu-screen-recorder.p/src_xnvctrl.c.o [19/38] Compiling C object gpu-screen-recorder.p/src_window_texture.c.o [20/38] Compiling C object gpu-screen-recorder.p/src_overclock.c.o [21/38] Compiling C object gpu-screen-recorder.p/src_codec_query_vaapi.c.o [22/38] Compiling C object gpu-screen-recorder.p/src_window_wayland.c.o [23/38] Compiling C object gpu-screen-recorder.p/src_library_loader.c.o [24/38] Compiling C object gpu-screen-recorder.p/src_shader.c.o [25/38] Compiling C object gpu-screen-recorder.p/src_egl.c.o ../src/egl.c: In function ‘gsr_egl_load’: ../src/egl.c:476:13: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 476 | system("flatpak-spawn --host -- nvidia-smi -f /dev/null"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/egl.c:478:13: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 478 | system("nvidia-smi -f /dev/null"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [26/38] Compiling C object gpu-screen-recorder.p/src_cursor.c.o [27/38] Compiling C object gpu-screen-recorder.p/src_damage.c.o [28/38] Compiling C object gpu-screen-recorder.p/src_color_conversion.c.o [29/38] Compiling C object gpu-screen-recorder.p/src_capture_portal.c.o [30/38] Compiling C object gpu-screen-recorder.p/src_dbus.c.o [31/38] Compiling C object gpu-screen-recorder.p/src_utils.c.o ../src/utils.c:629:18: warning: ‘video_codec_context_get_vaapi_display’ defined but not used [-Wunused-function] 629 | static VADisplay video_codec_context_get_vaapi_display(AVCodecContext *video_codec_context) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [32/38] Compiling C object gpu-screen-recorder.p/src_image_writer.c.o [33/38] Compiling C object gpu-screen-recorder.p/src_pipewire_audio.c.o ../src/pipewire_audio.c: In function ‘on_core_info_cb’: ../src/pipewire_audio.c:8:25: warning: unused variable ‘self’ [-Wunused-variable] 8 | gsr_pipewire_audio *self = user_data; | ^~~~ ../src/pipewire_audio.c:7:73: warning: unused parameter ‘info’ [-Wunused-parameter] 7 | static void on_core_info_cb(void *user_data, const struct pw_core_info *info) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ../src/pipewire_audio.c: In function ‘on_core_error_cb’: ../src/pipewire_audio.c:12:56: warning: unused parameter ‘id’ [-Wunused-parameter] 12 | static void on_core_error_cb(void *user_data, uint32_t id, int seq, int res, const char *message) { | ~~~~~~~~~^~ ../src/pipewire_audio.c:12:64: warning: unused parameter ‘seq’ [-Wunused-parameter] 12 | static void on_core_error_cb(void *user_data, uint32_t id, int seq, int res, const char *message) { | ~~~~^~~ ../src/pipewire_audio.c:12:73: warning: unused parameter ‘res’ [-Wunused-parameter] 12 | static void on_core_error_cb(void *user_data, uint32_t id, int seq, int res, const char *message) { | ~~~~^~~ ../src/pipewire_audio.c:12:90: warning: unused parameter ‘message’ [-Wunused-parameter] 12 | static void on_core_error_cb(void *user_data, uint32_t id, int seq, int res, const char *message) { | ~~~~~~~~~~~~^~~~~~~ ../src/pipewire_audio.c: In function ‘gsr_pipewire_audio_establish_link’: ../src/pipewire_audio.c:133:26: warning: unused variable ‘proxy’ [-Wunused-variable] 133 | struct pw_proxy *proxy = pw_core_create_object(self->core, "link-factory", PW_TYPE_INTERFACE_Link, PW_VERSION_LINK, &props->dict, 0); | ^~~~~ ../src/pipewire_audio.c:143:26: warning: unused variable ‘proxy’ [-Wunused-variable] 143 | struct pw_proxy *proxy = pw_core_create_object(self->core, "link-factory", PW_TYPE_INTERFACE_Link, PW_VERSION_LINK, &props->dict, 0); | ^~~~~ ../src/pipewire_audio.c: In function ‘registry_event_global’: ../src/pipewire_audio.c:373:69: warning: unused parameter ‘permissions’ [-Wunused-parameter] 373 | static void registry_event_global(void *data, uint32_t id, uint32_t permissions, | ~~~~~~~~~^~~~~~~~~~~ ../src/pipewire_audio.c:374:46: warning: unused parameter ‘version’ [-Wunused-parameter] 374 | const char *type, uint32_t version, | ~~~~~~~~~^~~~~~~ [34/38] Compiling C object gpu-screen-recorder.p/src_pipewire_video.c.o [35/38] Linking target gsr-kms-server [36/38] Compiling C++ object gpu-screen-recorder.p/src_sound.cpp.o [37/38] Compiling C++ object gpu-screen-recorder.p/src_main.cpp.o ../src/main.cpp: In lambda function: ../src/main.cpp:3596:39: warning: declaration of ‘app_audio_names’ shadows a previous local [-Wshadow] 3596 | std::vector *app_audio_names = (std::vector*)userdata; | ^~~~~~~~~~~~~~~ ../src/main.cpp:3580:30: note: shadowed declaration is here 3580 | std::vector app_audio_names; | ^~~~~~~~~~~~~~~ [38/38] Linking target gpu-screen-recorder INFO: autodetecting backend as ninja INFO: calculating backend command to run: /usr/bin/ninja -C /build/gpu-screen-recorder/src/build