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

Support SHM format for PipeWire screencasts #455

Open
thepragmaticmero opened this issue Jun 20, 2024 · 1 comment
Open

Support SHM format for PipeWire screencasts #455

thepragmaticmero opened this issue Jun 20, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@thepragmaticmero
Copy link

thepragmaticmero commented Jun 20, 2024

Kooha, a GTK4 based flatpak screen recorder, works on GNOME, works on sway. But doesn't work on niri. Journalctl for reference.

# journalctl --no-hostname -eb /usr/bin/niri | tail -n 11 | wl-copy
Jun 20 07:21:28 niri[13861]: 2024-06-20T12:21:28.985830Z DEBUG niri::dbus::mutter_screen_cast: record_monitor connector="DP-1" properties=RecordMonitorProperties { cursor_mode: Some(Embedded), _is_recording: None }
Jun 20 07:21:28 niri[13861]: 2024-06-20T12:21:28.987307Z DEBUG niri::dbus::mutter_screen_cast: start
Jun 20 07:21:28 niri[13861]: 2024-06-20T12:21:28.987352Z DEBUG niri::niri: StartCast session_id=3
Jun 20 07:21:28 niri[13861]: 2024-06-20T12:21:28.987403Z DEBUG niri::pw_utils: pw stream: state changed: Unconnected -> Connecting
Jun 20 07:21:28 niri[13861]: 2024-06-20T12:21:28.988927Z DEBUG niri::pw_utils: pw stream: state changed: Connecting -> Paused
Jun 20 07:21:28 niri[13861]: 2024-06-20T12:21:28.988943Z DEBUG niri::pw_utils: pw stream: sending signal with 68
Jun 20 07:21:29 niri[13861]: 2024-06-20T12:21:29.030720Z DEBUG niri::pw_utils: pw stream: state changed: Paused -> Error("no more input formats")
Jun 20 07:21:29 niri[13861]: 2024-06-20T12:21:29.030735Z  WARN niri::pw_utils: pw error id=2 seq=43 res=-32 no more input formats
Jun 20 07:21:29 niri[13861]: 2024-06-20T12:21:29.044509Z DEBUG niri::dbus::mutter_screen_cast: stop
Jun 20 07:21:29 niri[13861]: 2024-06-20T12:21:29.044652Z DEBUG niri::niri: StopCast session_id=3
Jun 20 07:21:29 niri[13861]: 2024-06-20T12:21:29.044809Z DEBUG niri::pw_utils: pw stream: state changed: Paused -> Unconnected

more info at:
SeaDve/Kooha#301
In a nutshell.... portals I suppose.

OBS Kooha
Sway ✔️ ✔️
GNOME ✔️ ✔️
Niri ✔️

System Information

  • niri version: 0.1.6
  • Distro: Fedora
  • GPU: Rx6600xt
  • CPU: Ryzen 3 3100
@thepragmaticmero thepragmaticmero added the bug Something isn't working label Jun 20, 2024
@YaLTeR
Copy link
Owner

YaLTeR commented Jun 20, 2024

See my comment there; niri doesn't implement shm screen capture and Kooha can't deal with dmabufs.

@YaLTeR YaLTeR changed the title Kooha (screen recording) not working Support SHM format for PipeWire screencasts Jun 20, 2024
@YaLTeR YaLTeR added enhancement New feature or request and removed bug Something isn't working labels Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants