From: Bob Summerwill <bobsummerwill@protonmail.com>
To: ribalda@chromium.org
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)
Date: Mon, 23 Nov 2026 21:32:41 +0000 [thread overview]
Message-ID: <20261123T213235.04d52ecc@protonmail.com> (raw)
In-Reply-To: <CANiDSCuBmdKTdCuGp6qxQZC0tXbZ+iEimnkw42wjw9G3ukOK5w@mail.gmail.com>
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=0, 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
next prev parent reply other threads:[~2026-11-23 21:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-22 23:58 [PATCH 2/2] media: uvcvideo: add device entry for Logitech C920 (046d:08e5) Bob Summerwill
2026-11-23 9:46 ` Ricardo Ribalda
2026-11-23 21:32 ` Bob Summerwill [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-06-29 16:38 [PATCH 1/2] media: uvcvideo: add quirks for per-device stream error handling Pol Fernández Fernández
2026-06-29 16:38 ` [PATCH 2/2] media: uvcvideo: add device entry for Logitech C920 (046d:08e5) Pol Fernández Fernández
2026-08-16 5:20 ` kernel test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261123T213235.04d52ecc@protonmail.com \
--to=bobsummerwill@protonmail.com \
--cc=fernandezfernandezpol@gmail.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=ribalda@chromium.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox