[{"id":20107,"web_url":"https://patchwork.libcamera.org/comment/20107/","msgid":"<20211011115729.ocixkmzw54zmmfs4@uno.localdomain>","date":"2021-10-11T11:57:29","subject":"Re: [libcamera-devel] [PATCH] README: Document GST_DEBUG values to\n\tdebug libcamerasrc","submitter":{"id":3,"url":"https://patchwork.libcamera.org/api/people/3/","name":"Jacopo Mondi","email":"jacopo@jmondi.org"},"content":"Hi Laurent\n\nOn Sun, Oct 10, 2021 at 06:31:57PM +0300, Laurent Pinchart wrote:\n> Problems with libcamerasrc are reported quite frequently. To help users\n> diagnosing them, document how to obtain libcamerasrc debug messages\n> through GST_DEBUG.\n>\n> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n> ---\n> GStreamer-related documentation should eventually be moved to\n> Documentation/.\n\nFeels a bit out of place here, but that's where gst documentation is\nalready.\n\nReviewed-by: Jacopo Mondi <jacopo@jmondi.org>\n\nThanks\n  j\n\n> ---\n>  README.rst | 5 +++++\n>  1 file changed, 5 insertions(+)\n>\n> diff --git a/README.rst b/README.rst\n> index 341ecd926da4..ddee5538d7b9 100644\n> --- a/README.rst\n> +++ b/README.rst\n> @@ -124,6 +124,11 @@ if desired with a pipeline such as:\n>    gst-launch-1.0 libcamerasrc ! 'video/x-raw,width=1280,height=720' ! \\\n>          glimagesink\n>\n> +The libcamerasrc element has two log categories, named libcamera-provider (for\n> +the video device provider) and libcamerasrc (for the operation of the camera).\n> +All corresponding debug messages can be enabled by setting the ``GST_DEBUG``\n> +environment variable to ``libcamera*:7``.\n> +\n>  .. section-end-getting-started\n>\n>  Troubleshooting\n>\n> base-commit: 962df634bd0afe12e6f38464f5e602cf1460c430\n> prerequisite-patch-id: 6ad689b8c9be17165b330a16c7cef62dbdfb5d8f\n> --\n> Regards,\n>\n> Laurent Pinchart\n>","headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 8A18DC323E\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 11 Oct 2021 11:56:43 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id F23C16027F;\n\tMon, 11 Oct 2021 13:56:42 +0200 (CEST)","from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net\n\t[217.70.183.195])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 20D336012B\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 11 Oct 2021 13:56:41 +0200 (CEST)","(Authenticated sender: jacopo@jmondi.org)\n\tby relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 46FB460009;\n\tMon, 11 Oct 2021 11:56:40 +0000 (UTC)"],"Date":"Mon, 11 Oct 2021 13:57:29 +0200","From":"Jacopo Mondi <jacopo@jmondi.org>","To":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>","Message-ID":"<20211011115729.ocixkmzw54zmmfs4@uno.localdomain>","References":"<20211010153157.7311-1-laurent.pinchart@ideasonboard.com>","MIME-Version":"1.0","Content-Type":"text/plain; charset=utf-8","Content-Disposition":"inline","In-Reply-To":"<20211010153157.7311-1-laurent.pinchart@ideasonboard.com>","Subject":"Re: [libcamera-devel] [PATCH] README: Document GST_DEBUG values to\n\tdebug libcamerasrc","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","Cc":"libcamera-devel@lists.libcamera.org,\n\tNicolas Dufresne <nicolas.dufresne@collabora.com>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"}},{"id":20134,"web_url":"https://patchwork.libcamera.org/comment/20134/","msgid":"<163403642415.2943484.3226798033032036963@Monstersaurus>","date":"2021-10-12T11:00:24","subject":"Re: [libcamera-devel] [PATCH] README: Document GST_DEBUG values to\n\tdebug libcamerasrc","submitter":{"id":4,"url":"https://patchwork.libcamera.org/api/people/4/","name":"Kieran Bingham","email":"kieran.bingham@ideasonboard.com"},"content":"Quoting Jacopo Mondi (2021-10-11 12:57:29)\n> Hi Laurent\n> \n> On Sun, Oct 10, 2021 at 06:31:57PM +0300, Laurent Pinchart wrote:\n> > Problems with libcamerasrc are reported quite frequently. To help users\n> > diagnosing them, document how to obtain libcamerasrc debug messages\n> > through GST_DEBUG.\n> >\n> > Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n> > ---\n> > GStreamer-related documentation should eventually be moved to\n> > Documentation/.\n> \n> Feels a bit out of place here, but that's where gst documentation is\n> already.\n\nAgreed I think, but here is fine for now I think. We don't have anywhere\nelse particularly more appropriate right now.\n\nReviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\n\n> \n> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>\n> \n> Thanks\n>   j\n> \n> > ---\n> >  README.rst | 5 +++++\n> >  1 file changed, 5 insertions(+)\n> >\n> > diff --git a/README.rst b/README.rst\n> > index 341ecd926da4..ddee5538d7b9 100644\n> > --- a/README.rst\n> > +++ b/README.rst\n> > @@ -124,6 +124,11 @@ if desired with a pipeline such as:\n> >    gst-launch-1.0 libcamerasrc ! 'video/x-raw,width=1280,height=720' ! \\\n> >          glimagesink\n> >\n> > +The libcamerasrc element has two log categories, named libcamera-provider (for\n> > +the video device provider) and libcamerasrc (for the operation of the camera).\n> > +All corresponding debug messages can be enabled by setting the ``GST_DEBUG``\n> > +environment variable to ``libcamera*:7``.\n> > +\n> >  .. section-end-getting-started\n> >\n> >  Troubleshooting\n> >\n> > base-commit: 962df634bd0afe12e6f38464f5e602cf1460c430\n> > prerequisite-patch-id: 6ad689b8c9be17165b330a16c7cef62dbdfb5d8f\n> > --\n> > Regards,\n> >\n> > Laurent Pinchart\n> >","headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 437F1C323E\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue, 12 Oct 2021 11:00:30 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id A1F1068F4F;\n\tTue, 12 Oct 2021 13:00:29 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 893BC68F4C\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 12 Oct 2021 13:00:27 +0200 (CEST)","from pendragon.ideasonboard.com\n\t(cpc89244-aztw30-2-0-cust3082.18-1.cable.virginm.net [86.31.172.11])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 2C605F1;\n\tTue, 12 Oct 2021 13:00:27 +0200 (CEST)"],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"bGco3w3e\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1634036427;\n\tbh=Mkx66UOra191fsFK9PoXmk+PZ557NYkogqnEaxB5iGI=;\n\th=In-Reply-To:References:Subject:From:Cc:To:Date:From;\n\tb=bGco3w3eD7EB83DjmOsRGyWr6fKEJV2qMQCzGQdPpHq6clGAowbQjU/vArWs6HDUl\n\tqFSsA1iS844C+PInt9HfHwgPRsWephn62iG8UfP+IdEzxc4PQKQeHNT10sXeiJEkbM\n\tIeRBNTPFsBIyr0IhFk/NJotGXT6160gdDmpUD1dk=","Content-Type":"text/plain; charset=\"utf-8\"","MIME-Version":"1.0","Content-Transfer-Encoding":"quoted-printable","In-Reply-To":"<20211011115729.ocixkmzw54zmmfs4@uno.localdomain>","References":"<20211010153157.7311-1-laurent.pinchart@ideasonboard.com>\n\t<20211011115729.ocixkmzw54zmmfs4@uno.localdomain>","From":"Kieran Bingham <kieran.bingham@ideasonboard.com>","To":"Jacopo Mondi <jacopo@jmondi.org>,\n\tLaurent Pinchart <laurent.pinchart@ideasonboard.com>","Date":"Tue, 12 Oct 2021 12:00:24 +0100","Message-ID":"<163403642415.2943484.3226798033032036963@Monstersaurus>","User-Agent":"alot/0.9.1","Subject":"Re: [libcamera-devel] [PATCH] README: Document GST_DEBUG values to\n\tdebug libcamerasrc","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","Cc":"libcamera-devel@lists.libcamera.org,\n\tNicolas Dufresne <nicolas.dufresne@collabora.com>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"}}]