[Touch-packages] [Bug 1755326] Re: Periodic glitch in sound with Firewire and snd-dice
Please refer to my report in upstream: http://mailman.alsa-project.org/pipermail/alsa-devel/2016-May/107715.html -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pulseaudio in Ubuntu. https://bugs.launchpad.net/bugs/1755326 Title: Periodic glitch in sound with Firewire and snd-dice Status in linux package in Ubuntu: Confirmed Status in pulseaudio package in Ubuntu: New 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: USERPID ACCESS COMMAND /dev/snd/pcmC4D0c: kim3563 F...m jackdbus /dev/snd/pcmC4D0p: kim3563 F...m jackdbus /dev/snd/controlC4: kim3563 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:
[Touch-packages] [Bug 1755326] Re: Periodic glitch in sound with Firewire and snd-dice
Please refer to my report in upstream: http://mailman.alsa-project.org/pipermail/alsa-devel/2016-May/107715.html -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pulseaudio in Ubuntu. https://bugs.launchpad.net/bugs/1755326 Title: Periodic glitch in sound with Firewire and snd-dice Status in linux package in Ubuntu: Confirmed Status in pulseaudio package in Ubuntu: New 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: USERPID ACCESS COMMAND /dev/snd/pcmC4D0c: kim3563 F...m jackdbus /dev/snd/pcmC4D0p: kim3563 F...m jackdbus /dev/snd/controlC4: kim3563 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:
[Touch-packages] [Bug 1381475] Re: Firewire sound card registered by the name of the fw controller
This is partly fixed at upstream of PulseAudio. And a new package has already released for Ubuntu 16.04. In detail, please refer to this commit. https://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/src/modules/udev-util.c?id=3ac73598c67cb59a318c8baaf33fe97eed1e0b3e Thanks. ** Changed in: pulseaudio (Ubuntu) Status: Triaged => Fix Released ** Changed in: pulseaudio (Ubuntu) Assignee: (unassigned) => Takashi Sakamoto (mocchi) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pulseaudio in Ubuntu. https://bugs.launchpad.net/bugs/1381475 Title: Firewire sound card registered by the name of the fw controller Status in pulseaudio package in Ubuntu: Fix Released Bug description: I am testing the new snd-firewire ALSA module which is currently getting accepted into the kernel. I have noticed that while ALSA recognizes the correct name for the card, PulseAudio displays another, wrong name, which is apparently the name of the FireWire controller through which the sound card is connected. $ aplay -l List of PLAYBACK Hardware Devices card 0: FW [PHASE 88 Rack FW], device 0: BeBoB [PHASE 88 Rack FW PCM] Subdevices: 1/1 Subdevice #0: subdevice #0 $ pacmd list-sinks Welcome to PulseAudio! Use "help" for usage information. >>> 4 sink(s) available. [...] index: 2 name: driver: flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY state: SUSPENDED suspend cause: IDLE priority: 9000 volume: 0: 100% 1: 100% 2: 100% 3: 100% 4: 100% 5: 100% 6: 100% 7: 100% 8: 100% 9: 100% 0: 0,00 dB 1: 0,00 dB 2: 0,00 dB 3: 0,00 dB 4: 0,00 dB 5: 0,00 dB 6: 0,00 dB 7: 0,00 dB 8: 0,00 dB 9: 0,00 dB balance 0,00 base volume: 100% 0,00 dB volume steps: 65537 muted: no current latency: 0,00 ms max request: 0 KiB max rewind: 0 KiB monitor source: 5 sample spec: s16le 10ch 44100Hz channel map: front-left,front-right,rear-left,rear-right,front-center,lfe,side-left,side-right,aux0,aux1 used by: 0 linked by: 0 configured latency: 0,00 ms; range is 0,50 .. 185,76 ms card: 3 module: 8 properties: alsa.resolution_bits = "16" device.api = "alsa" device.class = "sound" alsa.class = "generic" alsa.subclass = "generic-mix" alsa.name = "PHASE 88 Rack FW PCM" alsa.id = "BeBoB" alsa.subdevice = "0" alsa.subdevice_name = "subdevice #0" alsa.device = "0" alsa.card = "0" alsa.card_name = "PHASE 88 Rack FW" alsa.long_card_name = "TerraTec Electronic Gmb PHASE 88 Rack FW (id:3, rev:1), GUID 000aac0300592827 a" alsa.driver_name = "snd_bebob" device.bus_path = "pci-:01:09.0" sysfs.path = "/devices/pci:00/:00:09.0/:01:09.0/fw2/fw2.0/sound/card0" udev.id = "firewire-0x000aac0300592827" device.bus = "firewire" device.vendor.name = "Texas Instruments" device.product.name = "TSB43AB22A IEEE-1394a-2000 Controller (PHY/Link) [iOHCI-Lynx]" device.string = "hw:0" device.buffering.buffer_size = "163840" device.buffering.fragment_size = "81920" device.access_mode = "mmap+timer" device.profile.name = "10-channels" device.profile.description = "10 Channels" device.description = "TSB43AB22A IEEE-1394a-2000 Controller (PHY/Link) [iOHCI-Lynx] 10 Channels" alsa.mixer_name = "PHASE 88 Rack FW" module-udev-detect.discovered = "1" device.icon_name = "audio-card-firewire" PulseAudio 1:4.0-0ubuntu11 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1381475/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1381475] Re: Firewire sound card registered by the name of the fw controller
Hi David, The ID_MODEL_FROM_DATABASE is probably set (for the firewire controller) by udev/systemd, see the hwdb directory of systemd sources. Exactly. I've already realized it and it require discussion between ALSA, PulseAudio and systemd about which part of userspace has these information for FireWire sound devices. This requires a batch of time so I made it pending. Currently I would like to concentrate on my work for ALSA kernel-land. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pulseaudio in Ubuntu. https://bugs.launchpad.net/bugs/1381475 Title: Firewire sound card registered by the name of the fw controller Status in “pulseaudio” package in Ubuntu: Triaged Bug description: I am testing the new snd-firewire ALSA module which is currently getting accepted into the kernel. I have noticed that while ALSA recognizes the correct name for the card, PulseAudio displays another, wrong name, which is apparently the name of the FireWire controller through which the sound card is connected. $ aplay -l List of PLAYBACK Hardware Devices card 0: FW [PHASE 88 Rack FW], device 0: BeBoB [PHASE 88 Rack FW PCM] Subdevices: 1/1 Subdevice #0: subdevice #0 $ pacmd list-sinks Welcome to PulseAudio! Use help for usage information. 4 sink(s) available. [...] index: 2 name: alsa_output.firewire-0x000aac0300592827.10-channels driver: module-alsa-card.c flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY state: SUSPENDED suspend cause: IDLE priority: 9000 volume: 0: 100% 1: 100% 2: 100% 3: 100% 4: 100% 5: 100% 6: 100% 7: 100% 8: 100% 9: 100% 0: 0,00 dB 1: 0,00 dB 2: 0,00 dB 3: 0,00 dB 4: 0,00 dB 5: 0,00 dB 6: 0,00 dB 7: 0,00 dB 8: 0,00 dB 9: 0,00 dB balance 0,00 base volume: 100% 0,00 dB volume steps: 65537 muted: no current latency: 0,00 ms max request: 0 KiB max rewind: 0 KiB monitor source: 5 sample spec: s16le 10ch 44100Hz channel map: front-left,front-right,rear-left,rear-right,front-center,lfe,side-left,side-right,aux0,aux1 used by: 0 linked by: 0 configured latency: 0,00 ms; range is 0,50 .. 185,76 ms card: 3 alsa_card.firewire-0x000aac0300592827 module: 8 properties: alsa.resolution_bits = 16 device.api = alsa device.class = sound alsa.class = generic alsa.subclass = generic-mix alsa.name = PHASE 88 Rack FW PCM alsa.id = BeBoB alsa.subdevice = 0 alsa.subdevice_name = subdevice #0 alsa.device = 0 alsa.card = 0 alsa.card_name = PHASE 88 Rack FW alsa.long_card_name = TerraTec Electronic Gmb PHASE 88 Rack FW (id:3, rev:1), GUID 000aac0300592827 a alsa.driver_name = snd_bebob device.bus_path = pci-:01:09.0 sysfs.path = /devices/pci:00/:00:09.0/:01:09.0/fw2/fw2.0/sound/card0 udev.id = firewire-0x000aac0300592827 device.bus = firewire device.vendor.name = Texas Instruments device.product.name = TSB43AB22A IEEE-1394a-2000 Controller (PHY/Link) [iOHCI-Lynx] device.string = hw:0 device.buffering.buffer_size = 163840 device.buffering.fragment_size = 81920 device.access_mode = mmap+timer device.profile.name = 10-channels device.profile.description = 10 Channels device.description = TSB43AB22A IEEE-1394a-2000 Controller (PHY/Link) [iOHCI-Lynx] 10 Channels alsa.mixer_name = PHASE 88 Rack FW module-udev-detect.discovered = 1 device.icon_name = audio-card-firewire PulseAudio 1:4.0-0ubuntu11 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1381475/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1381475] Re: Firewire sound card registered by the name of the fw controller
FYI, a part of my work is already included in Linux 3.16 or later. In this bug, the reporter uses my breeding-edge in github.com, thus you may have an idea that this is due to out-of-tree kernel modules. But you can actually see the same issue on Ubuntu utopic. http://packages.ubuntu.com/utopic/amd64/linux-image-extra-3.16.0-23-generic/filelist (You can see /lib/modules/3.16.0-23-generic/kernel/sound/firewire/bebob/snd-bebob.ko in this list.) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pulseaudio in Ubuntu. https://bugs.launchpad.net/bugs/1381475 Title: Firewire sound card registered by the name of the fw controller Status in “pulseaudio” package in Ubuntu: Triaged Bug description: I am testing the new snd-firewire ALSA module which is currently getting accepted into the kernel. I have noticed that while ALSA recognizes the correct name for the card, PulseAudio displays another, wrong name, which is apparently the name of the FireWire controller through which the sound card is connected. $ aplay -l List of PLAYBACK Hardware Devices card 0: FW [PHASE 88 Rack FW], device 0: BeBoB [PHASE 88 Rack FW PCM] Subdevices: 1/1 Subdevice #0: subdevice #0 $ pacmd list-sinks Welcome to PulseAudio! Use help for usage information. 4 sink(s) available. [...] index: 2 name: alsa_output.firewire-0x000aac0300592827.10-channels driver: module-alsa-card.c flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY state: SUSPENDED suspend cause: IDLE priority: 9000 volume: 0: 100% 1: 100% 2: 100% 3: 100% 4: 100% 5: 100% 6: 100% 7: 100% 8: 100% 9: 100% 0: 0,00 dB 1: 0,00 dB 2: 0,00 dB 3: 0,00 dB 4: 0,00 dB 5: 0,00 dB 6: 0,00 dB 7: 0,00 dB 8: 0,00 dB 9: 0,00 dB balance 0,00 base volume: 100% 0,00 dB volume steps: 65537 muted: no current latency: 0,00 ms max request: 0 KiB max rewind: 0 KiB monitor source: 5 sample spec: s16le 10ch 44100Hz channel map: front-left,front-right,rear-left,rear-right,front-center,lfe,side-left,side-right,aux0,aux1 used by: 0 linked by: 0 configured latency: 0,00 ms; range is 0,50 .. 185,76 ms card: 3 alsa_card.firewire-0x000aac0300592827 module: 8 properties: alsa.resolution_bits = 16 device.api = alsa device.class = sound alsa.class = generic alsa.subclass = generic-mix alsa.name = PHASE 88 Rack FW PCM alsa.id = BeBoB alsa.subdevice = 0 alsa.subdevice_name = subdevice #0 alsa.device = 0 alsa.card = 0 alsa.card_name = PHASE 88 Rack FW alsa.long_card_name = TerraTec Electronic Gmb PHASE 88 Rack FW (id:3, rev:1), GUID 000aac0300592827 a alsa.driver_name = snd_bebob device.bus_path = pci-:01:09.0 sysfs.path = /devices/pci:00/:00:09.0/:01:09.0/fw2/fw2.0/sound/card0 udev.id = firewire-0x000aac0300592827 device.bus = firewire device.vendor.name = Texas Instruments device.product.name = TSB43AB22A IEEE-1394a-2000 Controller (PHY/Link) [iOHCI-Lynx] device.string = hw:0 device.buffering.buffer_size = 163840 device.buffering.fragment_size = 81920 device.access_mode = mmap+timer device.profile.name = 10-channels device.profile.description = 10 Channels device.description = TSB43AB22A IEEE-1394a-2000 Controller (PHY/Link) [iOHCI-Lynx] 10 Channels alsa.mixer_name = PHASE 88 Rack FW module-udev-detect.discovered = 1 device.icon_name = audio-card-firewire PulseAudio 1:4.0-0ubuntu11 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1381475/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp