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 2nd August 2017, 11:25 AM   #11
michaelvv is offline michaelvv  Denmark
diyAudio Member
 
Join Date: Jan 2014
Hi

first sudo lsusb -v -d 245f:1213
http://www.fyn13.dk/diy/chord_lsusb.txt

Okay , SHALL I install a more unstable kernel version for instance the Arch Manjaro 4.12 , as it could
take quite some time to see these hiccups under the ubuntu 16.4 LTS kernel 4.4.0-62 ???
  Reply With Quote
Old 2nd August 2017, 01:39 PM   #12
phofman is offline phofman  Czech Republic
diyAudio Member
 
Join Date: Apr 2005
Location: Pilsen
The newer the kernel (closer to the actual development branch of alsa), the better.

Please also include output of /proc/asound/card1/stream0 for both cases so that we see stream details.

Last edited by phofman; 2nd August 2017 at 01:44 PM.
  Reply With Quote
Old 2nd August 2017, 01:54 PM   #13
michaelvv is offline michaelvv  Denmark
diyAudio Member
 
Join Date: Jan 2014
I'll post these infos ASAP, hopefully later today.
  Reply With Quote
Old 3rd August 2017, 08:32 AM   #14
michaelvv is offline michaelvv  Denmark
diyAudio Member
 
Join Date: Jan 2014
Hi.

I'm on the troubled setup right now , so first the ALSA info
http://www.fyn13.dk/diy/alsa_output_...ch_manjaro.txt.

Okay then I did the sudo lsusb -v -d 245f:1213 just in case there should be a difference.
http://www.fyn13.dk/diy/chord_lsusb_manjaro.txt.

It's difficult to get an output for the playback stutters mode as It happens just 1-2 secs once in a while.
But this is the output playing DOP right now.

/proc/asound/card1/pcm0p/sub0/hw_params
Code:
access: MMAP_INTERLEAVED
format: S32_LE
subformat: STD
channels: 2
rate: 176400 (176400/1)
period_size: 3528
buffer_size: 14112
Interrupts are quite many this if from /proc/interrupts

Code:
            CPU0       CPU1       CPU2       CPU3       
   0:         27          0          0          0  IR-IO-APIC    2-edge      timer
   1:          0          0          8          1  IR-IO-APIC    1-edge      i8042
   8:          0          0          0          1  IR-IO-APIC    8-edge      rtc0
   9:        118          2          3         22  IR-IO-APIC    9-fasteoi   acpi
  12:         76         15         36         13  IR-IO-APIC   12-edge      i8042
  16:          0          0          0          0  IR-IO-APIC   16-fasteoi   i801_smbus
 120:          0          0          0          0  DMAR-MSI    0-edge      dmar0
 121:          0          0          0          0  DMAR-MSI    1-edge      dmar1
 122:     578570      14804   10392372      55692  IR-PCI-MSI 327680-edge      xhci_hcd
 123:       5034       1042       5925       1015  IR-PCI-MSI 376832-edge      ahci[0000:00:17.0]
 124:         29          0          0          3  IR-PCI-MSI 360448-edge      mei_me
 125:     141891       7519     929772      13344  IR-PCI-MSI 524288-edge      enp1s0
 126:        149         19        119         40  IR-PCI-MSI 32768-edge      i915
 127:       6475        116      14631        156  IR-PCI-MSI 1048576-edge      ath10k_pci
 128:        296        188        195        303  IR-PCI-MSI 514048-edge      snd_hda_intel:card0
 NMI:          0          0          0          0   Non-maskable interrupts
 LOC:      18922      20758      50542      10558   Local timer interrupts
 SPU:          0          0          0          0   Spurious interrupts
 PMI:          0          0          0          0   Performance monitoring interrupts
 IWI:          0          0          0          0   IRQ work interrupts
 RTR:          3          0          0          0   APIC ICR read retries
 RES:       1560       1298       2482        838   Rescheduling interrupts
 CAL:       1231       1574       1371       1607   Function call interrupts
 TLB:         86         74         73         67   TLB shootdowns
 TRM:          0          0          0          0   Thermal event interrupts
 THR:          0          0          0          0   Threshold APIC interrupts
 DFR:          0          0          0          0   Deferred Error APIC interrupts
 MCE:          0          0          0          0   Machine check exceptions
 MCP:          6          6          6          6   Machine check polls
 ERR:          0
 MIS:          0
 PIN:          0          0          0          0   Posted-interrupt notification event
 PIW:          0          0          0          0   Posted-interrupt wakeup event
If you need more info , just ask ...

Thanks Michael.

Last edited by michaelvv; 3rd August 2017 at 08:52 AM.
  Reply With Quote
Old 3rd August 2017, 08:57 AM   #15
phofman is offline phofman  Czech Republic
diyAudio Member
 
Join Date: Apr 2005
Location: Pilsen
Thanks. You do not have to copy the files at the very moment the playback stutters, it was meant "during the playback mode which produces the glitches".

For the interrupts we need the irqs per second - just take two values 1 second apart for xhci (while playing) and subtract them - approximate figure is fine.
  Reply With Quote
Old 3rd August 2017, 09:23 AM   #16
michaelvv is offline michaelvv  Denmark
diyAudio Member
 
Join Date: Jan 2014
This is irqs beetween 30 sec.

Code:
122:    1197337      24872   24949728      65840  IR-PCI-MSI 327680-edge      xhci_hcd
122:    1200003      24924   25187222      65886  IR-PCI-MSI 327680-edge      xhci_hcd
(1200003+24924+25187222+65886)-(1197337+24872+24949728+65840) = 240258/30 = 8008 irq /secs.
  Reply With Quote
Old 3rd August 2017, 09:29 AM   #17
phofman is offline phofman  Czech Republic
diyAudio Member
 
Join Date: Apr 2005
Location: Pilsen
Good, and the irq/sec for the no-glitches PCM 176.4/24 mode?

Please post the stream0 and hw_params files for both modes too.
  Reply With Quote
Old 3rd August 2017, 09:34 AM   #18
michaelvv is offline michaelvv  Denmark
diyAudio Member
 
Join Date: Jan 2014
Another thing to be aware of is that LMS (with squeezelite) is at least 10-20 times less frequent in these hiccups than MPD.

I'll play a little on the MPD just to provoke the hiccups.
  Reply With Quote
Old 3rd August 2017, 09:39 AM   #19
phofman is offline phofman  Czech Republic
diyAudio Member
 
Join Date: Apr 2005
Location: Pilsen
OK, but we need the files/numbers from same software chain, to make them comparable.

LMS probably uses different period/buffer sizes, we would see that in hw_params file. Also please make sure you are not playing through pulseaudio to your usb dac - your alsa-info.sh output shows pulseaudio is your default alsa device.
  Reply With Quote
Old 3rd August 2017, 09:44 AM   #20
michaelvv is offline michaelvv  Denmark
diyAudio Member
 
Join Date: Jan 2014
Quote:
Originally Posted by phofman View Post
Good, and the irq/sec for the no-glitches PCM 176.4/24 mode?

Please post the stream0 and hw_params files for both modes too.
Now quite with, shall I play something 176K/24bit none DOP , I have something 192K/24bit I try or I can try without DOP...

This is without DOP.

/proc/asound/card1/pcm0p/sub0/hw_params
Code:
access: MMAP_INTERLEAVED
format: S32_LE
subformat: STD
channels: 2
rate: 352800 (352800/1)
period_size: 7056
buffer_size: 28224

This is irqs for this mode

Code:
122:    1445374      46861   31207725      82469  IR-PCI-MSI 327680-edge      xhci_hcd
122:    1459348      48306   31431841      83208  IR-PCI-MSI 327680-edge      xhci_hcd
(1459348+48306 +31431841+83208)-(1445374+46861+31207725+82469) = 240274/30 = 8009 irq /secs.
  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 04:19 PM.


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