#Cam shows grey screen in main sale

1 messages · Page 1 of 1 (latest)

pure garnet
#

Evening all the cam is working taking stills and video via terminal I spoke to someone in another discord and they sent me to the "Upgrade from v3 to v4" artical on crowsnest/mainsale wiki. I have followed all these steps and i still have no connection to the cam (grey screen). crowsnest.conf has zero errors,.

specs:
Pie zero w 2
inomaker ov5647
Rasbery pie OS lite
Mainsale
crowesnest
All uptodate.

[02/28/24 19:04:02] crowsnest: [crowsnest] [02/28/24 19:04:02] crowsnest: log_path: /home/holly/printer_1_data/logs/crowsnest.log [02/28/24 19:04:02] crowsnest: log_level: verbose [02/28/24 19:04:02] crowsnest: delete_log: false [02/28/24 19:04:02] crowsnest: no_proxy: false [02/28/24 19:04:02] crowsnest: [02/28/24 19:04:02] crowsnest: [cam 1] [02/28/24 19:04:02] crowsnest: mode: camera-streamer [02/28/24 19:04:02] crowsnest: [02/28/24 19:04:02] crowsnest: enable_rtsp: false [02/28/24 19:04:02] crowsnest: rtsp_port: 8554 [02/28/24 19:04:02] crowsnest: port: 8080 [02/28/24 19:04:02] crowsnest: device: /base/soc/i2c0mux/i2c@1/imx290@1a [02/28/24 19:04:02] crowsnest: resolution: 1280x720 [02/28/24 19:04:02] crowsnest: max_fps: 60 [02/28/24 19:04:02] crowsnest: INFO: Detect available Devices [02/28/24 19:04:03] crowsnest: INFO: Found 1 total available Device(s) [02/28/24 19:04:03] crowsnest: Detected 'libcamera' device -> /base/soc/i2c0mux/i2c@1/imx290@1a [02/28/24 19:04:03] crowsnest: Try to start configured Cams / Services... [02/28/24 19:04:06] crowsnest: INFO: Configuration of Section [cam 1] looks good. Continue ... [02/28/24 19:04:08] crowsnest: ... Done! [02/28/24 19:04:09] crowsnest: Starting camera-streamer with Device /base/soc/i2c0mux/i2c@1/imx290@1a ...

any help would be awesom I did read in thhis forum there is an issue with simlinks in crtowsnest atm but the errors mentioned did not coraspond to mine.

quaint blaze
#

camera-streamer is broken right now, please send your whole log that I can check something

#

inomaker ov5647
Is that your cam? If so, you got scammed somewhere as it's clearly not an ov5647 but an imx219 sensor

pure garnet
#

i paid £6 yer i knew that going in its listed later on the page I just listed it as trhgat as thats how its listed on there site

quaint blaze
#

It's most likely a different error than the one I assumed right now. Set log_level: debug and delete_log: true. Then send a new log after trying to connect to the cam once

pure garnet
quaint blaze
#

Never heard of that before:

[0:01:49.145515107] [1784] ERROR V4L2 v4l2_videodevice.cpp:1906 /dev/video0[23:cap]: Failed to start streaming: Remote I/O error
device/libcamera/buffer_list.cc: CAMERA:capture: Failed to start camera.
#

As it's directly after that line device/device.c: CAMERA: Setting frame interval_us=0 for FPS=60 it might be the fps.
The Pi HW encoding only supports up to 30fps, so you should set it at maximum to that.

#

I also recommend to lower it further down, as you most likely don't need 30fps to watch your printer

pure garnet
#

ty will try that now

#

same issue set to 15 fps

quaint blaze
#

Anything like klipperscreen installed?

pure garnet
#

nope

#

I followed a turorial to get mainsale up and running ad the tutorial had 3 klipper intercances but i made sure to install crowsnest to the correct parth

#

Its odd as klipper is seeing the cam in "devices"

#

I could re do everying and go with main sali image ove pi os lite and using KIAUH

quaint blaze
#

mainsale
You know that it's called mainsail, right?

pure garnet
#

yer my bad

quaint blaze
#

I have to search what's up with that error

pure garnet
#

all good im in no rush been trying to fix it for a few hours already happy for the help

quaint blaze
#

Send your /boot/config.txt file

pure garnet
#

#start_x=1 and #camera_auto_detect=0 are disabled due to the aformentioned "Upgrade from v3 to v4" post

quaint blaze
#

Two things you should try:

  • dtoverlay=vc4-kms-v3d comment this back in
  • If first one doesn't help try to remove this gpu_mem=128
#

And I'm not entirely sure if clock-frequency=74250000 is completely correct or if it even works with libcamera

pure garnet
quaint blaze
#

Oh, ok. Cannot find the docs for it right now on the pi page, so hard to say anything about it

#

Overall I cannot find anything for it. You might want to remove the dtoverlay=imx219 and put back camera_auto_detect=1 to see if the imx219 is the correct driver

pure garnet
#

ty for all your help i will try this tomorrow as i have to go out now

pure garnet
#

found my f*** up running inomakers code and following guides "dtoverlay=imx290,clock-frequency=74250000" was conflicting with legascy cam which was enabled and blocking the cam.

#

ty for all you help how do i cloes this thread?