RaspyFi - Topic: usb dac glitches http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/usb-dac-glitches/ Simple:Press Version 5.2.6 admin on usb dac glitches http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/usb-dac-glitches/#p651 RaspyFi install and troubleshooting http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/usb-dac-glitches/#p651 To make it clear: this is the RaspyFi forum... You're reporting errors with mopidy, I cannot tell you anything about that...
But you can see mopidy resamples to 48 khrtz...
So these problems are not raspyfi related, ask on mopidy forum...

]]>
Thu, 18 Jul 2013 18:34:16 +0200
migo on usb dac glitches http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/usb-dac-glitches/#p650 RaspyFi install and troubleshooting http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/usb-dac-glitches/#p650

admin said

So is spotify working for you?
Which DAC are you using?
Could you please paste the output of:
cat /proc/asound/card0/pcm0p/sub0/hw_params

Yeah spotify is working now through mopidy but with the occasional glitches.
output is:
access: MMAP_INTERLEAVED
format: S16_LE
subformat: STD
channels: 2
rate: 48000 (48000/1)
period_size: 1024
buffer_size: 16384
Divice is a HRT Microstreamer (async usb dac)

]]>
Thu, 18 Jul 2013 10:05:29 +0200
admin on usb dac glitches http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/usb-dac-glitches/#p637 RaspyFi install and troubleshooting http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/usb-dac-glitches/#p637 Yeah, nfs is not working as of now. The kernel update broke it

]]>
Mon, 15 Jul 2013 20:27:20 +0200
walls on usb dac glitches http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/usb-dac-glitches/#p636 RaspyFi install and troubleshooting http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/usb-dac-glitches/#p636 I was having similar problems whilst pulling music from an nfs (v4) share.

Surprisingly, when I swapped over to cifs (samba), the pops and clicks all disappeared - although I did set the rsize, wsize and cache options mentioned above.

]]>
Mon, 15 Jul 2013 19:22:24 +0200
admin on usb dac glitches http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/usb-dac-glitches/#p635 RaspyFi install and troubleshooting http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/usb-dac-glitches/#p635 So is spotify working for you?
Which DAC are you using?
Could you please paste the output of:
cat /proc/asound/card0/pcm0p/sub0/hw_params

]]>
Mon, 15 Jul 2013 16:15:14 +0200
migo on usb dac glitches http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/usb-dac-glitches/#p633 RaspyFi install and troubleshooting http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/usb-dac-glitches/#p633 Hi,

Thanx for the help.
I only updated to the newer kernel because I had glitches with the default kernel found in the beta. It didnt change the situation.
No I am only using spotifiy and will mostly like not go back to storing files locally again, so the NAS settings dont help I guess.

So its still glitching :) . Very infrequent btw. sometimes I dont hear a glitch for several songs, then its 5 glitches in a minute. Anyway apart from that I love the project and the sound, only one small thing to solve for me here.

migo

]]>
Mon, 15 Jul 2013 14:11:44 +0200
admin on usb dac glitches http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/usb-dac-glitches/#p629 RaspyFi install and troubleshooting http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/usb-dac-glitches/#p629

kew1 said

migo said
If anyone has any idea how to get rid of them please let me know, I would highly appreciate it.
migo

As much as I appreciate the work being done here, I have come to the conclusion that raspyfi is a solution in search of a problem. Using an ordinary raspbian image and installing mpd, alsa and samba achieves the same result with NO glitches. I've given up on raspyfi, so good luck to those who persevere with it.

Respect your point, developing on Raspberry Pi is quite challenging, because of the USB bus problems. So, if you found a better solution, good for you. We are trying to do something complete and user friendly, some hassle while reaching this is to be considered normal.
Sure you'll find all of the problems you reported to be solved on the 1.0 version.
If USB issues were solved on plain raspbian, is also thanks to all the users who tested and reported, some of them were using RaspyFi...
You can always help by telling what is working properly on Raspbian and what don't on RaspyFi

]]>
Mon, 15 Jul 2013 13:42:37 +0200
admin on usb dac glitches http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/usb-dac-glitches/#p628 RaspyFi install and troubleshooting http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/usb-dac-glitches/#p628

migo said

Hi,
I have installed the raspyfi beta, which I assume is the newer version, although RC assumes otherwises, please correct me if I am wrong.
It seemed to have the new Hexxeh firmware, but I did another update as described in the blog to get the current version from the fiq_split branch and am now on 3.8.13+.
I wanted to use the mpd that is preinstalled in the beta version, but I couldnt get spotify to work, so I installed mopidy on top and start that instead of the mpd service at boot time.
I have a HRT microstreamer attached and the sound is great BUT there are these occasional glitches (chops, cracks or whatever you want to call them) that are very loud and very annoying. They occur at least once a minute but can occur as often as 3 times one after another.
If anyone has any idea how to get rid of them please let me know, I would highly appreciate it.
I also have a decent power supply attached that has enough output Amps.
If I connect the HRT to my ubuntu 13.04 laptop running a 3.8.0 kernel it works flawlessly btw.
Thanks in advance,
migo

This is called beta because it is a preview of our 1.0 release, which will be the pinnacle of our coding so far...
I suggest you not to update to a newer kernel, since if you change some variables then we cannot know what is going wrong with your setup... Furthermore newest kernel sounds worse than the one you have in the beta.
As for the glitches, if you're using NAS, use these values:

Nas -fstype=cifs,file_mode=0777,dir_mode=0777,iocharset=utf8,sec=ntlm,rsize=2048,wsize=4096,cache=strict,username=pi,password= ://192.168.nasip/sharename

Let me know!

]]>
Mon, 15 Jul 2013 13:19:51 +0200
kew1 on usb dac glitches http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/usb-dac-glitches/#p624 RaspyFi install and troubleshooting http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/usb-dac-glitches/#p624

migo said
If anyone has any idea how to get rid of them please let me know, I would highly appreciate it.
migo

As much as I appreciate the work being done here, I have come to the conclusion that raspyfi is a solution in search of a problem. Using an ordinary raspbian image and installing mpd, alsa and samba achieves the same result with NO glitches. I've given up on raspyfi, so good luck to those who persevere with it.

]]>
Sun, 14 Jul 2013 14:03:47 +0200
Karli (guest) on usb dac glitches http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/usb-dac-glitches/#p622 RaspyFi install and troubleshooting http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/usb-dac-glitches/#p622 I might add that the HRT shows a light at 44k when playing under ubuntu and 48k when in raspberry.
I tried to play something with 96k from ubuntu and it failed miserably (continuous glitches) while it worked from the normal audio out.

I also found this https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1136110 .
This sounds like my issue might fixed in a new kernel?

]]>
Sat, 13 Jul 2013 19:19:42 +0200
migo on usb dac glitches http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/usb-dac-glitches/#p621 RaspyFi install and troubleshooting http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/usb-dac-glitches/#p621 Hi,

I have installed the raspyfi beta, which I assume is the newer version, although RC assumes otherwises, please correct me if I am wrong.
It seemed to have the new Hexxeh firmware, but I did another update as described in the blog to get the current version from the fiq_split branch and am now on 3.8.13+.
I wanted to use the mpd that is preinstalled in the beta version, but I couldnt get spotify to work, so I installed mopidy on top and start that instead of the mpd service at boot time.
I have a HRT microstreamer attached and the sound is great BUT there are these occasional glitches (chops, cracks or whatever you want to call them) that are very loud and very annoying. They occur at least once a minute but can occur as often as 3 times one after another.

If anyone has any idea how to get rid of them please let me know, I would highly appreciate it.
I also have a decent power supply attached that has enough output Amps.

If I connect the HRT to my ubuntu 13.04 laptop running a 3.8.0 kernel it works flawlessly btw.

Thanks in advance,
migo

]]>
Sat, 13 Jul 2013 15:33:38 +0200