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

Fails to start the recording on SwayFX and NixOS #319

Open
augustebaum opened this issue Oct 9, 2024 · 1 comment
Open

Fails to start the recording on SwayFX and NixOS #319

augustebaum opened this issue Oct 9, 2024 · 1 comment

Comments

@augustebaum
Copy link

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
Copy link

I just ran in to this, too

@augustebaum augustebaum changed the title Fails to start the recording on Sway and NixOS Fails to start the recording on SwayFX and NixOS Oct 28, 2024
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

2 participants