Gnome screen recorder doesn't work on dist-upgraded jammy systems

Bug #1969974 reported by Fateme Tamehri
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gnome-shell (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I've just installed ubuntu 22.04; Screencasting (video recording) doesn't work... every time I open the screen tools (those which you can open with prtscr), and press the red button for screen recording, a red thing appear top right of my screen and it will be disappeared immediately! And then nothing happen :(

Update:
log:
Apr 27 12:37:52 blacklighter systemd[2022]: Started Tracker metadata extractor.
Apr 27 12:39:18 blacklighter dbus-daemon[63804]: [session uid=1000 pid=63804] Activating service name='org.gnome.Shell.Screencast' requested by ':1.30' (uid=1000 pid=63952 comm="/usr/bin/gnome-shell " label="unconfined")
Apr 27 12:39:18 blacklighter dbus-daemon[63804]: [session uid=1000 pid=63804] Successfully activated service 'org.gnome.Shell.Screencast'
Apr 27 12:39:18 blacklighter gjs[66306]: JS LOG: Failed to create pipeline: Gst.ParseError: no element "pipewiresrc"
Apr 27 12:39:18 blacklighter gnome-shell[63952]: Error starting screencast
Apr 27 12:39:20 blacklighter gnome-shell[63952]: D-Bus client with active sessions vanished

Complete file: https://launchpadlibrarian.net/598628526/log.txt

Also I tried installing pipwire:

  sudo apt update
  sudo apt install pipewire-media-session libpipewire-0.3-common

Seems like I've already had the newest version

  libpipewire-0.3-common is already the newest version (0.3.48-1ubuntu1).
  pipewire-media-session is already the newest version (0.4.1-2ubuntu1).

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: xorg 1:7.7+23ubuntu2
ProcVersionSignature: Ubuntu 5.15.0-25.25-generic 5.15.30
Uname: Linux 5.15.0-25-generic x86_64
.tmp.unity_support_test.0:

ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckResult: unknown
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Fri Apr 22 22:03:57 2022
DistUpgraded: 2022-04-22 18:01:56,000 DEBUG Running PostInstallScript: '/usr/lib/ubuntu-advantage/upgrade_lts_contract.py'
DistroCodename: jammy
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes
GraphicsCard:
 Intel Corporation HD Graphics 620 [8086:5916] (rev 02) (prog-if 00 [VGA controller])
   Subsystem: Hewlett-Packard Company HD Graphics 620 [103c:828c]
InstallationDate: Installed on 2021-08-07 (257 days ago)
InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 003: ID 04f2:b5ae Chicony Electronics Co., Ltd HP HD Camera
 Bus 001 Device 002: ID 8087:0a2b Intel Corp. Bluetooth wireless interface
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: HP HP EliteBook 840 G4
ProcEnviron:
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-25-generic root=UUID=cfaddaca-a453-457a-bdb2-1acc1600816e ro quiet splash vt.handoff=7
SourcePackage: xorg
Symptom: display
UpgradeStatus: Upgraded to jammy on 2022-04-22 (0 days ago)
dmi.bios.date: 04/11/2017
dmi.bios.release: 1.3
dmi.bios.vendor: HP
dmi.bios.version: P78 Ver. 01.03
dmi.board.name: 828C
dmi.board.vendor: HP
dmi.board.version: KBC Version 45.34
dmi.chassis.asset.tag: 5CG7242D5P
dmi.chassis.type: 10
dmi.chassis.vendor: HP
dmi.ec.firmware.release: 69.52
dmi.modalias: dmi:bvnHP:bvrP78Ver.01.03:bd04/11/2017:br1.3:efr69.52:svnHP:pnHPEliteBook840G4:pvr:rvnHP:rn828C:rvrKBCVersion45.34:cvnHP:ct10:cvr:skuX3V00AV:
dmi.product.family: 103C_5336AN HP EliteBook
dmi.product.name: HP EliteBook 840 G4
dmi.product.sku: X3V00AV
dmi.sys.vendor: HP
version.compiz: compiz 1:0.9.14.1+22.04.20211217-0ubuntu2
version.libdrm2: libdrm2 2.4.110-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 22.0.1-1ubuntu2
version.libgl1-mesa-glx: libgl1-mesa-glx N/A
version.xserver-xorg-core: xserver-xorg-core 2:21.1.3-2ubuntu2
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-2build3
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20210115-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.17-2build1

Revision history for this message
Fateme Tamehri (fatemetmhr) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. Could you try to start the recording and then do

$ journalctl -b 0 > log

and add 'log' to the bug?

affects: xorg (Ubuntu) → gnome-shell (Ubuntu)
Changed in gnome-shell (Ubuntu):
status: New → Incomplete
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Sounds like this might be the upgrade problem experienced in bug 1963264. If so then bug 1963264 should be reopened.

Please try:

  sudo apt update
  sudo apt install pipewire-media-session libpipewire-0.3-common

and then log in again.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Or it may be a more complex GStreamer upgrade problem like https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1963264/comments/12

summary: - Problem with screencasting
+ Gnome screen recorder doesn't work on dist-upgraded jammy systems
Changed in gnome-shell (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Fateme Tamehri (fatemetmhr) wrote :

Complete log file

description: updated
description: updated
description: updated
Revision history for this message
Janghou (janghou) wrote :

Simply deleting the cached gstreamer dir fixed it for me.

rm -rf ~/.cache/gstreamer-1.0

Revision history for this message
Mitch Skinner (m-ubuntu-3) wrote :

Janghou's fix worked for me as well.

Revision history for this message
Kent Ross (mumbleskates) wrote :

My system was dist-upgraded from Impish; I already have libpipewire-0.3-common and pipewire-media-common and gstreamer installed; I tried deleting the gstreamer cache as Janghou described. None of these produced a fix, and I am getting syslog errors like the following:

Aug 11 14:55:43 rigel dbus-daemon[3835]: [session uid=1000 pid=3835] Activating service name='org.gnome.Shell.Screencast' requested by ':1.40' (uid=1000 pid=4234 comm="/usr/bin/gnome-shell " label="unconfined")
Aug 11 14:55:44 rigel dbus-daemon[3835]: [session uid=1000 pid=3835] Successfully activated service 'org.gnome.Shell.Screencast'
Aug 11 14:55:44 rigel gjs[797369]: JS ERROR: Error: Array element (type filename) may not be null#012_getAbsolutePath@resource:///org/gnome/Shell/Screencast/js/screencastService.js:296:21#012_generateFilePath@resource:///org/gnome/Shell/Screencast/js/screencastService.js:342:21#012ScreencastAreaAsync@resource:///org/gnome/Shell/Screencast/js/screencastService.js:421:31#012_handleMethodCall@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:354:35#012_wrapJSObject/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:387:34#012run@resource:///org/gnome/Shell/Screencast/js/dbusService.js:186:20#012main@resource:///org/gnome/Shell/Screencast/js/main.js:10:13#012run@resource:///org/gnome/gjs/modules/script/package.js:206:19#012start@resource:///org/gnome/gjs/modules/script/package.js:190:8#012@/usr/share/gnome-shell/org.gnome.Shell.Screencast:1:17#012Caused by: Error: Invalid element in array
Aug 11 14:55:45 rigel gnome-shell[4234]: D-Bus client with active sessions vanished
Aug 11 14:55:45 rigel gnome-shell[4234]: Error starting screencast: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.