LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   hp web cam on hap pavilion dv and karmic (https://www.linuxquestions.org/questions/linux-hardware-18/hp-web-cam-on-hap-pavilion-dv-and-karmic-766757/)

ankscorek 11-04-2009 05:17 AM

hp web cam on hap pavilion dv and karmic
 
/dev/video0 [v4l2]: no overlay support

my xawtv is spitting this error

however my web cam was working fine earlier

since i have upgraded to karmic i am gettingt his error

i tested the input using gstream-properties..it i sok

any one can help me to fix this bug

i am using nvidia

ankush@ankush-laptop:~$ xawtv -hwscan
This is xawtv-3.95.dfsg.1, running on Linux/x86_64 (2.6.31-14-generic)
looking for available devices
port 355-386
type : Xvideo, image scaler
name : NV17 Video Texture

port 387-418
type : Xvideo, image scaler
name : NV05 Video Blitter

/dev/video0: OK [ -device /dev/video0 ]
type : v4l2
name : HP Webcam
flags: capture



ankush@ankush-laptop:~$ cheese -v
Cheese 2.28.1
Probing devices with HAL...
Found device 04f2:b015, getting capabilities...
Detected v4l2 device: HP Webcam
Driver: uvcvideo, version: 256
Capabilities: 0x04000001

Probing supported video formats...
libv4l2: error turning on stream: Cannot send after transport endpoint shutdown


ok here is the funny part

sometime when i run gstreamer-properties at times i can see my cam on /dev/video0 and sometimes on /dev/video1 but xawtv and cheese dont respond

any help on this will be appreciated

business_kid 11-04-2009 10:53 AM

Apparently karmic is a bummer. Get onto ubuntu forums.

http://linux.slashdot.org/story/09/1...Koala?from=rss

ankscorek 11-05-2009 06:52 PM

yea this is ok but every bug has some solution

business_kid 11-06-2009 02:52 AM

Quote:

Originally Posted by ankscorek (Post 3746349)
yea this is ok but every bug has some solution

I don't want to put the same energy into solving it that Ubuntu should be putting, but

Quote:

Originally Posted by ankscorek (Post 3746349)
/dev/video0 [v4l2]: no overlay support

Looks like a kernel or video driver problem - probably both are suspect. Overlay, IIRC, is writing video information over the existing image - an example being subtitles

ankscorek 11-06-2009 03:45 AM

this is definitely a kernel problem

since i upgraded my kernel on ubuntu 9.4 just prior to the release of karmic i am facing this problem ....

oh i have updated my nvidia driver also

business_kid 11-07-2009 03:36 AM

Kernel or video driver, which is often a kernel type module. Try updating that

ankscorek 11-10-2009 09:36 AM

the kernel was updated yesterday but the problem yet remains there

business_kid 11-11-2009 03:27 AM

Have you got the latest video driver installed?
The idea here, incidentally, is that we help you SOLVE the problem by directing _your_efforts_, which is what will solve the problem. What have you tried?

ankscorek 11-11-2009 08:45 AM

uname -a
Linux ankush-laptop 2.6.31-15-generic #50-Ubuntu SMP Tue Nov 10 14:53:52 UTC 2009 x86_64 GNU/Linux


nvidia-185 module is being used

any files to check please do tell me

business_kid 11-12-2009 03:01 AM

Have you overlay support now? Have you tried updating the driver from the nvidia site? What does xawtv say now? What is not supporting overlay? What has xawtv docs got to say about the error 'no overlay support'. Have you asked there? Nobody's got a magic wand - it only sometimes seems that way:)

ankscorek 11-12-2009 03:12 AM

hey are u the same guy who helped me to build the encryption module 3 years ago for vector linux

xawtv -hwscan
This is xawtv-3.95.dfsg.1, running on Linux/x86_64 (2.6.31-15-generic)
looking for available devices
port 355-386
type : Xvideo, image scaler
name : NV17 Video Texture

port 387-418
type : Xvideo, image scaler
name : NV05 Video Blitter

/dev/video0: OK [ -device /dev/video0 ]
type : v4l2
name : HP Webcam
flags: capture



gstreamer-properties
gstreamer-properties-Message: Skipping unavailable plugin 'artsdsink'
gstreamer-properties-Message: Skipping unavailable plugin 'glimagesink'
gstreamer-properties-Message: Skipping unavailable plugin 'v4lmjpegsrc'
gstreamer-properties-Message: Skipping unavailable plugin 'qcamsrc'
gstreamer-properties-Message: Skipping unavailable plugin 'esdmon'
libv4l2: error turning on stream: Cannot send after transport endpoint shutdown
gstreamer-properties-Message: Error running pipeline 'Video for Linux 2 (v4l2)': Error starting streaming on device '/dev/video0'. [gstv4l2object.c(1886): gst_v4l2_object_start_streaming (): /GstPipeline:pipeline2/GstV4l2Src:v4l2src3:
system error: Cannot send after transport endpoint shutdown]



xawtv
This is xawtv-3.95.dfsg.1, running on Linux/x86_64 (2.6.31-15-generic)
xinerama 0: 1280x800+0+0
WARNING: No DGA direct video mode for this display.
/dev/video0 [v4l2]: no overlay support
v4l-conf had some trouble, trying to continue anyway
Warning: Cannot convert string "-*-ledfixed-medium-r-*--39-*-*-*-c-*-*-*" to type FontStruct
ioctl: VIDIOC_G_STD(std=0x7f7ba3409ab0 [PAL_I,PAL_D,PAL_K,PAL_N,PAL_60,NTSC_M,?,SECAM_L,ATSC_16_VSB,(null),(null),(null),(null),(null),(null ),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)]): Invalid argument
libv4l2: error turning on stream: Cannot send after transport endpoint shutdown
ioctl: VIDIOC_STREAMON(int=1): Cannot send after transport endpoint shutdown
ioctl: VIDIOC_S_CTRL(id=9963778;value=0): Input/output error
ioctl: VIDIOC_S_CTRL(id=9963776;value=0): Input/output error
ioctl: VIDIOC_S_CTRL(id=9963779;value=0): Input/output error
ioctl: VIDIOC_S_CTRL(id=9963777;value=0): Input/output error
ioctl: VIDIOC_S_STD(std=0x0 []): Invalid argument
v4l2: oops: select timeout
^Clibv4l2: error setting pixformat: Input/output error
ioctl: VIDIOC_S_FMT(type=VIDEO_CAPTURE;fmt.pix.width=352;fmt.pix.height=288;fmt.pix.pixelformat=0x56595559 [YUYV];fmt.pix.field=NONE;fmt.pix.bytesperline=704;fmt.pix.sizeimage=202752;fmt.pix.colorspace=SRGB;fmt.pi x.priv=0): Input/output error
libv4l2: error setting pixformat: Input/output error
ioctl: VIDIOC_S_FMT(type=VIDEO_CAPTURE;fmt.pix.width=352;fmt.pix.height=288;fmt.pix.pixelformat=0x56595559 [YUYV];fmt.pix.field=NONE;fmt.pix.bytesperline=704;fmt.pix.sizeimage=202752;fmt.pix.colorspace=SRGB;fmt.pi x.priv=0): Input/output error
libv4l2: error setting pixformat: Input/output error
ioctl: VIDIOC_S_FMT(type=VIDEO_CAPTURE;fmt.pix.width=352;fmt.pix.height=288;fmt.pix.pixelformat=0x56595559 [YUYV];fmt.pix.field=NONE;fmt.pix.bytesperline=704;fmt.pix.sizeimage=202752;fmt.pix.colorspace=SRGB;fmt.pi x.priv=0): Input/output error
ioctl: VIDIOC_S_FMT(type=VIDEO_CAPTURE;fmt.pix.width=384;fmt.pix.height=288;fmt.pix.pixelformat=0x56595559 [YUYV];fmt.pix.field=ANY;fmt.pix.bytesperline=0;fmt.pix.sizeimage=202752;fmt.pix.colorspace=SRGB;fmt.pix.p riv=0): Input/output error
libv4l2: error setting pixformat: Input/output error
ioctl: VIDIOC_S_FMT(type=VIDEO_CAPTURE;fmt.pix.width=352;fmt.pix.height=288;fmt.pix.pixelformat=0x56595559 [YUYV];fmt.pix.field=NONE;fmt.pix.bytesperline=704;fmt.pix.sizeimage=202752;fmt.pix.colorspace=SRGB;fmt.pi x.priv=0): Input/output error
no way to get: 384x288 32 bit TrueColor (LE: bgr-)

