Kooha
Kooha copied to clipboard
Failed to start recording: Interaction was ended in some other way
System Info
- io.github.seadve.Kooha 2.2.2
- Flatpak: true
- Experimental: false
- Distribution: GNOME 43 (Flatpak runtime)
- Desktop Session: xmonad
- Display Server: X11
- GTK 4.8.2
- Libadwaita 1.2.0
- GStreamer 1.20.3
- Pipewire 0.3.57
Describe the bug I tried from both flatpak and Arch Linux packages, both fail when I click on "Record" button, a new window opens "Failed to start recording" with the following error message:
Failed to start recording
Caused by:
0: Check out <a href="https://github.com/SeaDve/Kooha#-it-doesnt-work">It Doesn't Work page</a> for help.
1: Failed to create ScreencastSession
2: Failed to create session
3: Interaction was ended in some other way with response VariantDict({})
To Reproduce Steps to reproduce the behavior:
- open Kooha
- Click on 'Record'
- See error
Expected behavior Should start recording
Additional context
2022-10-31T21:21:08.475228Z INFO kooha::application: Kooha (io.github.seadve.Kooha)
2022-10-31T21:21:08.475239Z INFO kooha::application: Version: 2.2.2 ()
2022-10-31T21:21:08.475241Z INFO kooha::application: Datadir: /app/share/kooha
2022-10-31T21:21:12.292422Z TRACE kooha::application: Settings `screencast-restore-token` changed to `''`
2022-10-31T21:21:12.348503Z DEBUG kooha::screencast_session: Waiting request response for method `CreateSession`
2022-10-31T21:21:12.348679Z DEBUG kooha::screencast_session: Request response received for method `CreateSession`
2022-10-31T21:21:12.348986Z ERROR kooha::window: Failed to start recording
Caused by:
0: Check out <a href="https://github.com/SeaDve/Kooha#-it-doesnt-work">It Doesn't Work page</a> for help.
1: Failed to create ScreencastSession
2: Failed to create session
3: Interaction was ended in some other way with response VariantDict({})
Linux mitx 6.0.6-arch1-1 #1 SMP PREEMPT_DYNAMIC Sat, 29 Oct 2022 14:08:39 +0000 x86_64 GNU/Linux
I'm running X11, no DE, just a window manager XMonad, picom as compositor.
Pipewire Multimedia Session Manager service is running (wireplumber). xdg-desktop-portal is running.
I have no problem with others applications screencasting like firefox, discord, peek etc..
i'm with the same problem. Everything is running great, i use i3 and picom.
Hi, is this still reproducible in the latest version: 2.2.4?
The thing I notice in other bug reports and here is it seems to only happens with X11.
still does not work using flatpak version 2.2.4
Failed to start recording
Caused by:
0: Check out <a href="https://github.com/SeaDve/Kooha#-it-doesnt-work">It Doesn't Work page</a> for help.
1: Failed to create ScreencastSession
2: Failed to create session
3: Failed to call `CreateSession` with parameters: Variant { ptr: 0x611f6d88d480, type: VariantTy { inner: "(a{sv})" }, value: "({'handle_token': <'kooha_3'>, 'session_handle_token': <'kooha_2'>},)" }
4: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.ScreenCast” on object at path /org/freedesktop/portal/desktop
still does not work using flatpak version
2.2.4
Failed to start recording Caused by: 0: Check out <a href="https://github.com/SeaDve/Kooha#-it-doesnt-work">It Doesn't Work page</a> for help. 1: Failed to create ScreencastSession 2: Failed to create session 3: Failed to call `CreateSession` with parameters: Variant { ptr: 0x611f6d88d480, type: VariantTy { inner: "(a{sv})" }, value: "({'handle_token': <'kooha_3'>, 'session_handle_token': <'kooha_2'>},)" } 4: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.ScreenCast” on object at path /org/freedesktop/portal/desktop
This seems a different error. Based on it, the xdg-desktop-portal-*
of your desktop doesn't support ScreenCast interface necessary for Kooha to talk to your desktop.
Getting a similar issue on Arch Linux with KDE / i3wm.
Relevant versions:
- gstreamer 1.22.10-1
- pipewire 1:1.0.3-1
- Linux interlude 6.7.5-arch1-1 #1 SMP PREEMPT_DYNAMIC Sat, 17 Feb 2024 14:02:33 +0000 x86_64 GNU/Linux
- i3-wm 4.23-1
- plasma-desktop 5.27.10-1
$ kooha
2024-02-28T18:25:22.029465Z INFO kooha::application: Kooha (io.github.seadve.Kooha)
2024-02-28T18:25:22.029482Z INFO kooha::application: Version: 2.2.4 ()
2024-02-28T18:25:22.029486Z INFO kooha::application: Datadir: /usr/share/kooha
(kooha:87527): Gtk-WARNING **: 13:25:22.237: Unknown key gtk-modules in /home/albert/.config/gtk-4.0/settings.ini
(kooha:87527): Adwaita-WARNING **: 13:25:22.379: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead.
2024-02-28T18:25:24.878647Z ERROR kooha::window: Failed to start recording
Caused by:
0: Check out <a href="https://github.com/SeaDve/Kooha#-it-doesnt-work">It Doesn't Work page</a> for help.
1: Failed to create ScreencastSession
2: Failed to create session
3: Interaction was ended in some other way with response Variant { ptr: 0x61689fafa9b0, type: VariantTy { inner: "a{sv}" }, value: "{'session_handle': <'/org/freedesktop/portal/desktop/session/1_154/kooha_0'>}" }
Getting this issue in Manjaro KDE. Using X11
~ > kooha
2024-03-12T01:17:57.755812Z INFO kooha::application: Kooha (io.github.seadve.Kooha)
2024-03-12T01:17:57.755823Z INFO kooha::application: Version: 2.2.4 ()
2024-03-12T01:17:57.755825Z INFO kooha::application: Datadir: /usr/share/kooha
(kooha:4271): Adwaita-WARNING **: 22:17:57.967: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead.
2024-03-12T01:18:00.390014Z ERROR kooha::window: Failed to start recording
Caused by:
0: Check out <a href="https://github.com/SeaDve/Kooha#-it-doesnt-work">It Doesn't Work page</a> for help.
1: Failed to create ScreencastSession
2: Failed to create session
3: Interaction was ended in some other way with response Variant { ptr: 0x55ee9789a740, type: VariantTy { inner: "a{sv}" }, value: "{'session_handle': <'/org/freedesktop/portal/desktop/session/1_98/kooha_0'>}" }
Getting this issue in Manjaro KDE. Using X11
~ > kooha 2024-03-12T01:17:57.755812Z INFO kooha::application: Kooha (io.github.seadve.Kooha) 2024-03-12T01:17:57.755823Z INFO kooha::application: Version: 2.2.4 () 2024-03-12T01:17:57.755825Z INFO kooha::application: Datadir: /usr/share/kooha (kooha:4271): Adwaita-WARNING **: 22:17:57.967: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead. 2024-03-12T01:18:00.390014Z ERROR kooha::window: Failed to start recording Caused by: 0: Check out <a href="https://github.com/SeaDve/Kooha#-it-doesnt-work">It Doesn't Work page</a> for help. 1: Failed to create ScreencastSession 2: Failed to create session 3: Interaction was ended in some other way with response Variant { ptr: 0x55ee9789a740, type: VariantTy { inner: "a{sv}" }, value: "{'session_handle': <'/org/freedesktop/portal/desktop/session/1_98/kooha_0'>}" }
Changing to Wayland solved my issue.
Still not working on version 2.3.0 on Kubuntu
0: Failed to create session
1: Interaction was ended in some other way with response Variant { ptr: 0x55dd96c57be0, type: VariantTy { inner: "a{sv}" }, value: "{'session_handle': <'/org/freedesktop/portal/desktop/session/1_98/kooha_2'>}" }