line6usb - POD Studio UX2 Playback problem. Very robotic and slightly slower than usual

Bug #1103018 reported by Aaron Winterburn
46
This bug affects 8 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

- Bug currently fixed -

Using the POD Studio UX2 and Ubuntu 13.04 with the later releases of the 3.8.0 linux kernel the audio sounds very robotic and is slightly slower than usual. If I remember correctly I was able to get the sound back to normal on a slightly earlier release of the 3.8.0 linux kernel, but i have reinstalled Ubuntu 13.04 since. The problem occurs with everything that is played, so it is not an issue with particular applications. My speakers are connected in stereo through the 2 analogue outs at the back of the device. I have never had this issue on previous releases of Ubuntu. Playing music with this issue makes the music difficult and overall pointless to listen to.

I have even disabled my onboard sound to see if that may be the problem, but the issue still occurs. I believe it is a sound driver issue relating to the later kernel releases. I hope the issue can be resolved. Thank you.

UPDATE: The issue also affects the Line6 Toneport GX according to a user that commented on my youtube video, also another user has commented on my video saying that they have the same issue with their UX2 device. This shows that the issue is more than my own. It also shows that it affects other Line6 devices. I really hope this issue can be resolved before the next major kernel release at the least. Thank you again.

Here's a YouTube clip of the problem
http://youtu.be/mzmESXZ_R3g

Bugzilla Upstream Bug Report
https://bugzilla.kernel.org/show_bug.cgi?id=53801

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: alsa-base 1.0.25+dfsg-0ubuntu3
ProcVersionSignature: Ubuntu 3.8.0-1.5-generic 3.8.0-rc4
Uname: Linux 3.8.0-1-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.8-0ubuntu2
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: aaron 1793 F.... pulseaudio
 /dev/snd/controlC1: aaron 1793 F.... pulseaudio
Date: Tue Jan 22 14:24:06 2013
InstallationDate: Installed on 2013-01-19 (2 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130118)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: alsa-driver
Symptom: audio
Symptom_AlsaPlaybackTest: ALSA playback test through plughw:PODStudioUX2 failed
Symptom_Card: UX2 - POD Studio UX2
Symptom_Type: None of the above
Title: [line6usb - POD Studio UX2, playback] Playback problem
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/27/2009
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 2103
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: P5QC
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 2.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr2103:bd04/27/2009:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP5QC:rvrRev2.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer

Revision history for this message
Aaron Winterburn (azakid) wrote :
description: updated
affects: alsa-driver (Ubuntu) → linux (Ubuntu)
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1103018

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
Aaron Winterburn (azakid) wrote :

when i install apport then run apport-collect i get this error 'ERROR: The launchpadlib Python module is not installed. This functionality is not available.'. so i am unable to produce any more log files. i believe my main sound issue is related to the line6usb sound component in the lastest kernel

description: updated
description: updated
Changed in linux (Ubuntu):
status: Incomplete → New
Revision history for this message
Brad Figg (brad-figg) wrote :

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1103018

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
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.8 kernel[0] (Not a kernel in the daily directory) and install both the linux-image and linux-image-extra .deb packages.

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.8-rc7-raring/

Changed in linux (Ubuntu):
importance: Undecided → Medium
tags: added: kernel-bug-exists-upstream
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

I'd like to perform a bisect to figure out what commit caused this regression. It would be very helpful to know the earliest kernel where the issue started happening as well as the latest kernel that did not have this issue.

Can you test the following kernels and report back? We are looking for the first kernel version that exhibits this bug:

v3.8-rc1: http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.8-rc1-raring/
v3.8-rc3: http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.8-rc3-raring/
v3.8-rc5: http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.8-rc5-raring/

You don't have to test every kernel, just up until the kernel that first has this bug.

Thanks in advance!

tags: added: performing-bisect
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Also, this issue appears to be an upstream bug, since you tested the latest upstream kernel. Would it be possible for you to open an upstream bug report[0] while we perform the bisect in parallel? That will allow the upstream Developers to examine the issue, and may provide a quicker resolution to the bug.

Please follow the instructions on the wiki page[0]. The first step is to email the appropriate mailing list. If no response is received, then a bug may be opened on bugzilla.kernel.org.

[0] https://wiki.ubuntu.com/Bugs/Upstream/kernel

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Aaron Winterburn (azakid) wrote :

in the 3.8 rc1 kernel the issue still occurs. i have tested the latest mainline kernel and have had the same problem occur. i have created an upstream bug report using the mainline kernel - https://bugzilla.kernel.org/show_bug.cgi?id=53801

i hope this helps in fixing the problem. thank you

description: updated
Revision history for this message
Aaron Winterburn (azakid) wrote :

The issue also affects the Line6 Toneport GX according to a user that commented on my youtube video, also another user has commented on my video saying that they have the same issue with their UX2 device. This shows that the issue is more than my own. It also shows that it affects other Line6 devices. I really hope this issue can be resolved before the next major kernel release at the least. Thank you again.

description: updated
Revision history for this message
Aaron Winterburn (azakid) wrote :

I also forgot to mention that on my Bugzilla kernel page there is a user that has the same issue with a Line6 UX1, so there are now at least 3 Line6 devices affected by some kernel change. I have tried the final release of Ubuntu 13.04 and Kubuntu 13.04 and the issue still persists.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Danny Werner (tehwerner) wrote :

Other users are affected. I am. The sound on my Line 6 UX2 is the same as on the video http://youtu.be/mzmESXZ_R3g eversince since my (full) upgrade to kubuntu 13.4 (3.8.0-19-generic #30-Ubuntu SMP Wed May 1 16:35:23 UTC 2013 x86_64 x86_64
x86_64 GNU/Linux). No problem before, and no problem on the built-in sound card.

Revision history for this message
Danny Werner (tehwerner) wrote : apport information

ApportVersion: 2.9.2-0ubuntu8
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: danny 1955 F.... pulseaudio
 /dev/snd/pcmC1D0p: danny 1955 F...m pulseaudio
 /dev/snd/controlC0: danny 1955 F.... pulseaudio
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
DistroRelease: Ubuntu 13.04
HibernationDevice: RESUME=UUID=e8f504a8-0660-4350-9f83-9d12fbacca17
InstallationDate: Installed on 2012-12-15 (144 days ago)
InstallationMedia: Kubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.1)
IwConfig:
 eth0 no wireless extensions.

 lo no wireless extensions.
MachineType: System manufacturer System Product Name
MarkForUpload: True
Package: linux (not installed)
ProcFB: 0 radeondrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.8.0-19-generic root=UUID=667261d1-c53e-470c-bd41-7b982190fbfc ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.8.0-19.30-generic 3.8.8
RelatedPackageVersions:
 linux-restricted-modules-3.8.0-19-generic N/A
 linux-backports-modules-3.8.0-19-generic N/A
 linux-firmware 1.106
RfKill:

StagingDrivers: line6usb
Tags: raring staging
Uname: Linux 3.8.0-19-generic x86_64
UpgradeStatus: Upgraded to raring on 2013-05-06 (3 days ago)
UserGroups: adm audio cdrom dialout dip fax lpadmin plugdev sambashare scanner sudo syslog voice
dmi.bios.date: 06/11/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0603
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: P5G41-M LX
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev X.0x
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0603:bd06/11/2010:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP5G41-MLX:rvrRevX.0x:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer

tags: added: apport-collected staging
Revision history for this message
Danny Werner (tehwerner) wrote : AlsaInfo.txt

apport information

Revision history for this message
Danny Werner (tehwerner) wrote : BootDmesg.txt

apport information

Revision history for this message
Danny Werner (tehwerner) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Danny Werner (tehwerner) wrote : HookError_cloud_archive.txt

apport information

Revision history for this message
Danny Werner (tehwerner) wrote : Lspci.txt

apport information

Revision history for this message
Danny Werner (tehwerner) wrote : Lsusb.txt

apport information

Revision history for this message
Danny Werner (tehwerner) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Danny Werner (tehwerner) wrote : ProcEnviron.txt

apport information

Revision history for this message
Danny Werner (tehwerner) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Danny Werner (tehwerner) wrote : ProcModules.txt

apport information

Revision history for this message
Danny Werner (tehwerner) wrote : PulseList.txt

apport information

Revision history for this message
Danny Werner (tehwerner) wrote : UdevDb.txt

apport information

Revision history for this message
Danny Werner (tehwerner) wrote : UdevLog.txt

apport information

Revision history for this message
Danny Werner (tehwerner) wrote : WifiSyslog.txt

apport information

Revision history for this message
Danny Werner (tehwerner) wrote :

I tried to provide additional info by (after installing launchpadlib) running
    $ apport-collect 1103018
but I am getting:

ERROR: hook /usr/share/apport/general-hooks/cloud_archive.py crashed:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/apport/report.py", line 197, in _run_hook
    symb['add_info'](report, ui)
  File "/usr/share/apport/general-hooks/cloud_archive.py", line 18, in add_info
    if '~cloud' in packaging.get_version(package) and \
  File "/usr/lib/python2.7/dist-packages/apport/packaging_impl.py", line 123, in get_version
    raise ValueError('package %s does not exist' % package)
ValueError: package linux does not exist

tags: added: 3.8 kernel-bug line6 pod
Revision history for this message
x414e54 (x414e54) wrote :

I can confirm this also using a Line6 Toneport UX2 on Ubuntu 13.04 3.8.0-21-generic x86_64. It basically sounds like a ring modulator is applied.

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

The v3.10-rc2 kernel is now available. Can folks affected by this bug test the latest kernel, which can be downloaded from:
 http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10-rc2-saucy/

Revision history for this message
Slavenko (slavenko-miljic) wrote :

I'm not really experienced linux user so my lingo may not be the best.

I'm having the same problem on Line 6 UX1.

I have tested the latest 3.10 kernel or at least i think i did, the 'uname -r' in terminal returns '3.10.0-031000rc2-generic' and unfortunately the sound is still robotic and slowed down.

