Cheese error after long time to start

Bug #1995298 reported by corrado venturini
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cheese (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

On Ubuntu 22.10 Wayland session I start cheese from terminal, after more than 1 minute cheese starts and displays a black screen with 'There was an error playing video from the webcam'
See attached screencast.
corrado@corrado-n6-kinetic:~$ apt policy cheese
cheese:
  Installed: 43~alpha-1
  Candidate: 43~alpha-1
  Version table:
 *** 43~alpha-1 500
        500 http://archive.ubuntu.com/ubuntu kinetic/main amd64 Packages
        100 /var/lib/dpkg/status
corrado@corrado-n6-kinetic:~$ inxi -SCGx
System:
  Host: corrado-n6-kinetic Kernel: 5.19.0-23-generic arch: x86_64 bits: 64
    compiler: N/A Desktop: GNOME v: 43.0 Distro: Ubuntu 22.10 (Kinetic Kudu)
CPU:
  Info: dual core model: Intel Core i3-7100 bits: 64 type: MT MCP
    arch: Kaby Lake rev: 9 cache: L1: 128 KiB L2: 512 KiB L3: 3 MiB
  Speed (MHz): avg: 2350 high: 3900 min/max: 800/3900 cores: 1: 3900
    2: 3900 3: 800 4: 800 bogomips: 31199
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel HD Graphics 630 vendor: ASRock driver: i915 v: kernel
    arch: Gen-9.5 bus-ID: 00:02.0
  Device-2: Logitech QuickCam Pro 9000 type: USB
    driver: snd-usb-audio,uvcvideo bus-ID: 1-7:5
  Display: wayland server: X.Org v: 1.22.1.3 with: Xwayland v: 22.1.3
    compositor: gnome-shell driver: gpu: i915 resolution: 1920x1080~60Hz
  OpenGL: renderer: Mesa Intel HD Graphics 630 (KBL GT2) v: 4.6 Mesa 22.2.1
    direct render: Yes
corrado@corrado-n6-kinetic:~$

corrado@corrado-n6-kinetic:~$ cheese

(cheese:38766): cheese-WARNING **: 17:15:32.022: Internal data stream error.: ../libs/gst/base/gstbasesrc.c(3127): gst_base_src_loop (): /GstCameraBin:camerabin/GstWrapperCameraBinSrc:camera_source/GstBin:bin18/GstPipeWireSrc:pipewiresrc1:
streaming stopped, reason not-negotiated (-4)

(cheese:38766): Clutter-CRITICAL **: 17:15:57.413: Unable to create dummy onscreen: No foreign surface, and wl_shell unsupported by the compositor
corrado@corrado-n6-kinetic:~$

Note: I don't use 'ubuntu-bug' because cheese captures the command and produces an unusable bug report.

Problem happens on 3 different PC with different webcams.
---
ProblemType: Bug
ApportVersion: 2.23.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 22.10
InstallationDate: Installed on 2022-10-25 (6 days ago)
InstallationMedia: Ubuntu 22.10 "Kinetic Kudu" - Release amd64 (20221020)
MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
Package: cheese 43~alpha-1
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 5.19.0-23.24-generic 5.19.7
RelatedPackageVersions:
 cheese 43~alpha-1
 cheese-common 43~alpha-1
Tags: wayland-session kinetic gstreamer-error
Uname: Linux 5.19.0-23-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 05/11/2017
dmi.bios.release: 5.12
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: P1.10
dmi.board.name: H110M-G/M.2
dmi.board.vendor: ASRock
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP1.10:bd05/11/2017:br5.12:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnH110M-G/M.2:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:skuToBeFilledByO.E.M.:
dmi.product.family: To Be Filled By O.E.M.
dmi.product.name: To Be Filled By O.E.M.
dmi.product.sku: To Be Filled By O.E.M.
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: To Be Filled By O.E.M.

Revision history for this message
corrado venturini (corradoventu) wrote :
tags: added: apport-collected gstreamer-error kinetic wayland-session
description: updated
Revision history for this message
corrado venturini (corradoventu) wrote : CheeseDebug.txt.gz

apport information

Revision history for this message
corrado venturini (corradoventu) wrote : Dependencies.txt

apport information

Revision history for this message
corrado venturini (corradoventu) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
corrado venturini (corradoventu) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
corrado venturini (corradoventu) wrote : ProcEnviron.txt

apport information

Revision history for this message
corrado venturini (corradoventu) wrote : lspci.txt

apport information

Revision history for this message
corrado venturini (corradoventu) wrote : lsusb.txt

apport information

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

Thank you for your bug report. Do you get a similar issue under an xorg session? Is the webcam working on other software?

Changed in cheese (Ubuntu):
status: New → Incomplete
Revision history for this message
corrado venturini (corradoventu) wrote :

Same problem under xorg, webcam works with guvcview after various error messages.

Here the messages from guvcview under xorg:
corrado@corrado-n6-kinetic:~$ guvcview
GUVCVIEW: version 2.0.8
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: File exists
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: File exists
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: File exists
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: File exists
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: File exists
ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
control[0]:(unknown - 0x6) 0x980001 'User Controls'
control[10]:(unknown - 0x6) 0x9a0001 'Camera Controls'
V4L2_CORE: Could not grab image (select timeout): Resource temporarily unavailable
GUVCVIEW: error setting spin value
GUVCVIEW: error setting slider value
control id: 0x009a0902 failed to set (error -1)
GUVCVIEW: error setting spin value
control id: 0x009a0902 failed to set (error -1)
GUVCVIEW: error setting slider value
V4L2_CORE: Could not grab image (select timeout): Resource temporarily unavailable
GUVCVIEW: error setting spin value
control id: 0x009a0902 failed to set (error -1)
GUVCVIEW: error setting spin value
GUVCVIEW: error setting spin value
control id: 0x009a0902 failed to set (error -1)
GUVCVIEW: error setting spin value
corrado@corrado-n6-kinetic:~$

Changed in cheese (Ubuntu):
status: Incomplete → New
Revision history for this message
corrado venturini (corradoventu) wrote :

connecting the webcam to a different USB port I see a different problem: cheese starts in about 6 seconds, the window shows a video that appears to run at 2-3 frames per second and the terminal shows the messages:

corrado@corrado-n6-kinetic:~$ cheese

(cheese:4088): cheese-WARNING **: 08:49:16.902: A lot of buffers are being dropped.: ../libs/gst/base/gstbasesink.c(3143): gst_base_sink_is_too_late (): /GstCameraBin:camerabin/GstViewfinderBin:vf-bin/ClutterGstVideoSink:cluttergstvideosink0:
There may be a timestamping problem, or this computer is too slow.

(cheese:4088): cheese-WARNING **: 08:49:17.038: A lot of buffers are being dropped.: ../libs/gst/base/gstbasesink.c(3143): gst_base_sink_is_too_late (): /GstCameraBin:camerabin/GstViewfinderBin:vf-bin/ClutterGstVideoSink:cluttergstvideosink0:
There may be a timestamping problem, or this computer is too slow.

(cheese:4088): cheese-WARNING **: 08:49:18.535: A lot of buffers are being dropped.: ../libs/gst/base/gstbasesink.c(3143): gst_base_sink_is_too_late (): /GstCameraBin:camerabin/GstViewfinderBin:vf-bin/ClutterGstVideoSink:cluttergstvideosink0:
There may be a timestamping problem, or this computer is too slow.

... this message continues...

Revision history for this message
corrado venturini (corradoventu) wrote :

Same problem with a different webcam:
Bus 003 Device 005: ID 05a3:9530 ARC International USB 2.0 Camera

Revision history for this message
corrado venturini (corradoventu) wrote :

No longer occurred due to fix or new version. Marked as Invalid.

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