Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#31347 - [skype] no webcam support in multilib without LD_PRELOAD
Attached to Project:
Community Packages
Opened by PiousMinion (PiousMinion) - Thursday, 30 August 2012, 23:46 GMT
Last edited by Thomas Bächler (brain0) - Monday, 03 September 2012, 09:19 GMT
Opened by PiousMinion (PiousMinion) - Thursday, 30 August 2012, 23:46 GMT
Last edited by Thomas Bächler (brain0) - Monday, 03 September 2012, 09:19 GMT
|
DetailsDescription:
Webcam support for skype in multilib does not work at all without starting it as follows: LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype Evidence of this can be found all over the place including arch wiki pages for skype and webcam support: https://www.google.com/search?q=site:archlinux.org+skype+LD_PRELOAD Additional info: 4.0.0.8-1 Steps to reproduce: Install skype and lib32-v4l-utils. Fire up skype normally and notice your camera doesn't work. |
This task depends upon
Closed by Thomas Bächler (brain0)
Monday, 03 September 2012, 09:19 GMT
Reason for closing: Implemented
Monday, 03 September 2012, 09:19 GMT
Reason for closing: Implemented
http://mxhaard.free.fr/spca5xx.html
Correct if wrong, but doesn't this affect any webcam that doesn't have a v4l2 driver? If so, then it affects far more webcams than I first imagined.
The PRELOAD file that should be used is in fact v4l2convert.so. Using that wrapper is a good idea regardless of whether your camera works as-is or not.
From the v4l-utils documentation:
wrappers
--------
The functionality provided by libv4l1 for v4l1 apps and libv4l2 for v4l2 apps
can also be used by existing apps without modifying them. For this purpose
2 wrapper libraries are provided which can be preloaded before starting the
application using the LD_PRELOAD environment variable. These wrappers will
then intercept calls to open/close/ioctl/etc. and if these calls directed
towards a video device the wrapper will redirect the call to the libv4lX
counterparts.
The preloadable libv4l1 wrapper which adds v4l2 device compatibility to v4l1
applications is called v4l1compat.so. The preloadable libv4l2 wrapper which
adds support for various pixelformats to v4l2 applications is called
v4l2convert.so.
Now (release 2) I am getting error messages and skype crashes occasionally (my camera works):
$ skype
ERROR: ld.so: object '/usr/lib32/libv4l/v4l1compat.so' from LD_PRELOAD cannot be preloaded: ignored. # <-- at startup
libv4l2: error dequeuing buf: Invalid argument # <-- at camera preview window destruction
unregistered interface queried # <-- at exit (happened only once)
unregistered interface queried
Aborted
Unless others are having issues I'd consider this closed.
Thank you for the prompt resolution. :)