News:

LATEST RELEASE:  FPP 8.0 - Download from here - https://github.com/FalconChristmas/fpp/releases/tag/8.0

+-+-

+-User

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+-Site Stats

Members
Total Members: 16528
Latest: fugley
New This Month: 16
New This Week: 1
New Today: 1
Stats
Total Posts: 133171
Total Topics: 16554
Most Online Today: 87
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 0
Guests: 16
Total: 16

Audio Issue with Pi Zero 2 W

Started by robbiet, July 14, 2024, 11:48:16 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

robbiet

Hi All.  I am running FPP 7.5 on a Pi Zero 2 W with a 64GB SD card and the new Kulp K2-Pi0 cape installed.  I'm running a basic media only single track playlist on repeat but the playlist is failing to load after a couple of loops.  Here is what I am seeing in the FPPD logs.  The track is a 4 minute MP3.  Any advice?  Is this a bug or do I need to change a setting?


2024-07-14 13:24:00.419 (2094) [MediaOut] /opt/fpp/src/mediaoutput/SDLOut.cpp:1151: Audio has stalled   0
2024-07-14 13:24:00.428 (2188) [MediaOut] /opt/fpp/src/mediaoutput/SDLOut.cpp:274: Stalled audio, buffers still filling.
2024-07-14 13:24:00.429 (2188) [MediaOut] /opt/fpp/src/mediaoutput/SDLOut.cpp:274: Stalled audio, buffers still filling.
2024-07-14 13:24:00.430 (2188) [MediaOut] /opt/fpp/src/mediaoutput/SDLOut.cpp:274: Stalled audio, buffers still filling.
2024-07-14 13:24:00.431 (2188) [MediaOut] /opt/fpp/src/mediaoutput/SDLOut.cpp:274: Stalled audio, buffers still filling.
2024-07-14 13:24:00.458 (2188) [MediaOut] /opt/fpp/src/mediaoutput/SDLOut.cpp:274: Stalled audio, buffers still filling.
2024-07-14 13:24:00.458 (2188) [MediaOut] /opt/fpp/src/mediaoutput/SDLOut.cpp:274: Stalled audio, buffers still filling.
2024-07-14 13:24:00.460 (2188) [MediaOut] /opt/fpp/src/mediaoutput/SDLOut.cpp:274: Stalled audio, buffers still filling.
2024-07-14 13:24:00.460 (2188) [MediaOut] /opt/fpp/src/mediaoutput/SDLOut.cpp:274: Stalled audio, buffers still filling.
2024-07-14 13:24:00.487 (2188) [MediaOut] /opt/fpp/src/mediaoutput/SDLOut.cpp:274: Stalled audio, buffers still filling.
2024-07-14 13:24:00.487 (2188) [MediaOut] /opt/fpp/src/mediaoutput/SDLOut.cpp:274: Stalled audio, buffers still filling.
2024-07-14 13:24:00.927 (2094) [MediaOut] /opt/fpp/src/mediaoutput/SDLOut.cpp:1151: Audio has stalled   0
2024-07-14 13:24:01.431 (2094) [MediaOut] /opt/fpp/src/mediaoutput/SDLOut.cpp:1151: Audio has stalled   0
2024-07-14 13:24:01.935 (2094) [MediaOut] /opt/fpp/src/mediaoutput/SDLOut.cpp:1151: Audio has stalled   0
2024-07-14 13:24:02.439 (2094) [MediaOut] /opt/fpp/src/mediaoutput/SDLOut.cpp:1151: Audio has stalled   0
2024-07-14 13:24:02.944 (2094) [MediaOut] /opt/fpp/src/mediaoutput/SDLOut.cpp:1151: Audio has stalled   0
2024-07-14 13:24:03.448 (2094) [MediaOut] /opt/fpp/src/mediaoutput/SDLOut.cpp:1151: Audio has stalled   0
2024-07-14 13:24:03.952 (2094) [MediaOut] /opt/fpp/src/mediaoutput/SDLOut.cpp:1151: Audio has stalled   0
...


robbiet

I should also mention that I have to reboot once this happens in order to be able to start a playlist again.

robbiet

I was able to resolve my issue. The Pi Zero does not provide enough power to the Soundblaster Play 3 which was causing FPP to freeze after playing a couple sequences. I purchased a micro-usb splitter off amazon that allows me to inject power instead of pulling through the Pi. Link below:

Micro USB Splitter Cable OTG... https://www.amazon.com/dp/B07XMPYRP9?ref=ppx_pop_mob_ap_share


Sent from my iPhone using Tapatalk

Poporacer

Quote from: robbiet on July 23, 2024, 05:47:36 AMThe Pi Zero does not provide enough power to the Soundblaster Play 3
How were you powering the Pi Zero?

Glad you got it working.
If to err is human, I am more human than most people.

robbiet

Ah. I spoke too soon. It looked like it was fixed as it ran longer than any previous attempts. However, after testing several times, it seems to fail anywhere between 20-30 minutes after the last reboot. Back to the drawing board.


Sent from my iPhone using Tapatalk

robbiet

It doesn't look to be a power issue. I am powering the Pi from the Kulp cape. I'm supplying 12v to the cape from a 100w meanwell power supply.

https://kulplights.com/product/k2-pi0/


Sent from my iPhone using Tapatalk

breese

Can you post your log files so everyone can take a look?

darylc

Every case I've seen of stalled audio with sound blasters has been fixed with a powered usb hub.  If that is not the case here then I don't know what to suggest.

robbiet

I did try the powered USB splitter mentioned above but that did not work. Here is a powered hub I found on Amazon, but I don't see how this would work any differently.  It just has multiple USB ports.

https://a.co/d/3C60CLG

Is there a hub that someone has confirmed will fix this issue?


Sent from my iPhone using Tapatalk

MikeKrebs

I don't know about the "right one". When they say powered hub, they mean a hub with separate power supply. So, if you power the hub via the micro usb power plug from a separate power source, that would be an acceptable one.

breese


robbiet

Ok. Ordered a powered hub to try. Will plan to submit the issue for developers if this does not work. Thanks all. Will report my findings.


Sent from my iPhone using Tapatalk

robbiet

Just wanted to confirm that everything is working when using a hub. I don't know if it has to do with the pi not providing enough power or if there is additional processing in the hub that makes it work. Like I mentioned earlier, I first tried injecting additional power with the usb splitter but that did not fix the issue. Obviously the hub is cleaning things up somehow. Is this something that should be fixed in FPP to avoid requiring a hub?


Sent from my iPhone using Tapatalk

k6ccc

I'm going with a lack of power issue.  Computers in general are rather limited on power availability via a USB port, and I can well imagine that a PiZero would be on the low end in that regard.  For all practical purposes, I only use powered USB hubs.  And anything that is going to draw much power goes via a hub.
Using LOR (mostly SuperStar) for all sequencing - using FPP only to drive P5 and P10 panels.
My show website:  http://newburghlights.org

Jim

jnealand

I also say it is a lack of power.  This is an issue that has come up for years and a separtely powered hub always fixes the issue.  Years ago there were issues with Beagle Bone for a similar power issue.  I still power my BBB separately from panels and an Octoplus.
Jim Nealand
Kennesaw, GA all Falcon controllers, all 12v Master Remote Multisync with Pi and BBB P10 and P5

Support FPP

+- Recent Topics

K2-Pi0 Unable to Start FPPD by k6ccc
Today at 10:45:21 PM

Control lights directly from the GPIO of a PI by Poporacer
Today at 12:25:42 PM

New K16s by dkulp
Today at 08:23:40 AM

FPP After Hours Music Plugin has been updated by jcross
September 14, 2024, 08:49:51 PM

Intermittent Test Pattern failure on Channel Outputs > LED Panel by k6ccc
September 14, 2024, 08:11:30 PM

P5 Matrix on FPP 8.0 help by darylc
September 14, 2024, 07:09:50 PM

Does the Falcon f16v4 support TM1814 RGBW LEDs? by JonD
September 14, 2024, 03:12:11 PM

Does the Falcon f16v3 support TM1814 RGBW LEDs? by ric878
September 14, 2024, 01:53:57 PM

USB Monitor (AIDA64 Style) by jnealand
September 14, 2024, 08:39:50 AM

What am I missing - FPP 8 artnet input configuration by jnealand
September 14, 2024, 08:32:21 AM

Powered by EzPortal
Powered by SMFPacks Menu Editor Mod