#1069079 gnome-snapshot: No image captured, viewfinder stays black

Package:
gnome-snapshot
Source:
gnome-snapshot
Description:
Take pictures and videos from your webcam
Submitter:
Ralph Aichinger
Date:
2025-09-02 13:15:02 UTC
Severity:
normal
Tags:
#1069079#5
Date:
2024-04-16 06:24:46 UTC
From:
To:
Dear Maintainer,

when starting gnome-snapshot the program starts up fine, the picture
stays black though.

When started from the console as the logged in user, the following
errors are displayed:

ralph@surface:~$ snapshot
2024-04-16T06:12:19.254253Z  INFO snapshot::application::imp: Snapshot (org.gnome.Snapshot)
2024-04-16T06:12:19.254291Z  INFO snapshot::application::imp: Version: 46.2
2024-04-16T06:12:19.254296Z  INFO snapshot::application::imp: Datadir: /usr/share/snapshot
2024-04-16T06:12:20.193150Z ERROR aperture::viewfinder: Could not start camerabin: Element failed to change its state
2024-04-16T06:12:20.198665Z ERROR aperture::viewfinder: Could not start camerabin: Element failed to change its state
2024-04-16T06:12:20.199789Z 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(692): on_state_changed (): /GstCameraBin:camerabin0/GstWrapperCameraBinSrc:camerasrc/GstAutoVideoSrc:camerasrc-real-src/GstPipeWireSrc:camerasrc-real-src-actual-src-pipewir")
2024-04-16T06:12:20.199835Z 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(3177): 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)")

#1069079#10
Date:
2024-04-16 06:38:36 UTC
From:
To:
cheese, program works without problem:

ralph@surface:~$ cheese
[19:09:28.423130575] [95032]  WARN IPAManager ipa_manager.cpp:154 No
IPA found in '/usr/lib/x86_64-linux-gnu/libcamera'
[19:09:28.423207194] [95032]  INFO Camera camera_manager.cpp:284
libcamera v0.2.0

(cheese:95032): GStreamer-CRITICAL **: 08:37:33.291:
gst_structure_get_value: assertion 'structure != NULL' failed

#1069079#15
Date:
2024-04-21 10:29:24 UTC
From:
To:
On Tue, 16 Apr 2024 08:38:36 +0200 Ralph Aichinger <ra@h5.or.at> wrote:
 > Sorry, forgot: Cheese starts up fine and gets a picture from my camera
 > (built in camera of Surface Laptop model 1867). Console messages from
 > cheese, program works without problem:
 >
 > ralph@surface:~$ cheese
 > [19:09:28.423130575] [95032] WARN IPAManager ipa_manager.cpp:154 No
 > IPA found in '/usr/lib/x86_64-linux-gnu/libcamera'
 > [19:09:28.423207194] [95032] INFO Camera camera_manager.cpp:284
 > libcamera v0.2.0
 >
 > (cheese:95032): GStreamer-CRITICAL **: 08:37:33.291:
 > gst_structure_get_value: assertion 'structure != NULL' failed
 >
 >

 >

Hi Ralph,

thanks for the detailed bugreport. Would you mind submitting that to
upstream ?

They are more likely to know the exact reason why snapshot is not
working as there are a lot of factors at play here. pipewire 1.0.5 was
supposed to resolve most issues but not all, it seems.

best,

#1069079#20
Date:
2024-08-02 13:20:10 UTC
From:
To:
On Sun, 21 Apr 2024 12:29:24 +0200 Matthias Geiger
<werdahias@riseup.net> wrote:
 > On Tue, 16 Apr 2024 08:38:36 +0200 Ralph Aichinger <ra@h5.or.at> wrote:
 > > Sorry, forgot: Cheese starts up fine and gets a picture from my camera
 > > (built in camera of Surface Laptop model 1867). Console messages from
 > > cheese, program works without problem:
 > >
 > > ralph@surface:~$ cheese
 > > [19:09:28.423130575] [95032] WARN IPAManager ipa_manager.cpp:154 No
 > > IPA found in '/usr/lib/x86_64-linux-gnu/libcamera'
 > > [19:09:28.423207194] [95032] INFO Camera camera_manager.cpp:284
 > > libcamera v0.2.0
 > >
 > > (cheese:95032): GStreamer-CRITICAL **: 08:37:33.291:
 > > gst_structure_get_value: assertion 'structure != NULL' failed
 > >
 > >
 >
 > >

Hi Ralph,

can you try the new 46.3 snapshot from unstable and see if the issue
persists?


best,


werdahias

#1069079#25
Date:
2024-10-10 15:02:52 UTC
From:
To:
Ralph, please confirm if you are still experiencing this issue with
gnome-snapshot 47.0.1-5 now in Debian Testing. There have also been
recent Pipewire fixes; please also restart your computer or at least
log out and log back in after installing these recent updates.

Thank you,
Jeremy Bícha

#1069079#32
Date:
2025-09-02 13:11:01 UTC
From:
To:
Closing since there has been no response from the reporter; feel free to
reopen if the issue remains