Could not play camera stream with NVIDIA Driver
Coud not play camera with NVIDIA Driver. This error is similor to #134 (closed), but the not same. Snapshot work (but very slowly) with nouveau open source driver, it don't work with NVIDIA driver. The error messages different from #134 (closed).
Distribution: Fedora Linux 40 Beta
NVIDIA driver: 550.67
snapshot version: snapshot-46.1-1
LANG=C snapshot &
[1] 23355
kenken@fedora:~$ 2024-04-12T08:27:06.689614Z INFO snapshot::application::imp: Snapshot (org.gnome.Snapshot)
2024-04-12T08:27:06.689628Z INFO snapshot::application::imp: Version: 46.1
2024-04-12T08:27:06.689631Z INFO snapshot::application::imp: Datadir: /usr/share/snapshot
2024-04-12T08:27:06.933900Z INFO ashpd::desktop::request: Creating a org.freedesktop.portal.Request /org/freedesktop/portal/desktop/request/1_104/ashpd_uZhh0XvB6O
2024-04-12T08:27:06.935225Z INFO ashpd::desktop::request: Received signal 'Response' on 'org.freedesktop.portal.Request'
2024-04-12T08:27:06.935242Z INFO ashpd::proxy: Calling method org.freedesktop.portal.Camera:OpenPipeWireRemote
*** pw_stream_set_error called from wrong context, check thread and locking: Operation not permitted
2024-04-12T08:27:06.964360Z ERROR aperture::viewfinder: Could not start camerabin: Element failed to change its state
2024-04-12T08:27:06.967890Z ERROR aperture::viewfinder: Could not start camerabin: Element failed to change its state
2024-04-12T08:27:06.969129Z ERROR aperture::viewfinder: Bus Error from Some("/GstCameraBin:camerabin0/GstViewfinderBin:vf-bin/AperturePipelineTee:aperturepipelinetee0/GstGLSinkBin:glsinkbin0/GstGLUploadElement:gluploadelement0")
Failed to create a OpenGL context: EGL_BAD_CONTEXT
Some("../gst-libs/gst/gl/gstglbasefilter.c(617): gst_gl_base_filter_find_gl_context_unlocked (): /GstCameraBin:camerabin0/GstViewfinderBin:vf-bin/AperturePipelineTee:aperturepipelinetee0/GstGLSinkBin:glsinkbin0/GstGLUploadElement:gluploadelement0")
2024-04-12T08:27:06.969155Z ERROR aperture::viewfinder: Bus Error from Some("/GstCameraBin:camerabin0/GstViewfinderBin:vf-bin/AperturePipelineTee:aperturepipelinetee0/GstGLSinkBin:glsinkbin0/GstGLColorConvertElement:glcolorconvertelement0")
Failed to create a OpenGL context: EGL_BAD_CONTEXT
Some("../gst-libs/gst/gl/gstglbasefilter.c(617): gst_gl_base_filter_find_gl_context_unlocked (): /GstCameraBin:camerabin0/GstViewfinderBin:vf-bin/AperturePipelineTee:aperturepipelinetee0/GstGLSinkBin:glsinkbin0/GstGLColorConvertElement:glcolorconvertelement0")
2024-04-12T08:27:06.969180Z ERROR aperture::viewfinder: Bus Error from Some("/GstCameraBin:camerabin0/GstViewfinderBin:vf-bin/AperturePipelineTee:aperturepipelinetee0/GstGLSinkBin:glsinkbin0/GstGLUploadElement:gluploadelement0")
Failed to create a OpenGL context: EGL_BAD_CONTEXT
Some("../gst-libs/gst/gl/gstglbasefilter.c(617): gst_gl_base_filter_find_gl_context_unlocked (): /GstCameraBin:camerabin0/GstViewfinderBin:vf-bin/AperturePipelineTee:aperturepipelinetee0/GstGLSinkBin:glsinkbin0/GstGLUploadElement:gluploadelement0")
2024-04-12T08:27:06.969205Z ERROR aperture::viewfinder: Bus Error from Some("/GstCameraBin:camerabin0/GstWrapperCameraBinSrc:camerasrc/GstAutoVideoSrc:camerasrc-real-src/GstPipeWireSrc:camerasrc-real-src-actual-src-pipewir")
No supported formats found
Some("../src/gst/gstpipewiresrc.c(980): gst_pipewire_src_negotiate (): /GstCameraBin:camerabin0/GstWrapperCameraBinSrc:camerasrc/GstAutoVideoSrc:camerasrc-real-src/GstPipeWireSrc:camerasrc-real-src-actual-src-pipewir:\nThis element does not have formats in common with the peer")
2024-04-12T08:27:06.969229Z ERROR aperture::viewfinder: Bus Error from Some("/GstCameraBin:camerabin0/GstWrapperCameraBinSrc:camerasrc/GstAutoVideoSrc:camerasrc-real-src/GstPipeWireSrc:camerasrc-real-src-actual-src-pipewir")
stream error: No supported formats found
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-12T08:27:06.969251Z 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(3132): 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)")
Edited by kenkenspin