Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recording doesn't start, flatpak run exits with code 139 #207

Open
ainar-g opened this issue Nov 24, 2022 · 4 comments
Open

Recording doesn't start, flatpak run exits with code 139 #207

ainar-g opened this issue Nov 24, 2022 · 4 comments
Labels
Needs info Further information is requested

Comments

@ainar-g
Copy link

ainar-g commented Nov 24, 2022

System Info

- io.github.seadve.Kooha 2.2.2
- Flatpak: true
- Experimental: false

- Distribution: GNOME 43 (Flatpak runtime)
- Desktop Session: ubuntu
- Display Server: wayland

- GTK 4.8.2
- Libadwaita 1.2.0
- GStreamer 1.20.3
- Pipewire 0.3.57

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:

  1. env RUST_BACKTRACE=1 RUST_LOG=kooha=debug GST_DEBUG=3 PIPEWIRE_DEBUG=3 flatpak run io.github.seadve.Kooha
  2. Click on “Record”.

  3. Click on “Share”.

Expected behavior
Recording starts.

Additional context

2022-11-24T15:20:10.108968Z  INFO kooha::application: Kooha (io.github.seadve.Kooha)
2022-11-24T15:20:10.108987Z  INFO kooha::application: Version: 2.2.2 ()
2022-11-24T15:20:10.108990Z  INFO kooha::application: Datadir: /app/share/kooha
2022-11-24T15:22:11.056604Z DEBUG kooha::screencast_session: Waiting request response for method `CreateSession`
2022-11-24T15:22:11.057287Z DEBUG kooha::screencast_session: Request response received for method `CreateSession`
2022-11-24T15:22:11.057323Z DEBUG kooha::screencast_session: Created screencast session response={'session_handle': <'/org/freedesktop/portal/desktop/session/1_403/kooha_0'>}
2022-11-24T15:22:11.057357Z DEBUG kooha::recording: ScreenCast portal version: Ok(4)
2022-11-24T15:22:11.057368Z DEBUG kooha::recording: Available cursor modes: Ok(HIDDEN | EMBEDDED | METADATA)
2022-11-24T15:22:11.057379Z DEBUG kooha::recording: Available source types: Ok(MONITOR | WINDOW)
2022-11-24T15:22:11.065662Z DEBUG kooha::screencast_session: Waiting request response for method `SelectSources`
2022-11-24T15:22:11.066778Z DEBUG kooha::screencast_session: Request response received for method `SelectSources`
2022-11-24T15:22:11.066817Z DEBUG kooha::screencast_session: Selected sources response=@a{sv} {}
2022-11-24T15:22:11.070899Z DEBUG kooha::screencast_session: Waiting request response for method `Start`
2022-11-24T15:22:11.086634Z DEBUG kooha::screencast_session: Request response received for method `Start`
2022-11-24T15:22:11.086705Z DEBUG kooha::screencast_session: Started screencast session response={'restore_token': <'23e2a572-fda9-488b-b3a5-9f01cd58c237'>, 'streams': <[(uint32 43, {'id': <'0'>, 'source_type': <uint32 1>, 'position': <(0, 0)>, 'size': <(2560, 1440)>})]>}
2022-11-24T15:22:11.088731Z DEBUG kooha::screencast_session: Opened pipe wire remote response=(handle 0,) fd_list=[10]
[I][09661.342616] pw.context   | [      pipewire.c:  662 pw_init()] version 0.3.57
[I][09661.345368] pw.conf      | [          conf.c:  423 conf_load()] 0x55f6cd79c1a0: loaded config '/usr/share/pipewire/client.conf' with 5 items
[I][09661.345441] pw.conf      | [          conf.c:  881 pw_context_conf_section_for_each()] handle config '/usr/share/pipewire/client.conf' section 'context.properties'
[I][09661.345475] pw.context   | [       context.c:  260 pw_context_new()] 0x55f6cd79d280: parsed 1 context.properties items
[I][09661.346014] pw.conf      | [          conf.c:  881 pw_context_conf_section_for_each()] handle config '/usr/share/pipewire/client.conf' section 'context.spa-libs'
[I][09661.346075] pw.context   | [       context.c:  361 pw_context_new()] 0x55f6cd79d280: parsed 2 context.spa-libs items
[I][09661.346098] pw.conf      | [          conf.c:  881 pw_context_conf_section_for_each()] handle config '/usr/share/pipewire/client.conf' section 'context.modules'
[I][09661.346541] pw.conf      | [          conf.c:  602 load_module()] 0x55f6cd79d280: loaded module libpipewire-module-protocol-native
[I][09661.346936] pw.conf      | [          conf.c:  602 load_module()] 0x55f6cd79d280: loaded module libpipewire-module-client-node
[I][09661.347141] pw.conf      | [          conf.c:  602 load_module()] 0x55f6cd79d280: loaded module libpipewire-module-client-device
[I][09661.347374] pw.conf      | [          conf.c:  602 load_module()] 0x55f6cd79d280: loaded module libpipewire-module-adapter
[I][09661.347598] pw.conf      | [          conf.c:  602 load_module()] 0x55f6cd79d280: loaded module libpipewire-module-metadata
[I][09661.347844] pw.conf      | [          conf.c:  602 load_module()] 0x55f6cd79d280: loaded module libpipewire-module-session-manager
[I][09661.347867] pw.context   | [       context.c:  365 pw_context_new()] 0x55f6cd79d280: parsed 6 context.modules items
[I][09661.347882] pw.context   | [       context.c:  370 pw_context_new()] 0x55f6cd79d280: parsed 0 context.objects items
[I][09661.347896] pw.context   | [       context.c:  373 pw_context_new()] 0x55f6cd79d280: parsed 0 context.exec items
[I][09661.347962] pw.metadata  | [ impl-metadata.c:  205 impl_set_property()] 0x55f6cd7b1b20: add id:0 key:log.level type: value:0
[I][09661.347981] pw.metadata  | [ impl-metadata.c:  205 impl_set_property()] 0x55f6cd7b1b20: add id:0 key:clock.rate type: value:48000
[I][09661.347997] pw.metadata  | [ impl-metadata.c:  205 impl_set_property()] 0x55f6cd7b1b20: add id:0 key:clock.allowed-rates type: value:[ 48000 ]
[I][09661.348013] pw.metadata  | [ impl-metadata.c:  205 impl_set_property()] 0x55f6cd7b1b20: add id:0 key:clock.quantum type: value:1024
[I][09661.348028] pw.metadata  | [ impl-metadata.c:  205 impl_set_property()] 0x55f6cd7b1b20: add id:0 key:clock.min-quantum type: value:32
[I][09661.348044] pw.metadata  | [ impl-metadata.c:  205 impl_set_property()] 0x55f6cd7b1b20: add id:0 key:clock.max-quantum type: value:2048
[I][09661.348058] pw.metadata  | [ impl-metadata.c:  205 impl_set_property()] 0x55f6cd7b1b20: add id:0 key:clock.force-quantum type: value:0
[I][09661.348072] pw.metadata  | [ impl-metadata.c:  205 impl_set_property()] 0x55f6cd7b1b20: add id:0 key:clock.force-rate type: value:0
[I][09661.348223] pw.conf      | [          conf.c:  881 pw_context_conf_section_for_each()] handle config '/usr/share/pipewire/client.conf' section 'stream.properties'
0:02:01.007158887     2 0x55f6cc956e40 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][09661.349730] pw.stream    | [        stream.c:  587 impl_send_command()] 0x55f6cd7d2550: command Spa:Pod:Object:Command:Node:Start

Also, I've tried running with with Experimental features on, as well as selecting any of my two monitors. Nothing seems to work.

@remulocosta
Copy link

remulocosta commented Nov 27, 2022

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

@zgoda
Copy link

zgoda commented Jan 5, 2023

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

@SeaDve
Copy link
Owner

SeaDve commented Feb 8, 2024

Hi, is this still reproducible in the latest version: 2.2.4?

@SeaDve SeaDve added the Needs info Further information is requested label Feb 8, 2024
@ainar-g
Copy link
Author

ainar-g commented Feb 8, 2024

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs info Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants