-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Rpi3: USB-Audio: no fault indication when faulting #589
Comments
Tried the same on RPi. To me this seems like the usb driver loosing sync when packets are dropped, as hinted by #197. There also seems to be an dependence on my method of reading the audio from the USB interface. |
Have you tried with |
I solved my acute problem by changing the sound concept for the ongoing project (an art installation) fundamentally. This removes my pressure for time on this. If you just want to close this - no problem with me. --Test again. Result: no change. The gst-launch process does not see either event (fizzle and off) as error. test again with different USB sound device. changing test specifications: create some interrupt load: (sudo ls -lR / in an ssh session oder wired ether) Still stable regarding fizzle-out. Btw:
|
For posterity, this was likely fixed recently as there was a bug with 44.1kHz USB playback. Noname devices typically only support 48kHz rates which don't exhibit the issue. |
Context:
Rpi3, Power: Lab bench power supply feeding 5.3V to header pins, ethernet+wifi enabled.
processor temperature: Seek Thermal flir estimates 46°C, index finger not burned => within limits.
approximate load average: 0.18, 0.48, 0.58
pi@audio-transmit-pi:~ $ uname -a
Linux audio-transmit-pi 4.4.7-v7+ #877 SMP Sun Apr 17 12:48:36 BST 2016 armv7l GNU/Linux
pi@audio-transmit-pi:~ $ lsusb
Bus 001 Device 004: ID 08bb:2902 Texas Instruments PCM2902 Audio Codec
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
steps to reproduce:
/usr/bin/gst-launch-1.0 -v alsasrc device=plughw:CODEC ! "audio/x-raw,rate=48000,channels=2" ! audioconvert ! alsasink
and wait a while.
variants tried:
observations:
-- but the audio recovers from that
-- never recovers
When run in strace, the patter scrolling across the screen, does not change when the audio stops.
The lower the sample rate, the longer the time between "works" and "nope, not any longer" seems to be (but my measurements are to few to give a statistically relevant sample).
my conclusions: I am missing something of the USB-audio thingy does not work (not mutually exclusive, it appears).
Perusing the issue tracker I came across #197 and that seemed to explain a lot.
But that issue was fixed long ago.
additional notes:
such a playthrough is obviously silly, but it is only part of what I am working on, obviously. I just use this simplified example to exclude as much environment as possible.
Goal is to record from the input device and stream the audio over WiFi (reliable Multicast, tbd.)
What really puzzles me is the fact, that when the audio fizzles out and when it stops working entirely, the gstreamer process gets no indication whatsoever. The device(s) seems to function normally.
I also do not see anything in the logs; with an earlier firmware I saw messages about possibly lost data; these are gone after rpi-update.
I am new to debugging driver issues on the RasPi, so whichever friendly person takes a shot at this will have to guide me; I am not new to debugging in general (neither hardware not software).
Please tell me what to measure so we can get to the bottom of this. Or at least deep enough for a fix.
merci
hase
The text was updated successfully, but these errors were encountered: