Closed GoogleCodeExporter closed 9 years ago
also the softfloat version show these symptoms...
Original comment by enpon...@gmail.com
on 25 Dec 2012 at 1:07
Can you post the output of starting with "-d output=debug" added to the command
line?
Original comment by trio...@btinternet.com
on 25 Dec 2012 at 6:44
[20:58:10.013683] output_init:932 init output
[20:58:10.015371] output_init:935 outputbuf size: 3528000
[20:58:10.056916] output_init:954 output: front:CARD=CODEC,DEV=0 maxrate: 48000
[20:58:10.057689] output_init:966 unable to set output sched fifo: Operation
not permitted
[20:58:10.067826] output_thread:326 open output device: front:CARD=CODEC,DEV=0
[20:58:10.072777] alsa_open:221 opened device front:CARD=CODEC,DEV=0 using
format: S16_LE sample rate: 44100
[20:58:10.073320] alsa_open:265 buffer time: 20045 period count: 4 buffer size:
884 period size: 221
[20:58:16.591905] output_thread:490 track start sample rate: 48000 replay_gain:
0
[20:58:16.592203] output_thread:326 open output device: front:CARD=CODEC,DEV=0
[20:58:16.607738] alsa_open:221 opened device front:CARD=CODEC,DEV=0 using
format: S16_LE sample rate: 48000
[20:58:16.608199] alsa_open:265 buffer time: 20000 period count: 4 buffer size:
960 period size: 240
Original comment by ulrik...@gmail.com
on 25 Dec 2012 at 8:59
previous comment was from me and noone else...
Original comment by enpon...@gmail.com
on 25 Dec 2012 at 9:02
does 44100 work on this setting - the problem is only with 48000 sample rates?
what happens if you use -o plughw:CARD=CODEC
Original comment by trio...@btinternet.com
on 25 Dec 2012 at 9:11
[20:58:10.013683] output_init:932 init output
[20:58:10.015371] output_init:935 outputbuf size: 3528000
[20:58:10.056916] output_init:954 output: front:CARD=CODEC,DEV=0 maxrate: 48000
[20:58:10.057689] output_init:966 unable to set output sched fifo: Operation
not permitted
[20:58:10.067826] output_thread:326 open output device: front:CARD=CODEC,DEV=0
[20:58:10.072777] alsa_open:221 opened device front:CARD=CODEC,DEV=0 using
format: S16_LE sample rate: 44100
[20:58:10.073320] alsa_open:265 buffer time: 20045 period count: 4 buffer size:
884 period size: 221
[20:58:16.591905] output_thread:490 track start sample rate: 48000 replay_gain:
0
[20:58:16.592203] output_thread:326 open output device: front:CARD=CODEC,DEV=0
[20:58:16.607738] alsa_open:221 opened device front:CARD=CODEC,DEV=0 using
format: S16_LE sample rate: 48000
[20:58:16.608199] alsa_open:265 buffer time: 20000 period count: 4 buffer size:
960 period size: 240
[21:24:22.849863] output_init:932 init output
[21:24:22.851649] output_init:935 outputbuf size: 3528000
[21:24:22.893660] output_init:954 output: front:CARD=CODEC,DEV=0 maxrate: 48000
[21:24:22.894386] output_init:966 unable to set output sched fifo: Operation
not permitted
[21:24:22.897820] output_thread:326 open output device: front:CARD=CODEC,DEV=0
[21:24:22.904759] alsa_open:221 opened device front:CARD=CODEC,DEV=0 using forma
t: S16_LE sample rate: 44100
[21:24:22.905349] alsa_open:265 buffer time: 20045 period count: 4 buffer size:
884 period size: 221
[21:36:20.511430] output_init:932 init output
[21:36:20.513025] output_init:935 outputbuf size: 3528000
[21:36:20.530157] output_init:954 output: plughw:CARD=CODEC maxrate: 192000
[21:36:20.530808] output_init:966 unable to set output sched fifo: Operation not
permitted
[21:36:20.537775] output_thread:326 open output device: plughw:CARD=CODEC
[21:36:20.545850] alsa_open:221 opened device plughw:CARD=CODEC using format: S3
2_LE sample rate: 44100
[21:36:20.552045] alsa_open:265 buffer time: 20045 period count: 4 buffer size:
884 period size: 221
[21:36:31.678050] output_thread:490 track start sample rate: 48000 replay_gain:
0
[21:36:31.678363] output_thread:326 open output device: plughw:CARD=CODEC
[21:36:31.684931] alsa_open:221 opened device plughw:CARD=CODEC using format:
S32_LE sample rate: 48000
[21:36:31.687254] alsa_open:265 buffer time: 20000 period count: 4 buffer size:
960 period size: 240
[21:37:11.172729] output_thread:490 track start sample rate: 48000 replay_gain:
0
[21:38:13.033843] output_init:932 init output
[21:38:13.035629] output_init:935 outputbuf size: 3528000
[21:38:13.051593] output_init:954 output: plughw:CARD=CODEC maxrate: 192000
[21:38:13.052301] output_init:966 unable to set output sched fifo: Operation
not permitted
[21:38:13.057783] output_thread:326 open output device: plughw:CARD=CODEC
[21:38:13.067392] alsa_open:221 opened device plughw:CARD=CODEC using format:
S32_LE sample rate: 44100
[21:38:13.072627] alsa_open:265 buffer time: 20045 period count: 4 buffer size:
884 period size: 221
[21:38:23.593683] output_thread:490 track start sample rate: 48000 replay_gain:
0
[21:38:23.594000] output_thread:326 open output device: plughw:CARD=CODEC
[21:38:23.600917] alsa_open:221 opened device plughw:CARD=CODEC using format:
S32_LE sample rate: 48000
[21:38:23.603058] alsa_open:265 buffer time: 20000 period count: 4 buffer size:
960 period size: 240
...... still distorted signal
Original comment by enpon...@gmail.com
on 25 Dec 2012 at 9:41
i am truly sorry for disturbing the christmas celebrations (if you celebrate
that of course...)
Original comment by enpon...@gmail.com
on 25 Dec 2012 at 9:50
Hum - does the dac work with squeezelite on the other machine ok using
hw:CARD=CODEC?
Does it work ok on the default pi output device? I wonder if this is related
to the pi usb problems - 48000 needs higher data rate than 44100 but not by
much. Can you playback other 48000 material on the pi ok?
As a workaround you could compile your own squeezelite which forces the max
sample rate to 44100 which would cause the server to resample. Happy to
provide more details if this is something you want to try...
Original comment by trio...@btinternet.com
on 25 Dec 2012 at 9:53
ok i think that you definitely is onto something here. I have not had the time
to move the DAC to the other machine yet (i'll do that when i have the time),
but:
Playing the material through the default output device of the pi yields good
audio also at 48000. I have been trying to read through the available material
on the USB problems of the pi. Is it this one you are referring to ?
https://github.com/raspberrypi/firmware/issues/19
thanks for caring despite this being a busy time of the year
Original comment by enpon...@gmail.com
on 26 Dec 2012 at 8:32
Yes you have linked to the pi issues - it doesn't work at any frequency without
breakup with my dac - a usb async 1.1 device. Some people have success setting
the usb port to usb full speed only. I think you will find the config
somewhere on here: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=23544
Original comment by trio...@btinternet.com
on 26 Dec 2012 at 9:50
Can you confirm if this issue is still a problem. There are still well know
issues with Pi and many usb dacs, but some work ok. I want to make sure we
separate these issues from squeezelite issues.
Some dacs have been reported as working using the new -a ::16: option to force
16 bit output from squeezelite.
Original comment by trio...@btinternet.com
on 16 Jan 2013 at 10:58
have not tried that yet, but the problem persists with the latest and greatest
version. Setting dwc_otg.speed=1 in /boot/cmdline does however do the trick for
me, yielding good sound, i will investigate the "-a ::16:" variant as well.
Original comment by enpon...@gmail.com
on 19 Jan 2013 at 10:12
If changing the usb bus speed resolves, then this is a Pi/usb issue and not an
issue with squeezelite. Some people have seen the -a ::16: option improve this
- I believe it is due to reducing the bandwidth required as its using 16 not 24
bits.
However will close this issue as it doesn't sound to be with squeezelite
itself. Please reopen or open a new one if you still see it is with
squeezelite.
Original comment by trio...@btinternet.com
on 19 Jan 2013 at 10:27
Original issue reported on code.google.com by
enpon...@gmail.com
on 25 Dec 2012 at 10:29