In the past i used it with octoprint with marlin, but switched to Klipper with Mainsail. I cannot figure out by myself what is going on, with the following command libcamera-vid --list-cameras the camera appears with all the resolutions but i cannot figure it out. I read all the threads with webcams related to my problem but didn´t help 😦 note: i am using klipperscreen 5inch dsi display. if I activate the function 'dtoverlay=vc4-kms-v3d' after reboot it will not boot back to my klipperscreen, stays on terminal image ...
#Pi Camera imx219@10 does not want to work with my Rpi3b+
230 messages · Page 1 of 1 (latest)
Send a crowsnest.log with log_level: debug
where can i find that? is that from the mainsail-machine-logs?
wait a minute here ....
some extraterestrial thing is going on here
my cam is working
but my display not
i was just editing something
This is from the crowsnest.log
i have a new issue
/boot/config.txt and you added dtoverlay=vc4-kms-v3d (most likely)
this exactly i deleted the #
but i also edited here
sudo bash -c "echo needs_root_rights=yes>>/etc/X11/Xwrapper.config"
and now i dont have klipperscreen active
it is just dark, no image
but touch seems to respond
Then you might want to delete needs_root_rights=yes from your /etc/X11/Xwrapper.config again
i jos home axes blind :))
i added this
and after that the problem occurs
resolved pi camera issue, but run into another
ok, i will delete it
It Shows this now
We don't give klipperscreen support sry. The reason is written in the last message in #klipper-screen
Overall that you get a similar setup to octoprint, you can follow this: https://crowsnest.mainsail.xyz/faq/how-to-setup-a-raspicam#ov5647-and-or-klipperscreen
you are reffering to this?
1.sudo raspi-config
2.Boot Options
3.Console Autologin Text console, automatically logged in as 'pi' user
With what should I refer to this?
We don't give klipperscreen support sry. The reason is written in the last message in klipper-screen
i am new to all this, but happy to learn
The last message is this:
since we don't get any feedback from klipperscreen maintainers and can't support everything from klipperscreen ourselves, we have to close this channel.
If you need support/help, pls use the issue tracker on GitHub: https://github.com/jordanruthe/KlipperScreen/issues
ok, thank you very much
What did you made that the camera works? I have exactly ghe same camera and exactly the same raspberry but i dont have a screen
Follow this and open a new post for further help
https://crowsnest.mainsail.xyz/faq/how-to-setup-a-raspicam
I might have found a solving method for my setup
i can curently choose either klipperscreen or webcam
I have opened a new thread my problem seems to be diffrent. Camera stream is not starting at all in the log file
but i want to use both, and RaspiOS 64 bit maybe the soluton, curently on 32bit
check cable, check connections, maybe its hardware
can be hardware *
I already sent you a link that will make it possible without problems:
https://crowsnest.mainsail.xyz/faq/how-to-setup-a-raspicam#ov5647-and-or-klipperscreen
already tried that, doesn´t help
Is your setup right now like that? If yes, send a log
i am curently printing .... 17hours left ... but i did the steps exactly
and after that my camera was not fount
vcgencmd get_camera after this command i was prompted with no camera message
but i found the issue
i cannot use dtoverlay=vc4-kms-v3d because my screen will not respond, but the camera with work with, and vice versa
if i out comment that command the screen is working but no camera
i found on forum that i should try that with a RaspiOS 64bit, curently on 32bit
I will be posting here if that works for me
You have to reboot after the steps
That is only the case for the libcamera stack, but not the legacy stack afaik, that's why I asked you to try that
That shouldn't matter....Both are using the same kernel
i did
but still doesn´t work
here is the log
The steps are corect, the config.conf is also th right one
i tried camera-streamer and ustreamer
i cannot get image 😦
device is video0
not video14 i was just editing that out
and rebooted
and still no image
😦
Then set /dev/video0 and log_level: debug and send a new log
You didn't set log_level: debug
Furthermore you might want to tune down the resolution a bit. 1640x1232 or 1920x1080 are a lot better if you want more than 2fps
i set that debug level in crowsnest above, or it should be on the [cam1] ?
i am lowering down
It's correct like that
ok
I have to check something real quick
ok
Please send your /boot/config.txt
tell me plese how to do that
There are multiple ways. You can download it with winscp, you could output it to your terminal with cat /boot/config.txt and then copy paste it, or you can run cat /boot/config.txt > ~/printer_data/config/boot_config.txt and download boot_config.txt inside Mainsail on the machine apge
i have print screen it :))
For more options and information see
http://rptl.io/configtxt
Some settings may impact device functionality. See link above for details
Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on
Enable audio (loads snd_bcm2835)
dtparam=audio=on
Additional overlays and parameters are documented
/boot/firmware/overlays/README
Automatically load overlays for detected cameras
camera_auto_detect=0
enable V2 camera (IMX219)
#dtoverlay=imx219
Automatically load overlays for detected DSI displays
display_auto_detect=1
#dtoverlay=vc4-kms-dsi-5inch
start_x=1
Automatically load initramfs files, if found
auto_initramfs=1
Enable DRM VC4 V3D driver
#dtoverlay=vc4-kms-v3d
max_framebuffers=2
Don't have the firmware create an initial video= setting in cmdline.txt.
Use the kernel's default instead.
disable_fw_kms_setup=1
Disable compensation for displays with overscan
disable_overscan=1
Run as fast as firmware / board allows
arm_boost=1
[cm4]
Enable host mode on the 2711 built-in XHCI USB controller.
This line should be removed if the legacy DWC2 controller is required
(e.g. for USB device mode) or if USB support is not required.
otg_mode=1
[all]
paste it
You want to use ` triple before and after that it get's formatted better
i don´t understand
If you use that symbol `
You can make code formatting like this:
test
Damn it. I forgot one part....
This is bookworm and the legacy stack doesn't work correctly anymore...Sometimes it can work and most times it won't.....
# http://rptl.io/configtxt
# Some settings may impact device functionality. See link above for details
# Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on
# Enable audio (loads snd_bcm2835)
dtparam=audio=on
# Additional overlays and parameters are documented
# /boot/firmware/overlays/README
# Automatically load overlays for detected cameras
camera_auto_detect=0
# enable V2 camera (IMX219)
#dtoverlay=imx219
# Automatically load overlays for detected DSI displays
display_auto_detect=1
#dtoverlay=vc4-kms-dsi-5inch
start_x=1
# Automatically load initramfs files, if found
auto_initramfs=1
# Enable DRM VC4 V3D driver
#dtoverlay=vc4-kms-v3d
max_framebuffers=2
# Don't have the firmware create an initial video= setting in cmdline.txt.
# Use the kernel's default instead.
disable_fw_kms_setup=1
# Disable compensation for displays with overscan
disable_overscan=1
# Run as fast as firmware / board allows
arm_boost=1
[cm4]
# Enable host mode on the 2711 built-in XHCI USB controller.
# This line should be removed if the legacy DWC2 controller is required
# (e.g. for USB device mode) or if USB support is not required.
otg_mode=1
[all]
yes, i use bookworm
I can completely change it to a new linux dependancy
i only need my config file, wich is saved and my printer.cfg
i dont think i need anything else... or?
Try to add following:
dtoverlay=vc4-kms-v3d,cma-256
dtoverlay=vc4-kms-dsi-7inch
dtoverlay=imx219
what can we do?
but my display is 5inch, doesn´t matter?
You can use bullseye, there it should work with the legacy stack
added, now rebooting
I installed RaspiOS and i didnt see that i can change the distribution
my klipperscreen doesnt go to the graphg interface, stopped on terminal one
Webcam is the same, No Signal
You have to use the camera-streamer again with the libcamera path shown inside your log
Then you might want to look at the klipperscreen troubleshoot. Maybe you need to add something somewhere
The legacy one is bullseye. So if you want to install bullseye you want to install Raspberry Pi OS (legacy) Lite or just install MainsailOS as most important things are already preinstalled there.
with libcamera i can get the camera working
but not the screen
Just have a look at the troubleshooting. The screen is overall working so it's something about klipperscreen
https://klipperscreen.readthedocs.io/en/latest/Troubleshooting/
KlipperScreen documentation.
But I cannot guarantee you that touch will work after that ofc
What screen is it exactly?
I guess the BTT 5inch?
so i cannot get it to work ...
what can I do to have it both working, klipperscreen and webcam?
Try to install bullseye then.
I recommend MainsailOS as this will make the start a lot faster. Overall you only need the printer.cfg, if you don't need any other data, like Mainsail settings or print history
how can i directly install MainsailOS
It is like RaspiOS? I install it directly on the mini sd card?
you think that with mainsailOS it should work?
With bullseye, and therefore MainsailOS too, you should be able to follow https://crowsnest.mainsail.xyz/faq/how-to-setup-a-raspicam#ov5647-and-or-klipperscreen and then it should be possible without anymore problems. This at least worked for everyone else until now
Overall to confirm if it works, you could use a different sdcard first ofc
I will do that! 😄
i installed MainsailOS
and i cannot go further from here
i cannot do the update
i loaded my printer.cfg
and run directly on pi the sudo apt update && upgrade -y command
and that.s it
moonraker seems to not responding
it has just startet automatically
lol
KlipperScreen is working and camera, doesn't work with legacy stack?
yes
Again a crowsnest.log please. But if that doesn't work, I don't know how it should work
Somehow your crowsnest, got broken 🤔
what?
21:21 since then ustreamer cannot be found
So run sudo make install to install it again
sudo make install
this in terminal ssh?
should i first unninstall it or ?
cand you please tell me steps 😛
First you should go into crowsnest directory and then run it, so cd ~/crowsnest and then sudo make install 🤦♂️
Sry, doing other stuff right now ^^
trough installation i saw this line ...
error: 7835 bytes of body are still expectedMiB | 109.00 KiB/s
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: index-pack failed
fatal: clone of 'https://github.com/paullouisageneau/libdatachannel.git' into submodule path '/home/pi/crowsnest/bin/camera-streamer/third_party/libdatachannel' failed
Failed to clone 'third_party/libdatachannel'. Retry scheduled
Cloning into '/home/pi/crowsnest/bin/camera-streamer/third_party/libdatachannel'...
If it continued after that it should be fine
Retry scheduled
Cloning into '/home/pi/crowsnest/bin/camera-streamer/third_party/libdatachannel'...
Let me think that it's retrying
it has crashed
Try again
again with the install?
Yes
But it might fail again. Overall this look like a fail while downloading
Weird enough that you ustreamer installation was suddenly gone but then you get a fail like that directly afterwards....
I am a little far from my WLAN but it was working the other days...
at least my clock from klipperscreen indicates the right time now
haha
with the old bookworm was always 1 hour behind
now it is on point
it fails again with downloading from github ...
should i try to install it with KIAUH?
Kiauh doesn't make your internet connection better xD
Run ```
cd ~/crowsnest
make uninstall
cd ~
rm -rf crowsnest
git clone https://github.com/mainsail-crew/crowsnest
cd ~/crowsnest
sudo make install
* branch 90d05bf8980d16e4ac3f16c19b77e296c4bc207b -> FETCH_HEAD
Submodule path 'third_party/libdatachannel/deps/libsrtp': checked out '90d05bf8980d16e4ac3f16c19b77e296c4bc207b'
Submodule path 'third_party/libdatachannel/deps/plog': checked out 'd8461e9d473e59fbcc1f79eee021550dcf81e618'
Submodule path 'third_party/libdatachannel/deps/usrsctp': checked out '7c31bd35c79ba67084ce029511193a19ceb97447'
Submodule path 'third_party/libdatachannel/deps/json': checked out '4f8fba14066156b73f1189a2b8bd568bde5284c5'
Failed to recurse into submodule path 'third_party/libdatachannel'
make: *** [Makefile:19: install] Error 1
pi@mainsail:~/crowsnest $
That appears when running the above chain of commands?
no, that was the last make install mesage
curently runing your last command
and it was succesfully libdatachannel
continuing
it donwloads with 1.2 Mb/s so internet should be enough
i tink it was something else
Might be a corrupted repo. Maybe the same thing happened to your ustreamer 🤷♂️
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: index-pack failed
fatal: clone of 'https://github.com/nlohmann/json.git' into submodule path '/home/pi/crowsnest/bin/camera-streamer/third_party/libdatachannel/deps/json' failed
Failed to clone 'deps/json' a second time, aborting
Failed to recurse into submodule path 'third_party/libdatachannel'
make: *** [Makefile:19: install] Error 1
pi@mainsail:~/crowsnest $
this one failed now
is it important? should i Re-run the process?
Ok, I get a similar issue on my end. I recommend to reflash again but don't update anything besides the system packages. There might be issues with github right now
Yes, sdcard with MainsailOS
than i will leave it for tomorrow, maybe until than the github servers will be up and running
Let us hope the best 😄
definetly for tomorrow
the chances are that i do the same thing and same result
i am caling it a day and try again tomorrow
will you pe ON?
my time is now 22:48, so maybe tomorro 19:00 ? 🙂
you are very helpful for me
I'm in the same timezone ^^
So yeah, I most likely be online at that time
where are you located? I am from Germany
Me too
I'm a little bit further north, located in Unterfranken
Nice 😄
See you tomorrow buddy
take care and again, thank you fot the help and time! much appreciated