#Fresh install and C615 is at 2fps

71 messages · Page 1 of 1 (latest)

patent vessel
#

Hello! I recently did a fresh install of klipper, mainsail, and crowsnest after the install i found my C615 is running at about 3 fps at 640x480. Before the fresh install I had no issues with frames or resolution. Any help is appreciated thank you!

spring thicket
#

Wrong place for your custom_flags

#

Also your screenshot you shared in your first message, differs from the config shown in your log

patent vessel
#

My apologies, the custom flag was removed after the log was created since I read in another post that YUYV limits the fps to 5 so I thought I would try removing it and no change.

spring thicket
#

The thing I sent, is from your log

#

The custom_flag is still wrong at that place

#

Place it at the bottom of your cam section. There are no custom_flags for the crowsnest section

#

It will only limit your fps, if your log says that it will limit it. Your log clearly states, that it will run with 30 fps in YUYV mode

#

Sometimes you need to use YUYV to get high fps. Especially with those logitech cams

patent vessel
#

Ohhh I understand now my apologies

patent vessel
#

ok sorry i was at work, ive moved the custom_flag to cam 1 instead of corwsnest with no real change.

spring thicket
#

Send again a log

patent vessel
patent vessel
#

sorry for the dealy, ive followed the guide and get a connecting status when set to WEBRTC

nova pond
spring thicket
nova pond
#

it’s a usb cam, does it really have webrtc?

spring thicket
#

No, but the Pi can still creat a WebRTC stream

#

The problem here is something else known

#

Add following to your /boot/firmware/config.txt:

[pi4]
gpu_mem=128```
nova pond
#

to be fair recently crowsnest is performing absolute dog

spring thicket
#

For whatever reason the Pi4 and CM4 have problems with WebRTC on Bookworm, if you don't manually increase the gpu_mem

nova pond
#

i run it on a 2021 dell laptop and im getting like 3fps now also after a fresh install

#

i could get solid 15 on my rpi

#

so something changed

spring thicket
nova pond
#

ustreamer

spring thicket
#

Check this out

#

It's another weird issue, that we cannot narrow down

nova pond
#

it worked in my pi 4 then a fresh install with same config didn’t work so i assume something changed

#

is the python rewrite working state?

spring thicket
#

Yes, using it myself

nova pond
#

i’ve tried yuyv too

spring thicket
nova pond
#

ignore that part as also fresh install on pi killed performance, just saying it’s something with crowsnest or a dependency of it

spring thicket
#

As an overall statement, we cannot guarantee performance of other peoples software. We cannot optimize them and I will not fix them, besides cs that still not get an update to fix it's building issue.
I'm working on my own solution, but that will still take time and will most likely be pretty bad ^^

nova pond
#

if i make the cam stream manually can i make mainsail connect to the webrtc stream

spring thicket
#

Like I said, it's an issue for another post, that we do not spam this post 🙈
Overall Mainsail doesn't care where a stream comes from, as long as you got a service for it. Currently it only supports three WebRTC types: go2rtc, MediaMTX and Camera-Streamer.
Those three handle connections differently therefore it needed different services. WebRTC != WebRTC (sadly)

nova pond
#

ok that was my last this-post question anyway

spring thicket
patent vessel
#

It was a good read, I’ll bump the memory

patent vessel
#

i keep getting an access denied when remoted in to change or replace the fgile

#

well tried elevating user permission and it still did not let me edit the config.txt file

spring thicket
#

What command did you use?

patent vessel
#

I made a new user undrr an admin group to try

#

Since my commands to elevate the current user wouldn’t take

#

Ran this and followed the prompts but still would let me edit the file after sudo adduser admin

#

I also ran another that I won’t lie I already forgot but it was to allow the current user to edit, delete and execute the file

spring thicket
#

sudo adduser admin
This would already need the rights to edit the files

#

Just run sudo nano /boot/firmware/config.txt

#

Don't create new users or such things

#

If you cannot edit it with /boot/firmware/config.txt, send the error

#

btw sudo adduser admin doesn't do anything that makes sense. This would just create a new user called admin

patent vessel
#

Ahh gotcha

patent vessel
#

do i excecute after editing

#

or just exit?

#

nevermind i figured it out, it took the change in the config.txt

#

still getting the same connecting icon

spring thicket
#

Sry, forgot to mention you need to reboot

patent vessel
#

Even after reboot still seeong connecting

spring thicket
#

Set log_level: debug and delete_log: true and send a new log

#

Btw you should not at the thing I sent right in the middle of the file but at the end

#

I mean in the /boot/firmware/config.txt

patent vessel
#

Roger, I do have to put this on a hold since I am traveling for a bit, do you want me to close this ticket and open a new one later?

spring thicket
#

Best would be to reopen this later, when you are back. We can keep it open maybe, if no one will close it in the meantime.
If you cannot find it later, then just open a new one, if this one got closed