It sounds something like this: http://www.youtube.com/watch?v=mzmESXZ_R3g

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Can folks affected by this bug test the following kernel and see if it exhibits the issue:

http://kernel.ubuntu.com/~jsalisbury/lp1136110/commit-reverted/

Revision history for this message
Aaron Winterburn (azakid) wrote :

I have tested the last kernel that has been posted, but the issue still occurs for me. I am glad I am getting responses from people since it helps in collecting information to help get the issue resolved.

Changed in linux:
importance: Unknown → Medium
status: Unknown → Confirmed
Revision history for this message
Danny Werner (tehwerner) wrote :

Can't we put out a reward for whoever fixes this? I really liked my UX2 on linux.

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Thanks for all the testing and updates. I'd like to continue the bisect to identify the commit that introduced this regression. We know that the bug existed in v3.8-rc1, so we will need to test earlier kernels.

Can folks affected by this bug test the following two kernels:
v3.6 final: http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.6-quantal/
v3.7 final: http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.7-raring/

Revision history for this message
Slavenko (slavenko-miljic) wrote :

3.7 works fine with me on UX1

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

I started a kernel bisect between v3.7 final and v3.8-rc1. The kernel bisect will require testing of about 7-10 test kernels.

I built the first test kernel, up to the following commit:
6be35c700f742e911ecedd07fcc43d4439922334

The test kernel can be downloaded from:
http://kernel.ubuntu.com/~jsalisbury/lp1103018

Can you test that kernel and report back if it has the bug or not. I will build the next test kernel based on your test results.

Thanks in advance

Revision history for this message
Danny Werner (tehwerner) wrote :

Thank you Joseph Salisbury,
for helping us getting our nice sound back :-)

lp1103018 has the bug:

$ uname -a
Linux Yolin 3.7.0-030700-generic #201306121250 SMP Wed Jun 12 16:52:03 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

In System Settings.Hardware.Multimedia.Phonon, testing 'UX2 Analog Stereo' still sounds like running through a ring modulator, and testing ' Built-in Audio Analog Stereo' sounds ok (a little low on volume, but not distorted).

If there is is anything else I can do to help narrowing this down, please let me know.

Revision history for this message
Danny Werner (tehwerner) wrote :

Unfortunately I could not install v3.7-raring:

Unpacking linux-image-extra-3.7.0-030700-generic (from linux-image-extra-3.7.0-030700-generic_3.7.0-030700.201212102335_amd64.deb) ...
dpkg: error processing linux-image-extra-3.7.0-030700-generic_3.7.0-030700.201212102335_amd64.deb (--install):
 trying to overwrite '/lib/modules/3.7.0-030700-generic/kernel/drivers/virtio/virtio_mmio.ko', which is also in package linux-image-3.7.0-030700-generic 3.7.0-030700.201306121250
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

I built the first test kernel, up to the following commit:
97ebe8f55ae99059c0ad3d3be5c0417647f5e3e0

The test kernel can be downloaded from:
http://kernel.ubuntu.com/~jsalisbury/lp1103018

Can you test that kernel and report back if it has the bug or not. I will build the next test kernel based on your test results.

Thanks in advance

Revision history for this message
Jimmie Tauriainen (jimmie-tauriainen) wrote :

Yes, the latest 3.7.0-030700-generic still has the same bug, robotic/slow sound.

( I'm using an older Toneport UX2 but to my knowledge it should be identcal to the newer POD Studio UX2's )

Revision history for this message
Danny Werner (tehwerner) wrote :

3.7.0-030700-generic #201306131511 from http://kernel.ubuntu.com/~jsalisbury/lp1103018/ has the bug:
UX2 Robotic, Built-in clean.

Revision history for this message
Jimmie Tauriainen (jimmie-tauriainen) wrote :

This kernel works for me: http://kernel.ubuntu.com/~jsalisbury/lp1144322/ : 7bcb57cde66c19df378f3468ea342166a8a4504d
Sorry for fast-forwarding ;)

Revision history for this message
Jimmie Tauriainen (jimmie-tauriainen) wrote :

Maybe I was too fast. Sound was first clean and OK and then after some usage I lost sound totally. Could be something else. But this atleast gives some clean sound to me. I'll Need to test more... but not tonight.

Revision history for this message
Jimmie Tauriainen (jimmie-tauriainen) wrote :
Download full text (4.0 KiB)

7bcb57cde66c19df378f3468ea342166a8a4504d was not stable either, but it initially works compared to the current 3.8* kernels. I can watch one youtube video to test out, then when I switch to next then the sound either disapears or becomes robotic. Untill I unplug and re-plug the USB port of this devices again it works again.

Usually nothing drastic in logs but once I got this, dont know if it's relevant:

