Webcam did not work on natty du to the non initialisation of LD_PRELOAD

Bug #784887 reported by Abdelmonam Kouka
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
libv4l (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Hi,

My webcam is not working on natty (even before it wasn't working), I verify if it is detected or not and I find that it is detected well and it is supported by ubuntu, hereafter my diagnostic:
http://sabi.ly/p/t2P7W
http://sabi.ly/p/Nf84G
http://sabi.ly/p/Wf5i7
http://sabi.ly/p/Ks9f4
http://sabi.ly/p/b2Y5X
http://sabi.ly/p/Fp6b5 and the output of this last command was a green screen!

Revision history for this message
Abdelmonam Kouka (abdelmonam-kouka) wrote :

Finally the solution I find is to use the following prefix (after verifying that the package/library v4l1 exists) when launching the program that we want use our webcam "LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so", example with skype:
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype
I tested it and it is working well, with skype, mplayer and guvcview.

And to use normally my programs I add this line "LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so" at the end of this file: /etc/environment and now I use my programs without this prefix and they my webcam is working well :)

Changed in libv4l (Ubuntu):
assignee: nobody → Abdelmonam Kouka (abdelmonam-kouka)
status: New → Confirmed
status: Confirmed → Fix Committed
Changed in libv4l (Ubuntu):
status: Fix Committed → New
Changed in libv4l (Ubuntu):
assignee: Abdelmonam Kouka (abdelmonam-kouka) → nobody
Revision history for this message
Joseph Chereshnovsky (joseph.chereshnovsky) wrote :

Hi, I have the same issue on my Ubuntu 11.04 on ASUS U31F laptop
The problem is that my Ubuntu is 32bit and I don't have a /usr/lib32 directory

Changed in libv4l (Ubuntu):
status: New → Confirmed
Revision history for this message
Joseph Chereshnovsky (joseph.chereshnovsky) wrote :

OK, I've fired the new report because I have a slightly different situation and think that both bugs can be not related
See details here: https://bugs.launchpad.net/ubuntu/+source/v4l-utils/+bug/826265

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.