Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] gnome shell screencast not working
@ 2021-02-22 21:57 maop
  2021-02-24  4:12 ` ericonr
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: maop @ 2021-02-22 21:57 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1633 bytes --]

New issue by maop on void-packages repository

https://github.com/void-linux/void-packages/issues/28987

Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System

* xuname:  
      Void 5.10.17_1 x86_64 AuthenticAMD notuptodate rrFFF

* package:  
      gnome-shell-3.38.3_1

### Expected behavior
When Ctrl-Alt-Shift-r pressed starts recording and video is saved in $HOME/Videos or $HOME

### Actual behavior
Nothing happens.

With `dbus-monitor` i can see the error:

```
method call time=1614027327.526214 sender=:1.38 -> destination=org.gnome.Shell.Screencast serial=68 path=/org/gnome/Shell/Screencast; interface=org.gnome.Shell.Screencast; member=Screencast
   string "Captura del escritorio de %d %t.webm"
   array [
   ]
error time=1614027327.526281 sender=org.freedesktop.DBus -> destination=:1.38 error_name=org.freedesktop.DBus.Error.ServiceUnknown reply_serial=68
   string "The name org.gnome.Shell.Screencast was not provided by any .service files"
```

I confirmed there is not /usr/share/dbus-1/services/org.gnome.Shell.Screencast

I've searched for solutions and installed all possible dependencies that may be missing, tried reinstalling, etc... but then i found this bug from openSuSE: https://build.opensuse.org/request/show/859147, is this happening with voidlinux too? or i missed something in the installation? 

Thanks for your time. 

### Steps to reproduce the behavior

Press ctrl-alt-shift-r in a gnome desktop installation.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: gnome shell screencast not working
  2021-02-22 21:57 [ISSUE] gnome shell screencast not working maop
@ 2021-02-24  4:12 ` ericonr
  2021-02-24  6:30 ` maop
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: ericonr @ 2021-02-24  4:12 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 179 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/28987#issuecomment-784741391

Comment:
@maop could you please test #29019 ?

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: gnome shell screencast not working
  2021-02-22 21:57 [ISSUE] gnome shell screencast not working maop
  2021-02-24  4:12 ` ericonr
@ 2021-02-24  6:30 ` maop
  2021-02-24  7:03 ` ericonr
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: maop @ 2021-02-24  6:30 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1611 bytes --]

New comment by maop on void-packages repository

https://github.com/void-linux/void-packages/issues/28987#issuecomment-784825722

