• Re: Pi Cam problem

    From Hanif Izzudin@3:770/3 to Adrian on Sat Sep 11 20:55:00 2021
    On Saturday, April 18, 2015 at 5:12:49 PM UTC+7, Adrian wrote:
    Pi B running Raspbrian

    I've had a Pi Cam hooked up to my Pi for a while now, and whilst it has
    only been used intermittently, it has worked. I've been able to run
    Motion and (from a Ubuntu box) vlc successfully.

    A few weeks back, I noticed that the camera was no longer working. I've
    now had time to do a bit of digging, and if I run :

    raspistill -o test.jpg

    I get :

    mmal: mmal_vc_component_enable: failed to enable component: ENOSPC
    mmal: camera component couldn't be enabled
    mmal: main: Failed to create camera component
    mmal: Failed to run camera app. Please check for firmware updates


    I've tried swapping the Pi Cam for another brand new one, and I still
    get the same result. Any suggestions as to where to look next ?

    Thanks

    Adrian
    --
    To Reply :
    replace "bulleid" with "adrian" - all mail to bulleid is rejected
    Sorry for the rigmarole, If I want spam, I'll go to the shops
    Every time someone says "I don't believe in trolls", another one dies.

    Hello brother, finally i can solve this problem after a lot of hours troubleshooting.

    I already share it in my YouTube (https://youtu.be/on8UlkRvLok)

    This problem only occur in camera raspberry pi V2.1 (IMX219) from Element14. But in camera raspberry pi V2.1 from OKdo, i don't get this error

    So, the solution when error
    "mmal: mmal_vc_component_enable: failed to enable component: ENOSPC
    mmal: camera component couldn't be enabled
    mmal: main: Failed to create camera component
    mmal: Failed to run camera app. Please check for firmware updates"

    You need some initialization with a works camera (me camera from OKdo).
    So, the step is
    1. Plug your works camera to Raspberry Pi (me using Raspberry Pi 4B)
    2. Turn on your Raspberry Pi
    3. check
    "vcgencmd get_camera"
    to make sure your hardware is detected the camera
    4. capture image using
    "raspistill -v"
    and camera will capture the image
    5. Then replace the works camera with ENOSPC Error Camera (from Element14)
    6. then try to capture the image
    "raspistill -v"
    and the ENOSPC Error will not occur

    Notes:
    - But, after the ENOSPC Error Camera works, and then you restart/shutdown the raspberry pi, the error will occur again :(

    OS Raspberry Pi 4 Model B (4GB)
    - Linux raspberrypi 5.10.60-v7l+ #1449 SMP Wed Aug 25 15:00:44 BST 2021 armv7l GNU/Linux

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Hanif Izzudin@3:770/3 to Adrian on Sat Sep 11 20:53:40 2021
    On Saturday, April 18, 2015 at 5:12:49 PM UTC+7, Adrian wrote:
    Pi B running Raspbrian

    I've had a Pi Cam hooked up to my Pi for a while now, and whilst it has
    only been used intermittently, it has worked. I've been able to run
    Motion and (from a Ubuntu box) vlc successfully.

    A few weeks back, I noticed that the camera was no longer working. I've
    now had time to do a bit of digging, and if I run :

    raspistill -o test.jpg

    I get :

    mmal: mmal_vc_component_enable: failed to enable component: ENOSPC
    mmal: camera component couldn't be enabled
    mmal: main: Failed to create camera component
    mmal: Failed to run camera app. Please check for firmware updates


    I've tried swapping the Pi Cam for another brand new one, and I still
    get the same result. Any suggestions as to where to look next ?

    Thanks

    Adrian
    --
    To Reply :
    replace "bulleid" with "adrian" - all mail to bulleid is rejected
    Sorry for the rigmarole, If I want spam, I'll go to the shops
    Every time someone says "I don't believe in trolls", another one dies.

    Hello brother, finally i can solve this problem after a lot of hours troubleshooting.

    I already share it in my YouTube (https://youtu.be/on8UlkRvLok)

    This problem only occur in camera raspberry pi V2.1 (IMX219) from Element14. But in camera raspberry pi V2.1 from OKdo, i don't get this error

    So, the solution when error
    "mmal: mmal_vc_component_enable: failed to enable component: ENOSPC
    mmal: camera component couldn't be enabled
    mmal: main: Failed to create camera component
    mmal: Failed to run camera app. Please check for firmware updates"

    You need some initialization with a works camera (me camera from OKdo).
    So, the step is
    1. Plug your works camera to Raspberry Pi (me using Raspberry Pi 4B)
    2. Turn on your Raspberry Pi
    3. check
    Code: Select all

    vcgencmd get_camera
    to make sure your hardware is detected the camera
    4. capture image using
    Code: Select all

    raspistill -v
    and camera will capture the image
    5. Then replace the works camera with ENOSPC Error Camera (from Element14)
    6. then try to capture the image
    Code: Select all

    raspistill -v
    and the ENOSPC Error will not occur

    Notes:
    - But, after the ENOSPC Error Camera works, and then you restart/shutdown the raspberry pi, the error will occur again :(

    OS Raspberry Pi 4 Model B (4GB)
    - Linux raspberrypi 5.10.60-v7l+ #1449 SMP Wed Aug 25 15:00:44 BST 2021 armv7l GNU/Linux

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From GIRI VIGNESH BALAKRISHNAN@3:770/3 to wol...@gmail.com on Mon Jan 30 05:08:30 2023
    On Sunday, November 12, 2017 at 3:23:08 AM UTC+5:30, wol...@gmail.com wrote:
    After look through the whole internet, I solved the problem by raising the memory allocated for the GPU. Thank very, very much!!!
    To what value did u increase it?
    thanks in advance :)

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Ricardo Alexandre@3:770/3 to All on Thu Aug 3 17:13:58 2023
    Em sábado, 11 de novembro de 2017 às 19:53:08 UTC-2, wol...@gmail.com escreveu:
    After look through the whole internet, I solved the problem by raising the memory allocated for the GPU. Thank very, very much!!!

    Thanks, in my case it was GPU memory too. I was at 128, I increased it to 228 and it worked perfectly. Hugs.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)