* Re: Dell XPS 12 Camera issues [not found] <CA+aiKi+F_qDZxcL3NCWz4WSXn033cPEWW3akuZ+qQdGyQ4GZPQ@mail.gmail.com> @ 2014-09-28 23:00 ` Laurent Pinchart 2014-10-01 8:46 ` Ryan, Mark D 0 siblings, 1 reply; 2+ messages in thread From: Laurent Pinchart @ 2014-09-28 23:00 UTC (permalink / raw) To: Matt Wells; +Cc: linux-media, Mark Ryan Hi Matt, (CC'ing the linux-media mailing list and Mark Ryan from Intel) Sorry for the late reply. On Monday 01 September 2014 12:54:02 Matt Wells wrote: > I'm sure you guys get this a bit. It's on the Dell XPS Camera. As > far as I can tell, it's the Omniview camera and requires a rebuild of > the UVC driver to enable MJPEG compression? Why would you need that ? Where have you got that information from ? > I've been banging on this one for a big but with no luck. Any help > you can give would be fantastic. > Using "Cheese" as my testing app - > Launching has the green lines and dies quickly. > $ cheese > > (cheese:3950): GLib-GObject-WARNING **: value "5.000000" of type > 'gdouble' is invalid or out of range for property 'delaytime' of type > 'gdouble' > libv4l2: error got 4 consecutive frame decode errors, last error: > v4l-convert: libjpeg error: End Of Image > > (cheese:3950): cheese-WARNING **: Internal data flow error.: > gstbasesrc.c(2865): gst_base_src_loop (): > /GstCameraBin:camerabin/GstWrapperCameraBinSrc:camera_source/GstBin:bin34/Gs > tV4l2Src:video_source: streaming task paused, reason error (-5) > > > > So the important stuff. [snip] > I was able to add > # echo "options uvcvideo nodrop=1 " > /etc/modprobe.d/uvcvideo.conf > # restorecon /etc/modprobe.d/uvcvideo.conf > # rmmod uvcvideo ; modprobe uvcvideo > # dmesg | tail -10 > [ 1565.576374] usbcore: deregistering interface driver uvcvideo > [ 1565.654215] uvcvideo: Found UVC 1.00 device Integrated Webcam (0bda:5716) > [ 1565.823637] input: Integrated Webcam as > /devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/input/input16 > [ 1565.823858] usbcore: registered new interface driver uvcvideo > [ 1565.823861] USB Video Class driver (1.1.1) > [ 2122.380574] usbcore: deregistering interface driver uvcvideo > [ 2122.459860] uvcvideo: Found UVC 1.00 device Integrated Webcam (0bda:5716) > [ 2122.630400] input: Integrated Webcam as > /devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/input/input17 > [ 2122.630675] usbcore: registered new interface driver uvcvideo > [ 2122.630679] USB Video Class driver (1.1.1) > > > $ cheese > > (cheese:3995): GLib-GObject-WARNING **: value "5.000000" of type > 'gdouble' is invalid or out of range for property 'delaytime' of type > 'gdouble' > > and it doesn't die but still get's the lines. > > Now here's the "ggrrrr" area. > > Application - guvcview and VLC; no issues at all. > I've also tested with Skype and Hangouts and they give the same errors > as Cheese. > I also tested with a live USB of Ubuntu, Mint and Fedora 19, all the > same issues. > Based on the VLC/gucview maybe it's related to some codec? Your device seems to support three formats, YUYV, MJPEG and M420. Cheese seems to try to capture frames in MJPEG, how about guvcview and VLC ? > I had a Latitude E7240 i7 at work to test with the same kernel module > and no issues, so I know it's something to do with the i5. Does it have the exact same webcam model ? > I searched here for some time before posting and haven't found the > answer as of yet. Perhaps my search'foo isn't really there and to tell > you the truth cameras and what not are a weak spot for me. Never > really cared about them until now. > > Man I just need some ideas. So far the first 9 pages of google are > purple (clicked) links. > I've 5 pages of strace that I'm going through tonight. > > Anyone else out there have this issue with the XPS line? > > Any direction is much appreciated. I'll feel like a real idiot if a > quick post and a link resolves it. This mail thread might be related: http://www.spinics.net/lists/linux-media/msg73460.html Mark, have you managed to finish carrying on your investigations ? -- Regards, Laurent Pinchart ^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: Dell XPS 12 Camera issues 2014-09-28 23:00 ` Dell XPS 12 Camera issues Laurent Pinchart @ 2014-10-01 8:46 ` Ryan, Mark D 0 siblings, 0 replies; 2+ messages in thread From: Ryan, Mark D @ 2014-10-01 8:46 UTC (permalink / raw) To: Laurent Pinchart, Matt Wells; +Cc: linux-media@vger.kernel.org, Mark Ryan Hi Laurent, Apologies for my late reply. [...] > > > I searched here for some time before posting and haven't found the > > answer as of yet. Perhaps my search'foo isn't really there and to tell > > you the truth cameras and what not are a weak spot for me. Never > > really cared about them until now. > > > > Man I just need some ideas. So far the first 9 pages of google are > > purple (clicked) links. > > I've 5 pages of strace that I'm going through tonight. > > > > Anyone else out there have this issue with the XPS line? > > > > Any direction is much appreciated. I'll feel like a real idiot if a > > quick post and a link resolves it. > > This mail thread might be related: http://www.spinics.net/lists/linux- > media/msg73460.html > > Mark, have you managed to finish carrying on your investigations ? > The problems I was encountering were on the Dell XPS12 under Ubuntu. Note that these problems were clearly evident in guvcview. Some of the low resolution yuv modes worked in guvcview but most did not. None of the JPEG modes worked. So, if Matt is experiencing no problems with any of the resolutions in guvcivew, he's seeing a different issue. I'm afraid that I never really resolved the issue. It's been quite a while since I looked at this but my conclusion was that there was nothing wrong with uvcvideo. When I compared the usb logs for Windows and Ubuntu for the same resolution, I could see that the requests sent by Windows and Ubuntu to setup the resolution and initiate streaming were almost identical (and I actually modified uvcvideo to make them identical). However, the data return was not. In Windows the data was correctly formatted. In Ubuntu it was not. Had uvcvideo received the data sent by the camera under Windows, the camera would have operated correctly. My conclusion was that the issue was therefore either lower down in the Linux USB stack or there was some camera configuration magic going on in Windows which was necessary for the camera to operate correctly. But at that point I switched laptop and stopped investigating. Sorry I can't be of more help, Best regards, Mark --------------------------------------------------------------------- Intel Corporation SAS (French simplified joint stock company) Registered headquarters: "Les Montalets"- 2, rue de Paris, 92196 Meudon Cedex, France Registration Number: 302 456 199 R.C.S. NANTERRE Capital: 4,572,000 Euros This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies. ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-10-01 8:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <CA+aiKi+F_qDZxcL3NCWz4WSXn033cPEWW3akuZ+qQdGyQ4GZPQ@mail.gmail.com>
2014-09-28 23:00 ` Dell XPS 12 Camera issues Laurent Pinchart
2014-10-01 8:46 ` Ryan, Mark D
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).