SeaDve / Kooha

Elegantly record your screen
GNU General Public License v3.0
2.51k stars 69 forks source link

Issues recording on CosmicDE + NixOS #311

Open nxy7 opened 1 month ago

nxy7 commented 1 month ago

Affected version

2.3

Bug summary

Recording on NixOS + CosmicDE results in gray screen for GIFs and black screen in case of WEBM.

Here are logs from kooha

2024-08-09T13:26:27.629319Z  INFO kooha::application: Kooha (io.github.seadve.Kooha)
2024-08-09T13:26:27.629327Z  INFO kooha::application: Version: 2.3.0 ()
2024-08-09T13:26:27.629329Z  INFO kooha::application: Datadir: /nix/store/b1z1fz36kfl4asgpq05kqc4njabhar4i-kooha-2.3.0/share/kooha

(kooha:368636): Gtk-WARNING **: 15:26:27.635: Unknown key gtk-modules in /home/nxyt/.config/gtk-4.0/settings.ini

(kooha:368636): Adwaita-WARNING **: 15:26:27.702: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead.
2024-08-09T13:26:29.149768Z  WARN kooha::screencast_portal::window_identifier: Failed to export handle: BoolError { message: "Failed to export a handle. The compositor probably doesn't implement the xdg-foreign protocol", filename: "/build/kooha-2.3.0-vendor.tar.gz/gdk4-wayland/src/wayland_toplevel.rs", function: "gdk4_wayland::wayland_toplevel::<impl gdk4_wayland::auto::wayland_toplevel::WaylandToplevel>::export_handle::callback_func", line: 27 }
2024-08-09T13:26:30.974579Z  WARN kooha::recording: Received warning message on bus: Warning { structure: Some(GstMessageWarning { gerror: (GError) ((GError*) 0x7f4978002c70), debug: (gchararray) "../gst-libs/gst/video/gstvideofilter.c(296): gst_video_filter_transform (): /GstPipeline:pipeline0/GstBin:kooha-pipewiresrc-bin/GstVideoFlip:videoflip0:\ninvalid video buffer received" }), source: Some((Object { inner: TypedObjectRef { inner: 0x55eb4e22c4c0, type: GstVideoFlip } }, "videoflip0")), error: Error { domain: gst-core-error-quark, code: 3, message: "Internal GStreamer error: code not implemented.  Please file a bug at https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/new." }, debug: Some("../gst-libs/gst/video/gstvideofilter.c(296): gst_video_filter_transform (): /GstPipeline:pipeline0/GstBin:kooha-pipewiresrc-bin/GstVideoFlip:videoflip0:\ninvalid video buffer received"), details: None }
2024-08-09T13:26:30.983394Z  WARN kooha::recording: Received warning message on bus: Warning { structure: Some(GstMessageWarning { gerror: (GError) ((GError*) 0x7f4978004180), debug: (gchararray) "../gst-libs/gst/video/gstvideofilter.c(296): gst_video_filter_transform (): /GstPipeline:pipeline0/GstBin:kooha-pipewiresrc-bin/GstVideoFlip:videoflip0:\ninvalid video buffer received" }), source: Some((Object { inner: TypedObjectRef { inner: 0x55eb4e22c4c0, type: GstVideoFlip } }, "videoflip0")), error: Error { domain: gst-core-error-quark, code: 3, message: "Internal GStreamer error: code not implemented.  Please file a bug at https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/new." }, debug: Some("../gst-libs/gst/video/gstvideofilter.c(296): gst_video_filter_transform (): /GstPipeline:pipeline0/GstBin:kooha-pipewiresrc-bin/GstVideoFlip:videoflip0:\ninvalid video buffer received"), details: None }
2024-08-09T13:26:31.038530Z  WARN kooha::recording: Received warning message on bus: Warning { structure: Some(GstMessageWarning { gerror: (GError) ((GError*) 0x7f4978006920), debug: (gchararray) "../gst-libs/gst/video/gstvideofilter.c(296): gst_video_filter_transform (): /GstPipeline:pipeline0/GstBin:kooha-pipewiresrc-bin/GstVideoFlip:videoflip0:\ninvalid video buffer received" }), source: Some((Object { inner: TypedObjectRef { inner: 0x55eb4e22c4c0, type: GstVideoFlip } }, "videoflip0")), error: Error { domain: gst-core-error-quark, code: 3, message: "Internal GStreamer error: code not implemented.  Please file a bug at https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/new." }, debug: Some("../gst-libs/gst/video/gstvideofilter.c(296): gst_video_filter_transform (): /GstPipeline:pipeline0/GstBin:kooha-pipewiresrc-bin/GstVideoFlip:videoflip0:\ninvalid video buffer received"), details: None }
2024-08-09T13:26:31.043894Z  WARN kooha::recording: Received warning message on bus: Warning { structure: Some(GstMessageWarning { gerror: (GError) ((GError*) 0x7f4978002c50), debug: (gchararray) "../gst-libs/gst/video/gstvideofilter.c(296): gst_video_filter_transform (): /GstPipeline:pipeline0/GstBin:kooha-pipewiresrc-bin/GstVideoFlip:videoflip0:\ninvalid video buffer received" }), source: Some((Object { inner: TypedObjectRef { inner: 0x55eb4e22c4c0, type: GstVideoFlip } }, "videoflip0")), error: Error { domain: gst-core-error-quark, code: 3, message: "Internal GStreamer error: code not implemented.  Please file a bug at https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/new." }, debug: Some("../gst-libs/gst/video/gstvideofilter.c(296): gst_video_filter_transform (): /GstPipeline:pipeline0/GstBin:kooha-pipewiresrc-bin/GstVideoFlip:videoflip0:\ninvalid video buffer received"), details: None }

Second error is repeated many times (perhaps once per frame?).

Steps to reproduce

Use NixOS and CosmicDE from https://github.com/lilyinstarlight/nixos-cosmic (?)

Expected behavior

I've expected Kooha to just work. This issue can be caused by many things, so I'm not sure if the fix is supposed to be on Kooha side (it's even more probable that it's because of my setup or CosmicDE but I didn't see any issues opened relating to Cosmic yet), but maybe someone will see something obvious in the logs. Cosmic is obviously pretty new DE so it can also be the source of the issue.

Relevant logs, screenshots, screencasts, etc.

Logs with debug env variables

❯ RUST_BACKTRACE=1 RUST_LOG=kooha=debug GST_DEBUG=3 PIPEWIRE_DEBUG=3 kooha                                                                                                                                                                                                            took 7s  at 15:26:35
2024-08-09T13:31:41.290546Z  INFO kooha::application: Kooha (io.github.seadve.Kooha)
2024-08-09T13:31:41.290555Z  INFO kooha::application: Version: 2.3.0 ()
2024-08-09T13:31:41.290558Z  INFO kooha::application: Datadir: /nix/store/b1z1fz36kfl4asgpq05kqc4njabhar4i-kooha-2.3.0/share/kooha

(kooha:372602): Gtk-WARNING **: 15:31:41.296: Unknown key gtk-modules in /home/nxyt/.config/gtk-4.0/settings.ini

(kooha:372602): Adwaita-WARNING **: 15:31:41.363: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead.
2024-08-09T13:31:43.261212Z DEBUG kooha::recording: Created screencast proxy version=Ok(5) available_cursor_modes=Ok(CursorMode(HIDDEN | EMBEDDED)) available_source_types=Ok(SourceType(MONITOR))
2024-08-09T13:31:43.262307Z DEBUG kooha::recording: Selecting sources cursor_mode=CursorMode(EMBEDDED) source_type=SourceType(MONITOR) is_multiple_sources=false restore_token="" persist_mode=Persistent
2024-08-09T13:31:43.263287Z  WARN kooha::screencast_portal::window_identifier: Failed to export handle: BoolError { message: "Failed to export a handle. The compositor probably doesn't implement the xdg-foreign protocol", filename: "/build/kooha-2.3.0-vendor.tar.gz/gdk4-wayland/src/wayland_toplevel.rs", function: "gdk4_wayland::wayland_toplevel::<impl gdk4_wayland::auto::wayland_toplevel::WaylandToplevel>::export_handle::callback_func", line: 27 }
2024-08-09T13:31:43.263299Z DEBUG kooha::recording: Starting session window_identifier=wayland:
2024-08-09T13:31:46.983476Z DEBUG kooha::pipeline: file_path=/home/nxyt/Videos/Kooha/Kooha-2024-08-09-15-31-46.webm framerate=Fraction(Ratio { numer: 60, denom: 1 }) profile="webm-vp8" fd=42 stream_len=1 streams=[Stream { node_id: 126, id: None, position: None, size: None, source_type: None }] record_desktop_audio=false record_microphone=true select_area_data=None
[I][19216.513554] pw.context   | [      pipewire.c:  578 pw_init()] version 1.2.1
2024-08-09T13:31:46.989953Z DEBUG kooha::device: Finding device name for class `Source`
2024-08-09T13:31:46.989968Z DEBUG kooha::device: Skipping device `pulsedevice0` as it is not the default
2024-08-09T13:31:46.989981Z DEBUG kooha::device: Skipping device `pulsedevice1` as it is not the default
2024-08-09T13:31:46.990104Z DEBUG kooha::pipeline: Found microphone with name `alsa_input.usb-TC-Helicon_GoXLR-00.Direct__Direct__source`
[I][19216.521327] pw.conf      | [          conf.c:  415 conf_load()] 0x55a0f8e5c340: loaded config '/nix/store/dhn51w2km4fyf9ivi00rz03qs8q4mpng-pipewire-1.2.1/share/pipewire/client.conf' with 5 items
[I][19216.521411] pw.conf      | [          conf.c: 1143 pw_conf_section_for_each()] handle config '/nix/store/dhn51w2km4fyf9ivi00rz03qs8q4mpng-pipewire-1.2.1/share/pipewire/client.conf' section 'context.properties'
[I][19216.521425] pw.context   | [       context.c:  395 pw_context_new()] 0x55a0f8e60790: parsed 1 context.properties items
[I][19216.521457] pw.context   | [       context.c:  276 setup_data_loops()] created data loop 'data-loop.0'
[I][19216.521465] pw.context   | [       context.c:  279 setup_data_loops()] created 1 data-loops
[I][19216.521684] pw.conf      | [          conf.c: 1143 pw_conf_section_for_each()] handle config '/nix/store/dhn51w2km4fyf9ivi00rz03qs8q4mpng-pipewire-1.2.1/share/pipewire/client.conf' section 'context.spa-libs'
[I][19216.521708] pw.context   | [       context.c:  488 pw_context_new()] 0x55a0f8e60790: parsed 2 context.spa-libs items
[I][19216.521718] pw.conf      | [          conf.c: 1143 pw_conf_section_for_each()] handle config '/nix/store/dhn51w2km4fyf9ivi00rz03qs8q4mpng-pipewire-1.2.1/share/pipewire/client.conf' section 'context.modules'
[I][19216.521728] pw.module    | [   impl-module.c:  156 pw_context_load_module()] 0x55a0f8e60790: name:libpipewire-module-protocol-native args:(null)
[I][19216.521927] pw.conf      | [          conf.c:  611 load_module()] 0x55a0f8e60790: loaded module libpipewire-module-protocol-native
[I][19216.521939] pw.module    | [   impl-module.c:  156 pw_context_load_module()] 0x55a0f8e60790: name:libpipewire-module-client-node args:(null)
[I][19216.522153] pw.conf      | [          conf.c:  611 load_module()] 0x55a0f8e60790: loaded module libpipewire-module-client-node
[I][19216.522165] pw.module    | [   impl-module.c:  156 pw_context_load_module()] 0x55a0f8e60790: name:libpipewire-module-client-device args:(null)
[I][19216.522282] pw.conf      | [          conf.c:  611 load_module()] 0x55a0f8e60790: loaded module libpipewire-module-client-device
[I][19216.522293] pw.module    | [   impl-module.c:  156 pw_context_load_module()] 0x55a0f8e60790: name:libpipewire-module-adapter args:(null)
[I][19216.522432] pw.conf      | [          conf.c:  611 load_module()] 0x55a0f8e60790: loaded module libpipewire-module-adapter
[I][19216.522446] pw.module    | [   impl-module.c:  156 pw_context_load_module()] 0x55a0f8e60790: name:libpipewire-module-metadata args:(null)
[I][19216.522558] pw.conf      | [          conf.c:  611 load_module()] 0x55a0f8e60790: loaded module libpipewire-module-metadata
[I][19216.522567] pw.module    | [   impl-module.c:  156 pw_context_load_module()] 0x55a0f8e60790: name:libpipewire-module-session-manager args:(null)
[I][19216.522689] pw.conf      | [          conf.c:  611 load_module()] 0x55a0f8e60790: loaded module libpipewire-module-session-manager
[I][19216.522700] pw.context   | [       context.c:  492 pw_context_new()] 0x55a0f8e60790: parsed 6 context.modules items
[I][19216.522709] pw.context   | [       context.c:  497 pw_context_new()] 0x55a0f8e60790: parsed 0 context.objects items
[I][19216.522717] pw.context   | [       context.c:  500 pw_context_new()] 0x55a0f8e60790: parsed 0 context.exec items
[I][19216.522725] pw.metadata  | [ impl-metadata.c:  186 impl_set_property()] 0x55a0f8e62390: add id:0 key:log.level type: value:0
[I][19216.522734] pw.metadata  | [ impl-metadata.c:  186 impl_set_property()] 0x55a0f8e62390: add id:0 key:clock.rate type: value:48000
[I][19216.522741] pw.metadata  | [ impl-metadata.c:  186 impl_set_property()] 0x55a0f8e62390: add id:0 key:clock.allowed-rates type: value:[ 48000 ]
[I][19216.522747] pw.metadata  | [ impl-metadata.c:  186 impl_set_property()] 0x55a0f8e62390: add id:0 key:clock.quantum type: value:1024
[I][19216.522754] pw.metadata  | [ impl-metadata.c:  186 impl_set_property()] 0x55a0f8e62390: add id:0 key:clock.min-quantum type: value:32
[I][19216.522762] pw.metadata  | [ impl-metadata.c:  186 impl_set_property()] 0x55a0f8e62390: add id:0 key:clock.max-quantum type: value:2048
[I][19216.522768] pw.metadata  | [ impl-metadata.c:  186 impl_set_property()] 0x55a0f8e62390: add id:0 key:clock.force-quantum type: value:0
[I][19216.522774] pw.metadata  | [ impl-metadata.c:  186 impl_set_property()] 0x55a0f8e62390: add id:0 key:clock.force-rate type: value:0
[I][19216.522851] pw.conf      | [          conf.c: 1143 pw_conf_section_for_each()] handle config '/nix/store/dhn51w2km4fyf9ivi00rz03qs8q4mpng-pipewire-1.2.1/share/pipewire/client.conf' section 'stream.properties'
[E][19216.522892] mod.protocol-native | [module-protocol-: 1043 process_remote()] 0x55a0f8e6e4b0: could not find proxy 2
[E][19216.522908] mod.protocol-native | [module-protocol-: 1043 process_remote()] 0x55a0f8e6e4b0: could not find proxy 2
[E][19216.522915] mod.protocol-native | [module-protocol-: 1043 process_remote()] 0x55a0f8e6e4b0: could not find proxy 2
0:00:05.709060754 372602 0x7f722c001970 FIXME                default gstutils.c:4088:gst_element_decorate_stream_id_internal:<pipewiresrc0> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
[I][19216.525093] pw.context   | [       context.c:  725 pw_context_acquire_loop()] 0x55a0f8e60790: looking for name:'(null)' class:'main'
[I][19216.525108] pw.context   | [       context.c:  730 pw_context_acquire_loop()] 0x55a0f8e60790: using main loop num-data-loops:1
[I][19216.525135] pw.node      | [     impl-node.c: 1181 check_properties()] 0x7f71fc031920: sync group '(null)'->'group.sync.0'
[I][19216.525143] pw.node      | [     impl-node.c: 1205 check_properties()] 0x7f71fc031920: async 0 -> 1
[I][19216.525169] spa.loop     | [          loop.c:  396 loop_create_queue()] 0x55a0f8e5d438 created queue 0x7f71fc0329c0
[I][19216.525416] spa.loop     | [          loop.c:  396 loop_create_queue()] 0x55a0f8e5d438 created queue 0x7f72080353d0
[I][19216.529675] pw.stream    | [        stream.c:  842 parse_latency()] stream 0x55a0f8e81870: set output latency 0,000000-0,000000 0-0 0-0
[I][19216.530518] pw.stream    | [        stream.c:  651 impl_send_command()] 0x55a0f8e81870: command Spa:Pod:Object:Command:Node:Start
[I][19216.530546] pw.node      | [     impl-node.c:  462 node_update_state()] (.kooha-wrapped-134) creating -> running
[I][19216.563099] spa.loop     | [          loop.c:  396 loop_create_queue()] 0x55a0f8e5d438 created queue 0x55a0f8e9d5f0
0:00:05.747768065 372602 0x7f722c001250 WARN              aggregator gstaggregator.c:2283:gst_aggregator_query_latency_unlocked:<audiomixer0> Latency query failed
0:00:05.747774787 372602 0x7f722c0012b0 FIXME                default gstutils.c:4088:gst_element_decorate_stream_id_internal:<kooha-microphone-src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
[I][19216.563312] pw.stream    | [        stream.c:  651 impl_send_command()] 0x55a0f8e81870: command Spa:Pod:Object:Command:Node:Pause
0:00:05.747808722 372602 0x7f722c001250 WARN              aggregator gstaggregator.c:2283:gst_aggregator_query_latency_unlocked:<audiomixer0> Latency query failed
[I][19216.563362] pw.node      | [     impl-node.c:  462 node_update_state()] (.kooha-wrapped-134) running -> idle
0:00:05.747904593 372602 0x7f722c001250 WARN              aggregator gstaggregator.c:2283:gst_aggregator_query_latency_unlocked:<audiomixer0> Latency query failed
[I][19216.563544] pw.stream    | [        stream.c:  651 impl_send_command()] 0x55a0f8e81870: command Spa:Pod:Object:Command:Node:Start
0:00:05.748017487 372602 0x7f722c001970 ERROR               fdmemory gstfdmemory.c:132:gst_fd_mem_map: 0x7f7208031b50: fd 78: mmap failed: Invalid argument
[I][19216.563567] pw.node      | [     impl-node.c:  462 node_update_state()] (.kooha-wrapped-134) idle -> running
0:00:05.748029730 372602 0x7f722c001970 ERROR               fdmemory gstfdmemory.c:132:gst_fd_mem_map: 0x7f7208031b50: fd 78: mmap failed: Invalid argument
0:00:05.748048936 372602 0x7f722c001970 ERROR              videometa gstvideometa.c:362:default_map: cannot map memory range 0-1
0:00:05.748058515 372602 0x7f722c001970 ERROR                default video-frame.c:168:gst_video_frame_map_id: failed to map video frame plane 0
0:00:05.748066229 372602 0x7f722c001970 WARN             videofilter gstvideofilter.c:296:gst_video_filter_transform:<videoflip0> warning: invalid video buffer received
2024-08-09T13:31:47.034777Z DEBUG kooha::recording: Pipeline changed state from `Null` -> `Ready`
2024-08-09T13:31:47.034862Z DEBUG kooha::recording: Pipeline changed state from `Ready` -> `Paused`
2024-08-09T13:31:47.035777Z DEBUG kooha::window: Inhibited logout and idle
2024-08-09T13:31:47.035837Z  WARN kooha::recording: Received warning message on bus: Warning { structure: Some(GstMessageWarning { gerror: (GError) ((GError*) 0x7f71fc03c390), debug: (gchararray) "../gst-libs/gst/video/gstvideofilter.c(296): gst_video_filter_transform (): /GstPipeline:pipeline0/GstBin:kooha-pipewiresrc-bin/GstVideoFlip:videoflip0:\ninvalid video buffer received" }), source: Some((Object { inner: TypedObjectRef { inner: 0x55a0f8e0d870, type: GstVideoFlip } }, "videoflip0")), error: Error { domain: gst-core-error-quark, code: 3, message: "Internal GStreamer error: code not implemented.  Please file a bug at https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/new." }, debug: Some("../gst-libs/gst/video/gstvideofilter.c(296): gst_video_filter_transform (): /GstPipeline:pipeline0/GstBin:kooha-pipewiresrc-bin/GstVideoFlip:videoflip0:\ninvalid video buffer received"), details: None }
0:00:05.759781135 372602 0x7f722c001970 ERROR               fdmemory gstfdmemory.c:132:gst_fd_mem_map: 0x7f7208022e50: fd 79: mmap failed: Invalid argument
0:00:05.759789821 372602 0x7f722c001970 ERROR               fdmemory gstfdmemory.c:132:gst_fd_mem_map: 0x7f7208022e50: fd 79: mmap failed: Invalid argument
0:00:05.759796093 372602 0x7f722c001970 ERROR              videometa gstvideometa.c:362:default_map: cannot map memory range 0-1
0:00:05.759800982 372602 0x7f722c001970 ERROR                default video-frame.c:168:gst_video_frame_map_id: failed to map video frame plane 0
0:00:05.759806493 372602 0x7f722c001970 WARN             videofilter gstvideofilter.c:296:gst_video_filter_transform:<videoflip0> warning: invalid video buffer received
2024-08-09T13:31:47.046542Z  WARN kooha::recording: Received warning message on bus: Warning { structure: Some(GstMessageWarning { gerror: (GError) ((GError*) 0x7f71fc01dc50), debug: (gchararray) "../gst-libs/gst/video/gstvideofilter.c(296): gst_video_filter_transform (): /GstPipeline:pipeline0/GstBin:kooha-pipewiresrc-bin/GstVideoFlip:videoflip0:\ninvalid video buffer received" }), source: Some((Object { inner: TypedObjectRef { inner: 0x55a0f8e0d870, type: GstVideoFlip } }, "videoflip0")), error: Error { domain: gst-core-error-quark, code: 3, message: "Internal GStreamer error: code not implemented.  Please file a bug at https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/new." }, debug: Some("../gst-libs/gst/video/gstvideofilter.c(296): gst_video_filter_transform (): /GstPipeline:pipeline0/GstBin:kooha-pipewiresrc-bin/GstVideoFlip:videoflip0:\ninvalid video buffer received"), details: None }
0:00:05.807487029 372602 0x7f722c000dc0 FIXME               basesink gstbasesink.c:3399:gst_base_sink_default_event:<filesink0> stream-start event without group-id. Consider implementing group-id handling in the upstream elements
2024-08-09T13:31:47.094380Z DEBUG kooha::recording: Pipeline changed state from `Paused` -> `Playing`
0:00:05.818301601 372602 0x7f722c001970 ERROR               fdmemory gstfdmemory.c:132:gst_fd_mem_map: 0x7f720802b710: fd 81: mmap failed: Invalid argument
0:00:05.818310518 372602 0x7f722c001970 ERROR               fdmemory gstfdmemory.c:132:gst_fd_mem_map: 0x7f720802b710: fd 81: mmap failed: Invalid argument
0:00:05.818317411 372602 0x7f722c001970 ERROR              videometa gstvideometa.c:362:default_map: cannot map memory range 0-1
0:00:05.818322641 372602 0x7f722c001970 ERROR                default video-frame.c:168:gst_video_frame_map_id: failed to map video frame plane 0
0:00:05.818328932 372602 0x7f722c001970 WARN             videofilter gstvideofilter.c:296:gst_video_filter_transform:<videoflip0> warning: invalid video buffer received
2024-08-09T13:31:47.105065Z  WARN kooha::recording: Received warning message on bus: Warning { structure: Some(GstMessageWarning { gerror: (GError) ((GError*) 0x7f71fc006e20), debug: (gchararray) "../gst-libs/gst/video/gstvideofilter.c(296): gst_video_filter_transform (): /GstPipeline:pipeline0/GstBin:kooha-pipewiresrc-bin/GstVideoFlip:videoflip0:\ninvalid video buffer received" }), source: Some((Object { inner: TypedObjectRef { inner: 0x55a0f8e0d870, type: GstVideoFlip } }, "videoflip0")), error: Error { domain: gst-core-error-quark, code: 3, message: "Internal GStreamer error: code not implemented.  Please file a bug at https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/new." }, debug: Some("../gst-libs/gst/video/gstvideofilter.c(296): gst_video_filter_transform (): /GstPipeline:pipeline0/GstBin:kooha-pipewiresrc-bin/GstVideoFlip:videoflip0:\ninvalid video buffer received"), details: None }
0:00:05.824169999 372602 0x7f722c001970 ERROR               fdmemory gstfdmemory.c:132:gst_fd_mem_map: 0x7f720802b7b0: fd 82: mmap failed: Invalid argument
0:00:05.824179708 372602 0x7f722c001970 ERROR               fdmemory gstfdmemory.c:132:gst_fd_mem_map: 0x7f720802b7b0: fd 82: mmap failed: Invalid argument
0:00:05.824185929 372602 0x7f722c001970 ERROR              videometa gstvideometa.c:362:default_map: cannot map memory range 0-1
0:00:05.824189747 372602 0x7f722c001970 ERROR                default video-frame.c:168:gst_video_frame_map_id: failed to map video frame plane 0
0:00:05.824193824 372602 0x7f722c001970 WARN             videofilter gstvideofilter.c:296:gst_video_filter_transform:<videoflip0> warning: invalid video buffer received
2024-08-09T13:31:47.110942Z  WARN kooha::recording: Received warning message on bus: Warning { structure: Some(GstMessageWarning { gerror: (GError) ((GError*) 0x7f71fc0022a0), debug: (gchararray) "../gst-libs/gst/video/gstvideofilter.c(296): gst_video_filter_transform (): /GstPipeline:pipeline0/GstBin:kooha-pipewiresrc-bin/GstVideoFlip:videoflip0:\ninvalid video buffer received" }), source: Some((Object { inner: TypedObjectRef { inner: 0x55a0f8e0d870, type: GstVideoFlip } }, "videoflip0")), error: Error { domain: gst-core-error-quark, code: 3, message: "Internal GStreamer error: code not implemented.  Please file a bug at https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/new." }, debug: Some("../gst-libs/gst/video/gstvideofilter.c(296): gst_video_filter_transform (): /GstPipeline:pipeline0/GstBin:kooha-pipewiresrc-bin/GstVideoFlip:videoflip0:\ninvalid video buffer received"), details: None }
0:00:05.866425707 372602 0x7f722c001970 ERROR               fdmemory gstfdmemory.c:132:gst_fd_mem_map: 0x7f72080337f0: fd 83: mmap failed: Invalid argument
0:00:05.866436868 372602 0x7f722c001970 ERROR               fdmemory gstfdmemory.c:132:gst_fd_mem_map: 0x7f72080337f0: fd 83: mmap failed: Invalid argument
0:00:05.866444132 372602 0x7f722c001970 ERROR              videometa gstvideometa.c:362:default_map: cannot map memory range 0-1
0:00:05.866449281 372602 0x7f722c001970 ERROR                default video-frame.c:168:gst_video_frame_map_id: failed to map video frame plane 0
0:00:05.866454592 372602 0x7f722c001970 WARN             videofilter gstvideofilter.c:296:gst_video_filter_transform:<videoflip0> warning: invalid video buffer received
0:00:05.866478136 372602 0x7f722c001970 ERROR               fdmemory gstfdmemory.c:132:gst_fd_mem_map: 0x7f72080338c0: fd 84: mmap failed: Invalid argument
0:00:05.866485340 372602 0x7f722c001970 ERROR               fdmemory gstfdmemory.c:132:gst_fd_mem_map: 0x7f72080338c0: fd 84: mmap failed: Invalid argument
0:00:05.866490259 372602 0x7f722c001970 ERROR              videometa gstvideometa.c:362:default_map: cannot map memory range 0-1
0:00:05.866494788 372602 0x7f722c001970 ERROR                default video-frame.c:168:gst_video_frame_map_id: failed to map video frame plane 0
2024-08-09T13:31:47.153193Z  WARN kooha::recording: Received warning message on bus: Warning { structure: Some(GstMessageWarning { gerror: (GError) ((GError*) 0x7f71fc01cb90), debug: (gchararray) "../gst-libs/gst/video/gstvideofilter.c(296): gst_video_filter_transform (): /GstPipeline:pipeline0/GstBin:kooha-pipewiresrc-bin/GstVideoFlip:videoflip0:\ninvalid video buffer received" }), source: Some((Object { inner: TypedObjectRef { inner: 0x55a0f8e0d870, type: GstVideoFlip } }, "videoflip0")), error: Error { domain: gst-core-error-quark, code: 3, message: "Internal GStreamer error: code not implemented.  Please file a bug at https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/new." }, debug: Some("../gst-libs/gst/video/gstvideofilter.c(296): gst_video_filter_transform (): /GstPipeline:pipeline0/GstBin:kooha-pipewiresrc-bin/GstVideoFlip:videoflip0:\ninvalid video buffer received"), details: None }
0:00:05.866501200 372602 0x7f722c001970 WARN             videofilter gstvideofilter.c:296:gst_video_filter_transform:<videoflip0> warning: invalid video buffer received
2024-08-09T13:31:47.153232Z  WARN kooha::recording: Received warning message on bus: Warning { structure: Some(GstMessageWarning { gerror: (GError) ((GError*) 0x7f71fc03c160), debug: (gchararray) "../gst-libs/gst/video/gstvideofilter.c(296): gst_video_filter_transform (): /GstPipeline:pipeline0/GstBin:kooha-pipewiresrc-bin/GstVideoFlip:videoflip0:\ninvalid video buffer received" }), source: Some((Object { inner: TypedObjectRef { inner: 0x55a0f8e0d870, type: GstVideoFlip } }, "videoflip0")), error: Error { domain: gst-core-error-quark, code: 3, message: "Internal GStreamer error: code not implemented.  Please file a bug at https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/new." }, debug: Some("../gst-libs/gst/video/gstvideofilter.c(296): gst_video_filter_transform (): /GstPipeline:pipeline0/GstBin:kooha-pipewiresrc-bin/GstVideoFlip:videoflip0:\ninvalid video buffer received"), details: None }
0:00:05.884922590 372602 0x7f722c001970 ERROR               fdmemory gstfdmemory.c:132:gst_fd_mem_map: 0x7f720802e050: fd 85: mmap failed: Invalid argument
0:00:05.884932740 372602 0x7f722c001970 ERROR               fdmemory gstfdmemory.c:132:gst_fd_mem_map: 0x7f720802e050: fd 85: mmap failed: Invalid argument
0:00:05.884939092 372602 0x7f722c001970 ERROR              videometa gstvideometa.c:362:default_map: cannot map memory range 0-1
0:00:05.884944682 372602 0x7f722c001970 ERROR                default video-frame.c:168:gst_video_frame_map_id: failed to map video frame plane 0
0:00:05.884950613 372602 0x7f722c001970 WARN             videofilter gstvideofilter.c:296:gst_video_filter_transform:<videoflip0> warning: invalid video buffer received
0:00:05.884971393 372602 0x7f722c001970 ERROR               fdmemory gstfdmemory.c:132:gst_fd_mem_map: 0x7f7208031b50: fd 78: mmap failed: Invalid argument
0:00:05.884976282 372602 0x7f722c001970 ERROR               fdmemory gstfdmemory.c:132:gst_fd_mem_map: 0x7f7208031b50: fd 78: mmap failed: Invalid argument
0:00:05.884979678 372602 0x7f722c001970 ERROR              videometa gstvideometa.c:362:default_map: cannot map memory range 0-1
0:00:05.884984047 372602 0x7f722c001970 ERROR                default video-frame.c:168:gst_video_frame_map_id: failed to map video frame plane 0
2024-08-09T13:31:47.171685Z  WARN kooha::recording: Received warning message on bus: Warning { structure: Some(GstMessageWarning { gerror: (GError) ((GError*) 0x7f71fc03c160), debug: (gchararray) "../gst-libs/gst/video/gstvideofilter.c(296): gst_video_filter_transform (): /GstPipeline:pipeline0/GstBin:kooha-pipewiresrc-bin/GstVideoFlip:videoflip0:\ninvalid video buffer received" }), source: Some((Object { inner: TypedObjectRef { inner: 0x55a0f8e0d870, type: GstVideoFlip } }, "videoflip0")), error: Error { domain: gst-core-error-quark, code: 3, message: "Internal GStreamer error: code not implemented.  Please file a bug at https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/new." }, debug: Some("../gst-libs/gst/video/gstvideofilter.c(296): gst_video_filter_transform (): /GstPipeline:pipeline0/GstBin:kooha-pipewiresrc-bin/GstVideoFlip:videoflip0:\ninvalid video buffer received"), details: None }
0:00:05.884989697 372602 0x7f722c001970 WARN             videofilter gstvideofilter.c:296:gst_video_filter_transform:<videoflip0> warning: invalid video buffer received
0:00:05.885006599 372602 0x7f722c001970 ERROR               fdmemory gstfdmemory.c:132:gst_fd_mem_map: 0x7f7208022e50: fd 79: mmap failed: Invalid argument
0:00:05.885012000 372602 0x7f722c001970 ERROR               fdmemory gstfdmemory.c:132:gst_fd_mem_map: 0x7f7208022e50: fd 79: mmap failed: Invalid argument
2024-08-09T13:31:47.171719Z  WARN kooha::recording: Received warning message on bus: Warning { structure: Some(GstMessageWarning { gerror: (GError) ((GError*) 0x7f71fc01b520), debug: (gchararray) "../gst-libs/gst/video/gstvideofilter.c(296): gst_video_filter_transform (): /GstPipeline:pipeline0/GstBin:kooha-pipewiresrc-bin/GstVideoFlip:videoflip0:\ninvalid video buffer received" }), source: Some((Object { inner: TypedObjectRef { inner: 0x55a0f8e0d870, type: GstVideoFlip } }, "videoflip0")), error: Error { domain: gst-core-error-quark, code: 3, message: "Internal GStreamer error: code not implemented.  Please file a bug at https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/new." }, debug: Some("../gst-libs/gst/video/gstvideofilter.c(296): gst_video_filter_transform (): /GstPipeline:pipeline0/GstBin:kooha-pipewiresrc-bin/GstVideoFlip:videoflip0:\ninvalid video buffer received"), details: None }
SeaDve commented 1 month ago

This seems to be a bug with the screencast portal implementation on your DE