← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2059726] Re: GNOME Snapshot doesn't show webcam image

 

On 24.04.2, I met the same issue with '174f:11a8 Syntek Integrated
Camera'.

$ snapshot 
2025-05-15T07:41:08.074507Z  INFO snapshot::application::imp: Snapshot (org.gnome.Snapshot)    
2025-05-15T07:41:08.074525Z  INFO snapshot::application::imp: Version: 46.2    
2025-05-15T07:41:08.074529Z  INFO snapshot::application::imp: Datadir: /usr/share/snapshot    
2025-05-15T07:41:24.355428Z ERROR aperture::viewfinder: Bus Error from Some("/GstCameraBin:camerabin0/GstWrapperCameraBinSrc:wrappercamerabinsrc0/GstBin:bin0/GstPipeWireSrc:pipewiresrc0")
stream error: no more input formats
Some("../src/gst/gstpipewiresrc.c(692): on_state_changed (): /GstCameraBin:camerabin0/GstWrapperCameraBinSrc:wrappercamerabinsrc0/GstBin:bin0/GstPipeWireSrc:pipewiresrc0")    
2025-05-15T07:41:24.359125Z ERROR aperture::viewfinder: Bus Error from Some("/GstCameraBin:camerabin0/GstWrapperCameraBinSrc:wrappercamerabinsrc0/GstBin:bin0/GstPipeWireSrc:pipewiresrc0")
Internal data stream error.
Some("../libs/gst/base/gstbasesrc.c(3177): gst_base_src_loop (): /GstCameraBin:camerabin0/GstWrapperCameraBinSrc:wrappercamerabinsrc0/GstBin:bin0/GstPipeWireSrc:pipewiresrc0:\nstreaming stopped, reason not-negotiated (-4)")    
^C

$ pw-dump | grep default.video.source
      { "subject": 0, "key": "default.video.source", "type": "Spa:String:JSON", "value": { "name": "v4l2_input.pci-0000_00_14.0-usb-0_8_1.0" } },

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to gnome-snapshot in Ubuntu.
https://bugs.launchpad.net/bugs/2059726

Title:
  GNOME Snapshot doesn't show webcam image

Status in gnome-snapshot package in Ubuntu:
  Confirmed

Bug description:
  I'm getting errors when I try to use GNOME Snapshot on Ubuntu Noble:
  ➜ snapshot                               
  2024-03-28T19:30:02.289308Z  INFO snapshot::application::imp: Snapshot (org.gnome.Snapshot)    
  2024-03-28T19:30:02.289323Z  INFO snapshot::application::imp: Version: 45.2    
  2024-03-28T19:30:02.289327Z  INFO snapshot::application::imp: Datadir: /usr/share/snapshot    
  libEGL warning: egl: failed to create dri2 screen
  2024-03-28T19:30:02.675094Z ERROR aperture::viewfinder: Could not start camerabin: Element failed to change its state    
  2024-03-28T19:30:02.679375Z ERROR aperture::viewfinder: Could not start camerabin: Element failed to change its state    
  2024-03-28T19:30:02.680012Z ERROR aperture::viewfinder: Bus Error from Some("/GstCameraBin:camerabin0/GstWrapperCameraBinSrc:camerasrc/GstAutoVideoSrc:camerasrc-real-src/GstPipeWireSrc:camerasrc-real-src-actual-src-pipewir")
  stream error: error output enum formats: Invalid argument
  Some("../src/gst/gstpipewiresrc.c(689): on_state_changed (): /GstCameraBin:camerabin0/GstWrapperCameraBinSrc:camerasrc/GstAutoVideoSrc:camerasrc-real-src/GstPipeWireSrc:camerasrc-real-src-actual-src-pipewir")    
  2024-03-28T19:30:02.680031Z ERROR aperture::viewfinder: Bus Error from Some("/GstCameraBin:camerabin0/GstWrapperCameraBinSrc:camerasrc/GstAutoVideoSrc:camerasrc-real-src/GstPipeWireSrc:camerasrc-real-src-actual-src-pipewir")
  Internal data stream error.
  Some("../libs/gst/base/gstbasesrc.c(3175): gst_base_src_loop (): /GstCameraBin:camerabin0/GstWrapperCameraBinSrc:camerasrc/GstAutoVideoSrc:camerasrc-real-src/GstPipeWireSrc:camerasrc-real-src-actual-src-pipewir:\nstreaming stopped, reason not-negotiated (-4)")    
  2024-03-28T19:30:02.680074Z ERROR aperture::viewfinder: Bus Error from Some("/GstCameraBin:camerabin0/GstFileSink:videobin-filesink")
  Could not open file "cap_%d" for writing.
  Some("../plugins/elements/gstfilesink.c(507): gst_file_sink_open_file (): /GstCameraBin:camerabin0/GstFileSink:videobin-filesink:\nsystem error: Permission denied")    
  2024-03-28T19:30:02.680081Z ERROR aperture::viewfinder: Bus Error from Some("/GstCameraBin:camerabin0/GstFileSink:videobin-filesink")
  GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure.
  Some("../libs/gst/base/gstbasesink.c(5906): gst_base_sink_change_state (): /GstCameraBin:camerabin0/GstFileSink:videobin-filesink:\nFailed to start")    
  2024-03-28T19:30:02.680318Z ERROR aperture::viewfinder: Bus Error from Some("/GstCameraBin:camerabin0/GstFileSink:videobin-filesink")
  Could not open file "cap_%d" for writing.
  Some("../plugins/elements/gstfilesink.c(507): gst_file_sink_open_file (): /GstCameraBin:camerabin0/GstFileSink:videobin-filesink:\nsystem error: Permission denied")    
  2024-03-28T19:30:02.680325Z ERROR aperture::viewfinder: Bus Error from Some("/GstCameraBin:camerabin0/GstFileSink:videobin-filesink")
  GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure.
  Some("../libs/gst/base/gstbasesink.c(5906): gst_base_sink_change_state (): /GstCameraBin:camerabin0/GstFileSink:videobin-filesink:\nFailed to start")

  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: gnome-snapshot 45.2+vendored-0ubuntu1
  Uname: Linux 6.8.2-x64v4-xanmod1 x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.28.0-0ubuntu1
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Thu Mar 28 16:31:40 2024
  InstallationDate: Installed on 2021-11-26 (853 days ago)
  InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
  SourcePackage: gnome-snapshot
  UpgradeStatus: Upgraded to noble on 2024-02-23 (34 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-snapshot/+bug/2059726/+subscriptions