Comment:
Ok, this has been a real rabbit hole for a newbie like me (:

So... i edited `srcpkgs/gnome-shell/template` and made the changes like your PR, then `./xbps-src pkg gnome-shell` and then installed `3.38.3_2` and restarted.
Now /usr/share/dbus-1/services/org.gnome.Shell.Screencast.service exists, and with `dbus-monitor` i see A LOT of errors when i press the shortcut to activate the Screencast, some of them are about Mutter

```
method call time=1614145390.381364 sender=:1.71 -> destination=:1.13 serial=37 path=/org/gnome/Mutter/ScreenCast/Session
/u1; interface=org.gnome.Mutter.ScreenCast.Session; member=Start
error time=1614145390.393059 sender=:1.13 -> destination=:1.71 error_name=org.freedesktop.DBus.Error.Failed reply_serial
=37
   string "Failed to start screen cast: Couldn't connect pipewire context"

```
So i began to think, maybe we need to build mutter with pipewire too? Looking for something mutter-related i found this enlightening comment: https://gitlab.gnome.org/GNOME/mutter/-/issues/79#note_84029

Ofc i needed to install pipewire. Ran it in a terminal `$ pipewire` , then pressed the shorcut et voilá ! it started recording correctly and video file was in $HOME/Videos, awesome!

As pipewire is still unstable, and (correct me if i'm wrong) not yet supported by voidlinux, i'd say gnome screencasting is currently broken? unless there is another workaround?

Let me know if i can help with something more.

Best regards!

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: gnome shell screencast not working
  2021-02-22 21:57 [ISSUE] gnome shell screencast not working maop
  2021-02-24  4:12 ` ericonr
  2021-02-24  6:30 ` maop
@ 2021-02-24  7:03 ` ericonr
  2021-02-24  7:03 ` [ISSUE] [CLOSED] " ericonr
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: ericonr @ 2021-02-24  7:03 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1729 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/28987#issuecomment-784843310

Comment:
> Ofc i needed to install pipewire. Ran it in a terminal $ pipewire , then pressed the shorcut et voilá ! it started recording correctly and video file was in $HOME/Videos, awesome!

Great!

> As pipewire is still unstable, and (correct me if i'm wrong) not yet supported by voidlinux, i'd say gnome screencasting is currently broken? unless there is another workaround?

Well, it is a package we ship and constantly update. The main issue it has is that unlike Pulseaudio, it isn't automatically started, so one has to launch it manually or somehow create a user service for it, which are complicated to do as a general solution. So in a way, a seamless pipewire experience is unsupported.

Since the rest of GNOME shell works without pipewire, and using pipewire requires manual work either way, I don't think `gnome-shell` should depend directly on it. Maybe upstream can improve their error messages to let you know things are going wrong without having to use `dbus-monitor`.

But screen casting works once you have pipewire installed and launched, which is the correct way of using pipewire, so I wouldn't say it's broken in any way.

I will merge my PR for now, since it enables the screen cast functionality to work at all, and that will close this issue. If you think we can improve matters further, feel free to reopen or open another one (maybe we need to add pipewire documentation to Void, and maybe mention that GNOME screen cast requires it - you can open an issue in the void-docs repository for this).

Thanks for testing and for bringing the solution :)

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ISSUE] [CLOSED] gnome shell screencast not working
  2021-02-22 21:57 [ISSUE] gnome shell screencast not working maop
                   ` (2 preceding siblings ...)
  2021-02-24  7:03 ` ericonr
@ 2021-02-24  7:03 ` ericonr
  2022-05-06 13:34 ` scorpi11
  2022-05-06 13:35 ` scorpi11
  5 siblings, 0 replies; 7+ messages in thread
From: ericonr @ 2021-02-24  7:03 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1636 bytes --]

Closed issue by maop on void-packages repository

https://github.com/void-linux/void-packages/issues/28987

Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System

* xuname:  
      Void 5.10.17_1 x86_64 AuthenticAMD notuptodate rrFFF

* package:  
      gnome-shell-3.38.3_1

### Expected behavior
When Ctrl-Alt-Shift-r pressed starts recording and video is saved in $HOME/Videos or $HOME

### Actual behavior
Nothing happens.

With `dbus-monitor` i can see the error:

```
method call time=1614027327.526214 sender=:1.38 -> destination=org.gnome.Shell.Screencast serial=68 path=/org/gnome/Shell/Screencast; interface=org.gnome.Shell.Screencast; member=Screencast
   string "Captura del escritorio de %d %t.webm"
   array [
   ]
error time=1614027327.526281 sender=org.freedesktop.DBus -> destination=:1.38 error_name=org.freedesktop.DBus.Error.ServiceUnknown reply_serial=68
   string "The name org.gnome.Shell.Screencast was not provided by any .service files"
```

I confirmed there is not /usr/share/dbus-1/services/org.gnome.Shell.Screencast

I've searched for solutions and installed all possible dependencies that may be missing, tried reinstalling, etc... but then i found this bug from openSuSE: https://build.opensuse.org/request/show/859147, is this happening with voidlinux too? or i missed something in the installation? 

Thanks for your time. 

### Steps to reproduce the behavior

Press ctrl-alt-shift-r in a gnome desktop installation.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: gnome shell screencast not working
  2021-02-22 21:57 [ISSUE] gnome shell screencast not working maop
                   ` (3 preceding siblings ...)
  2021-02-24  7:03 ` [ISSUE] [CLOSED] " ericonr
@ 2022-05-06 13:34 ` scorpi11
  2022-05-06 13:35 ` scorpi11
  5 siblings, 0 replies; 7+ messages in thread
From: scorpi11 @ 2022-05-06 13:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 335 bytes --]

New comment by scorpi11 on void-packages repository

https://github.com/void-linux/void-packages/issues/28987#issuecomment-1119630214

Comment:
I created a gnome shell extension that applies a GLSL shader to the whole desktop. When moving windows, I get distorted lines at the outer edge of the window shadows. Is this the same issue?

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: gnome shell screencast not working
  2021-02-22 21:57 [ISSUE] gnome shell screencast not working maop
                   ` (4 preceding siblings ...)
  2022-05-06 13:34 ` scorpi11
@ 2022-05-06 13:35 ` scorpi11
  5 siblings, 0 replies; 7+ messages in thread
From: scorpi11 @ 2022-05-06 13:35 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 335 bytes --]

New comment by scorpi11 on void-packages repository

https://github.com/void-linux/void-packages/issues/28987#issuecomment-1119630214

Comment:
I created a gnome shell extension that applies a GLSL shader to the whole desktop. When moving windows, I get distorted lines at the outer edge of the window shadows. Is this the same issue?

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-05-06 13:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-22 21:57 [ISSUE] gnome shell screencast not working maop
2021-02-24  4:12 ` ericonr
2021-02-24  6:30 ` maop
2021-02-24  7:03 ` ericonr
2021-02-24  7:03 ` [ISSUE] [CLOSED] " ericonr
2022-05-06 13:34 ` scorpi11
2022-05-06 13:35 ` scorpi11

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).