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

Recording doesn't start with gnome-shell 41 #300

Open
adangel opened this issue Oct 25, 2021 · 1 comment
Open

Recording doesn't start with gnome-shell 41 #300

adangel opened this issue Oct 25, 2021 · 1 comment

Comments

@adangel
Copy link
Collaborator

adangel commented Oct 25, 2021

Now that debian testing is also updated to gnome-shell 41, screencast seems to be broken in general.

E.g. ctrl+alt+shift+R doesn't start the gnome-shell built-in Screencast. Since EasyScreenCast uses the same dbus service, it also doesn't work.

Expected Behavior

Click on "Start recording" should start the recording. The timer should start counting. No errors should be reported.

Current Behavior

The timer does not start. There is a recording indicator visible (probably from gnome). After a few seconds, an error notification is displayed.

Logs

  • Use journalctl /usr/bin/gnome-shell -f to monitor Gnome shell activity. Maybe the crash will log something.
Okt 25 21:36:50 adangel gnome-shell[3892]: [ESC]-@-start video devicemonitor
Okt 25 21:36:51 adangel gnome-shell[3892]: [ESC]-*-refresh indicator -A false -F false
Okt 25 21:36:52 adangel gnome-shell[3892]: [ESC]-*-start recording
Okt 25 21:36:52 adangel gnome-shell[3892]: [ESC]-*-recording full area
Okt 25 21:36:52 adangel gnome-shell[3892]: [ESC]-*-instant recording called
Okt 25 21:36:52 adangel gnome-shell[3892]: [ESC]-&-start video recording
Okt 25 21:36:52 adangel gnome-shell[3892]: [ESC]-§-get file extension C-> 0
Okt 25 21:36:52 adangel gnome-shell[3892]: [ESC]-§-COMPOSE GSP
Okt 25 21:36:52 adangel gnome-shell[3892]: [ESC]-#-mixer _init
Okt 25 21:36:52 adangel gnome-shell[3892]: [ESC]-#-mixer exist -> [object instance wrapper GIName:Gvc.MixerControl jsobj@0x4aad689fcc0 native@0x55cfb1e5d3c0] state -> 1
Okt 25 21:36:52 adangel gnome-shell[3892]: [ESC]-§-get option||devW: ||devA: 0||Qgsp: 1||Qwc: ||Res: -1||Cont: 0
Okt 25 21:36:52 adangel gnome-shell[3892]: [ESC]-§-SCREEN
Okt 25 21:36:52 adangel gnome-shell[3892]: [ESC]-§-resolution option: -1
Okt 25 21:36:52 adangel gnome-shell[3892]: [ESC]-§-compose resolution: 
Okt 25 21:36:52 adangel gnome-shell[3892]: [ESC]-§-final GSP : vp8enc min_quantizer=4 max_quantizer=13 cpu-used=2 deadline=500000 sharpness=0 target-bitrate=15000 threads=%T ! queue max-size-buffers=0 max-size-time=0 max-size-bytes=0 ! webmmux
Okt 25 21:36:52 adangel gnome-shell[3892]: [ESC]-&-path/file template : Screencast_%d_%t.webm
Okt 25 21:36:52 adangel gnome-shell[3892]: [ESC]-&-pipeline : gnome-shell-version=41 pipeline: videoconvert chroma-mode=GST_VIDEO_CHROMA_MODE_NONE dither=GST_VIDEO_DITHER_NONE matrix-mode=GST_VIDEO_MATRIX_MODE_OUTPUT_ONLY n-threads=%T ! queue !  vp8enc min_quantizer=4 max_quantizer=13 cpu-used=2 deadline=500000 sharpness=0 target-bitrate=15000 threads=%T ! queue max-size-buffers=0 max-size-time=0 max-size-bytes=0 ! webmmux
Okt 25 21:36:52 adangel gnome-shell[3892]: [ESC]-*-refresh indicator -A false -F undefined
Okt 25 21:36:52 adangel gnome-shell[3892]: [ESC]-&-screencast execute - false - 
Okt 25 21:36:52 adangel gnome-shell[3892]: [ESC]-*-record ERROR
Okt 25 21:36:52 adangel gnome-shell[3892]: [ESC]-*-show error notify
Okt 25 21:36:52 adangel gnome-shell[3892]: [ESC]-°-create notify :AUFNAHME FEHLER - Log Dateien prüfen für mehr Details
Okt 25 21:36:52 adangel gnome-shell[3892]: Trying to re-add source Systeminformationen
Okt 25 21:36:52 adangel gnome-shell[3892]: JS ERROR: TypeError: this.notifications is undefined
                                           get unseenCount@resource:///org/gnome/shell/ui/messageTray.js:698:9
                                           _updateCount/<@resource:///org/gnome/shell/ui/dateMenu.js:708:42
                                           _updateCount@resource:///org/gnome/shell/ui/dateMenu.js:708:23
                                           countUpdated@resource:///org/gnome/shell/ui/messageTray.js:706:14
                                           pushNotification@resource:///org/gnome/shell/ui/messageTray.js:767:14
                                           showNotification@resource:///org/gnome/shell/ui/messageTray.js:772:14
                                           createNotify@/home/andreas/.local/share/gnome-shell/extensions/EasyScreenCast@iacopodeenosee.gmail.com/utilnotify.js:57:21
                                           wrapper@resource:///org/gnome/gjs/modules/script/_legacy.js:83:27
                                           doRecResult@/home/andreas/.local/share/gnome-shell/extensions/EasyScreenCast@iacopodeenosee.gmail.com/extension.js:833:33
                                           wrapper@resource:///org/gnome/gjs/modules/script/_legacy.js:83:27
                                           start/<@/home/andreas/.local/share/gnome-shell/extensions/EasyScreenCast@iacopodeenosee.gmail.com/utilrecorder.js:145:35
                                           asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:115:22

There is no clear error message. The error "this.notifications is undefined" is probably something different and unrelated (but still also a bug).

Your Environment

  • Gnome shell version: 41.0

  • Operating System and version: Debian Testing

  • Display server: Wayland

@adangel
Copy link
Collaborator Author

adangel commented Oct 25, 2021

It seems, that wireplumber is required now. It replaces pipewire-media-session. As described in https://github.com/emersion/xdg-desktop-portal-wlr/wiki/%22It-doesn't-work%22-Troubleshooting-Checklist

If the service does not exist, your distro may package it as a separate package named something like pipewire-media-session. Screencasts will be stuck in the "paused" state without a session manager.

And pipewire-media-session has been replaced with Debian Testing now - https://metadata.ftp-master.debian.org/changelogs//main/p/pipewire/pipewire_0.3.39-1_changelog

  • Don't build the pipewire-media-session binary package anymore,
    media-session has moved to a separate module to accelerate its
    deprecation in favour of WirePlumber.

Maybe it's not installed automatically yet and you need apt install wireplumber.

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

1 participant