-
Notifications
You must be signed in to change notification settings - Fork 204
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
RPiCam driver don't run in Ekos #365
Comments
@lboclboc Any idea what's behind this issue? |
Not really, if I understand the comment correctly you have recompiled the driver from source? Did you rebuild libindi also then? What commits of both repos did you use in that case.? |
It seems the driver does not find the camera. I have seen this my self when I tried to make crosscompilation work. Did you build the driver your self or is it from the distribution? I think the problem I had was that not all needed libraries was included so that static constructors was missing. |
I have build it. In my first messafe, I indicated i'm on Ubuntu, not Raspbian :). |
I don't think you should have needed to rebuild it. If you do, you need to be very sure you have same versions of libindi and indi-3rdparty |
Ok. So, what can i am doing ? |
If you tell me the exact commands all the way how you cloned and built the driver I can see if I can reproduce. Also I need to know what exact dist and version are running on your rpi, and model of rpi. |
Yes of course :).
For installation of indi_rpicam, i've followed readme.md :
Few weeks later, i've seen some updates in indi_rpicam
I've deleted a file (sorry it was some weeks ago) and doing again
|
Thanks, I'll try that out. |
Sorry, its takes long time for me. Ive just got around to install ubuntu-20.04, i could not find a raspi ubuntu 18.04 anywhere. |
Hello, don't worry, it's not a problem if you don't have time: with my one year old baby, i don't have time too ^^.
|
Sorry, I have tried to make the raspistill work on my pure ubuntu-20.04 work on rpi but have not succeded yet. I get compilation errors for the userland. Ive been following several guides but have not succeded so far. |
Hello everyone, today I tried getting my rpi hq cam to run on Ubuntu 20.04.3 arm64 on my rpi4 8gb. It seems like the indi-rpicam driver is no longer included in the full indi 3rd party driver package anymore (I checked both stable and nightly repository directories too). I could not run it via terminal using indiserver indi_rpicam nor indi-rpicam. It is also not possible to manually install it via apt-get indi-rpicam. When I tried to building from source I failed here: xx@xx ~/Projects/build/indi-rpicam$ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ~/Projects/indi-3rdparty/indi-rpicam CMAKE_REQUIRED_LIBRARIES is set to:
For compatibility with CMake 3.11 and below this check is ignoring it. -- Looking for pthread.h - found -- Configuring incomplete, errors occurred! I'd be happy to join forces here to get the rpicam to work. Please let me know what additional information would help. Thank you very much in advance! |
I have trying to use indi_rpicam with only indi as server and Astrophotoplus as client and camera not detected (USB camera not detected too). |
Reinstalling did not work for me, it seems like the indi_rpicam driver neither comes with the full installation via repository nor is beeing built when building the full 3rd party package by source. I spent severals hours today trying building the rpicam driver individually but the problem described above persits... I would be very happy to get some advice |
Have you trying install this library too :
then install rpi_cam. Without libindi-dev, i can't install driver, i've got some errors. After, it was OK |
Thank you, yes, I installed the libindi as recommended in the readme here: https://github.com/indilib/indi-3rdparty I cannot install as I cannot get and I cannot build from source because of the error in my post above |
Yes, the package in repository doesn't exist anymore. That's wht indi_rpicam can only be installed manually. Here's my yesterday installation :
It seems you got a problem with C++ package "libnova". Try :
|
Thank you very much for sharing your steps! I tried reproduce everything step by step but it seems my error is not due to missing packages or libraries. Everything was already installed and up to date. cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ~/Projects/indi-3rdparty/indi-rpicam CMAKE_REQUIRED_LIBRARIES is set to:
For compatibility with CMake 3.11 and below this check is ignoring it. -- Looking for pthread.h - found -- Configuring incomplete, errors occurred! and regarding libnova-dev: So I still cannot compile... |
The issue is not libnova (that was just warning), it's with brcmEGL_LIBRARY It appears these might be only available on Raspbian OS? |
Thank you, I rechecked and it seems there are libraries available:
libegl-mali-xlnx/focal-updates 9p0.01rel0-0ubuntu5~20.04.1 arm64 libegl-mesa0/focal-updates,now 21.0.3-0ubuntu0.3~20.04.2 arm64 [installiert] libegl1/focal-updates,now 1.3.2-1~ubuntu0.20.04.1 arm64 [installiert] libegl1-mesa/focal-updates 21.0.3-0ubuntu0.3~20.04.2 arm64 libegl1-mesa-dev/focal-updates,now 21.0.3-0ubuntu0.3~20.04.2 arm64 [Installiert,automatisch] ~/Projects/build/indi-rpicam$ ldconfig -p | grep libGLESv2 I think this needs to be fixed or adapted, but I'm not capable of doing that...: |
Hi, I have same issue compiling latest indi_rpicam:
also
What do I miss to (pre-)install? Seems like this ticket was closed without being solved (considering last comment here). UPDATE: |
bullseye not supported, they changed the API to libcamera. We need to migrate to libcamera. |
@knro indeed they have new libcamera stack, but it's possible to activate legacy stack (see here). I did it so and I have the old good raspistill working:
|
I meant I have the legacy stack enabled, but still have compile error as above. |
Here is my CMake output
|
Ok, I got it working, needed to build https://github.com/raspberrypi/userland as described here https://forums.raspberrypi.com/viewtopic.php?t=323390#p1935591 (just build with ./buildme, don't copy anything) and restart rpicam build. |
Hello
I have installed indi-rpicam driver few months ago, pull few days ago and rebuild. When i launch Ekos, i have a error message "Unable to establish RPi Camera. Please ensure the device is connected and powered on". It looks like my camera is not detected. I'm sure it's enabled: when i run "raspistill -o test.jpg" i have an image. And camera enabled in rasp-config.
To Reproduce
Screenshots
Some screenshots
Desktop :
Other question:
When i see updates on github, do i need to rebuild and compile ?
Thank you very much for your help.
Log Files
Other way if i'm doing this (but i think it's for remote ?):
The text was updated successfully, but these errors were encountered: