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

Pressing the Stop tray icon freezes Kooha #322

Open
yioannides opened this issue Nov 7, 2024 · 0 comments
Open

Pressing the Stop tray icon freezes Kooha #322

yioannides opened this issue Nov 7, 2024 · 0 comments

Comments

@yioannides
Copy link

Affected version

v2.3.0 (flatpak)

Bug summary

When I do a screen recording and press the yellow tray icon to stop the recording, the app freezes.

Steps to reproduce

  1. Open Kooha.
  2. Start a screen capture recording.
  3. Press the yellow tray icon.

Expected behavior

The recording should stop and return to Kooha's main menu.

Screencast.From.2024-11-07.16-19-42.mp4

Log:

2024-11-07T14:26:07.539287Z  INFO kooha::application: Kooha (io.github.seadve.Kooha)
2024-11-07T14:26:07.539299Z  INFO kooha::application: Version: 2.3.0 ()
2024-11-07T14:26:07.539302Z  INFO kooha::application: Datadir: /app/share/kooha
2024-11-07T14:26:29.408989Z DEBUG kooha::recording: Created screencast proxy version=Ok(5) available_cursor_modes=Ok(CursorMode(HIDDEN | EMBEDDED | METADATA)) available_source_types=Ok(SourceType(MONITOR | WINDOW | VIRTUAL))
2024-11-07T14:26:29.410102Z DEBUG kooha::recording: Selecting sources cursor_mode=CursorMode(EMBEDDED) source_type=SourceType(MONITOR) is_multiple_sources=false restore_token="0fd2f680-74a6-427f-9db3-b0f7496654a8" persist_mode=Persistent
2024-11-07T14:26:29.414223Z DEBUG kooha::recording: Starting session window_identifier=wayland:<<|)US"$E^2UenO(aq!=k/z%4{5/je8+
2024-11-07T14:26:29.424671Z DEBUG kooha::pipeline: file_path=/mnt/external/Dropbox/videos/Kooha/Kooha-2024-11-07-16-26-29.mp4 framerate=Fraction(Ratio { numer: 60, denom: 1 }) profile="mp4" fd=117 stream_len=1 streams=[Stream { node_id: 99, id: Some("0"), position: Some((0, 0)), size: Some((2560, 1440)), source_type: Some(SourceType(MONITOR)) }] record_desktop_audio=true record_microphone=false select_area_data=None
[I][78356.993874] pw.context   | [      pipewire.c:  647 pw_init()] version 0.3.83
2024-11-07T14:26:29.430658Z DEBUG kooha::device: Finding device name for class `Sink`
2024-11-07T14:26:29.430664Z DEBUG kooha::device: Skipping device `pulsedevice0` as it has unknown device class `Audio/Source`
2024-11-07T14:26:29.430671Z DEBUG kooha::device: Skipping device `pulsedevice1` as it has unknown device class `Audio/Source`
2024-11-07T14:26:29.430675Z DEBUG kooha::device: Skipping device `pulsedevice2` as it has unknown device class `Audio/Source`
2024-11-07T14:26:29.430679Z DEBUG kooha::device: Skipping device `pulsedevice3` as it has unknown device class `Audio/Source`
2024-11-07T14:26:29.430816Z DEBUG kooha::pipeline: Found desktop audio with name `alsa_output.usb-MOTU_M2_M2AE2D5CF5-00.HiFi__Line1__sink.monitor`
[I][78360.010059] pw.conf      | [          conf.c:  404 conf_load()] 0x5621b34a93b0: loaded config '/usr/share/pipewire/client.conf' with 5 items
[I][78360.010334] pw.conf      | [          conf.c:  957 pw_conf_section_for_each()] handle config '/usr/share/pipewire/client.conf' section 'context.properties'
[I][78360.010345] pw.context   | [       context.c:  245 pw_context_new()] 0x5621b447f700: parsed 1 context.properties items
[I][78360.010626] pw.conf      | [          conf.c:  957 pw_conf_section_for_each()] handle config '/usr/share/pipewire/client.conf' section 'context.spa-libs'
[I][78360.010653] pw.context   | [       context.c:  346 pw_context_new()] 0x5621b447f700: parsed 2 context.spa-libs items
[I][78360.010661] pw.conf      | [          conf.c:  957 pw_conf_section_for_each()] handle config '/usr/share/pipewire/client.conf' section 'context.modules'
[I][78360.010671] pw.module    | [   impl-module.c:  157 pw_context_load_module()] 0x5621b447f700: name:libpipewire-module-protocol-native args:(null)
[I][78360.011344] pw.conf      | [          conf.c:  581 load_module()] 0x5621b447f700: loaded module libpipewire-module-protocol-native
[I][78360.011356] pw.module    | [   impl-module.c:  157 pw_context_load_module()] 0x5621b447f700: name:libpipewire-module-client-node args:(null)
[I][78360.011545] pw.conf      | [          conf.c:  581 load_module()] 0x5621b447f700: loaded module libpipewire-module-client-node
[I][78360.011556] pw.module    | [   impl-module.c:  157 pw_context_load_module()] 0x5621b447f700: name:libpipewire-module-client-device args:(null)
[I][78360.011662] pw.conf      | [          conf.c:  581 load_module()] 0x5621b447f700: loaded module libpipewire-module-client-device
[I][78360.011672] pw.module    | [   impl-module.c:  157 pw_context_load_module()] 0x5621b447f700: name:libpipewire-module-adapter args:(null)
[I][78360.011796] pw.conf      | [          conf.c:  581 load_module()] 0x5621b447f700: loaded module libpipewire-module-adapter
[I][78360.011806] pw.module    | [   impl-module.c:  157 pw_context_load_module()] 0x5621b447f700: name:libpipewire-module-metadata args:(null)
[I][78360.011911] pw.conf      | [          conf.c:  581 load_module()] 0x5621b447f700: loaded module libpipewire-module-metadata
[I][78360.011921] pw.module    | [   impl-module.c:  157 pw_context_load_module()] 0x5621b447f700: name:libpipewire-module-session-manager args:(null)
[I][78360.012042] pw.conf      | [          conf.c:  581 load_module()] 0x5621b447f700: loaded module libpipewire-module-session-manager
[I][78360.012052] pw.context   | [       context.c:  350 pw_context_new()] 0x5621b447f700: parsed 6 context.modules items
[I][78360.012060] pw.context   | [       context.c:  355 pw_context_new()] 0x5621b447f700: parsed 0 context.objects items
[I][78360.012068] pw.context   | [       context.c:  358 pw_context_new()] 0x5621b447f700: parsed 0 context.exec items
[W][78360.012095] default      | [        thread.c:  105 impl_acquire_rt()] acquire_rt thread:0x7f0cc2a006c0 prio:-1 not implemented
[I][78360.012105] pw.metadata  | [ impl-metadata.c:  186 impl_set_property()] 0x5621b4b5d8d0: add id:0 key:log.level type: value:0
[I][78360.012113] pw.metadata  | [ impl-metadata.c:  186 impl_set_property()] 0x5621b4b5d8d0: add id:0 key:clock.rate type: value:48000
[I][78360.012122] pw.metadata  | [ impl-metadata.c:  186 impl_set_property()] 0x5621b4b5d8d0: add id:0 key:clock.allowed-rates type: value:[ 48000 ]
[I][78360.012130] pw.metadata  | [ impl-metadata.c:  186 impl_set_property()] 0x5621b4b5d8d0: add id:0 key:clock.quantum type: value:1024
[I][78360.012138] pw.metadata  | [ impl-metadata.c:  186 impl_set_property()] 0x5621b4b5d8d0: add id:0 key:clock.min-quantum type: value:32
[I][78360.012145] pw.metadata  | [ impl-metadata.c:  186 impl_set_property()] 0x5621b4b5d8d0: add id:0 key:clock.max-quantum type: value:2048
[I][78360.012153] pw.metadata  | [ impl-metadata.c:  186 impl_set_property()] 0x5621b4b5d8d0: add id:0 key:clock.force-quantum type: value:0
[I][78360.012161] pw.metadata  | [ impl-metadata.c:  186 impl_set_property()] 0x5621b4b5d8d0: add id:0 key:clock.force-rate type: value:0
[I][78360.012223] pw.conf      | [          conf.c:  957 pw_conf_section_for_each()] handle config '/usr/share/pipewire/client.conf' section 'stream.properties'
0:00:24.913929206     2 0x7f0cc4001490 WARN              aggregator gstaggregator.c:2159:gst_aggregator_query_latency_unlocked:<audiomixer0> Latency query failed
0:00:24.913939126     2 0x7f0cc4001490 WARN              aggregator gstaggregator.c:2159:gst_aggregator_query_latency_unlocked:<mp4mux3> Latency query failed
0:00:24.914228837     2 0x7f0cc4001db0 FIXME                default gstutils.c:4036:gst_pad_create_stream_id_internal:<pipewiresrc0:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
[I][78360.017699] pw.stream    | [        stream.c:  884 parse_latency()] stream 0x5621b4b63d70: set output latency 0.000000-0.000000 0-0 0-0
[I][78360.018330] pw.stream    | [        stream.c:  651 impl_send_command()] 0x5621b4b63d70: command Spa:Pod:Object:Command:Node:Start
[I][78360.018391] pw.node      | [     impl-node.c:  408 node_update_state()] (kooha-97) creating -> running
0:00:24.922774557     2 0x7f0cc40016d0 WARN              aggregator gstaggregator.c:2159:gst_aggregator_query_latency_unlocked:<audiomixer0> Latency query failed
0:00:24.922854677     2 0x7f0cc4001010 FIXME                default gstutils.c:4036:gst_pad_create_stream_id_internal:<kooha-desktop-audio-src:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
0:00:24.922877057     2 0x7f0cc40016d0 WARN              aggregator gstaggregator.c:2159:gst_aggregator_query_latency_unlocked:<audiomixer0> Latency query failed
0:00:24.922889847     2 0x7f0cc4001490 WARN              aggregator gstaggregator.c:2159:gst_aggregator_query_latency_unlocked:<audiomixer0> Latency query failed
0:00:24.922899497     2 0x7f0cc4001490 WARN              aggregator gstaggregator.c:2159:gst_aggregator_query_latency_unlocked:<mp4mux3> Latency query failed
0:00:24.922906487     2 0x7f0cc40016d0 WARN              aggregator gstaggregator.c:2159:gst_aggregator_query_latency_unlocked:<audiomixer0> Latency query failed
2024-11-07T14:26:32.455866Z DEBUG kooha::recording: Pipeline changed state from `Null` -> `Ready`
2024-11-07T14:26:32.455975Z DEBUG kooha::recording: Pipeline changed state from `Ready` -> `Paused`
2024-11-07T14:26:32.456862Z DEBUG kooha::window: Inhibited logout and idle
0:00:25.276138726     2 0x7f0cc4000dd0 WARN                 x264enc gstx264enc.c:1274:gst_x264_enc_log_callback:<x264enc3> VBV underflow (frame 0, -2409664 bits)
0:00:25.276987897     2 0x7f0cc4001490 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
0:00:25.277201527     2 0x7f0cc4001490 FIXME             aggregator gstaggregator.c:1448:gst_aggregator_aggregate_func:<mp4mux3> Subclass should call gst_aggregator_selected_samples() from its aggregate implementation.
2024-11-07T14:26:32.810083Z DEBUG kooha::recording: Pipeline changed state from `Paused` -> `Playing`
0:00:25.325804915     2 0x7f0cc4000dd0 WARN                 x264enc gstx264enc.c:1274:gst_x264_enc_log_callback:<x264enc3> VBV underflow (frame 4, -1845739 bits)
0:00:26.312564986     2 0x7f0cc4000dd0 WARN                 x264enc gstx264enc.c:1274:gst_x264_enc_log_callback:<x264enc3> VBV underflow (frame 24, -1548653 bits)
0:00:26.316341630     2 0x7f0cc4000dd0 WARN                 x264enc gstx264enc.c:1274:gst_x264_enc_log_callback:<x264enc3> VBV underflow (frame 26, -1542805 bits)
0:00:26.830181200     2 0x7f0cc4000dd0 WARN                 x264enc gstx264enc.c:1274:gst_x264_enc_log_callback:<x264enc3> VBV underflow (frame 86, -319984 bits)
0:00:27.816531240     2 0x7f0cc4000dd0 WARN                 x264enc gstx264enc.c:1274:gst_x264_enc_log_callback:<x264enc3> VBV underflow (frame 117, -366451 bits)
[I][78365.446971] pw.stream    | [        stream.c:  651 impl_send_command()] 0x5621b4b63d70: command Spa:Pod:Object:Command:Node:Pause
[I][78365.471012] pw.node      | [     impl-node.c:  408 node_update_state()] (kooha-97) running -> idle
2024-11-07T14:26:45.148593Z DEBUG kooha::recording: Sending eos event to pipeline

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant