Go Back   Home > Forums > >
Home Forums Rules Articles diyAudio Store Blogs Gallery Wiki Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

PC Based Computer music servers, crossovers, and equalization

Chord 2qute and my DOP challenge
Chord 2qute and my DOP challenge
Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 30th July 2017, 09:45 PM   #1
michaelvv is offline michaelvv  Denmark
diyAudio Member
 
Join Date: Jan 2014
Default Chord 2qute and my DOP challenge

I have this DAC and as a lot of people I have some serious trouble with streaming DOP (DSD OVER PCM) using Linux and MPD or Squeezelite.

Just google "chord 2qute hiccups".

After more than 1 week installing MPD , Squeezelite on 5 different PC's (3 Laptops and Odroid C1+ and wandboard Dual) and several AUDIO distro , homebrew Arch Linux I found a setup which is quite stable.

My problem was/is that I get these annoying hiccpus (1-2 seconds) stops when I play DOP, and only DOP, all other formats is 100% okay.

The most stable setup right now is my wandboard Dual with an Arch Linux 4.12.3-1-ARCH #1 SMP, and the GitHub - ralph-irving/squeezelite: Lightweight headless squeezebox client emulator git version.

The best setup for squeezelite is the following :

Code:
/usr/bin/squeezelite -o front:CARD=D2Qute,DEV=0 -n michael -a    0 -b 25000 50000 -D -p 95 -s 172.16.0.93
Of course It could change when I have done more testing.


What I can see that made a difference I the following.

1) YOU NEED A ROCK STEADY NETWORK, as your Chord need DATA every single ms , else it goes from white to blue/red and drops DOP mode.

2) The Irq Rate on your linux distro is crucial. On my Odroid C1+ ,it got 7-8000 irqs/sec on USB (piece of crap) AND I can only play for 15-25 mins without these fall outs.

3) A decent CPU for the job, I have tried with a Intel Atom N450 it lack the processing power.

Things I can see which works on my best player so far (Wandboard DUAL).

It have a decent network speed better that my Odroid C1+ , iperf3 says

Code:
Connecting to host 172.16.0.90, port 5201
[  4] local 172.16.0.19 port 60342 connected to 172.16.0.90 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec  58.5 MBytes   490 Mbits/sec    0    370 KBytes       
[  4]   1.00-2.00   sec  59.2 MBytes   497 Mbits/sec    0    433 KBytes       
[  4]   2.00-3.00   sec  59.5 MBytes   499 Mbits/sec    0    454 KBytes       
[  4]   3.00-4.00   sec  59.4 MBytes   497 Mbits/sec    0    454 KBytes       
[  4]   4.00-5.00   sec  58.5 MBytes   493 Mbits/sec    0    454 KBytes       
[  4]   5.00-6.00   sec  59.2 MBytes   497 Mbits/sec    0    454 KBytes       
[  4]   6.00-7.00   sec  59.4 MBytes   498 Mbits/sec    0    454 KBytes       
[  4]   7.00-8.00   sec  59.2 MBytes   497 Mbits/sec    0    454 KBytes       
[  4]   8.00-9.00   sec  59.8 MBytes   501 Mbits/sec    0    454 KBytes       
[  4]   9.00-10.00  sec  59.0 MBytes   496 Mbits/sec    0    454 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec   592 MBytes   496 Mbits/sec    0             sender
[  4]   0.00-10.00  sec   591 MBytes   495 Mbits/sec                  receiver

iperf Done.
4) It have low rates of interrupts cat /proc/interrupts about ca
315/sec for USB and 95/sec for network, this is really the only difference between the faster odroid C1+ which gives me constantly hiccups.


I haven't had the same luck with MPD it gives me hiccups a couple of times every hour, still trying to see if I can do something with it.

If you have a Chord 2Qute DAC or other very problematic DOP DACs feel free to comment.
  Reply With Quote
Old 30th July 2017, 09:59 PM   #2
michaelvv is offline michaelvv  Denmark
diyAudio Member
 
Join Date: Jan 2014
Normally I can play for hours (really a joke) but It's a long time DOP on the Chord without issues.

I'm monitoring in cron every min to see If something unusual is happening.

Top

Chord 2qute and my DOP challenge


cronlogs every min

Chord 2qute and my DOP challenge


Quite rocket science but things need to be right for DOP over network with the Chord 2Qute.
  Reply With Quote
Old 31st July 2017, 05:33 AM   #3
phofman is offline phofman  Czech Republic
diyAudio Member
 