[ 57.015655] usb 7-1: new full-speed USB device number 3 using uhci_hcd
[ 57.194785] usb 7-1: New USB device found, idVendor=0e41, idProduct=4142
[ 57.194790] usb 7-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 57.194793] usb 7-1: Product: TonePort UX2
[ 57.194796] usb 7-1: Manufacturer: Line 6
[ 57.205917] line6usb: module is from the staging directory, the quality is unknown, you have been warned.
[ 57.206739] line6usb: module is from the staging directory, the quality is unknown, you have been warned.
[ 57.211474] line6usb 7-1:1.0: Line6 TonePort UX2 found
[ 57.250675] line6usb 7-1:1.0: Line6 TonePort UX2 now attached
[ 57.250692] line6usb 7-1:1.1: Line6 TonePort UX2 found
[ 57.250719] usbcore: registered new interface driver line6usb
[ 58.245590] BUG: scheduling while atomic: swapper/5/0/0x10000100
[ 58.245610] Modules linked in: line6usb(C) snd_hda_codec_hdmi coretemp kvm_intel kvm ghash_clmulni_intel aesni_intel aes_x86_64 ablk_helper cryptd xts lrw gf128mul snd_hda_intel snd_hda_codec parport_pc snd_hwdep ppdev snd_pcm rfcomm snd_page_alloc joydev snd_seq_midi gpio_ich snd_seq_midi_event dm_multipath snd_rawmidi nvidia(POF) psmouse bnep scsi_dh snd_seq bluetooth microcode serio_raw snd_seq_device snd_timer lpc_ich i7core_edac snd ioatdma edac_core soundcore dca mac_hid lp parport binfmt_misc btrfs libcrc32c zlib_deflate raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor hid_generic xor usbhid async_tx hid ahci libahci e1000e raid6_pq raid1 raid0 multipath linear
[ 58.245672] Pid: 0, comm: swapper/5 Tainted: PF C O 3.7.0-030700rc6-generic #201305301207
[ 58.245674] Call Trace:
[ 58.245675] <IRQ> [<ffffffff816b1681>] __schedule_bug+0x4d/0x59
[ 58.245694] [<ffffffff816ca0c8>] __schedule+0x628/0x6b0
[ 58.245699] [<ffffffff8108df7a>] __cond_resched+0x2a/0x40
[ 58.245702] [<ffffffff816ca1d2>] _cond_resched+0x32/0x40
[ 58.245705] [<ffffffff8117f195>] __kmalloc+0x55/0x190
[ 58.245710] [<ffffffffa0de349a>] ? line6_pcm_acquire+0x14a/0x210 [line6usb]
[ 58.245714] [<ffffffffa0de349a>] line6_pcm_acquire+0x14a/0x210 [line6usb]
[ 58.245718] [<ffffffffa0de5130>] ? snd_toneport_monitor_put+0x50/0x50 [line6usb]
[ 58.245722] [<ffffffffa0de5147>] toneport_start_pcm+0x17/0x20 [line6usb]
[ 58.245726] [<ffffffff810688a6>] call_timer_fn+0x46/0x160
[ 58.245728] [<ffffffff8106933c>] ? cascade+0x7c/0xa0
[ 58.245731] [<ffffffff8106a377>] run_timer_softirq+0x267/0x2c0
[ 58.245735] [<ffffffff813493f4>] ? timerqueue_add+0x64/0xb0
[ 58.245739] [<ffffffffa0de5130>] ? snd_toneport_monitor_put+0x50/0x50 [line6usb]
[ 58.245743] [<ffffffff810aa984>] ? ktime_get+0x54/0xe0
[ 58.245747] [<ffffffff810615e0>] __do_softirq+0xc0/0x240
[ 58.245750] [<ffffffff810...

Read more...

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

I built the next test kernel, up to the following commit:
7bcb57cde66c19df378f3468ea342166a8a4504d

The test kernel can be downloaded from:
http://kernel.ubuntu.com/~jsalisbury/lp1103018

It sounds like you may have already tested this kernel, Jimmie and it exhibited this bug? If not tested, can you test that kernel and report back if it has the bug or not. I will build the next test kernel based on your test results.

Thanks in advance

Revision history for this message
Danny Werner (tehwerner) wrote :

Hi Joseph,

7bcb57cde66c19df378f3468ea342166a8a4504d Ok!

$ uname -a
Linux Yolin 3.7.0-030700rc6-generic #201306181116 SMP Tue Jun 18 15:18:28 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
Sounds ok on internal AND UX2!

So, the bug must have been introduced between the 3.7.0-030700rc6 you just did put up at lp1103018 and the 3.7.0-030700-generic you had there on June 12 (#201306121250).

Do you know if there is a way to make the evidence less ambiguous, maybe getting the commit number of the running kernel ?

Thank you for your help.

Revision history for this message
Jimmie Tauriainen (jimmie-tauriainen) wrote :

Yes the bug is still here.

It's better than the stock ubuntu kernel has robotic sound directly, this kernel plays a clean sound for a random amount of time until the robotic sound suddenly comes in...

Seems to be quite quick to triigger this when llaying sounds simultanously with two applications.
Like vlc and firefox.... vlc alone seems to play clean quite long alpne but running them simultaniously triggers this in just few seconds.

`strace vlc filename.mp3` while doing this keeps repeating this message with about one minute interval when the robots take over.
[0x7fc524000958] pulse audio output error: overflow, flushing

Revision history for this message
Danny Werner (tehwerner) wrote :

Hi Jimmie,

Did you try to run any other player than vlc?
On 3.7.0-030700rc6 I played some mp4 files with Audacity 2.0.3. , no problem. Youtube video's in FF, no problem.
However, Amarok crashes when I try to play the mp4's. Installation of both vlc (to get closer to your setup) and debugging packages of Amarok fail due to 'unmet dependencies'
 linux-headers-3.7.0-030700rc6-generic : Depends: linux-headers-3.7.0-030700rc6 but it is not installable
vlc-nox : Depends: libbluray1 but it is not going to be installed
           Depends: libcddb2 but it is not going to be installed
           Depends: libcrystalhd3 but it is not going to be installed
           Depends: libdvbpsi7 (>= 0.2.0) but it is not going to be installed
           Depends: libebml3 but it is not going to be installed
           Depends: libmatroska5 but it is not going to be installed
           Depends: libresid-builder0c2a but it is not going to be installed
           Depends: libsidplay2 but it is not going to be installed
           Depends: libssh2-1 (>= 1.2) but it is not going to be installed
           Depends: libupnp6 (>= 1.4.3) but it is not going to be installed
           Depends: libvlc5 (>= 2.0.0) but it is not going to be installed
           Depends: libvlccore5 (>= 2.0.2) but it is not going to be installed
. After playing about an hour the UX2 sound (from Audacity and Youtube on Firefox) dissapears. Logging out and in again and the sound is back (no robotics, no slowing down).

It seems like there are a few bugs cooperating :-(

I could install linux-headers-3.7.0-030700rc6 (I thought I already did) and try again I guess, but I don know if this is going to help tracking this (these ?) bug (s ?).

Anyway, I am happy I had my decent sound back albeit just for a bit over an hour at a time, and not on all software.

Revision history for this message
Jimmie Tauriainen (jimmie-tauriainen) wrote :

Nope, didn't try amarok these two combinations have worked in the past with Ubuntu 12.10 or earlier?

You need to install 3 packages not just the image:
linux-image
linux-headers
linux-headers------generic

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

@Danny, can you install all three packages mentioned in comment #49 and see if the bug still exists? It would be good to have a consistent testing result, so I can update the bisect appropriately. If we don't get the same test results, we will probably want to open multiple bugs, so we can perform separate bisects.

Thanks again for all the help!

Revision history for this message
Danny Werner (tehwerner) wrote :

@Joseph: I must have made a mistake when installing the headers earlier.
@Jimmie: Yes, I had Amarok (and ff) sounding ok on the UX2 under 3.5.0(-23 .. 28), and now under 3.7.0rc6.

Amarok now also runs and sounds ok after retry (even after several hours) on 030700rc6 (#201306181116).

uname -a
Linux Yolin 3.7.0-030700rc6-generic #201306181116 SMP Tue Jun 18 15:18:28 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
====> Ok!

Just to be sure I rebooted with 3.7.0 and the ugly robotics where back.
$ uname -a
Linux Yolin 3.7.0-030700-generic #201306131511 SMP Thu Jun 13 19:13:47 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
====> not ok.

So, in my configuration the robotic sound appears in 3.7.0. after rc6. Now how to narrow it down further?

Puzzled by Jimmie's problems stated in #47 I installed vlc - went ok now (headers), and it sounded ok, also on UX2.
@Jimmie: Could you please show the output from
                      $ uname -a
?

Revision history for this message
Jimmie Tauriainen (jimmie-tauriainen) wrote :

@ Danny Sure,
jimi@X8DTL:~$ uname -a
Linux X8DTL 3.7.0-030700rc6-generic #201306181116 SMP Tue Jun 18 15:18:28 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

I also got the feeling also that for example VLC runs stable by itself a long time, but the robotcs woke up after some time whn firefox also plays some youtube videos simultaniously. Too me it feels like some kind of buffer/timing issue where high bitrate input might trigger it more easily.

Revision history for this message
Danny Werner (tehwerner) wrote :

Hi Jimmie,

Thanks for the info.

Please correct me if I am wrong:
Even though Joseph's 3.7.0-030700rc6-generic #201306181116 sound through UX2 is not stable, i.e. on your machine after a while the robotics kick in, on mine sound stops working completely (after 1..10 hours, logout/login and it works again), it is a huge improvement to 3.7.0-030700-generic #201306131511, which has the robotics from the start.

So I think we should test rc7, and when that one starts ok rc8. We might find part of the cause.

I also tried http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.7-raring/ and it does NOT start robotic, while, as stated, 3.7.0-030700-generic #201306131511 starts robotic immediately.

In short:
3.7.0-030700-generic #201306131511 (from jsalisbury lp1103018): bad.
3.7.0-030700rc6-generic #201306181116 (from jsalisbury lp1103018): better, but only for a while.
3.7.0-030700-generic #201212102335 (mainline v3.7-raring): better, maybe even ok.

Joseph, could you help us shrinking the search space by putting up a test version of rc7/rc8 (or hint me how to do that if that isn't more work)?

Revision history for this message
Danny Werner (tehwerner) wrote :

I (almost randomly) tried several upstream kernels: 3.9.7, 3.7.0 and though there were some problems after a while, none had the immediate robotics I hear from 3.7.0 and the kernels distributed/upgraded from ubuntu.

@Aaron: Did your upstream (e.g. from http://kernel.ubuntu.com/~kernel-ppa/mainline) kernel have the immediate robotics or just some trouble later on?

Revision history for this message
Aaron Winterburn (azakid) wrote :

Last time i tried the mainline kernel the problem was instant just like on the kernel I tested in my main report. The sound issue was exactly the same as before.

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

The kernels I posted in comments #39 and #45 were one's that I built and not upstream kernels. They were built as part of the kernel bisect process, so the rc6, rc7, etc tags in the kernel names don't really indicate that they are upstream rc6 or rc7 but a subset of those specific kernels.

For a bisect to be accurate we must tell it whether or not a kernel is bad or good. Based on that input the bisect will output another commit ID, which is half way between that last good and bad inputs. Eventually this process will end on one specific commit ID, that should be the commit that introduced the regression.

So it sounds like the kernel in comment #39 defiantly has the bug. Just to confirm, does the kernel posted in comment #45 not exhibit the bug? If that is the case, I'll build the next kernel for testing.

Revision history for this message
Danny Werner (tehwerner) wrote :

Short answer to Joseph's question:
the kernel mentioned in #45 does not show the bug.

I 'ld be happy to test another to find the regression introduced later,
but before #35 (030700 final?) .

I can reboot either of them and can reproduce both the robotic
(#35) and ok (#45) sounds from UX2 at will, I did not yet uninstall the kernels.

More detail.
030700 final (#35): bad.
3.7.0-030700-generic #201306131511 (at that time taken from
jsalisbury lp1103018) is bad. It exposes the bug through UX2 to all of us.

030700, with the rc6 label (#45): better.
This kernel, currently still at http://kernel.ubuntu.com/~jsalisbury/lp1103018/ ),
3.7.0-030700rc6-generic #201306181116 is better. - but is does
appearantly show another bug, say bug #1103018-bis: It sounds ok
shortly after a reboot, but after a while starts
sounding robotic (on Jimmie 's system) or stops working alltogether on my computer.
Sometimes the ok sound lasts for just an hour, sometimes it takes ten hours.
Again on my computer after re-login the sound is ok. In a hurry to get
my sound back it didn't occur to me to immediately check the builtin soundcard,
willdo next time this surfaces. All in all I don't know if bug #1103018-bis a kernel
bug or even UX2 related. Let's focus on the #1103018 hunt for now.

@Aaron, @Slavenko: Could you please run 3.7.0-030700rc6-generic #201306181116
from http://kernel.ubuntu.com/~jsalisbury/lp1103018/ to confirm or deny that the UX2 sounds
ok (at least initially) on it?

As said: I 'ld be happy to test the next.

Revision history for this message
Danny Werner (tehwerner) wrote :

s/#35/#39/

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

I built the next test kernel, up to the following commit:
8966961b31c251b854169e9886394c2a20f2cea7

The test kernel can be downloaded from:
http://kernel.ubuntu.com/~jsalisbury/lp1103018

It sounds like you may have already tested this kernel, Jimmie and it exhibited this bug? If not tested, can you test that kernel and report back if it has the bug or not. I will build the next test kernel based on your test results.

Thanks in advance

Revision history for this message
Danny Werner (tehwerner) wrote :

Thank you.
$ uname -vri
3.7.0-030700-generic #201306271313 SMP Thu Jun 27 17:15:33 UTC 2013 x86_64: no robotics.
#59 (8966961b31c251b854169e9886394c2a20f2cea7): good.

Revision history for this message
Jimmie Tauriainen (jimmie-tauriainen) wrote :

Confirming, it works for me too.

Just for the record, there has been some movement on this drivers repo:
svn co https://line6linux.svn.sourceforge.net/svnroot/line6linux/driver/trunk line6usb

Several commits 2013-05-27 r1039 <-> r1036 refer "merged with linux-next".
But I only got the robotic precense with the ubunut kernel. Didn't try this with linux-next.

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

I built the next test kernel, up to the following commit:
608ff1a210ab0e8b969399039bf8e18693605910

The test kernel can be downloaded from:
http://kernel.ubuntu.com/~jsalisbury/lp1103018

It sounds like you may have already tested this kernel, Jimmie and it exhibited this bug? If not tested, can you test that kernel and report back if it has the bug or not. I will build the next test kernel based on your test results.

Thanks in advance

Revision history for this message
Danny Werner (tehwerner) wrote :

Thanks, Joseph.
608ff1a210ab0e8b969399039bf8e18693605910: bad,
i.e. #201307021515 from kernel.ubuntu.com/~jsalisbury/lp1103018: UX2 is robotic from the start

Revision history for this message
James (ubuntu-soundunreason) wrote :

Thanks for your work, folks. I am seeing this same issue with my Ubu 13.04 x64 system running through a UX2. Let me know if I can help by providing any additional information.

Revision history for this message
James (ubuntu-soundunreason) wrote :

I realized I had some updates to run and that some of those were kernel. Having run those updates (and rebooted) things have changed.

Most applications (I haven't tested Rhythmbox or Clementine) are able to play the one FLAC file I tested at random: Audacious, Audacity, VLC, & Xine.

However, Videos (Totem) plays clearly for about a second and then halts playback (no time or scrolling or sound) though it does not crash or complain. So I tried running totem from the command line: no problem.

I only noticed before the update I was running 3.8.

Here is my current kernel information:

3.8.0-26-generic #38-Ubuntu SMP Mon Jun 17 21:43:33 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
Danny Werner (tehwerner) wrote :

I've been reading up on the bisecting process, so as soon as I get my UX2 back (July 20) I will try to assist Joseph. 11 steps to go.

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

The v3.11-rc1 kernel is now available. Can folks affected by this bug test this latest kernel before I continue the bisect process? It can be downloaded from:

http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11-rc1-saucy/

Revision history for this message
Danny Werner (tehwerner) wrote :

git bisect good
6a41b4d3fe8cd4cc95181516fc6fba7b1747a27c is the first bad commit
commit 6a41b4d3fe8cd4cc95181516fc6fba7b1747a27c
Author: Alan Stern <email address hidden>
Date: Mon Oct 1 10:32:15 2012 -0400

    OHCI: implement new semantics for URB_ISO_ASAP

    This patch (as1614) updates the isochronous scheduling in ohci-hcd to
    match the new semantics for URB_ISO_ASAP. Testing revealed a hardware
    bug in the way my OHCI controller handles expired isochronous TDs;
    consequently the patch tries hard to avoid creating them (unlike the
    ehci-hcd and uhci-hcd drivers).

    Signed-off-by: Alan Stern <email address hidden>
    Signed-off-by: Greg Kroah-Hartman <email address hidden>

:040000 040000 769844da581609e3ec160b2a938262a60b3e759f 8df3aa49717bf03dd1318d5f3c181bc9f4f47d11 M drivers

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Thanks for the update and performing the bisect, Danny. This sounds like a duplicate of bug 1191603 . That bug also bisected down to the same commit.

The author of that commit has been commenting in bug 1191603 and requesting data there.

Revision history for this message
Alan Stern (stern) wrote :

Can somebody who's getting the "robotic" sound or related problems please attach a usbmon trace?

Revision history for this message
Danny Werner (tehwerner) wrote :

In reply to #67: The kernel downloaded from http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11-rc1-saucy/ does NOT have the robotics. I just ran it for a few minutes, so no info on the issues kicking in after a while.

In reply to #70: Thank you Alan, for joining the bug hunt :-) I'ld be happy to, but I have never done this, so first I'll have to read how to make a usbmon trace. I assume you'ld like to see a trace from the first bad commit - please correct me if I am wrong.

Revision history for this message
Alan Stern (stern) wrote :

Actually, I'd like to see a trace that makes the problem show up quickly. Whether that's from the first bad commit or from the current kernel doesn't matter much.

Instructions for usbmon are in the kernel source file Documentation/usb/usbmon.txt.

Revision history for this message
Danny Werner (tehwerner) wrote :
Download full text (6.2 KiB)

#reboot -to last bad commit from the bisect: (my 'robo10', i.e. 3.7.0-rc2-robo10+)

log:
git bisect start
# good: [8966961b31c251b854169e9886394c2a20f2cea7] Merge tag 'staging-3.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging
git bisect good 8966961b31c251b854169e9886394c2a20f2cea7
# bad: [98c35534420d3147553bd3071a5fc63cd56de5b1] USB: chipidea: fix use after free bug
git bisect bad 98c35534420d3147553bd3071a5fc63cd56de5b1
# good: [f4a75d2eb7b1e2206094b901be09adb31ba63681] Linux 3.7-rc6
git bisect good f4a75d2eb7b1e2206094b901be09adb31ba63681
# bad: [3a3f2e50951faaac1c67b5c6c0c70dec5b150e9b] Merge tag 'musb-for-v3.8' of git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb into usb-next
git bisect bad 3a3f2e50951faaac1c67b5c6c0c70dec5b150e9b
# bad: [596d789a211d134dc5f94d1e5957248c204ef850] USB: set hub's default autosuspend delay as 0
git bisect bad 596d789a211d134dc5f94d1e5957248c204ef850
# bad: [e223a4cca70fb6d3954abab7e96a5f54d64d79d4] MIPS: Alchemy: use the OHCI platform driver
git bisect bad e223a4cca70fb6d3954abab7e96a5f54d64d79d4
# bad: [2be350fafe3fe09765026f41d250dc5d3f000b1a] MIPS: Alchemy: use the ehci platform driver
git bisect bad 2be350fafe3fe09765026f41d250dc5d3f000b1a
# bad: [6a41b4d3fe8cd4cc95181516fc6fba7b1747a27c] OHCI: implement new semantics for URB_ISO_ASAP (robo10)
git bisect bad 6a41b4d3fe8cd4cc95181516fc6fba7b1747a27c
# good: [72675479925f53af051ae8a78bcfafeaa47b3eef] EHCI: replace mult/div with bit-mask operation
git bisect good 72675479925f53af051ae8a78bcfafeaa47b3eef
# good: [72675479925f53af051ae8a78bcfafeaa47b3eef] EHCI: replace mult/div with bit-mask operation
git bisect good 72675479925f53af051ae8a78bcfafeaa47b3eef
# good: [4005ad4390bf698e3bdae9567e79242ec0584097] EHCI: implement new semantics for URB_ISO_ASAP
git bisect good 4005ad4390bf698e3bdae9567e79242ec0584097
# good: [c44b225077bb1fb25ed5...

Read more...

Revision history for this message
Alan Stern (stern) wrote :

It looks like this problem was fixed in the 3.9.5 stable kernel release by commit 33edcea352d7c7e601a61e987b029620fed0ca4d (USB: fix latency in uhci-hcd and ohci-hcd).

I guess the commit wasn't added to any of the 3.8.stable releases because they were already closed. But it is present in 3.10.

Revision history for this message
penalvch (penalvch) wrote :

Aaron Winterburn, could you please confirm this issue exists with the latest development release of Ubuntu? ISO images are available from http://cdimage.ubuntu.com/daily-live/current/ . If the issue remains, could you please run the following command in the development release from a Terminal (Applications->Accessories->Terminal), as it will automatically gather and attach updated debug information to this report:

apport-collect -p linux <replace-with-bug-number>

Also, could you please test the latest upstream kernel available following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue. Please do not test the daily folder, but the one all the way at the bottom. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested. For example:
kernel-fixed-upstream-v3.11-rc4

This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description. As well, please remove the tag:
needs-upstream-testing

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

As well, please remove the tag:
needs-upstream-testing

If you are unable to test the mainline kernel, please comment as to why specifically you were unable to test it and add the following tags:
kernel-unable-to-test-upstream
kernel-unable-to-test-upstream-VERSION-NUMBER

Once testing of the upstream kernel is complete, please mark this bug's Status as Confirmed. Please let us know your results. Thank you for your understanding.

tags: added: kernel-bug-exists-upstream-v3.8-rc7 latest-bios-2103 needs-upstream-testing
removed: 3.8 kernel-bug-exists-upstream line6 pod
tags: removed: apport-collected staging
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
John Warren (jwwiii1982other) wrote :

I have a Line6 TonePort UX1 and was having the same problem in 13.04 32bit so I tried this and it worked:

uname -r (for the version of kernal which was 3.8.0.27-generic)

Then I ran

sudo apt-get install linux-headers-3.8.0.27-lowlatency 3.8.0.27-generic

It asks you to confirm with "Y or N" once and let everything load.

The sound work perfectly now. This is first time posting on a board like this sorry if I did it wrong. Good luck

Revision history for this message
Jakub Nadolski (25kuba87) wrote :

Thank you very much! This works perfectly :) (I use 3.8.0.26 version and it works too). I am not sure what this lowlatency means, this is some special version? However it doesn't have this bug and I am glad I can use toneport ux1 as my soundcard again:)

Revision history for this message
John Warren (jwwiii1982other) wrote :

No problem Jakub Nadolski, you can also use it with Jack and use Ardour, but only the mic jack works on my TonePort UX1. For me that's OK because I only mic my stuff anyway. Download QjackCTL, if you haven't already, and Click "Start" then "Connect" and in the Audio tab "system" will come up. Expand "system" in both columns and connect "Capture 1" to "Playback 1" and so on, depending on how many you will have. So good luck if you are into recording and you want to try.

Revision history for this message
Danny Werner (tehwerner) wrote :

Hio, I am surpised that this bug has not been marked as solved yet, because it is. I have been using the UX2 without problems for two years now. What can I do to have this bug marked as solved?

Revision history for this message
Aaron Winterburn (azakid) wrote :

Bug currently fixed.

Changed in linux (Ubuntu):
status: Incomplete → Fix Released
Changed in linux:
importance: Medium → Undecided
status: Confirmed → New
description: updated
penalvch (penalvch)
no longer affects: linux (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux (Ubuntu):
status: New → Confirmed
penalvch (penalvch)
affects: linux → linux (Ubuntu)
Changed in linux (Ubuntu):
status: New → Invalid
Danny Werner (tehwerner)
Changed in linux (Ubuntu):
status: Invalid → Fix Released
Revision history for this message
Danny Werner (tehwerner) wrote :

Shortly after the bisection (june 2013) I had no problems after an upgrade anymore. The original filer (Aaron) says it is currently fixed. I am sorry I can´ t tell when and were exactly it was fixed for us but it most defenitely is. If someone else still has the robotic (ring modulated and increasingly delayed) sound with an USB soundcard, please be very specific, do not just reopen the bug.
Regards,
                                  Danny

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.