Skip to content

Fails to start the recording on SwayFX and NixOS #319

@augustebaum

Description

@augustebaum

Affected version

- io.github.seadve.Kooha 2.3.0
- Flatpak: false
- Experimental Features: []

- Language: en_US.UTF-8, en_US, en.UTF-8, en, C

- CPU: 13th Gen Intel(R) Core(TM) i5-1335U
- GPU: <No such file or directory (os error 2)>

- Distribution: NixOS 24.05 (Uakari)
- Desktop Session: sway
- Display Server: wayland

- GTK 4.14.5
- Libadwaita 1.5.3
- GStreamer 1.24.3
- Pipewire 1.2.3

Bug summary

When I start the recording, Kooha gives me an error. Here are the full logs:

2024-10-09T09:10:29.807386Z  INFO kooha::application: Kooha (io.github.seadve.Kooha)
2024-10-09T09:10:29.807414Z  INFO kooha::application: Version: 2.3.0 ()
2024-10-09T09:10:29.807418Z  INFO kooha::application: Datadir: /nix/store/dbf05ddvwpm0kmn7vydgfhdlnmc183jh-kooha-2.3.0/share/kooha
2024-10-09T09:10:33.977717Z ERROR kooha::window: Failed to start recording

Caused by:
    0: Failed to select sources
    1: Failed to call `SelectSources` with parameters: Variant { ptr: 0x55e36d0ec6c0, type: VariantTy { inner: "(oa{sv})" }, value: "(objectpath '/org/freedesktop/portal/desktop/session/1_1359/kooha_0', {'cursor_mode': <uint32 1>, 'persist_mode': <uint32 2>, 'handle_token': <'kooha_2'>, 'types': <uint32 1>, 'multiple': <false>})" }
    2: GDBus.Error:org.freedesktop.portal.Error.InvalidArgument: Unavailable cursor mode 1

Steps to reproduce

  1. Open Kooha
  2. Start the recording
  3. See error

Expected behavior

No error

Relevant logs, screenshots, screencasts, etc.

By the way Kooha looks really slick. I can't wait to use it!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions