Screencast only records one second
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNOME Shell |
Fix Released
|
Unknown
|
|||
OEM Priority Project |
Fix Released
|
High
|
Unassigned | ||
gnome-shell (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
Undecided
|
Unassigned | ||
pipewire (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
High
|
Unassigned |
Bug Description
[Impact]
When recording a screencast with gnome on kinetic the resulting video will play for one second and then freeze. It looks like the same bug was discussed upstream at https:/
This issue is caused by the new two patches in 0.3.48-1ubuntu2 which is fixed the Cheese preview stuck issue on jammy
* d/p/0001-
d/p/
- Camera output freeze when using pipewiresrc (LP: #1985057)
Here is a comment from https:/
===
So that's a regression of one of the cherrypicked commits, details are in https:/
the issue is fixed in Kinetic through a combination of the shell fix and a new pipewire.
In 22.04 the shell issue is fixed in the recent 42.5 update but we will need to cherrypick https:/
===
[Test Plan]
1. Install Jammy on the hardware issue reported, and hardware didn't report the issue to avoid the regression
hardware list:
a. 0bda:58ff Realtek Semiconductor Corp. Integrated_
b. 0c45:6747 Microdia Integrated_
c. 0c45:6a14 Microdia Integrated_
d. 1bcf:28d0 Sunplus Innovation Technology Inc. Integrated_
e. 04f2:b76b Chicony Electronics Co., Ltd HP HD Camera
f. 0408:545a Quanta Computer, Inc. HP 5MP Camera
g. 0408:5483 Quanta Computer, Inc. HP HD Camera
h. 174f:2459 Syntek Integrated Camera (ThinkBook 14 Gen 4)
i. 5986:116d Acer, Inc Integrated Camera (ThinkCentre Neo 50a)
j. 0bda:5556 Realtek Semiconductor Corp. Integrated_
2. try to install the updated pipewire packages (= 0.3.48-1ubuntu2)
3. $ sudo reboot
4. Check if gst-launch-1.0 work
a. $ gst-device-
b. $ gst-launch-1.0 pipewiresrc path=<id> ! <cap> ! decodebin ! videoconvert ! glimagesink
c. Check if the result ok
5. Check the screencast function by pressing 'prt sc'
a. the screenshot of all screen/selected region should work good
b. the screenrecord of all screen/selected region should work good
6. Check that video recording in gnome-shell works
- use Ctrl+Shift+Alt+R to start a recording, stop it from the indicator, verify that there is a new entry in ~/Video
7. Check that screen sharing is working
- go to settings, screen sharing and enable the feature
- try to connect using rdp/vnc from another client
do those steps under wayland and unset X
[Where problems could occur]
The patches try to dequeue the shared buffer, instead of pool buffer to prevent the pool buffer being corrupted. it might cause some camera preview failed if shared buffer is corrupted.
It is from upstream and there is no regression found, so the risk is low.
[Other Info]
Upstream commits for pipewire:
https:/
https:/
https:/
Upstream commits for gstreamer:
https:/
Changed in gnome-shell: | |
status: | Unknown → Fix Released |
Changed in gnome-shell (Ubuntu Jammy): | |
status: | Fix Committed → Fix Released |
tags: | added: oem-priority originate-from-1994117 sutton |
Changed in oem-priority: | |
assignee: | nobody → Bin Li (binli) |
importance: | Undecided → High |
status: | New → In Progress |
tags: | added: rls-jj-incoming |
description: | updated |
Changed in pipewire (Ubuntu Jammy): | |
importance: | Undecided → High |
status: | Confirmed → Triaged |
Changed in gst-plugins-base1.0 (Ubuntu Jammy): | |
status: | New → In Progress |
Changed in gstreamer1.0 (Ubuntu Jammy): | |
status: | New → In Progress |
Changed in pipewire (Ubuntu Jammy): | |
status: | Triaged → In Progress |
Changed in gst-plugins-base1.0 (Ubuntu Jammy): | |
assignee: | nobody → Bin Li (binli) |
Changed in gstreamer1.0 (Ubuntu Jammy): | |
assignee: | nobody → Bin Li (binli) |
Changed in pipewire (Ubuntu Jammy): | |
assignee: | nobody → Bin Li (binli) |
Changed in gst-plugins-base1.0 (Ubuntu): | |
status: | New → Fix Released |
Changed in gstreamer1.0 (Ubuntu): | |
status: | New → Fix Released |
Sounds like this might be bug 1963264 so please try:
cd ~/.cache
rm -rf gstreamer-1.0