Error logs from v4l2_capture_delegate.cc when using webcam |
|||||||
Issue descriptionChrome Version: 61.0.3158.0 (Developer Build) (64-bit) OS: Ubuntu 16.04 What steps will reproduce the problem? (1) Start chromium with a webcam connected to the machine (in my case a Logitech C920) (2) Navigate to https://webrtc.github.io/samples/src/content/getusermedia/gum/ and observe that video capture starts What is the expected result? No error logs What happens instead? [81905:82054:0714/102139.933241:ERROR:v4l2_capture_delegate.cc(138)] : No such file or directory [81905:82054:0714/102139.933311:ERROR:v4l2_capture_delegate.cc(240)] VIDIOC_S_EXT_CTRLS: Invalid argument [81905:82054:0714/102139.933354:ERROR:v4l2_capture_delegate.cc(270)] VIDIOC_S_EXT_CTRLS: Invalid argument [81905:82054:0714/102139.933388:ERROR:v4l2_capture_delegate.cc(270)] VIDIOC_S_EXT_CTRLS: Invalid argument [81905:82054:0714/102139.933553:ERROR:v4l2_capture_delegate.cc(305)] VIDIOC_S_EXT_CTRLS: Invalid argument [81905:82054:0714/102140.162649:ERROR:v4l2_capture_delegate.cc(138)] : Invalid argument [81905:82054:0714/102140.162780:ERROR:v4l2_capture_delegate.cc(138)] : Invalid argument [81905:82054:0714/102140.162807:ERROR:v4l2_capture_delegate.cc(138)] : Invalid argument [81905:82054:0714/102140.162825:ERROR:v4l2_capture_delegate.cc(138)] : Invalid argument [81905:82054:0714/102140.162852:ERROR:v4l2_capture_delegate.cc(138)] : Invalid argument [81905:82054:0714/102140.162871:ERROR:v4l2_capture_delegate.cc(138)] : Invalid argument [81905:82054:0714/102140.162887:ERROR:v4l2_capture_delegate.cc(138)] : Invalid argument [81905:82054:0714/102140.162904:ERROR:v4l2_capture_delegate.cc(138)] : Invalid argument [81905:82054:0714/102140.162971:ERROR:v4l2_capture_delegate.cc(138)] : Invalid argument [81905:82054:0714/102140.162993:ERROR:v4l2_capture_delegate.cc(138)] : Invalid argument [81905:82054:0714/102140.163012:ERROR:v4l2_capture_delegate.cc(138)] : Invalid argument [81905:82054:0714/102140.163028:ERROR:v4l2_capture_delegate.cc(138)] : Invalid argument [81905:82054:0714/102140.163044:ERROR:v4l2_capture_delegate.cc(138)] : Invalid argument [81905:82054:0714/102140.163064:ERROR:v4l2_capture_delegate.cc(138)] : Invalid argument [81905:82054:0714/102140.163079:ERROR:v4l2_capture_delegate.cc(138)] : Invalid argument [81905:82054:0714/102140.163102:ERROR:v4l2_capture_delegate.cc(138)] : Invalid argument [81905:82054:0714/102140.163118:ERROR:v4l2_capture_delegate.cc(138)] : Invalid argument [81905:82054:0714/102140.163134:ERROR:v4l2_capture_delegate.cc(138)] : Invalid argument
,
Jul 18 2017
In my experience, all V4L2 drivers complain when they are configured and that's (part of) the reason we use HANDLE_EINTR [1] and RunIoCtl [2]. I did see similar errors with other programs, e.g. guvcview, particularly when resetting the values to their default values. Every so often I saw error printouts but the values were configured correctly eventually. [1] https://cs.chromium.org/chromium/src/base/posix/eintr_wrapper.h?sq=package:chromium&dr=C&l=37 [2] https://cs.chromium.org/chromium/src/media/capture/video/linux/v4l2_capture_delegate.cc?sq=package:chromium&dr=C&l=133
,
Jul 18
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Aug 24
,
Aug 24
Sorry for the inactivity on this. Before closing this, let's simply change the log level from ERROR to INFO, since this these are messages about expected normal behavior. I'll send out a CL for this today.
,
Aug 24
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/099023fe93c8eaaa7440ffda10318313f9c50693 commit 099023fe93c8eaaa7440ffda10318313f9c50693 Author: Christian Fremerey <chfremer@chromium.org> Date: Fri Aug 24 17:39:21 2018 [Video Capture, Linux] Change log level from ERROR to INFO Change log level for logs that appear to be normal/expected behavior for certain webcams in order to reduce log spam. Bug: 743093 Change-Id: I4c0b4c05a84a9d17a9777b1310a1a741f729daf4 Reviewed-on: https://chromium-review.googlesource.com/1188435 Reviewed-by: Emircan Uysaler <emircan@chromium.org> Commit-Queue: Christian Fremerey <chfremer@chromium.org> Cr-Commit-Position: refs/heads/master@{#585898} [modify] https://crrev.com/099023fe93c8eaaa7440ffda10318313f9c50693/media/capture/video/linux/v4l2_capture_delegate.cc [modify] https://crrev.com/099023fe93c8eaaa7440ffda10318313f9c50693/media/capture/video/linux/video_capture_device_factory_linux.cc
,
Aug 24
,
Aug 27
|
|||||||
►
Sign in to add a comment |
|||||||
Comment 1 by chfremer@chromium.org
, Jul 14 2017