Open ainar-g opened 1 year ago
Similar issue is occurring on Fedora 37 with gnome 43.1
System Info:
- io.github.seadve.Kooha 2.2.2
- Flatpak: true
- Experimental: false
- Distribution: GNOME 43 (Flatpak runtime)
- Desktop Session: Fedora 37
- Display Server: wayland
Reproduced in the same manner as described by @ainar-g
Additional context:
$ env RUST_BACKTRACE=1 RUST_LOG=kooha=debug GST_DEBUG=3 PIPEWIRE_DEBUG=3 flatpak run io.github.seadve.Kooha
2022-11-27T04:38:42.566613Z INFO kooha::application: Kooha (io.github.seadve.Kooha)
2022-11-27T04:38:42.566623Z INFO kooha::application: Version: 2.2.2 ()
2022-11-27T04:38:42.566625Z INFO kooha::application: Datadir: /app/share/kooha
2022-11-27T04:38:49.121593Z DEBUG kooha::screencast_session: Waiting request response for method `CreateSession`
2022-11-27T04:38:49.121785Z DEBUG kooha::screencast_session: Request response received for method `CreateSession`
2022-11-27T04:38:49.121797Z DEBUG kooha::screencast_session: Created screencast session response={'session_handle': <'/org/freedesktop/portal/desktop/session/1_432/kooha_0'>}
2022-11-27T04:38:49.121807Z DEBUG kooha::recording: ScreenCast portal version: Ok(4)
2022-11-27T04:38:49.121816Z DEBUG kooha::recording: Available cursor modes: Ok(HIDDEN | EMBEDDED | METADATA)
2022-11-27T04:38:49.121818Z DEBUG kooha::recording: Available source types: Ok(MONITOR | WINDOW)
2022-11-27T04:38:49.122941Z DEBUG kooha::screencast_session: Waiting request response for method `SelectSources`
2022-11-27T04:38:49.123135Z DEBUG kooha::screencast_session: Request response received for method `SelectSources`
2022-11-27T04:38:49.123144Z DEBUG kooha::screencast_session: Selected sources response=@a{sv} {}
2022-11-27T04:38:49.123966Z DEBUG kooha::screencast_session: Waiting request response for method `Start`
2022-11-27T04:38:52.892493Z DEBUG kooha::screencast_session: Request response received for method `Start`
2022-11-27T04:38:52.892522Z DEBUG kooha::screencast_session: Started screencast session response={'streams': <[(uint32 75, {'id': <'0'>, 'source_type': <uint32 1>, 'position': <(0, 0)>, 'size': <(2560, 1080)>})]>}
2022-11-27T04:38:52.893669Z DEBUG kooha::screencast_session: Opened pipe wire remote response=(handle 0,) fd_list=[10]
[I][17119.812907] pw.context | [ pipewire.c: 662 pw_init()] version 0.3.57
[I][17119.814242] pw.conf | [ conf.c: 423 conf_load()] 0x7f1fb00588b0: loaded config '/usr/share/pipewire/client.conf' with 5 items
[I][17119.814263] pw.conf | [ conf.c: 881 pw_context_conf_section_for_each()] handle config '/usr/share/pipewire/client.conf' section 'context.properties'
[I][17119.814271] pw.context | [ context.c: 260 pw_context_new()] 0x7f1fb0058390: parsed 1 context.properties items
[I][17119.814447] pw.conf | [ conf.c: 881 pw_context_conf_section_for_each()] handle config '/usr/share/pipewire/client.conf' section 'context.spa-libs'
[I][17119.814468] pw.context | [ context.c: 361 pw_context_new()] 0x7f1fb0058390: parsed 2 context.spa-libs items
[I][17119.814474] pw.conf | [ conf.c: 881 pw_context_conf_section_for_each()] handle config '/usr/share/pipewire/client.conf' section 'context.modules'
[I][17119.814619] pw.conf | [ conf.c: 602 load_module()] 0x7f1fb0058390: loaded module libpipewire-module-protocol-native
[I][17119.814778] pw.conf | [ conf.c: 602 load_module()] 0x7f1fb0058390: loaded module libpipewire-module-client-node
[I][17119.814871] pw.conf | [ conf.c: 602 load_module()] 0x7f1fb0058390: loaded module libpipewire-module-client-device
[I][17119.815012] pw.conf | [ conf.c: 602 load_module()] 0x7f1fb0058390: loaded module libpipewire-module-adapter
[I][17119.815113] pw.conf | [ conf.c: 602 load_module()] 0x7f1fb0058390: loaded module libpipewire-module-metadata
[I][17119.815225] pw.conf | [ conf.c: 602 load_module()] 0x7f1fb0058390: loaded module libpipewire-module-session-manager
[I][17119.815234] pw.context | [ context.c: 365 pw_context_new()] 0x7f1fb0058390: parsed 6 context.modules items
[I][17119.815239] pw.context | [ context.c: 370 pw_context_new()] 0x7f1fb0058390: parsed 0 context.objects items
[I][17119.815244] pw.context | [ context.c: 373 pw_context_new()] 0x7f1fb0058390: parsed 0 context.exec items
[I][17119.815272] pw.metadata | [ impl-metadata.c: 205 impl_set_property()] 0x7f1fb0064c40: add id:0 key:log.level type: value:0
[I][17119.815279] pw.metadata | [ impl-metadata.c: 205 impl_set_property()] 0x7f1fb0064c40: add id:0 key:clock.rate type: value:48000
[I][17119.815284] pw.metadata | [ impl-metadata.c: 205 impl_set_property()] 0x7f1fb0064c40: add id:0 key:clock.allowed-rates type: value:[ 48000 ]
[I][17119.815289] pw.metadata | [ impl-metadata.c: 205 impl_set_property()] 0x7f1fb0064c40: add id:0 key:clock.quantum type: value:1024
[I][17119.815294] pw.metadata | [ impl-metadata.c: 205 impl_set_property()] 0x7f1fb0064c40: add id:0 key:clock.min-quantum type: value:32
[I][17119.815299] pw.metadata | [ impl-metadata.c: 205 impl_set_property()] 0x7f1fb0064c40: add id:0 key:clock.max-quantum type: value:2048
[I][17119.815303] pw.metadata | [ impl-metadata.c: 205 impl_set_property()] 0x7f1fb0064c40: add id:0 key:clock.force-quantum type: value:0
[I][17119.815307] pw.metadata | [ impl-metadata.c: 205 impl_set_property()] 0x7f1fb0064c40: add id:0 key:clock.force-rate type: value:0
[I][17119.815358] mod.protocol-native | [ local-socket.c: 91 try_connect()] connecting to 'pipewire-0' runtime_dir:/run/user/1000
[I][17119.815379] mod.protocol-native | [ local-socket.c: 91 try_connect()] connecting to 'pipewire-0' runtime_dir:/run/pipewire
0:00:10.337566080 2 0x7f1fc00e8ea0 ERROR pipewire gstpipewiredeviceprovider.c:639:gst_pipewire_device_provider_start:<pipewiredeviceprovider0> Failed to connect
Similar but not exactly the same:
$ env RUST_BACKTRACE=1 RUST_LOG=kooha=debug GST_DEBUG=3 PIPEWIRE_DEBUG=3 flatpak run io.github.seadve.Kooha
2023-01-05T14:34:07.107183Z INFO kooha::application: Kooha (io.github.seadve.Kooha)
2023-01-05T14:34:07.107205Z INFO kooha::application: Version: 2.2.3 ()
2023-01-05T14:34:07.107209Z INFO kooha::application: Datadir: /app/share/kooha
2023-01-05T14:34:13.459289Z DEBUG kooha::screencast_session: Waiting request response for method `CreateSession`
2023-01-05T14:34:13.460057Z DEBUG kooha::screencast_session: Request response received for method `CreateSession`
2023-01-05T14:34:13.460103Z DEBUG kooha::screencast_session: Created screencast session response=Variant { ptr: 0x55bb2b3cf5c0, type: VariantTy { inner: "a{sv}" }, value: "{'session_handle': <'/org/freedesktop/portal/desktop/session/1_468/kooha_0'>}" }
2023-01-05T14:34:13.460152Z DEBUG kooha::recording: ScreenCast portal version: Ok(4)
2023-01-05T14:34:13.460163Z DEBUG kooha::recording: Available cursor modes: Ok(HIDDEN | EMBEDDED | METADATA)
2023-01-05T14:34:13.460173Z DEBUG kooha::recording: Available source types: Ok(MONITOR | WINDOW)
2023-01-05T14:34:13.463433Z DEBUG kooha::screencast_session: Waiting request response for method `SelectSources`
2023-01-05T14:34:13.464261Z DEBUG kooha::screencast_session: Request response received for method `SelectSources`
2023-01-05T14:34:13.464305Z DEBUG kooha::screencast_session: Selected sources response=Variant { ptr: 0x7f4638002b40, type: VariantTy { inner: "a{sv}" }, value: "@a{sv} {}" }
2023-01-05T14:34:13.467198Z DEBUG kooha::screencast_session: Waiting request response for method `Start`
2023-01-05T14:34:19.498214Z DEBUG kooha::screencast_session: Request response received for method `Start`
2023-01-05T14:34:19.498275Z DEBUG kooha::screencast_session: Started screencast session response=Variant { ptr: 0x7f4624015e00, type: VariantTy { inner: "a{sv}" }, value: "{'streams': <[(uint32 39, {'id': <'0'>, 'source_type': <uint32 1>, 'position': <(1920, 0)>, 'size': <(2560, 1440)>})]>, 'restore_token': <'d726d865-0156-4867-a702-637ca41db79b'>}" }
2023-01-05T14:34:19.500245Z DEBUG kooha::screencast_session: Opened pipe wire remote response=(handle 0,) fd_list=[10]
[I][22168.558793] pw.context | [ pipewire.c: 662 pw_init()] version 0.3.59
[I][22168.561627] pw.conf | [ conf.c: 423 conf_load()] 0x7f4648070350: loaded config '/usr/share/pipewire/client.conf' with 5 items
[I][22168.561680] pw.conf | [ conf.c: 881 pw_context_conf_section_for_each()] handle config '/usr/share/pipewire/client.conf' section 'context.properties'
[I][22168.561697] pw.context | [ context.c: 260 pw_context_new()] 0x7f464806fe30: parsed 1 context.properties items
[I][22168.562087] pw.conf | [ conf.c: 881 pw_context_conf_section_for_each()] handle config '/usr/share/pipewire/client.conf' section 'context.spa-libs'
[I][22168.562134] pw.context | [ context.c: 361 pw_context_new()] 0x7f464806fe30: parsed 2 context.spa-libs items
[I][22168.562149] pw.conf | [ conf.c: 881 pw_context_conf_section_for_each()] handle config '/usr/share/pipewire/client.conf' section 'context.modules'
[I][22168.562478] pw.conf | [ conf.c: 602 load_module()] 0x7f464806fe30: loaded module libpipewire-module-protocol-native
[I][22168.562818] pw.conf | [ conf.c: 602 load_module()] 0x7f464806fe30: loaded module libpipewire-module-client-node
[I][22168.563017] pw.conf | [ conf.c: 602 load_module()] 0x7f464806fe30: loaded module libpipewire-module-client-device
[I][22168.563251] pw.conf | [ conf.c: 602 load_module()] 0x7f464806fe30: loaded module libpipewire-module-adapter
[I][22168.563498] pw.conf | [ conf.c: 602 load_module()] 0x7f464806fe30: loaded module libpipewire-module-metadata
[I][22168.563749] pw.conf | [ conf.c: 602 load_module()] 0x7f464806fe30: loaded module libpipewire-module-session-manager
[I][22168.563777] pw.context | [ context.c: 365 pw_context_new()] 0x7f464806fe30: parsed 6 context.modules items
[I][22168.563791] pw.context | [ context.c: 370 pw_context_new()] 0x7f464806fe30: parsed 0 context.objects items
[I][22168.563803] pw.context | [ context.c: 373 pw_context_new()] 0x7f464806fe30: parsed 0 context.exec items
[I][22168.563862] pw.metadata | [ impl-metadata.c: 205 impl_set_property()] 0x7f464807c440: add id:0 key:log.level type: value:0
[I][22168.563885] pw.metadata | [ impl-metadata.c: 205 impl_set_property()] 0x7f464807c440: add id:0 key:clock.rate type: value:48000
[I][22168.563898] pw.metadata | [ impl-metadata.c: 205 impl_set_property()] 0x7f464807c440: add id:0 key:clock.allowed-rates type: value:[ 48000 ]
[I][22168.563912] pw.metadata | [ impl-metadata.c: 205 impl_set_property()] 0x7f464807c440: add id:0 key:clock.quantum type: value:1024
[I][22168.563924] pw.metadata | [ impl-metadata.c: 205 impl_set_property()] 0x7f464807c440: add id:0 key:clock.min-quantum type: value:32
[I][22168.563937] pw.metadata | [ impl-metadata.c: 205 impl_set_property()] 0x7f464807c440: add id:0 key:clock.max-quantum type: value:2048
[I][22168.563949] pw.metadata | [ impl-metadata.c: 205 impl_set_property()] 0x7f464807c440: add id:0 key:clock.force-quantum type: value:0
[I][22168.563964] pw.metadata | [ impl-metadata.c: 205 impl_set_property()] 0x7f464807c440: add id:0 key:clock.force-rate type: value:0
[I][22168.564071] mod.protocol-native | [ local-socket.c: 91 try_connect()] connecting to 'pipewire-0' runtime_dir:/run/user/1000
[I][22168.564113] mod.protocol-native | [ local-socket.c: 91 try_connect()] connecting to 'pipewire-0' runtime_dir:/run/pipewire
0:00:16.412633594 2 0x7f465408d180 ERROR pipewire gstpipewiredeviceprovider.c:639:gst_pipewire_device_provider_start:<pipewiredeviceprovider0> Failed to connect
0:00:16.759133571 2 0x7f465408d180 WARN alsa conf.c:5545:parse_args: alsalib error: Parameter DEV must be an integer
0:00:16.759183175 2 0x7f465408d180 WARN alsa conf.c:5687:snd_config_expand: alsalib error: Parse arguments error: Zły argument
0:00:16.759201850 2 0x7f465408d180 WARN alsa pcm.c:2664:snd_pcm_open_noupdate: alsalib error: Unknown PCM hw:0,3:{AES0 0x02 AES1 0x82 AES2 0x00 AES3 0x02}
0:00:16.759677485 2 0x7f465408d180 WARN alsa conf.c:5545:parse_args: alsalib error: Parameter DEV must be an integer
0:00:16.759701621 2 0x7f465408d180 WARN alsa conf.c:5687:snd_config_expand: alsalib error: Parse arguments error: Zły argument
0:00:16.759716660 2 0x7f465408d180 WARN alsa pcm.c:2664:snd_pcm_open_noupdate: alsalib error: Unknown PCM hw:0,7:{AES0 0x02 AES1 0x82 AES2 0x00 AES3 0x02}
0:00:16.760161987 2 0x7f465408d180 WARN alsa conf.c:5545:parse_args: alsalib error: Parameter DEV must be an integer
0:00:16.760185772 2 0x7f465408d180 WARN alsa conf.c:5687:snd_config_expand: alsalib error: Parse arguments error: Zły argument
0:00:16.760200620 2 0x7f465408d180 WARN alsa pcm.c:2664:snd_pcm_open_noupdate: alsalib error: Unknown PCM hw:0,8:{AES0 0x02 AES1 0x82 AES2 0x00 AES3 0x02}
0:00:16.760644895 2 0x7f465408d180 WARN alsa conf.c:5545:parse_args: alsalib error: Parameter DEV must be an integer
0:00:16.760667268 2 0x7f465408d180 WARN alsa conf.c:5687:snd_config_expand: alsalib error: Parse arguments error: Zły argument
0:00:16.760681495 2 0x7f465408d180 WARN alsa pcm.c:2664:snd_pcm_open_noupdate: alsalib error: Unknown PCM hw:2,0:{AES0 0x02 AES1 0x82 AES2 0x00 AES3 0x02}
0:00:16.761016272 2 0x7f465408d180 WARN alsa conf.c:5545:parse_args: alsalib error: Parameter DEV must be an integer
0:00:16.761037913 2 0x7f465408d180 WARN alsa conf.c:5687:snd_config_expand: alsalib error: Parse arguments error: Zły argument
0:00:16.761050667 2 0x7f465408d180 WARN alsa pcm.c:2664:snd_pcm_open_noupdate: alsalib error: Unknown PCM hw:2,1:{AES0 0x02 AES1 0x82 AES2 0x00 AES3 0x02}
0:00:16.761443094 2 0x7f465408d180 WARN alsa conf.c:5545:parse_args: alsalib error: Parameter DEV must be an integer
0:00:16.761464925 2 0x7f465408d180 WARN alsa conf.c:5687:snd_config_expand: alsalib error: Parse arguments error: Zły argument
0:00:16.761477589 2 0x7f465408d180 WARN alsa pcm.c:2664:snd_pcm_open_noupdate: alsalib error: Unknown PCM hw:3,0:{AES0 0x02 AES1 0x82 AES2 0x00 AES3 0x02}
2023-01-05T14:34:23.861417Z DEBUG kooha::audio_device: Finding device name for class `Sink`
2023-01-05T14:34:23.861477Z WARN kooha::audio_device: Skipping device `pulsedevice6` as it has no node.name property. FieldNotFound { name: "node.name" }
2023-01-05T14:34:23.861512Z DEBUG kooha::audio_device: Skipping device `pulsedevice7` as it is not the default
2023-01-05T14:34:23.861538Z DEBUG kooha::audio_device: Skipping device `pulsedevice8` as it is not the default
2023-01-05T14:34:23.861635Z WARN kooha::audio_device: Failed to find default name using gstreamer: Failed to find a default device
2023-01-05T14:34:23.861657Z DEBUG kooha::audio_device: Manually using libpulse instead
2023-01-05T14:34:23.861897Z DEBUG kooha::audio_device::pa: Waiting for context server connection
2023-01-05T14:34:23.862369Z DEBUG kooha::audio_device::pa: Connected context to server
2023-01-05T14:34:23.864991Z DEBUG kooha::pipeline: file_path=/home/jarek/Wideo/Kooha/Kooha-2023-01-05-15-34-23.mp4 framerate=15 profile=Mp4Profile stream_len=1 streams=[Stream { node_id: 39, id: Some("0"), position: Some((1920, 0)), size: Some((2560, 1440)), source_type: Some(MONITOR) }] speaker_source=Some("alsa_output.usb-Plantronics_Plantronics_C720-M_69cc2a75b109ab4aa1aad2ebc51a28a3-00.analog-stereo.monitor") mic_source=None select_area_data=None
2023-01-05T14:34:23.868576Z DEBUG kooha::pipeline: pipewiresrc needs copy: false
2023-01-05T14:34:23.889698Z DEBUG kooha::profile: encodebin_elements=["audioconvert", "audioresample", "audioconvert", "audiorate", "ANY", "lamemp3enc", "queue", "streamsplitter1", "streamcombiner1", "mpegaudioparse", "audio/mpeg, mpegversion=(int)1, layer=(int)3, rate=(int){ 8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000 }, channels=(int)[ 1, 2 ]", "queue", "videorate", "videoconvert", "videoscale", "videoconvert", "ANY", "x264enc", "queue", "streamsplitter0", "streamcombiner0", "h264parse", "video/x-h264, framerate=(fraction)[ 0/1, 2147483647/1 ], width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], stream-format=(string){ avc, byte-stream }, alignment=(string)au, profile=(string)baseline", "queue", "mp4mux"]
[I][22168.942896] pw.conf | [ conf.c: 423 conf_load()] 0x55bb2b5e1fa0: loaded config '/usr/share/pipewire/client.conf' with 5 items
[I][22168.943008] pw.conf | [ conf.c: 881 pw_context_conf_section_for_each()] handle config '/usr/share/pipewire/client.conf' section 'context.properties'
[I][22168.943046] pw.context | [ context.c: 260 pw_context_new()] 0x55bb2b5e4000: parsed 1 context.properties items
[I][22168.943861] pw.conf | [ conf.c: 881 pw_context_conf_section_for_each()] handle config '/usr/share/pipewire/client.conf' section 'context.spa-libs'
[I][22168.943955] pw.context | [ context.c: 361 pw_context_new()] 0x55bb2b5e4000: parsed 2 context.spa-libs items
[I][22168.943976] pw.conf | [ conf.c: 881 pw_context_conf_section_for_each()] handle config '/usr/share/pipewire/client.conf' section 'context.modules'
[I][22168.944371] pw.conf | [ conf.c: 602 load_module()] 0x55bb2b5e4000: loaded module libpipewire-module-protocol-native
[I][22168.944757] pw.conf | [ conf.c: 602 load_module()] 0x55bb2b5e4000: loaded module libpipewire-module-client-node
[I][22168.945212] pw.conf | [ conf.c: 602 load_module()] 0x55bb2b5e4000: loaded module libpipewire-module-client-device
[I][22168.945685] pw.conf | [ conf.c: 602 load_module()] 0x55bb2b5e4000: loaded module libpipewire-module-adapter
[I][22168.946138] pw.conf | [ conf.c: 602 load_module()] 0x55bb2b5e4000: loaded module libpipewire-module-metadata
[I][22168.946651] pw.conf | [ conf.c: 602 load_module()] 0x55bb2b5e4000: loaded module libpipewire-module-session-manager
[I][22168.946698] pw.context | [ context.c: 365 pw_context_new()] 0x55bb2b5e4000: parsed 6 context.modules items
[I][22168.946730] pw.context | [ context.c: 370 pw_context_new()] 0x55bb2b5e4000: parsed 0 context.objects items
[I][22168.946762] pw.context | [ context.c: 373 pw_context_new()] 0x55bb2b5e4000: parsed 0 context.exec items
[I][22168.946907] pw.metadata | [ impl-metadata.c: 205 impl_set_property()] 0x55bb2b5ea0b0: add id:0 key:log.level type: value:0
[I][22168.946950] pw.metadata | [ impl-metadata.c: 205 impl_set_property()] 0x55bb2b5ea0b0: add id:0 key:clock.rate type: value:48000
[I][22168.946986] pw.metadata | [ impl-metadata.c: 205 impl_set_property()] 0x55bb2b5ea0b0: add id:0 key:clock.allowed-rates type: value:[ 48000 ]
[I][22168.947019] pw.metadata | [ impl-metadata.c: 205 impl_set_property()] 0x55bb2b5ea0b0: add id:0 key:clock.quantum type: value:1024
[I][22168.947050] pw.metadata | [ impl-metadata.c: 205 impl_set_property()] 0x55bb2b5ea0b0: add id:0 key:clock.min-quantum type: value:32
[I][22168.947081] pw.metadata | [ impl-metadata.c: 205 impl_set_property()] 0x55bb2b5ea0b0: add id:0 key:clock.max-quantum type: value:2048
[I][22168.947113] pw.metadata | [ impl-metadata.c: 205 impl_set_property()] 0x55bb2b5ea0b0: add id:0 key:clock.force-quantum type: value:0
[I][22168.947145] pw.metadata | [ impl-metadata.c: 205 impl_set_property()] 0x55bb2b5ea0b0: add id:0 key:clock.force-rate type: value:0
[I][22168.947485] pw.conf | [ conf.c: 881 pw_context_conf_section_for_each()] handle config '/usr/share/pipewire/client.conf' section 'stream.properties'
0:00:16.797968634 2 0x7f465418d2a0 WARN aggregator gstaggregator.c:2101:gst_aggregator_query_latency_unlocked:<audiomixer0> Latency query failed
0:00:16.798025442 2 0x7f465418d2a0 WARN aggregator gstaggregator.c:2101:gst_aggregator_query_latency_unlocked:<muxer> Latency query failed
0:00:16.799223170 2 0x7f46540a0de0 FIXME default gstutils.c:4025:gst_pad_create_stream_id_internal:<pipewiresrc0:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
[I][22168.954339] pw.stream | [ stream.c: 596 impl_send_command()] 0x55bb2b61b540: command Spa:Pod:Object:Command:Node:Start
Ubuntu 22.04
Hi, is this still reproducible in the latest version: 2.2.4?
@SeaDve, I'm not running Ubuntu anymore, so unless someone else from this thread can chime in, I won't be able to recheck, sorry. I'm using a different software now, so if nobody tries to reproduce, you can close the issue.
System Info
Describe the bug Once I press “Record” and then “Share”, nothing happens. The
flatpak run
command exits with exit code 139.To Reproduce Steps to reproduce the behavior:
Click on “Record”.
Click on “Share”.
Expected behavior Recording starts.
Additional context
Also, I've tried running with with Experimental features on, as well as selecting any of my two monitors. Nothing seems to work.