Comment 0 for bug 1960703

Revision history for this message
Johan van Zoomeren (amain) wrote :

The TASCAM US-122L, in previous versions of Ubuntu worked okay, with an occasional xrun reported by jackd, running with default settings (sample rate: 48000, frames/period: 1024). In Ubuntu 21.10 the device loads without problem, playback is perfect, but when the system load increases, it immediately crashes.

dmesg:
[ 218.607518] xhci_hcd 0000:00:14.0: ERROR unknown event type 37
[ 218.613370] underrun, status=4294967278

jackd (hangs):
ALSA: prepare audio_reservation_init
Acquire audio card Audio1
creating alsa driver ... usb_stream:US122L|usb_stream:US122L|1024|2|48000|0|0|nomon|swmeter|-|32bit
configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods
ALSA: final selected sample format for capture: 24bit little-endian in 3bytes format
ALSA: use 2 periods for capture
ALSA: final selected sample format for playback: 24bit little-endian in 3bytes format
ALSA: use 2 periods for playback
error for playback on "usb_stream:US122L" (Input/output error)
JackAudioDriver::ProcessAsync: read error, stopping...
Jack: JackPosixThread::ThreadHandler : exit

lsusb:
Bus 001 Device 003: ID 0644:800e TEAC Corp. TASCAM US-122L

$ lsb_release -rd
Description: Ubuntu 21.10
Release: 21.10

Reproduction steps:
1) Start jackd
2) Start OBS with an USB webcam at 1080p
3) OBS monitor out goes to jackd/us-122L system port
4) Start Zoom, Thunderbird etc to generate some load
5) Immediately crashes

Crash occurs even quicker when adding and actively using another 4 channel USB audio device(same sample rate and period size). So the issue seems related to the load on the USB subsystem as well as the CPU load. I've tried just about anything to find out if the issue is hardware related. Changed cables, used different hubs, no-hub, used different USB ports on the laptop, etc, etc, etc. Same result every time. Also normal playback using PulseAudio instead of Jack suffers from the same. Each time a reset of Jack is needed to get the US-122L to work again.

I've tried, besides the default Ubuntu kernel(5.13.0-28-generic) the latest upstream mainline kernel(5.17.0-051700rc3-generic) as well as the low latency kernel (5.13.0-28-lowlatency). Same result.

If more information is needed, please let me know. Any help is much appreciated. Thank you in advance.

ProblemType: Bug
DistroRelease: Ubuntu 21.10
Package: linux-image-5.13.0-28-generic 5.13.0-28.31
ProcVersionSignature: Ubuntu 5.13.0-28.31-generic 5.13.19
Uname: Linux 5.13.0-28-generic x86_64
ApportVersion: 2.20.11-0ubuntu71
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Sat Feb 12 14:22:37 2022
InstallationDate: Installed on 2020-12-13 (425 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
MachineType: LENOVO 20N3S77637
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=nl_NL.UTF-8
 SHELL=/bin/bash
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.13.0-28-generic root=/dev/mapper/ubuntu-root ro quiet splash intel_iommu=on
RelatedPackageVersions:
 linux-restricted-modules-5.13.0-28-generic N/A
 linux-backports-modules-5.13.0-28-generic N/A
 linux-firmware 1.201.1
SourcePackage: linux
UpgradeStatus: Upgraded to impish on 2021-10-31 (103 days ago)
dmi.bios.date: 10/09/2021
dmi.bios.release: 1.75
dmi.bios.vendor: LENOVO
dmi.bios.version: N2IET97W (1.75 )
dmi.board.asset.tag: Not Available
dmi.board.name: 20N3S77637
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40697 WIN
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.ec.firmware.release: 1.19
dmi.modalias: dmi:bvnLENOVO:bvrN2IET97W(1.75):bd10/09/2021:br1.75:efr1.19:svnLENOVO:pn20N3S77637:pvrThinkPadT490:rvnLENOVO:rn20N3S77637:rvrSDK0J40697WIN:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_20N3_BU_Think_FM_ThinkPadT490:
dmi.product.family: ThinkPad T490
dmi.product.name: 20N3S77637
dmi.product.sku: LENOVO_MT_20N3_BU_Think_FM_ThinkPad T490
dmi.product.version: ThinkPad T490
dmi.sys.vendor: LENOVO