Snapshot from GNOME will not work under Wayland

The output of snapshot

2024-04-07T06:26:13.014988Z  INFO ashpd::desktop::request: Creating a org.freedesktop.portal.Request /org/freedesktop/portal/desktop/request/1_150/ashpd_8Tbl0Pchge
2024-04-07T06:26:13.019914Z  INFO ashpd::desktop::request: Received signal 'Response' on 'org.freedesktop.portal.Request'
2024-04-07T06:26:13.020050Z  INFO ashpd::proxy: Calling method org.freedesktop.portal.Camera:OpenPipeWireRemote
2024-04-07T06:26:13.121014Z ERROR aperture::viewfinder: Could not start camerabin: Element failed to change its state    
2024-04-07T06:26:13.124104Z ERROR aperture::viewfinder: Could not start camerabin: Element failed to change its state    
2024-04-07T06:26:13.124664Z 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: 无效的参数
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-04-07T06:26:13.124695Z 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)") 

Under Xorg it will work fine. I am not sure what caused it, but I have found similar issues reported to NixOS and Ubuntu. Cheese will work just fine.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.