Comments (16)
I am testing on a Pi4, just on bookworm. This appears to be an issue with with bookworm.
from indi-allsky.
Opened raspberrypi/rpicam-apps#603 . Lets see where that goes.
from indi-allsky.
I have experienced similar behavior on bookworm, but have not done much testing to see what could be causing the issue. Give me a few days to dig in and see what I can find.
from indi-allsky.
OK, if I can help then please let me know.
Meanwhile I plan to uninstall the Arducam Hawkeye 64mp camera driver and Arducam version of libcamera, revert back to official Pi libcamera and then test again.
from indi-allsky.
Uninstalling the Arducam Hawkeye 64mp camera driver and Arducam version of libcamera appears to be undocumented, I found no way to do so.
So I instead reinstalled 64 bit Bookworm with desktop and fully updated it.
I then installed indi-allsky.
So my setup is now as before except I do not have the Arducam Hawkeye 64mp camera driver and Arducam version of libcamera installed.
The result is the same, no image is captured and eventually an error dialog appears:
[quote]
Notification: Camera
Date: 2023-11-20 16:23:28
Camera last ready 600s ago. Camera might be hung. Aborting exposure.
[/quote]
Again I can execute say 'libcamera-still -t 0' via a VNC session and my HQ camera works fine.
from indi-allsky.
The problem seems to revolve around the --immediate
flag. If I remove this flag, an image is captured. The problem is without the --immediate flag, the "viewfinder" mode is activated and two images are captured, one lower resolution first, then the second full resolution image is returned.
from indi-allsky.
I just executed this command three times in a terminal on my Pi 5 desktop:
[code]
libcamera-still --immediate -o my_pic.jpg
[/code]
Each time the preview window appears and then the libcamera command seems to hang.
I needed to kill the libcamera process each time using task manager.
So the preview window should not appear when the --immediate flag is set, but on my Pi 5 (and your's?) it does.
[edit]
I'll add the terminal output from my libcamera-still command:
[quote]
WARNING: v3d support for hw version 71 is neither a complete nor a conformant OpenGL implementation. Testing use only.
Made X/EGL preview window
[0:16:20.929739627] [3188] INFO Camera camera_manager.cpp:284 libcamera v0.1.0+99-4a23664b
[0:16:20.953327738] [3198] INFO RPI pisp.cpp:652 libpisp version v1.0.0 ce5624ed8726 23-10-2023 (07:41:40)
[0:16:20.976531998] [3198] INFO RPI pisp.cpp:1106 Registered camera /base/axi/pcie@120000/rp1/i2c@88000/imx477@1a to CFE device /dev/media0 and ISP device /dev/media2 using PiSP variant BCM2712_C0
[0:16:20.976938608] [3188] WARN V4L2 v4l2_pixelformat.cpp:336 Unsupported V4L2 pixel format RPBP
Mode selection for 4056:3040:12:P
SRGGB10_CSI2P,1332x990/0 - Score: 10552.2
SRGGB12_CSI2P,2028x1080/0 - Score: 8179.84
SRGGB12_CSI2P,2028x1520/0 - Score: 7096
SRGGB12_CSI2P,4056x3040/0 - Score: 0
Stream configuration adjusted
[0:16:20.978315958] [3188] INFO Camera camera.cpp:1181 configuring streams: (0) 4056x3040-YUV420 (1) 4056x3040-BGGR16_PISP_COMP1
[0:16:20.978477772] [3198] INFO RPI pisp.cpp:1390 Sensor: /base/axi/pcie@120000/rp1/i2c@88000/imx477@1a - Selected sensor format: 4056x3040-SBGGR12_1X12 - Selected CFE format: 4056x3040-PC1B
./hawkeye.sh: line 3: 3188 Killed libcamera-still --immediate -o my_pic.jpg > my_log.txt
[/quote]
[/edit]
from indi-allsky.
A fix has been merged for rpicam-apps. After rebuilding libcamera
and rpicam-apps
from source, I can confirm I am receiving images on bookworm
from indi-allsky.
Great...
How long will it be before the fix is available to me via an 'apt update', any idea?
Can you share your fix or point me to a guide build a fix myself?
Thanks.
from indi-allsky.
I have been waiting on new libcamera updates for a couple of months for some other fixes as well. I do not know when a new version will be released.
The docs for building libcamera and rpicam-apps is pretty decent.
https://www.raspberrypi.com/documentation/computers/camera_software.html#building-libcamera
https://www.raspberrypi.com/documentation/computers/camera_software.html#building-rpicam-apps
from indi-allsky.
Will the instructions of both of those pages - where 'git clone' is used - get the version that contains today's fix?
Or do I need to specify some version in order to get it?
from indi-allsky.
It should, yes. All of the fixes should be available in HEAD.
I followed those instructions pretty much to the letter.
from indi-allsky.
The instructions are clear and easy to follow and my HQ camera now works.
Anyone else with the same problem can do as I did or wait patiently for the official fix.
Thanks for your help.
from indi-allsky.
I just wanted to add to this issue that capture without 'immediate' is now broken!
I run the simple command:
[code]
libcamera-still -t 0
[/code]
No preview window appears, this is the terminal output:
[quote]
martin@pi5:~ $ libcamera-still -t 0
[0:03:23.137200149] [2315] INFO Camera camera_manager.cpp:284 libcamera v0.1.0+117-99b177b3
[0:03:23.152331420] [2319] INFO RPI pisp.cpp:653 libpisp version v1.0.1 5652744a74d7 21-11-2023 (18:43:28)
[0:03:23.170270853] [2319] INFO RPI pisp.cpp:1112 Registered camera /base/axi/pcie@120000/rp1/i2c@88000/imx477@1a to CFE device /dev/media2 and ISP device /dev/media0 using PiSP variant BCM2712_C0
Preview window unavailable
Mode selection for 2028:1520:12:P
SRGGB10_CSI2P,1332x990/0 - Score: 3456.22
SRGGB12_CSI2P,2028x1080/0 - Score: 1083.84
SRGGB12_CSI2P,2028x1520/0 - Score: 0
SRGGB12_CSI2P,4056x3040/0 - Score: 887
Stream configuration adjusted
[0:03:23.172669970] [2315] INFO Camera camera.cpp:1183 configuring streams: (0) 2028x1520-YUV420 (1) 2028x1520-BGGR16_PISP_COMP1
[0:03:23.172894844] [2319] INFO RPI pisp.cpp:1396 Sensor: /base/axi/pcie@120000/rp1/i2c@88000/imx477@1a - Selected sensor format: 2028x1520-SBGGR12_1X12 - Selected CFE format: 2028x1520-PC1B
#0 (0.00 fps) exp 32987.00 ag 8.00 dg 1.00
#1 (30.01 fps) exp 32987.00 ag 8.00 dg 1.00
#2 (30.01 fps) exp 32987.00 ag 8.00 dg 1.00
#3 (30.01 fps) exp 32987.00 ag 8.00 dg 1.00
#4 (30.01 fps) exp 32987.00 ag 8.00 dg 1.00
[/quote]
Those numbered lines #0, #1 etc just continue to appear until I halt the command.
See the line 'Preview window unavailable'?
from indi-allsky.
This could have something to do with the options you passed to the meson build commands when you built the libcamera projects from source.
from indi-allsky.
This could have something to do with the options you passed to the meson build commands when you built the libcamera projects from source.
Not quite but you pointed me in the right direction...
I had not installed all of the recommended packages on the 'build libcamera and rpicam-apps' page that you linked to.
With all the packages installed, I recompiled both libcamera and rpicam-apps and my preview window now appears.
Thanks again for your help.
from indi-allsky.
Related Issues (20)
- Python package build on Armbian fails: ERROR: No matching distribution found for numpy==1.21.2 HOT 6
- Camera not found - the server encountered an internal error ... HOT 9
- Setup.sh breaks on bookworm HOT 6
- v7.6 release - keogram/startrail broken at night? HOT 6
- error on upgrading on opi pc HOT 2
- Frame is dark even though gain and exposure look ok HOT 5
- QHY5III485C Focus Mode HOT 13
- External temperature script HOT 10
- Unable to initialise Remote Web Interface likely due to 'No Camera in DB' and CCD device INDI Webcam HOT 5
- Remote camera not working: Cannot identify /dev/video0: 2, No such file or directory HOT 8
- Need help with two instances HOT 30
- timeouts after upgrade to latest HOT 2
- Oracle Cloud Infrastructure (OCI) Support HOT 8
- syncapi timelapse video transfers failing but images OK even with 900s timeouts HOT 17
- No image capture in 7.8 HOT 23
- Restarting pi services HOT 9
- Failure during fresh install / Ubuntu 22.04.3 (PyIndi-Client / SWIG) HOT 8
- Fit Files - automated move to Amazon S3 bucket HOT 8
- Problems with Svbony SV305 camera HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from indi-allsky.