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
Summary: | Screen recording doesn't work | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Alexander Mikhaylenko <alexm> | ||||
Component: | gnome-shell | Assignee: | Florian Müllner <fmuellner> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 33 | CC: | awilliam, fmuellner, fzatlouk, gnome-sig, jadahl, klember, lruzicka, otaylor, philip.wyett | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | AcceptedFreezeException | ||||||
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: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2020-09-11 20:35:31 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1766776 | ||||||
Attachments: |
|
Description
Alexander Mikhaylenko
2020-08-28 14:40:36 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. FEDORA-2020-d81ca98f28 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-d81ca98f28 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". (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? 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/ You need at least gnome-settings-daemon-3.37.1 for it to work with gnome-shell-3.37.91. (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. 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.) > 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.
Created attachment 1714302 [details]
Recording from python/gst
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() 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). (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 (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. FEDORA-2020-d81ca98f28 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-d81ca98f28 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. 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. 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. |