Discussion:
Bug#1069079: gnome-snapshot: No image captured, viewfinder stays black
(too old to reply)
Ralph Aichinger
2024-04-16 06:30:02 UTC
Permalink
Package: gnome-snapshot
Version: 46.2-1
Severity: normal
X-Debbugs-Cc: ***@pi.h5.or.at

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:

***@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)")

-- System Information:
Debian Release: trixie/sid
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.7.9-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gnome-snapshot depends on:
ii dconf-gsettings-backend [gsettings-backend] 0.40.0-4+b2
ii gstreamer1.0-libcamera 0.2.0-3
ii gstreamer1.0-pipewire 1.0.5-1
ii libadwaita-1-0 1.5.0-1
ii libc6 2.37-17
ii libgcc-s1 14-20240330-1
ii libglib2.0-0t64 2.78.4-6
ii libgraphene-1.0-0 1.10.8-3+b1
ii libgstreamer-gl1.0-0 1.24.2-1
ii libgstreamer-plugins-base1.0-0 1.24.2-1
ii libgstreamer1.0-0 1.24.2-1
ii libgtk-4-1 4.12.5+ds-6
ii pipewire 1.0.5-1
ii pipewire-v4l2 1.0.5-1
ii xdg-desktop-portal-gnome [xdg-desktop-portal-backend] 44.2-4+b1
ii xdg-desktop-portal-gtk [xdg-desktop-portal-backend] 1.15.1-1+b1

gnome-snapshot recommends no packages.

gnome-snapshot suggests no packages.

-- no debconf information
Ralph Aichinger
2024-04-16 07:00:01 UTC
Permalink
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:

***@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
Matthias Geiger
2024-08-02 13:30:01 UTC
Permalink
On Sun, 21 Apr 2024 12:29:24 +0200 Matthias Geiger
Post by Ralph Aichinger
Sorry, forgot: Cheese starts up fine and gets a picture from my camera
(built in camera of Surface Laptop model 1867). Console messages from
[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
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
Jeremy Bícha
2024-10-10 15:10:01 UTC
Permalink
Control: tags -1 +moreinfo

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

Loading...