xlmnxp / blue-recorder

Simple Screen Recorder written in Rust based on Green Recorder
Other
512 stars 27 forks source link

The name org.gnome.Shell.Screencast was not provided by any .service files #1

Closed ssalenik closed 3 years ago

ssalenik commented 3 years ago

Got this compiled on Ubuntu 20.10 (Wayland) and getting this when trying to start a recording:

thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: MethodError("org.freedesktop.DBus.Error.ServiceUnknown", Some("The name org.gnome.Shell.Screencast was not provided by any .service files"), Msg { type: Error, sender: "org.freedesktop.DBus", reply-serial: 2, body: Signature: [
    s (115),
] })', src/ffmpeg_interface.rs:320:18

Possibly related to screencast just being broken in 20.10, but was wondering if maybe its just some dependency that I'm missing...

Thanks.

xlmnxp commented 3 years ago

Got this compiled on Ubuntu 20.10 (Wayland) and getting this when trying to start a recording:

thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: MethodError("org.freedesktop.DBus.Error.ServiceUnknown", Some("The name org.gnome.Shell.Screencast was not provided by any .service files"), Msg { type: Error, sender: "org.freedesktop.DBus", reply-serial: 2, body: Signature: [
  s (115),
] })', src/ffmpeg_interface.rs:320:18

Possibly related to screencast just being broken in 20.10, but was wondering if maybe its just some dependency that I'm missing...

Thanks.

That issue mentioned in this discussion https://forum.snapcraft.io/t/can-i-use-org-gnome-shell-screencast-dbus-for-wayland-support/22883/6 Maybe Canonical disable this future in 20.10 but it back to 21.04

ssalenik commented 3 years ago

Sigh... seems like I can't get any screen recorder to work with 20.10 and Wayland... I guess I will have to wait for 21.04. Thanks!

xlmnxp commented 3 years ago

Sigh... seems like I can't get any screen recorder to work with 20.10 and Wayland... I guess I will have to wait for 21.04. Thanks!

Try install xdg-desktop-portal

ssalenik commented 3 years ago

Seems it was already installed when I tested.

xlmnxp commented 3 years ago

Seems it was already installed when I tested.

Can you use d-feet and search in sessions for

if there anyone of them available?

ssalenik commented 3 years ago

No, none of those.

xlmnxp commented 3 years ago

No, none of those.

this issue relate to this bug only in ubuntu 20.10 https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1901391

Daniel van Vugt said Fix released in mutter 3.38.3-2ubuntu1 (not gnome-shell) which version mutter in your system?

ssalenik commented 3 years ago

I have 3.38.2-1ubuntu1~20.10.1, don't see an update yet... I wonder if it will be ported to 20.10

xlmnxp commented 3 years ago

maybe it not backported to 20.10 but we should wait few days they release the fix 2 days ago

xlmnxp commented 3 years ago

@ssalenik can you update your packages and try now?

ssalenik commented 3 years ago

20.10 still seem to be on the same version: https://packages.ubuntu.com/search?keywords=mutter

3.38.3 is only in hirsute

xlmnxp commented 3 years ago

20.10 still seem to be on the same version: https://packages.ubuntu.com/search?keywords=mutter

3.38.3 is only in hirsute

I asked them in bug report to backport the fix to ubuntu 20.10

xlmnxp commented 3 years ago

they're said they cannot backport it because there package not in main repos for ubuntu 20.10

ssalenik commented 3 years ago

Ok, thanks. I guess I will have to wait another month ;)

xlmnxp commented 3 years ago

Ok, thanks. I guess I will have to wait another month ;)

Until Ubuntu 21.04 😄

xlmnxp commented 3 years ago

Ok, thanks. I guess I will have to wait another month ;)

Ubuntu 21.04 released Blue Recorder should work fine

ssalenik commented 3 years ago

Yup, I'm able to record now! :)