-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libcamera-apps not working on RPi 3 Model B+ #125
Comments
Hi, looking at your config.txt, perhaps you just need to uncomment the |
Hi @davidplowman , thanks for your reply. I have already tried this and it didn't help. In fact, when I set
but I get a different error when I set
Then, I try with
and it works!!! 😮 |
Ah, are you running headless? The zero-copy optimised display pipeline doesn't work over the network. Try Note that the old legacy stack will not detect your camera when you switch to libcamera - that's expected. |
Nope, I am not running headless. I tried to set some symbolic links as per some other suggestions I found: https://pi3d.github.io/html/FAQ.html#glx-dri2-not-supported-or-failed-to-authenticate but this has messed up my libraries and I've broken it completely. I ended up uninstalling and reinstalling
then I had to reinstall qt dependencies:
If I try
BUT what you've asked me to run WORKS:
This fails:
but this works:
|
Can you check what kind of display driver you've got in your /boot/config.txt? Check out the "NOTE" in this Getting Started section of the documentation. (I'm not sure removing those libraries will have helped you...) |
Yes, just to clarify, all the the above last steps are with
So to recap:
I will setup a new OS (same version) and repeat what I've done, before messing up the libraries, and see how things look like. |
OK, I got a fresh Raspbian Buster, ran all the steps listed in official RPI site regarding the build of Something works, but something is wrong. My config
Camera seems not detected:
So it seems that using |
And this is the build script that I used:
|
According to the "NOTE" in this Getting Started section of the documentation, you need to uncomment the |
I have tried both
All comments above and logs are with |
Well, I'm at a bit of a loss really. I feel there must be something awry with your setup but it's hard to know what. I've just been through the following exact steps, doing absolutely nothing other than what I've written below. Are you in a position to repeat the experiment?
Are you in a position to have another go at this? I'm sorry that it's a bit time-consuming. |
OK, hold on a second because I've just realized something crucial; when you wrote uncomment the dtoverlay=vc4-fkms-v3d line in the /boot/config.txt, you literally meant to just uncomment (AND keep the other dtoverlay setting - What I was trying was to keep one but not another, so I was trying with EITHER Stupid me, not very clear from the other hand when I re-read the official instructions (for someone doing this for their very first time). So, when I keep both in my
all commands work great (both with Thanks @davidplowman :) |
Glad you've figured it out. Sorry if the instructions aren't always totally clear, the new documentation website is still WIP to some extent. And life will get much better once the new Bullseye OS is released soon, stuff will just work "out of the box". |
Hi @babinos87 and @davidplowman, [pi4] and Here is libcamera-hello command output libcamera-hello I have both |
Also having problems with dtoverlay=vc4-fkms-v3d (Firmware/Fake)KMS vs Full KMS dtoverlay=vc4-kms-v3d (which is ok but then the touchscreen doesn't work) |
@harshalak77 were you able to solve your issue? |
Hello, please make sure your driver config is in all section, not in pi4 |
I have the same issue since days. I Installed a new image (Bullseye) and tried again, but the preview always fails. I need this preview for my work so the And @davidplowman is this a x64 bug, seems that the new bullseye version still isn't stable |
Generally my advice is to start by connecting a keyboard and HDMI display directly to your Pi, downloading the latest image, touching absolutely nothing else in the image, and seeing if If that works as it should then proceed to change just one thing at a time until you reach a point where it doesn't. If it doesn't "just work" at the outset, then something is either not plugged in properly or actually broken. If you haven't been able to get things working by the above steps, then please file a new issue. Thanks! |
Thanks I'll try it |
Hi,
I am trying to run
libcamera-apps
in my Raspberry Pi 3 Model B+. I get the below error:but my camera is detected:
same for
and, if I use
raspistill
, the camera seems to work fine:works great. I can see a pop up window with video, image is saved.
I am following the guide from Raspberry Pi site: https://www.raspberrypi.com/documentation/accessories/camera.html#building-libcamera-and-libcamera-apps
I have built by specifying
-Dv4l2=true
to themeson configure
command and without. The result is the same. I also tried to run with-n
, still same error.I am clueless to what is happening. The camera seems to be installed correctly and works fine, so the problem in my case seems to be with the
libcamera-apps
. Any ideas what could be missing here, or at least some guidance to debug this?Some info of my setup:
/boot/config.txt
file:Let me know if I can provide further info.
Many Thanks,
Babis
The text was updated successfully, but these errors were encountered: