public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* libv4l: Skype terminates after options dialogue is closed
@ 2008-10-28 17:53 Ian Pickworth
  2008-10-28 18:44 ` Hans de Goede
  0 siblings, 1 reply; 3+ messages in thread
From: Ian Pickworth @ 2008-10-28 17:53 UTC (permalink / raw)
  To: Linux and Kernel Video

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:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: libv4l: Skype terminates after options dialogue is closed
  2008-10-28 17:53 libv4l: Skype terminates after options dialogue is closed Ian Pickworth
@ 2008-10-28 18:44 ` Hans de Goede
  2008-10-28 19:47   ` Ian Pickworth
  0 siblings, 1 reply; 3+ messages in thread
From: Hans de Goede @ 2008-10-28 18:44 UTC (permalink / raw)
  To: ian; +Cc: Linux and Kernel Video

Ian Pickworth wrote:
> 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.

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:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: libv4l: Skype terminates after options dialogue is closed
  2008-10-28 18:44 ` Hans de Goede
@ 2008-10-28 19:47   ` Ian Pickworth
  0 siblings, 0 replies; 3+ messages in thread
From: Ian Pickworth @ 2008-10-28 19:47 UTC (permalink / raw)
  To: Linux and Kernel Video

Hans de Goede wrote:
> Ian Pickworth wrote:
>> 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.
>> ...
>> 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.

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:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-10-28 19:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-28 17:53 libv4l: Skype terminates after options dialogue is closed Ian Pickworth
2008-10-28 18:44 ` Hans de Goede
2008-10-28 19:47   ` Ian Pickworth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox