From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=109.224.244.16 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795469569; b=oc2AuZYHPICBBi4tevsL034r1eCsyvky14jCuJk45TXfpMwHEPIS35l7mRUFI0vOxRPx sJsg/WftZLaWWGbKjCe07ofK48+g1CRYzwo7Hik52TTaMLnNu7L+cgodrq8TcHF7NEIUJ bbJByc0X8fpco8Wwz1ep1LuBUxWQpIZfZayC9Z//jPX6QKUIF7M5j3K7UU2oVUaebNTEt 742ZdZiAbZ7GkjihuKYD1gAl7rmzi9T4dy31vZKk8J8YWxK6xcbZ6056dCqkkAZSiLQoE dkCI/xHcNFkqgAra7TLWkaJA5aFYUHit2ls7iPpMf3qm7Z6TTxKsdN9lQflmgf9O6yQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795469569; h=DMARC-Filter:DKIM-Signature:Date:To:From:Cc:Subject:Message-ID: In-Reply-To:References:Feedback-ID:X-Pm-Message-ID:MIME-Version: Content-Type:Content-Transfer-Encoding; bh=MwOPiirbdqRykgkfg4Pp0z12qRVctD+69b9g7rRiIIg=; b=siC0/7SkikjFiePku+Te+x9cPNCGlOULNocQhK6HGRKEB23EmIv5X3H7ye6SUOPJEHWI YAeyNfWjCbjfvWtOqv8SUcMzi+v4w9D0I0XEJ9h7swj0UQ6zfJFA2gcn+s1F4URG1MLaD uaZisJN3/DgIUEqvf8M6GDLGcLsuYsRss6eRC7fLGnnr451cTWdOEE7vsNLwC1Pt6GV1+ 6QCEFh0TinFpdXmep1PAt8HLq8rqvBWw6CYejNnhHBiYVuuwBg72DEZMRL17J2t3Eu99K KgbhQjVpmxrzv4v5A5uaRM45pqYwMVMqNeS/d45KNbdcdg0Kc6luv6O4gmotXAiTmjA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=protonmail.com; spf=pass smtp.mailfrom=protonmail.com; dkim=pass header.d=protonmail.com header.i=@protonmail.com header.a=rsa-sha256 header.s=protonmail3 header.b=j09zaOLW; arc=none smtp.remote-ip=109.224.244.16 Received: from mail-24416.protonmail.ch (mail-24416.protonmail.ch [109.224.244.16]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6FC2E606A326; Mon, 23 Nov 2026 21:32:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 6FC2E606A326 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=protonmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=protonmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=protonmail.com header.i=@protonmail.com header.a=rsa-sha256 header.s=protonmail3 header.b=j09zaOLW DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1795469566; x=1795728766; bh=MwOPiirbdqRykgkfg4Pp0z12qRVctD+69b9g7rRiIIg=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=j09zaOLWYKq2A04Pk2J9vkInvbagPJ4XAyEkTv7EsvT9SSaBkjL0RPz95maszIuDw 6fSnr+aehsi8YlbXWbytGGKhzr3Uh/O9JlNQZoaFdWU4YKGGbK89x1KOR6SPjfAsWI XWucBnaFHGbg4ck6smWOUbqMjnJ3fviTOHauRZheCONQsgME3H3gpgmksXdiykZStM HKYWuafLlf1iOHHWWPCmMBsZ30+5eyDbGAAPm1kDrlM7UEGaSYx8wC5bMDqGH55cit 6HPe6QuQB2rZ+7c5HOFvLmbxZB25Id37aCOSCDs0sHDu0WJu7eZFkdCY0rzio2iKXa TRFaHIw1J9RnA== Date: Mon, 23 Nov 2026 21:32:41 +0000 To: ribalda@chromium.org From: Bob Summerwill Cc: fernandezfernandezpol@gmail.com, laurent.pinchart@ideasonboard.com, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-usb@vger.kernel.org Subject: Re: [PATCH 2/2] media: uvcvideo: add device entry for Logitech C920 (046d:08e5) Message-ID: <20261123T213235.04d52ecc@protonmail.com> In-Reply-To: References: <20261122184500.7c9f2e1a@protonmail.com> Feedback-ID: 475798:user:proton X-Pm-Message-ID: 8e47a1b6a23c14e9901727c7dcae176cb0d8d34e X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Ricardo, The app is Monologue, the default camera app of the Linux desktop I run (Omarchy, an Arch-based distro): https://github.com/omacom/monologue Qt 6 Multimedia with the FFmpeg backend, decoding the camera's MJPEG stream. You are right that the app should skip those frames, and upstream has since added exactly that kind of skip, shipped in 0.3.1 -- it scans each arriving JPEG frame for the EOI marker and drops incomplete ones before they reach preview or the recording: https://github.com/omacom/monologue/pull/40 My daily-driver config also keeps nodrop=3D0, so I am artifact-free on both layers. One nuance on "check for V4L2_BUF_FLAG_ERROR", though: Qt Multimedia does not surface that flag to applications. QVideoFrame carries no corrupt/error marker, and the FFmpeg V4L2 capture path passes error frames through unannotated, so an application using Qt cannot do the proper check -- the app-side skip has to be a bitstream-level heuristic. I have filed an issue documenting that gap and the layering; the proper fix wants to happen inside Qt's V4L2/FFmpeg backend: https://github.com/omacom/monologue/issues/53 The same applies to every consumer which cannot be fixed that way -- browsers reaching the camera through PipeWire, ffmpeg, CLI tools -- so for this hardware I would still argue the device-table entry with UVC_QUIRK_DROP_STREAM_ERR is the right fix, with app-side skipping as defense in depth. The offer of a real out-of-tree build of the series against 7.2.15, followed by a proper Tested-by, still stands. Bob Summerwill