business_kid 11-13-2009 03:47 AM

Quote:

Originally Posted by ankscorek (Post 3753958)
hey are u the same guy who helped me to build the encryption module 3 years ago for vector linux

:-). Probably

Quote:

Originally Posted by ankscorek (Post 3753958)
xawtv -hwscan
This is xawtv-3.95.dfsg.1, running on Linux/x86_64 (2.6.31-15-generic)
looking for available devices
port 355-386
type : Xvideo, image scaler
name : NV17 Video Texture

port 387-418
type : Xvideo, image scaler
name : NV05 Video Blitter

/dev/video0: OK [ -device /dev/video0 ]
type : v4l2
name : HP Webcam
flags: capture

gstreamer-properties
gstreamer-properties-Message: Skipping unavailable plugin 'artsdsink'
gstreamer-properties-Message: Skipping unavailable plugin 'glimagesink'
gstreamer-properties-Message: Skipping unavailable plugin 'v4lmjpegsrc'
gstreamer-properties-Message: Skipping unavailable plugin 'qcamsrc'
gstreamer-properties-Message: Skipping unavailable plugin 'esdmon'
libv4l2: error turning on stream: Cannot send after transport endpoint shutdown
gstreamer-properties-Message: Error running pipeline 'Video for Linux 2 (v4l2)': Error starting streaming on device '/dev/video0'. [gstv4l2object.c(1886): gst_v4l2_object_start_streaming (): /GstPipeline:pipeline2/GstV4l2Src:v4l2src3:
system error: Cannot send after transport endpoint shutdown]

Okay, you're dead and gone here. It's not finding those plugins, it actually has no protocol to talk to the webcam in. But you're in a stream of this talking to that and sending it on. So when the first one goes awol, all the others fall over with increasingly outraged error messages. libv412 cannot function.

Find out how to get gstreamer going and keep after the first error messages. When you fix them, you can believe the rest.

Quote:

Originally Posted by ankscorek (Post 3753958)
xawtv --SNIP--

This stuff is fairly irrelevant until you get the top right.

ankscorek 11-13-2009 05:51 AM

hmm at times i am able to get the gstreamer part working

but that is not under my control...as of now the control for gstreamer is with the distro

this problem has started cropping up since v4l got converted to v4l2

do u think i play around with this function and the class from where the function is being derived?
gst_v4l2_object_start_streaming (): /GstPipelineipeline2/GstV4l2Src:v4l2src3:

ankscorek 11-18-2009 08:08 PM

ok this is what i got for

ankush@ankush-laptop:~$ sudo locate libv4l2
[sudo] password for ankush:
/usr/include/libv4l2.h
/usr/lib/libv4l2.a
/usr/lib/libv4l2.so
/usr/lib/libv4l2.so.0
/usr/lib/pkgconfig/libv4l2.pc
/usr/lib32/libv4l2.a
/usr/lib32/libv4l2.so
/usr/lib32/libv4l2.so.0
/usr/lib32/pkgconfig/libv4l2.pc


there is none in /usr/lib64

mine is a 64 bit cpu

could this be a problem?

ankscorek 11-19-2009 02:17 AM

is there a requirement for gspca module

if yes how do i insert it


All times are GMT -5. The time now is 10:07 PM.