Join Date: Apr 2005
Location: Pilsen
Since so many people complain only about the 2qute version, IMO the chord USB2 firmware is buggy. It is actually quite common, many manufacturers have bugs in their USB-audio protocol implementation.

8k irqs/s is exactly one IRQ per every USB2 frame (125us).

The problem was never reported to the alsa-devel mailing list (linux audio system) so that developers could have a look if it could be fixed with some quirk in the driver https://www.google.com/search?num=30...rd+%222qute%22 like many other non-complying USB audio devices http://elixir.free-electrons.com/lin...d/usb/quirks.c

If you really want to help (to yourself and other 2qute owners), I can guide you through reporting the problem. Normally it is job of the manufacturer but they hardly care - you already gave them your money.
  Reply With Quote
Old 31st July 2017, 12:39 PM   #4
michaelvv is offline michaelvv  Denmark
diyAudio Member
 
Join Date: Jan 2014
Hi Phofman.

I'm very interested to get help , as It's not working, I have these hiccups on DOP...

What do you need. You help would be very very appreciated.
  Reply With Quote
Old 1st August 2017, 08:49 AM   #5
phofman is offline phofman  Czech Republic
diyAudio Member
 
Join Date: Apr 2005
Location: Pilsen
Sorry busy now, I will write more tomorrow.
  Reply With Quote
Old 1st August 2017, 10:57 AM   #6
michaelvv is offline michaelvv  Denmark
diyAudio Member
 
Join Date: Jan 2014
Look forward to all the help i can get.

The ubuntu 16.4 LTS kernel 4.4.0-62 is the best so far, but It still have issues.

But at least an improvement.
  Reply With Quote
Old 2nd August 2017, 09:19 AM   #7
phofman is offline phofman  Czech Republic
diyAudio Member
 
Join Date: Apr 2005
Location: Pilsen
I do not guarantee alsa devs will fix the issue, but we can try. If they suggest a patch to test, you will need to recompile the kernel with the patch. Are you ok with that?

First we should gather info for the initial mail. Please post here output of the alsa-info.sh script as described in https://www.alsa-project.org/main/in.../Help_To_Debug
  Reply With Quote
Old 2nd August 2017, 10:19 AM   #8
michaelvv is offline michaelvv  Denmark
diyAudio Member
 
Join Date: Jan 2014
Hi..

Just tell me what to do :-)

This is from the best most stable driver I can find, If you need Info from a newer Linux
just let me know.

Its a while since recompiled Linux Kernel but I think I'll find out...

info is here : http://www.fyn13.dk/diy/alsa_output_...e_4.4.0-62.txt

Thanks Michael.
  Reply With Quote
Old 2nd August 2017, 10:36 AM   #9
phofman is offline phofman  Czech Republic
diyAudio Member
 
Join Date: Apr 2005
Location: Pilsen
Great. Let's add detailed lsusb info provided by your dac:

sudo lsusb -v -d 245f:1213

Then we need contents of the kernel virtual file /proc/asound/card1/pcm0p/sub0/hw_params (card1 should be your usb dac - the index is listed in aplay -l) for two cases:

1) while PCM samples are being played (playback OK)

2) while DSD (DoP) samples are being played (playback stutters)

Also the usb IRQ rate for the two cases above would be useful - e.g. command

Code:
watch -n 1 'cat /proc/interrupts | grep -i usb'
  Reply With Quote
Old 2nd August 2017, 10:48 AM   #10
phofman is offline phofman  Czech Republic
diyAudio Member
 
Join Date: Apr 2005
Location: Pilsen
Actually for the first case please play a 176.4/24 track so that the samples are identical to the DoP format. You can make one e.g. with sox

Code:
sox -V inputfile.flac -b 24 -r 176400 outputfile_176400_24.flac
  Reply With Quote

Reply


Chord 2qute and my DOP challengeHide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Audio-Next : True 768Khz 32 bits of SPDIF/I2S/Dop/DSD/SRC/ASRC !! kfshu2 Digital Line Level 25 13th March 2018 09:28 AM
DSD/DoP on Linux platform! MRswitch Digital Source 9 30th September 2017 09:09 AM
about DoP and SR conversion Alexwfm Digital Line Level 0 8th December 2013 11:49 PM
Chord with PIC's audioPT Solid State 5 7th April 2003 09:26 PM
chord amplifier ben goh Solid State 0 13th January 2003 11:42 PM


New To Site? Need Help?

All times are GMT. The time now is 11:16 AM.


Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 15.79%
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
Copyright ©1999-2018 diyAudio
Wiki