Cheese freeze when recording video with pipewiresrc

Bug #1994928 reported by Bin Li
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OEM Priority Project
New
Undecided
Unassigned
pipewire (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

[Question Summary]
Use Cheese to record video, and screen will hang during recording.

[Reproduce steps]
1.Preload Ubuntu 22.04.1 LTS.
2.Open Cheese and start to record video.
3.Stop recording.

[Expected result]
Record video smoothly and play video in Cheese.

[Actual result]
The recorded video page stops, recording is often different from the actual.

Revision history for this message
Bin Li (binli) wrote (last edit ):

At /usr/share/pipewire/media-session.d/media-session.conf, the gst-device-monitor-1.0 Video/Source change from pipewiresrc to v4l2src, after reboot, this issue is gone.

tags: added: oem-priority originate-from-1993784 sutton
Revision history for this message
Bin Li (binli) wrote :

After disabling the pipewire, it works fine.

$ systemctl --user disable --now pipewire pipewire-media-session pipewire.socket

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

Maybe related to bug 1987631?

Revision history for this message
Bin Li (binli) wrote :

@daniel,

 The work around didn't work for me.

  cd ~/.cache
  rm -rf gstreamer-1.0

Bin Li (binli)
tags: added: originate-from-1995448
Revision history for this message
Robie Basak (racb) wrote :

Possibly fixed in jammy-proposed with bug 1996148. If this fixes this for you, please let us know.

Bin Li (binli)
tags: added: originate-from-1990246
Revision history for this message
Bin Li (binli) wrote :

Hi Robie,

 Cheese issue does not have improvement with the proposed pipewire. The fail rate is about 8/10. Thanks!

Revision history for this message
Matthew D. Mower (mdmower) wrote :

@binli - I encountered this bug while testing lp:1987631. In my case, the good part of the recording is preceded by a still frame that lasts roughly the amount of time since the system was booted. For example, if I start recording in Cheese 2 minutes after I reboot, then I get 2 minutes of frame 1 followed by good recording.

This issue exists for me with pipewire 0.3.48-1ubuntu1, 0.3.48-1ubuntu2, and 0.3.48-1ubuntu4 (i.e. your patches in lp:1987631). So, it doesn't seem to be a regression introduced by 1ubuntu2.

I've reproduced this on two computers with the following cameras:
13d3:5405 IMC Networks Integrated Camera
046d:082d Logitech, Inc. HD Pro Webcam C920

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in pipewire (Ubuntu):
status: New → Confirmed
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.