I have found this little python script which also suffers from the same
issue.
When run as
GST_DEBUG=3 python gnome-screen-cast.py
I get the following output:
session path: /org/gnome/Mutter/ScreenCast/Session/u16
stream path: /org/gnome/Mutter/ScreenCast/Stream/u16
added
0:00:00.019493755 132581 0xecbd30 WARN GST_ELEMENT_FACTORY
gstelementfactory.c:701:gst_element_factory_make_with_properties: no such
element factory "pipewiresrc"!
0:00:00.019526231 132581 0xecbd30 ERROR GST_PIPELINE
gst/parse/grammar.y:851:priv_gst_parse_yyparse: no element "pipewiresrc"
0:00:00.020452889 132581 0xecbd30 ERROR GST_PIPELINE
gst/parse/grammar.y:939:priv_gst_parse_yyparse: link has no source
[sink=@0xf28d50]
ERROR:dbus.connection:Exception in handler for D-Bus signal:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/dbus/connection.py", line 232, in
maybe_handle_message
self._handler(*args, **kwargs)
File "/home/jakub/Downloads/gnome-screen-cast.py", line 82, in
on_pipewire_stream_added
pipeline = Gst.parse_launch('pipewiresrc path=%u ! %s videoconvert !
glimagesink'%(node_id, format_element))
gi.repository.GLib.GError: gst_parse_error: no element "pipewiresrc" (1)
Still complains about some missing element
** Attachment added: "gnome-screen-cast"
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1963264/+attachment/5565631/+files/gnome-screen-cast.py
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-shell in Ubuntu.
https://bugs.launchpad.net/bugs/1963264
Title:
Screencast not recording
Status in gnome-shell package in Ubuntu:
New
Bug description:
When I press Ctrl+Shift+Alt+R, screencast indicator appears in the
indicator menu but disappears in about 2 seconds. No file is even
created under the Videos folder.
journalctl shows:
Mar 02 09:10:29 Development dbus-daemon[2962]: [session uid=1000 pid=2962]
Activating service name='org.gnome.Shell.Screencast' requested by ':1.62'
(uid=1000 pid=3311 comm="/usr/libexec/gsd-media->
Mar 02 09:10:29 Development dbus-daemon[2962]: [session uid=1000 pid=2962]
Successfully activated service 'org.gnome.Shell.Screencast'
Mar 02 09:10:31 Development dbus-daemon[2962]: [session uid=1000 pid=2962]
Activating service name='org.gnome.Shell.Screencast' requested by ':1.62'
(uid=1000 pid=3311 comm="/usr/libexec/gsd-media->
Mar 02 09:10:31 Development dbus-daemon[2962]: [session uid=1000 pid=2962]
Successfully activated service 'org.gnome.Shell.Screencast'
Mar 02 09:10:32 Development gjs[5825]: JS LOG: Failed to create pipeline:
Gst.ParseError: no element "pipewiresrc"
The issue is the Gst.ParseError.
Before upgrading to jammy (22.04), it used to work fine. Also, when
testing under qemu/KVM it works properly. It just doesn't work when
running directly on the PC.
What other logs can I provide?
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gnome-shell 41.3-1ubuntu1
ProcVersionSignature: Ubuntu 5.15.0-18.18-generic 5.15.12
Uname: Linux 5.15.0-18-generic x86_64
ApportVersion: 2.20.11-0ubuntu78
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Thu Mar 3 15:41:44 2022
DisplayManager: gdm3
InstallationDate: Installed on 2020-05-12 (660 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
RelatedPackageVersions: mutter-common 41.3-3ubuntu1
SourcePackage: gnome-shell
UpgradeStatus: Upgraded to jammy on 2022-02-27 (4 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1963264/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp