-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rtsp fails on connection (raspberry) #11
Comments
rtsp crashes after an initial connection (see #9) but the system service restarts it. But initial connection and streaming should work just fine - i've tested it with gstreamer and vlc clients on multiple platforms. Need logs to see what might be the problem. |
Yes, the failure in #9 is inline with what I was seeing last night, however failure was occuring on the first connect attempt. |
Example log of failure when connecting to a RTSP stream (picam with pi3b+)
|
Looks like the pi is failing to allocate memory... Feb 25 12:39:00 maverick-raspberrylite kernel: bcm2835-codec bcm2835-codec: dma_alloc_coherent of size 1384448 failed adding |
I've never seen that before on any rpi i've had, very odd. Have you updated the firmware recently? I can't remember if that still needs an |
Without setting cma=256M in cmdline.txt, what is it set to?
|
with cma=256M in cmdline.txt C/G is 896/128
|
without cma=256M
note: same split in maverick info |
How odd. My rpi4 with 2gb has 256 already set. Wonder if it's set dynamically according to the model. |
note this is brand new pi3b+ fresh out the box... I'll run |
after
clearly visiond fails with this config. |
At a minimum we can look for the issue and let the user know. Otherwise we can set the value in |
Very odd. i developed visiond rtsp on a pi3b. I'll look further into it. |
For what it is worth I was reading this issue when I found the
possible that as |
perhaps its related to the lite build over the full desktop build? |
v.interesting. That comment says the default for pi4 is 256, pi0-3 is 8. Could you try setting to 32 or 64, and see if that works? |
working with
|
Thanks, hopefully there's some way of fixing this without having to set cma. Will look into it. |
Testing last night on the webrtc-dev branch
default settings
pi3b+ with picam
rtsp pipeline was created OK
rtsp pipeline fails on connection
Logs to come tonight
The text was updated successfully, but these errors were encountered: