Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1873538 - Screen recording doesn't work
Summary: Screen recording doesn't work
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-shell
Version: 33
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Florian Müllner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: AcceptedFreezeException
Depends On:
Blocks: F33BetaFreezeException
TreeView+ depends on / blocked
 
Reported: 2020-08-28 14:40 UTC by Alexander Mikhaylenko
Modified: 2020-09-11 20:35 UTC (History)
9 users (show)

Fixed In Version: gnome-shell-3.37.91-3.fc33 gnome-shell-3.37.91-4.fc33
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-09-11 20:35:31 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Recording from python/gst (173.83 KB, image/png)
2020-09-09 15:16 UTC, František Zatloukal
no flags Details

Description Alexander Mikhaylenko 2020-08-28 14:40:36 UTC
Description of problem:
Shell screen recording does nothing. Trying to record via another app (Peek) yields a fully black video, Ctrl+Shift+Alt+R does nothing.

Version-Release number of selected component (if applicable):
gnome-shell-3.37.91-2.fc33.x86_64

How reproducible:
Always.

Steps to Reproduce:
1. Press Ctrl+Shift+Alt+R
2. ...

Actual results:
Screen recording starts.

Expected results:
Nothing happens.

Additional info:
Nothing in journal.

Comment 1 Kalev Lember 2020-09-09 07:51:31 UTC
Proposing as a Freeze Exception for Beta. I suspect a lot of reviewers might want to take a screencast in the live session (or right after installing Beta) and non-working screencast would not give a good first impression.

We already have had the fix for this in updates-testing for over a week and looks like only positive feedback in testing.

Comment 2 Fedora Update System 2020-09-09 07:51:57 UTC
FEDORA-2020-d81ca98f28 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-d81ca98f28

Comment 3 Lukas Ruzicka 2020-09-09 09:14:29 UTC
With this update, the screen recording still does not work on my laptop - ThinkPad T580. When I press Ctrl-Alt-Shift-R nothing happens. The gnome shell version is 3.37.91-3.

I also checked the system keyboard shortcuts and I have that shortcut defined for "Record a short screencast".

Comment 4 Jonas Ådahl 2020-09-09 09:46:58 UTC
(In reply to Lukas Ruzicka from comment #3)
> With this update, the screen recording still does not work on my laptop -
> ThinkPad T580. When I press Ctrl-Alt-Shift-R nothing happens. The gnome
> shell version is 3.37.91-3.
> 
> I also checked the system keyboard shortcuts and I have that shortcut
> defined for "Record a short screencast".

What version of gnome-settings-daemon do you have installed?

Does e.g. https://gitlab.gnome.org/snippets/15 work for you?

Comment 5 František Zatloukal 2020-09-09 12:46:53 UTC
Jonas, neither I can't get screen recording to work, even with gnome-shell-3.37.91-3.fc33 and gnome-settings-daemon-3.37.0-1.fc33 .

Provided snippet fails with: gi.repository.GLib.GError: gst_parse_error: no element "pipewiresrc" (1)

Same as other users indicated in: https://www.reddit.com/r/Fedora/comments/i8s00z/black_screen_when_connecting_to_wayland_session/

Comment 6 Jonas Ådahl 2020-09-09 12:52:13 UTC
You need at least gnome-settings-daemon-3.37.1 for it to work with gnome-shell-3.37.91.

Comment 7 František Zatloukal 2020-09-09 12:55:20 UTC
(In reply to Jonas Ådahl from comment #6)
> You need at least gnome-settings-daemon-3.37.1 for it to work with
> gnome-shell-3.37.91.

Huh, latest gst in Fedora 33 (including updates-testing) is gnome-settings-daemon-3.37.0-1.fc33 , as can be seen in bodhi: https://bodhi.fedoraproject.org/updates/?packages=gnome-settings-daemon

Let me try newer one.

Comment 8 František Zatloukal 2020-09-09 14:17:44 UTC
Same issue with gnome-settings-daemon-3.37.92-1.fc33.x86_64 . (recording in shell not working and the python script failing the same way.)

Comment 9 Jonas Ådahl 2020-09-09 14:29:09 UTC
> Provided snippet fails with: gi.repository.GLib.GError: gst_parse_error: no element "pipewiresrc" (1)

Ah, missed this part too. For this you need pipewire-gstreamer. I suspect gnome-shell is missing this dependency in the .spec file.

Comment 10 František Zatloukal 2020-09-09 15:16:46 UTC
Created attachment 1714302 [details]
Recording from python/gst

Comment 11 František Zatloukal 2020-09-09 15:18:46 UTC
Yeah, the package wasn't installed. After installing it and running the script, the result is captured in the attached image.

Looking at the code, I assume it'd save the video to ~/Videos , nothing's there.

The only output in the terminal was:

record.py:12: PyGIDeprecationWarning: Since version 3.11, calling threads_init is no longer needed. See: https://wiki.gnome.org/PyGObject/Threading
  GObject.threads_init()

Comment 12 Adam Williamson 2020-09-09 18:24:31 UTC
We have +5 FE votes in the ticket, so marking as accepted freeze exception (obviously this functionality couldn't be fixed for the workstation live with a post-release update).

Comment 13 Kalev Lember 2020-09-09 18:49:09 UTC
(In reply to Jonas Ådahl from comment #9)
> > Provided snippet fails with: gi.repository.GLib.GError: gst_parse_error: no element "pipewiresrc" (1)
> 
> Ah, missed this part too. For this you need pipewire-gstreamer. I suspect
> gnome-shell is missing this dependency in the .spec file.

I went ahead and fixed that in https://src.fedoraproject.org/rpms/gnome-shell/c/d25ebb8221eb1729e4573b63fcd84a2538c5da73?branch=f33

Comment 14 Jonas Ådahl 2020-09-10 06:50:50 UTC
(In reply to František Zatloukal from comment #11)
> Yeah, the package wasn't installed. After installing it and running the
> script, the result is captured in the attached image.
> 
> Looking at the code, I assume it'd save the video to ~/Videos , nothing's
> there.
> 
> The only output in the terminal was:
> 
> record.py:12: PyGIDeprecationWarning: Since version 3.11, calling
> threads_init is no longer needed. See:
> https://wiki.gnome.org/PyGObject/Threading
>   GObject.threads_init()

This is expected. The only thing the python script does is display the recorded content directly, without saving it anywhere. Would you drag around the gstreamer window, the content of the gstreamer window would change recursively.

Comment 15 Fedora Update System 2020-09-10 11:22:17 UTC
FEDORA-2020-d81ca98f28 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-d81ca98f28

Comment 16 Kalev Lember 2020-09-10 11:29:25 UTC
OK, I applied all of the fixes that Jonas pointed out to gnome-shell-3.37.91-4.fc33 and added a newer gnome-settings-daemon build to the update. The built-in screen recorder, Ctrl+Alt+Shit+r works in my testing now.

I had to do some ugly git merge hackery to get the older gnome-shell .91 built as we already had .92 lined up. I'd like to get this fix queued to stable as soon as possible so I can submit the .92 megaupdate to Bodhi as well later today.

Comment 17 Fedora Update System 2020-09-10 15:47:31 UTC
FEDORA-2020-d81ca98f28 has been pushed to the Fedora 33 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-d81ca98f28`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-d81ca98f28

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 18 Fedora Update System 2020-09-11 20:35:31 UTC
FEDORA-2020-d81ca98f28 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.