CB1 icon indicating copy to clipboard operation
CB1 copied to clipboard

Cb1 with Obico

Open Vinnnocc opened this issue 1 year ago • 22 comments

Anyone running a CB1 with Obico? I noticed I’m getting still frame video every few seconds vs a steady fps or even buffering

will CB1 ever be ready for obico?

Vinnnocc avatar Apr 04 '23 09:04 Vinnnocc

What resolution do you have set, and do you have the premium or basic version?

Pneumanifest avatar Apr 04 '23 09:04 Pneumanifest

640x480 And premium. I know when I installed mainsailOS on a pi version 64bit did 0.1FPS. Not this 10sec still frame So I switched to 32bit mainsailOS and had full 30fps easy. So not sure if cb1 can switch to 32bit or if it’s just not supported

Vinnnocc avatar Apr 04 '23 10:04 Vinnnocc

I'm not going to say it's not something to do with the way the OS is set up. I did install Obico to test and yeah it says it failed to stream and set it to 0.1fps, but what is weird is that OctoEverywhere streams fine. So it makes me think it's looking for something that's not installed, or there's some sort of odd configuration it wants.

Pneumanifest avatar Apr 04 '23 14:04 Pneumanifest

I know obico is setup in code to look for Pi. So maybe it’s something on their end to have the code look for any kinda of non- PI to be able to stream

Vinnnocc avatar Apr 04 '23 14:04 Vinnnocc

Obico does not work on 64bit OS. If you are running a 64bit OS, you will need to switch to a 32bit OS and test again. If you are running a 32bit OS, you can open a ticket with obico and confirm if the board is supported or not.

On Tue, Apr 4, 2023, 07:57 Vinnnocc @.***> wrote:

I know obico is setup in code to look for Pi. So maybe it’s something on their end to have the code look for any kinda of non- PI to be able to stream

— Reply to this email directly, view it on GitHub https://github.com/bigtreetech/CB1/issues/106#issuecomment-1496122585, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARBZ5N5ZAKCRRNZXTQDEQJTW7QZD5ANCNFSM6AAAAAAWSNCU4A . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Will-wastelander avatar Apr 04 '23 15:04 Will-wastelander

Can I pick or choose what OS is installed? I thought when I installed everything on Cb1 everything was auto

Vinnnocc avatar Apr 04 '23 15:04 Vinnnocc

The image you use is what determines 32 or 64 bit.

On Tue, Apr 4, 2023, 08:42 Vinnnocc @.***> wrote:

Can I pick or choose what OS is installed? I thought when I installed everything on Cb1 everything was auto

— Reply to this email directly, view it on GitHub https://github.com/bigtreetech/CB1/issues/106#issuecomment-1496204304, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARBZ5N37DHS7R2RNCY5R6PDW7Q6PJANCNFSM6AAAAAAWSNCU4A . You are receiving this because you commented.Message ID: @.***>

Will-wastelander avatar Apr 04 '23 15:04 Will-wastelander

The image you use is what determines 32 or 64 bit.

It was a cb1 image off here With klipper in it nothing about mainsail 32-64

Vinnnocc avatar Apr 04 '23 17:04 Vinnnocc

IMG_1313

Vinnnocc avatar Apr 04 '23 17:04 Vinnnocc

Mainsail isn't the OS. It's a klipper software. MainsailOS is a mainsail based OS. BTT needs to chime in to confirm if their image is 32 or 64 bit.

On Tue, Apr 4, 2023, 10:26 Vinnnocc @.***> wrote:

The image you use is what determines 32 or 64 bit. … <#m_9173171364893448297_>

It was a cb1 image off here With klipper in it nothing about mainsail 32-64

— Reply to this email directly, view it on GitHub https://github.com/bigtreetech/CB1/issues/106#issuecomment-1496340638, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARBZ5N2XAM764EWGSN3SQ2LW7RKVDANCNFSM6AAAAAAWSNCU4A . You are receiving this because you commented.Message ID: @.***>

Will-wastelander avatar Apr 04 '23 17:04 Will-wastelander

It's a 64bit setup. Looking in the obico log there are some weird things. The first is that there is a warning that it's not on a pi and the stop streaming. The next is an error with syntax in "backoff" waiting for Janus and a connection refused error. Then after so many tries it just quits.

Pneumanifest avatar Apr 04 '23 18:04 Pneumanifest

It's a 64bit setup. Looking in the obico log there are some weird things. The first is that there is a warning that it's not on a pi and the stop streaming. The next is an error with syntax in "backoff" waiting for Janus and a connection refused error. Then after so many tries it just quits.

Obico is looking for a Pi and a will only stream on a Pi. So not sure if cb1 can trick obico or we gotta wait for obico to support non-pi

Vinnnocc avatar Apr 04 '23 18:04 Vinnnocc

It says it's closing the video_pipeline that might be a Raspbian specific method, there is a feed trying to get through I can now see about 3 frames before it goes to buffering and I no longer get the 0.1fps error. Turns out I was missing libnss3-dev. After installing that, the backoff connection refused error went away.

Pneumanifest avatar Apr 04 '23 19:04 Pneumanifest

I can see video whole time but it gives me a signal frame every like 10sec. Ai works still

Vinnnocc avatar Apr 04 '23 19:04 Vinnnocc

Ai works still

Yeah, not having the stream working does not effect the rest of the features.

Pneumanifest avatar Apr 05 '23 06:04 Pneumanifest

I see now octoeverywhere is now fully supported by klipper might have to give that a try

Vinnnocc avatar Apr 05 '23 12:04 Vinnnocc

That's what I'm using on my machines. OctoEverywhere seems to be working fine. And it's a direct connection to the UI. You can also use it other apps like mobileraker

Pneumanifest avatar Apr 05 '23 12:04 Pneumanifest

Well that’s it I’m done using obico. Octoeverywhere installed supper easy and I’m reviving over 50FPS video feed

Vinnnocc avatar Apr 05 '23 20:04 Vinnnocc

Hahaha yeah it works great. I've never had a spaghetti event so I don't know how well that part works, but for remote access it's perfect.

Pneumanifest avatar Apr 05 '23 20:04 Pneumanifest

So it turns out Obico indeed will only stream with raspberry pi as per design. https://obico.io/docs/user-guides/webcam-stream-stuck-at-1-10-fps/#2-is-octoprint-running-on-a-raspberry-pi

They have their reasons, but with all the other boards selling now, they are really limiting their market.

Pneumanifest avatar Apr 06 '23 16:04 Pneumanifest

Man this is upsetting, CB1 should be supported.

illspirit avatar Mar 14 '24 22:03 illspirit

Man this is upsetting, CB1 should be supported.

It's not the CB1 that doesn't support it, it's Obico not supporting video for non raspberry pi devices. Try out OctoEverywhere you can fully access your machine from anywhere and it streams video fine from the CB1. It also has an AI failure detection.

Pneumanifest avatar Mar 15 '24 04:03 Pneumanifest