Find the answer to your Linux question:
Results 1 to 6 of 6
I am using ubuntu 9.10; whenever i open up a camera the below lines appear. libdc1394 error: Failed to initialize libdc1394 (video:4247): Gtk-WARNING **: Unable to locate theme engine in ...
  1. #1
    Just Joined!
    Join Date
    Oct 2010
    Posts
    11

    libdc1394 error:

    I am using ubuntu 9.10; whenever i open up a camera the below lines appear.

    libdc1394 error: Failed to initialize libdc1394

    (video:4247): Gtk-WARNING **: Unable to locate theme engine in module_path: "smooth",

    (video:4247): Gtk-WARNING **: Unable to locate theme engine in module_path: "smooth",

    (video:4247): Gtk-WARNING **: Unable to locate theme engine in module_path: "smooth",

    (video:4247): Gtk-WARNING **: Unable to locate theme engine in module_path: "smooth",

    (video:4247): Gtk-WARNING **: Unable to locate theme engine in module_path: "smooth",

    (video:4247): Gtk-WARNING **: Unable to locate theme engine in module_path: "smooth",

    (video:4247): Gtk-WARNING **: Unable to locate theme engine in module_path: "smooth",
    ^C
    I tried this link but it is not working
    "https://bugs.launchpad.net/ubuntu/+source/libdc1394-22/+bug/462453"

    I could not find a solution anywhere, please help me out to solve it.

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,977
    What isn't working, the link? Or compiling the libdc1394 from source? If the former,
    here is the contents of the posting:

    Code:
    Binary package hint: libdc1394-22
    
    Since installing Ubuntu 9.10 the libdc1394-22 package has stopped to work.
    As soon as I try to load the library I get "libdc1394 error: Failed to initialize libdc1394".
    
    Recompiling from the latest sources available on the libdc1394 homepage yields a
    library that doesn't have this problem.
    
    ProblemType: Bug
    Architecture: i386
    Date: Wed Oct 28 01:58:58 2009
    DistroRelease: Ubuntu 9.10
    NonfreeKernelModules: nvidia wl
    Package: libdc1394-22 2.1.2-1
    ProcEnviron:
     PATH=(custom, user)
     LANG=en_US.UTF-8
     SHELL=/bin/tcsh
    ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
    SourcePackage: libdc1394-22
    Uname: Linux 2.6.31-14-generic i686
    So, have you tried downloading the source to build/install?
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined!
    Join Date
    Oct 2010
    Posts
    11

    solutions not working

    Thanks Rubberman,
    Link is working.
    I tried to apply solutions as suggested and given in the link which are not working...
    I am newbie to Linux so please let me know if do any mistakes.

    Solution1:
    Have similar problem on Ubuntu 9.10 with latest updates.
    Found solution:

    There is no file /dev/raw1394 (driver is not loaded)!

    $ sudo modprobe raw1394

    After this check your permissions on device /dev/raw1394
    You must have rw access to this device!
    For me it looks like:

    $ ls -la /dev/raw1394

    crw-rw---- 1 root root 171, 0 2009-10-30 11:34 /dev/raw1394

    On my Ubuntu 9.04 system this looks like:

    crw-rw---- 1 root disk 171, 0 2009-10-30 11:34 /dev/raw1394

    Solution 2:
    Finally, to make changes permanent, i added raw1394 to /etc/modules file:

    $ echo "raw1394" | sudo tee -a /etc/modules

    and created udev rule to change group of /dev/raw1394 device:

    $ echo 'KERNEL=="raw1394", GROUP="disk"' | sudo tee -a /etc/udev/rules.d/50-raw1394.rules


    These both are not working for me.

    Any other workaround?
    Thanks,
    Prasad

  4. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,977
    Sorry, but I don't have a firewire-enabled camera to check this out with, and neither my laptop nor my workstation have firewire ports, so... Hopefully someone else can help you better.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  5. #5
    Just Joined!
    Join Date
    Oct 2010
    Posts
    11

    Webcam

    I have web cam attached to my machine.
    Logitech pro 9000 quickcam. I can launch it through "Cheeze" software, but i am trying opencv c++ codes by which it is not enabling it.

  6. #6
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,977
    Well, you could look at the source code for cheeze or vlc to see how they deal with opencv and the libdc1394 initialization problem.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...