Skip to contentSkip to conversation

libv4l: Skype terminates after options dialogue is closed

DISCUSSION Ian Pickworth 2 participants 3 messages Oct 28, 2008 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

I have had this problem since I started using libv4l 0.5.1, I've just upgraded to 0.5.3 but it still persists unfortunately.

The process I go through is as follows:
LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so /usr/bin/skype &

After Skype starts, open the Skype options dialogue Select the "Video Devices" tab
With "Enable Skype Video" enabled, select the Camera device Press "test" - which shows the webcam picture correctly

Press close

At this point Skype aborts.
I get the same result is I use this command:
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so /usr/bin/skype &

I'm not sure what diagnostics would be useful here, so if anyone can suggest what is needed I will provide them. I ran it using strace, thus:

LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so strace /usr/bin/skype

which ended with this:
------
futex(0xa4df064, FUTEX_WAKE, 1) = 1

gettimeofday({1225216076, 870558}, NULL) = 0

clock_gettime(CLOCK_REALTIME, {1225216076, 870611460}) = 0

futex(0xa88ffd8, FUTEX_WAIT, 1, {9, 999946540}upeek:
ptrace(PTRACE_PEEKUSER,26933,44,0): No such process
------

Some details:

ian2 ~ # lsusb
...
Bus 002 Device 003: ID 046d:092e Logitech, Inc.
...
ian2 ~ # uname -r
2.6.27-gentoo-r1

I am using the gspca modules as provided in this kernel.
I have tried the latest version from hg - there is no change with that, which makes me think this may be to do with the compatibility layer.

Thanks
Regards
Ian

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

#1 lore raw
Quoted 34 lines · Ian Pickworth

I have had this problem since I started using libv4l 0.5.1, I've just upgraded to 0.5.3 but it still persists unfortunately.

The process I go through is as follows:
LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so /usr/bin/skype &

After Skype starts, open the Skype options dialogue Select the "Video Devices" tab
With "Enable Skype Video" enabled, select the Camera device Press "test" - which shows the webcam picture correctly

Press close

At this point Skype aborts.
I get the same result is I use this command:
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so /usr/bin/skype &

I'm not sure what diagnostics would be useful here, so if anyone can suggest what is needed I will provide them. I ran it using strace, thus:

LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so strace /usr/bin/skype

which ended with this:
------
futex(0xa4df064, FUTEX_WAKE, 1) = 1

gettimeofday({1225216076, 870558}, NULL) = 0

clock_gettime(CLOCK_REALTIME, {1225216076, 870611460}) = 0

futex(0xa88ffd8, FUTEX_WAIT, 1, {9, 999946540}upeek:
ptrace(PTRACE_PEEKUSER,26933,44,0): No such process
------

Quoted 5 lines

Some details:

ian2 ~ # lsusb
...
Bus 002 Device 003: ID 046d:092e Logitech, Inc.

Thats a spca561 cam, I've just run skype with the latest gspca + libv4l on an other spca561 cam with the same revision spca561 asic and it works fine.

So I believe this is caused by something else on your system.

Regards,

Hans

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

#2 lore raw
Quoted 15 lines · Hans de Goede
Quoted 8 lines · Ian Pickworth

The process I go through is as follows:
LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so /usr/bin/skype &

After Skype starts, open the Skype options dialogue Select the "Video Devices" tab
With "Enable Skype Video" enabled, select the Camera device Press "test" - which shows the webcam picture correctly

Quoted 5 lines

Press close

At this point Skype aborts.
...
Bus 002 Device 003: ID 046d:092e Logitech, Inc.

Quoted 5 lines

Thats a spca561 cam, I've just run skype with the latest gspca + libv4l on an other spca561 cam with the same revision spca561 asic and it works fine.

So I believe this is caused by something else on your system.

I think you are correct. This happens when I run Skype in a Gnome session, with compiz-fusion, and Kaffiene has been active.

If I go to a FVWM session, and just start Skype and nothing else, it works fine. If I then Start Kaffiene Skype will abort soon after (if I've used the webcam in Skype).

So, some wierd clash/timing issue. I'll just have to try and pin it down. Thanks for the help,
Regards
Ian

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list