pi cam v2 not working

have updated to crowsnest V4 and can't get my pi cam V2 to work
No description
53 Replies
D_Jespersen (DJ_Designs)
D_Jespersen (DJ_Designs)OP•17mo ago
i have added the pi v2 to my cam library
D_Jespersen (DJ_Designs)
D_Jespersen (DJ_Designs)OP•17mo ago
and typed in the device
No description
D_Jespersen (DJ_Designs)
D_Jespersen (DJ_Designs)OP•17mo ago
No description
D_Jespersen (DJ_Designs)
D_Jespersen (DJ_Designs)OP•17mo ago
yes i even had @miklschmidt on the sideline if i had some remediate questions im a linux noob is there anyway i can see on the pi, if i have done something wrong
blacksmithforlife
blacksmithforlife•17mo ago
It should be ok as long as you followed Mikel's instructions after SSHing into the pi
miklschmidt
miklschmidt•17mo ago
i forgot to ask if you changed your /boot/config.txt, can you paste it? Ah wrong URL.. 🙂 It's /webcam/webrtc
D_Jespersen (DJ_Designs)
D_Jespersen (DJ_Designs)OP•17mo ago
isn't that how i got this
No description
miklschmidt
miklschmidt•17mo ago
Yeah probably. Not sure if that's available before the dtoverlay has been set please try /webcam/webrtc instead of /webcam/?action=stream
D_Jespersen (DJ_Designs)
D_Jespersen (DJ_Designs)OP•17mo ago
Now just black screen ( no connecting logo)
miklschmidt
miklschmidt•17mo ago
I got nothing :S
D_Jespersen (DJ_Designs)
D_Jespersen (DJ_Designs)OP•17mo ago
No description
D_Jespersen (DJ_Designs)
D_Jespersen (DJ_Designs)OP•17mo ago
tried to restart the mainsail and it trying to connect for 1 sek and then just black screen
miklschmidt
miklschmidt•17mo ago
dang
D_Jespersen (DJ_Designs)
D_Jespersen (DJ_Designs)OP•17mo ago
like its on but the exposure is just viewing black does i explain it correct ?
miklschmidt
miklschmidt•17mo ago
That could be a thing, can you post your crowsnest.log?
D_Jespersen (DJ_Designs)
D_Jespersen (DJ_Designs)OP•17mo ago
is it meant to unly have 640x480
miklschmidt
miklschmidt•17mo ago
@d_jespersen try using ustreamer instead of camera-stream in your crowsnest.conf and revert to the old /webcam/?action=stream url. I can't see any options for camera control in the crowsnest log
D_Jespersen (DJ_Designs)
D_Jespersen (DJ_Designs)OP•17mo ago
No description
D_Jespersen (DJ_Designs)
D_Jespersen (DJ_Designs)OP•17mo ago
No description
miklschmidt
miklschmidt•17mo ago
change that to MJPEG-streamer
D_Jespersen (DJ_Designs)
D_Jespersen (DJ_Designs)OP•17mo ago
Tried them all
D_Jespersen (DJ_Designs)
D_Jespersen (DJ_Designs)OP•17mo ago
Now with white screen
No description
miklschmidt
miklschmidt•17mo ago
I give up
D_Jespersen (DJ_Designs)
D_Jespersen (DJ_Designs)OP•17mo ago
😭 this is on the phone
D_Jespersen (DJ_Designs)
D_Jespersen (DJ_Designs)OP•17mo ago
. . . this is on the computer
No description
miklschmidt
miklschmidt•17mo ago
I'd go back to crowsnest v3 i think
D_Jespersen (DJ_Designs)
D_Jespersen (DJ_Designs)OP•17mo ago
and for how long can i do that?
miklschmidt
miklschmidt•17mo ago
for ever Well at least until something unexpected makes it not work anymore, i don't know what that would be. You'd have to update system packages for that to happen. Oh btw did you reboot the thing after installing crowsnest v4?
foreign-sapphire
foreign-sapphire•17mo ago
I had recently similar problems but with a v3 camera module. A few ideas to test: 1. Have you examined the output of libcamera-hello, to see it there are other problems? 2. Have you tried to take a pic from outside crowsnest to see if up to that point everything is ok? libcamera-still -o test.jpg 3. In my case I had to do again make install for camera-streamer alone. I can't see in your crowsnest.log that dependency being checked, i.e. I miss this line Dependency: 'camera-streamer' found in bin/camera-streamer/camera-streamer. in your log compared to mine.
D_Jespersen (DJ_Designs)
D_Jespersen (DJ_Designs)OP•17mo ago
Yes I’m Linux noob. Can you explain the steps I have to do.
miklschmidt
miklschmidt•17mo ago
To test 2)
cd ~/printer_data/config
libcamera-still -o test.jpg
cd ~/printer_data/config
libcamera-still -o test.jpg
That should generate a test.jpg that you can view in the mainsail machine tab. To test 3)
cd ~/crowsnest/bin/camera-streamer
make install
cd ~/crowsnest/bin/camera-streamer
make install
D_Jespersen (DJ_Designs)
D_Jespersen (DJ_Designs)OP•17mo ago
gives a black screen on that test jpg
D_Jespersen (DJ_Designs)
D_Jespersen (DJ_Designs)OP•17mo ago
No description
D_Jespersen (DJ_Designs)
D_Jespersen (DJ_Designs)OP•17mo ago
No description
D_Jespersen (DJ_Designs)
D_Jespersen (DJ_Designs)OP•17mo ago
this is test 3 it came with an error first notice after i did the reboot
No description
D_Jespersen (DJ_Designs)
D_Jespersen (DJ_Designs)OP•17mo ago
its working but very bad compared to before
D_Jespersen (DJ_Designs)
D_Jespersen (DJ_Designs)OP•17mo ago
new image
No description
miklschmidt
miklschmidt•17mo ago
up the resolution try sudo make install instead
D_Jespersen (DJ_Designs)
D_Jespersen (DJ_Designs)OP•17mo ago
old image
No description
miklschmidt
miklschmidt•17mo ago
I think this is just a matter of configuration in crowsnest.conf
D_Jespersen (DJ_Designs)
D_Jespersen (DJ_Designs)OP•17mo ago
do i need to do this now
D_Jespersen (DJ_Designs)
D_Jespersen (DJ_Designs)OP•17mo ago
tried all of those and they all give black screen except the lowest resolution
No description
D_Jespersen (DJ_Designs)
D_Jespersen (DJ_Designs)OP•17mo ago
No description
D_Jespersen (DJ_Designs)
D_Jespersen (DJ_Designs)OP•17mo ago
played around with resolution and found the magic number for a pi cam V2 and its 3200x1850
No description
D_Jespersen (DJ_Designs)
D_Jespersen (DJ_Designs)OP•17mo ago
thanks @miklschmidt and @jornamon 3. did the job
foreign-sapphire
foreign-sapphire•17mo ago
I'm glad it worked! 😀 Nice camera placement by the way!
D_Jespersen (DJ_Designs)
D_Jespersen (DJ_Designs)OP•17mo ago
thanks. with this i can do inspection:-)
No description
miklschmidt
miklschmidt•17mo ago
Woah that’s quite a bit!
D_Jespersen (DJ_Designs)
D_Jespersen (DJ_Designs)OP•17mo ago
looks nice
No description
foreign-sapphire
foreign-sapphire•17mo ago
I've seen lately camera-streamer consuming quite a lot of system CPU. I also have a high resolution, I don't now if it's because of that, but watch out, specially if you see any klipper shutdown due to timming errors.
Want results from more Discord servers?
Add your server