SeaDve / Kooha

Elegantly record your screen
GNU General Public License v3.0
2.64k stars 70 forks source link

Fails to start the recording on SwayFX and NixOS #319

Open augustebaum opened 1 month ago

augustebaum commented 1 month ago

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!

NullVoxPopuli commented 1 month ago

I just ran in to this, too