Periodic glitch in sound with Firewire and snd-dice

Bug #1755326 reported by Kim Ake
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned
pulseaudio (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

I have a fresh installation of Ubuntu 17.10 with almost nothing extra installed yet besides Bitwig Studio, Cadence and a few other things from the KX Studio repositories.

But I also tried the bug after a fresh install with nothing else than Bitwig Studio installed, it's the same.

Not sure if this information can be added afterwards: but I installed the 3.19.8 low latency kernel, and the problem disappeared. On 17.1 I can't use the current low latency kernel because the system becomes very unresponsive to the point of being hard to even log in. So I'm not sure if this is just a matter of difference between the low latency and regular kernels.

I have a TC Electronics Impact Twin Firewire audio interface.
It is connected to a Iocrest SY-PEX30016 PCI-E card, which has a Texas Instruments XIO2213BZAY chipset.

The ALSA snd-dice drivers work, but with glitches.

There is a periodic, glitch in the sound that sounds like a part of the stream is missing, or something. It is steady in timing, nothing seems to have an effect on it.
Recording seems to work. All outputs and inputs, also the ADAT outputs seem to work, altough I could not test if the ADAT outputs feature the glitch too.

Seemingly randomly there might be a short maybe around 0.3 second total break in the sound.

I'm not getting xruns at all.

I tried also Ubuntu Studio live USB, it has the exact same glitch. I also tried a Native Instruments Audio2DJ USB interface, with that there is no problem with the sound on my computer.

I tried also with Carla and ZynAddSubFx, and also with the live USB of Linux Mint (current version), and the same glitch is present.

I tried also another Firewire controller card with a XIO2200A Texas Instruments chip, it features the same glitch, but running a different speed.

I had a KX Studio 14.x installation a few years ago, where the interface was working without a hitch. But then I was running with FFADO.

So to me it seems that the kernel integration of snd-dice has some problem with timing with a TC Electronics interface?

I could not get FFADO to run with Jack now so I can't say if the FFADO implementation would work.

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: pulseaudio 1:10.0-2ubuntu3.1
ProcVersionSignature: Ubuntu 4.13.0-36.40-generic 4.13.13
Uname: Linux 4.13.0-36-generic x86_64
ApportVersion: 2.20.7-0ubuntu3.7
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/pcmC4D0c: kim 3563 F...m jackdbus
 /dev/snd/pcmC4D0p: kim 3563 F...m jackdbus
 /dev/snd/controlC4: kim 3563 F.... jackdbus
CurrentDesktop: ubuntu:GNOME
Date: Tue Mar 13 02:11:51 2018
InstallationDate: Installed on 2018-03-12 (0 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20180105.1)
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
SourcePackage: pulseaudio
Symptom: audio
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 02/12/2015
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 2603
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: M5A97 EVO R2.0
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr2603:bd02/12/2015:svnTobefilledbyO.E.M.:pnTobefilledbyO.E.M.:pvrTobefilledbyO.E.M.:rvnASUSTeKCOMPUTERINC.:rnM5A97EVOR2.0:rvrRev1.xx:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.family: To be filled by O.E.M.
dmi.product.name: To be filled by O.E.M.
dmi.product.version: To be filled by O.E.M.
dmi.sys.vendor: To be filled by O.E.M.
---
ApportVersion: 2.20.7-0ubuntu3.7
Architecture: amd64
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/dsp', '/dev/snd/hwC3D0', '/dev/snd/midiC3D0', '/dev/snd/pcmC3D0c', '/dev/snd/pcmC3D0p', '/dev/snd/controlC3', '/dev/snd/by-path', '/dev/snd/by-id', '/dev/snd/hwC0D0', '/dev/snd/pcmC0D3p', '/dev/snd/controlC0', '/dev/snd/pcmC1D0p', '/dev/snd/controlC1', '/dev/snd/midiC2D0', '/dev/snd/controlC2', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 17.10
HibernationDevice: RESUME=UUID=2446385e-9b65-4ff6-8ca1-98628d9679af
InstallationDate: Installed on 2018-03-12 (0 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20180105.1)
MachineType: To be filled by O.E.M. To be filled by O.E.M.
Package: pulseaudio 1:10.0-2ubuntu3.1
PackageArchitecture: amd64
ProcFB: 0 radeondrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.13.0-36-generic root=UUID=18224e79-921d-4072-b751-497ab62783ec ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 4.13.0-36.40-generic 4.13.13
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-4.13.0-36-generic N/A
 linux-backports-modules-4.13.0-36-generic N/A
 linux-firmware 1.169.3
RfKill:

StagingDrivers: r8712u
Tags: artful wayland-session staging wayland-session third-party-packages
Uname: Linux 4.13.0-36-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm audio cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 02/12/2015
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 2603
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: M5A97 EVO R2.0
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr2603:bd02/12/2015:svnTobefilledbyO.E.M.:pnTobefilledbyO.E.M.:pvrTobefilledbyO.E.M.:rvnASUSTeKCOMPUTERINC.:rnM5A97EVOR2.0:rvrRev1.xx:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.family: To be filled by O.E.M.
dmi.product.name: To be filled by O.E.M.
dmi.product.version: To be filled by O.E.M.
dmi.sys.vendor: To be filled by O.E.M.

Revision history for this message
Kim Ake (kim-ake) wrote :
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1755326

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Kim Ake (kim-ake) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected staging
description: updated
Revision history for this message
Kim Ake (kim-ake) wrote : CRDA.txt

apport information

Revision history for this message
Kim Ake (kim-ake) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Kim Ake (kim-ake) wrote : Dependencies.txt

apport information

Revision history for this message
Kim Ake (kim-ake) wrote : IwConfig.txt

apport information

Revision history for this message
Kim Ake (kim-ake) wrote : JournalErrors.txt

apport information

Revision history for this message
Kim Ake (kim-ake) wrote : Lspci.txt

apport information

Revision history for this message
Kim Ake (kim-ake) wrote : Lsusb.txt

apport information

Revision history for this message
Kim Ake (kim-ake) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Kim Ake (kim-ake) wrote : ProcEnviron.txt

apport information

Revision history for this message
Kim Ake (kim-ake) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Kim Ake (kim-ake) wrote : ProcModules.txt

apport information

Revision history for this message
Kim Ake (kim-ake) wrote : UdevDb.txt

apport information

Revision history for this message
Kim Ake (kim-ake) wrote : WifiSyslog.txt

apport information

Kim Ake (kim-ake)
description: updated
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
description: updated
Kim Ake (kim-ake)
description: updated
Revision history for this message
Kim Ake (kim-ake) wrote :

I tried a few other 4.x kernels, all have the same bug with a slightly different sound maybe, so something with either the Firewire or snd-dice code has changed to the worse in the current kernel.

Revision history for this message
Takashi Sakamoto (mocchi) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thank you for reporting this bug to Ubuntu.
Ubuntu 17.10 (artful) reached end-of-life on July 19, 2018.

See this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

We appreciate that this bug may be old and you might not be interested in discussing it any more. But if you are then please upgrade to the latest Ubuntu version and re-test. If you then find the bug is still present in the newer Ubuntu version, please add a comment here telling us which new version it is in and change the bug status to Confirmed.

Changed in pulseaudio (Ubuntu):
status: New → Incomplete
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for pulseaudio (Ubuntu) because there has been no activity for 60 days.]

Changed in pulseaudio (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.