Bug#960957: jackd2 producing a lot of xruns with anything lower than sample rate 88200 or buffer size 4096

vitaminx debian at callistix.net
Mon May 18 19:37:17 BST 2020


Package: jackd2
Version: 1.9.12~dfsg-2+b1
Severity: important

Hi,

I can't reliably run jackd2 with anything lower than sample rate 88200
or buffer size of 4096 without a big amount of xruns, which make it
unusuable.

When connecting an external USB audio interface, it is working OK and
performs as expected, which makes me believe that there might be
something wrong with how jackd or alsa handle the hardware.

The soundcard is integrated in my Gigabyte AORUS X399 Pro motherboard:

lspci -vvs 0a:00.3                                                                                                                                                        ✔   chiquitin_root ●  20:32:22
0a:00.3 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) HD Audio Controller
        DeviceName: Audio Codec ALC1220
        Subsystem: Gigabyte Technology Co., Ltd Family 17h (Models 00h-0fh) HD Audio Controller
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin C routed to IRQ 92
        NUMA node: 0
        Region 0: Memory at ba900000 (32-bit, non-prefetchable) [size=32K]
        Capabilities: [48] Vendor Specific Information: Len=08 <?>
        Capabilities: [50] Power Management version 3
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [64] Express (v2) Endpoint, MSI 00
                DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited
                        ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 0.000W
                DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq-
                        RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+
                        MaxPayload 256 bytes, MaxReadReq 512 bytes
                DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr- TransPend-
                LnkCap: Port #0, Speed 8GT/s, Width x16, ASPM L0s L1, Exit Latency L0s <64ns, L1 <1us
                        ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp+
                LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- CommClk+
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 8GT/s (ok), Width x16 (ok)
                        TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
                DevCap2: Completion Timeout: Not Supported, TimeoutDis-, NROPrPrP-, LTR-
                         10BitTagComp-, 10BitTagReq-, OBFF Not Supported, ExtFmt-, EETLPPrefix-
                         EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-
                         FRS-, TPHComp-, ExtTPHComp-
                         AtomicOpsCap: 32bit- 64bit- 128bitCAS-
                DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
                         AtomicOpsCtl: ReqEn-
                LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete-, EqualizationPhase1-
                         EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
        Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
                Address: 00000000fee0b000  Data: 4023
        Capabilities: [100 v1] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel




Please let me know if you need more info.

Best regards.



-- System Information:
Debian Release: bullseye/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.6.0-1-amd64 (SMP w/24 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages jackd2 depends on:
ii  coreutils              8.30-3+b1
ii  debconf [debconf-2.0]  1.5.74
ii  libasound2             1.2.2-2.1
ii  libc6                  2.30-8
ii  libdbus-1-3            1.12.16-2
ii  libexpat1              2.2.9-1
ii  libgcc-s1 [libgcc1]    10.1.0-1
ii  libgcc1                1:10.1.0-1
ii  libjack-jackd2-0       1.9.12~dfsg-2+b1
ii  libopus0               1.3-1+b1
ii  libreadline8           8.0-4
ii  libsamplerate0         0.1.9-2
ii  libsndfile1            1.0.28-7
ii  libstdc++6             10.1.0-1
ii  python                 2.7.17-2
ii  python-dbus            1.2.16-2

Versions of packages jackd2 recommends:
pn  jackd2-firewire  <none>
ii  libpam-modules   1.3.1-5
pn  qjackctl         <none>

Versions of packages jackd2 suggests:
pn  jack-tools   <none>
pn  meterbridge  <none>

-- debconf information:
* jackd/tweak_rt_limits: true


dpkg -l | egrep 'alsa|asound'                                                                                                                                             ✔   chiquitin_root ●  20:36:06
ii  alsa-utils                              1.2.2-1                         amd64        Utilities for configuring and using ALSA
ii  libasound2:amd64                        1.2.2-2.1                       amd64        shared library for ALSA applications
ii  libasound2:i386                         1.2.2-2.1                       i386         shared library for ALSA applications
ii  libasound2-data                         1.2.2-2.1                       all          Configuration files and profiles for ALSA drivers
ii  libsox-fmt-alsa:amd64                   14.4.2+git20190427-2            amd64        SoX alsa format I/O library


More information about the pkg-multimedia-maintainers mailing list