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

Clear does not support screen recording in Wayland #2892

Closed
worldofgeese opened this issue May 8, 2023 · 4 comments
Closed

Clear does not support screen recording in Wayland #2892

worldofgeese opened this issue May 8, 2023 · 4 comments

Comments

@worldofgeese
Copy link

Clear Linux version 39050. I have tried three different screen recording methods: GNOME's native screen recording tool summonable with Ctrl-Alt-Shift-R, Kooha installed from Flatpak, and OBS both from Flatpak and Clear's own package repositories.

Is xdg-desktop-portal built with Pipewire support? It looks like the ScreenCast portal is included at least

strings /usr/libexec/xdg-desktop-portal | grep ScreenCast
org.freedesktop.portal.ScreenCast

Kooha fails with

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: 0x55d7f8007000, type: VariantTy { inner: "(a{sv})" }, value: "({'handle_token': <'kooha_1'>, 'session_handle_token': <'kooha_0'>},)" }
    4: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.ScreenCast” on object at path /org/freedesktop/portal/desktop

OBS installed with sudo swupd bundle-add obs and run with QT_QPA_PLATFORM=wayland obs doesn't expose the expected Screen Capture (Pipewire) when adding a source

image

Expected

image

@paulcarroty
Copy link

Is xdg-desktop-portal built with Pipewire support?

It is.

@Aqua1ung
Copy link

rustdesk/rustdesk#4164

@Aqua1ung
Copy link

Rumor has it that we need xdg-desktop-portal-gnome in order to get ScreenCast to show up.

@worldofgeese
Copy link
Author

Screensharing and screen recording both work now in a GNOME on Wayland session. Thank you! 🙏🏼

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants