5.13.0-37.42 terrible sound via usb

Bug #1966147 reported by vinz
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

updated yesterday to kernel 5.13.0-37.42 and sound from usb is awfully distorted, while from bluetooth and hdmi is unaltered.

reverted to 5.13.0-35.40 via grub and sound via usb is back to normal.
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu71
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC3: vinz 2684 F.... pulseaudio
 /dev/snd/controlC2: vinz 2684 F.... pulseaudio
 /dev/snd/controlC1: vinz 2684 F.... pulseaudio
 /dev/snd/controlC0: vinz 2684 F.... pulseaudio
CasperMD5CheckResult: unknown
CurrentDesktop: Unity
DistroRelease: Ubuntu 21.10
InstallationDate: Installed on 2020-10-24 (518 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
MachineType: Gigabyte Technology Co., Ltd. X570 AORUS ULTRA
NonfreeKernelModules: nvidia_modeset nvidia
Package: linux (not installed)
ProcFB: 0 VESA VGA
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.13.0-37-generic root=UUID=fcdf975b-fa37-4978-8a4b-e452f2f74512 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 5.13.0-37.42-generic 5.13.19
RelatedPackageVersions:
 linux-restricted-modules-5.13.0-37-generic N/A
 linux-backports-modules-5.13.0-37-generic N/A
 linux-firmware 1.201.5
Tags: impish
Uname: Linux 5.13.0-37-generic x86_64
UpgradeStatus: Upgraded to impish on 2022-01-27 (58 days ago)
UserGroups: adm cdrom dip docker lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 09/15/2020
dmi.bios.release: 5.17
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: F30
dmi.board.asset.tag: Default string
dmi.board.name: X570 AORUS ULTRA
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: Default string
dmi.chassis.asset.tag: Default string
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.version: Default string
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrF30:bd09/15/2020:br5.17:svnGigabyteTechnologyCo.,Ltd.:pnX570AORUSULTRA:pvr-CF:rvnGigabyteTechnologyCo.,Ltd.:rnX570AORUSULTRA:rvrDefaultstring:cvnDefaultstring:ct3:cvrDefaultstring:skuDefaultstring:
dmi.product.family: X570 MB
dmi.product.name: X570 AORUS ULTRA
dmi.product.sku: Default string
dmi.product.version: -CF
dmi.sys.vendor: Gigabyte Technology Co., Ltd.

Revision history for this message
vinz (undefinederror) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Libera.chat.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1966147/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
affects: ubuntu → linux (Ubuntu)
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 1966147

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
Po-Hsu Lin (cypressyew) wrote :

Hello,
apart from upload more info with apport-collect mentioned above (please do it with your USB sound card connected).
Can you check if workaround in comment #9 of bug #1966066 works for you?
Thanks.

Revision history for this message
vinz (undefinederror) wrote :

Hi Po-Hsu Lin,

Thank you for your direction. I'll do it this evening after work (I need to restart my pc to load the affected kernel).

Would it be useful at all to have apport-collect from both kernels (good sound vs bad sound)?

Revision history for this message
vinz (undefinederror) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected impish
description: updated
Revision history for this message
vinz (undefinederror) wrote : CRDA.txt

apport information

Revision history for this message
vinz (undefinederror) wrote : CurrentDmesg.txt

apport information

Revision history for this message
vinz (undefinederror) wrote : IwConfig.txt

apport information

Revision history for this message
vinz (undefinederror) wrote : Lspci.txt

apport information

Revision history for this message
vinz (undefinederror) wrote : Lspci-vt.txt

apport information

Revision history for this message
vinz (undefinederror) wrote : Lsusb.txt

apport information

Revision history for this message
vinz (undefinederror) wrote : Lsusb-t.txt

apport information

Revision history for this message
vinz (undefinederror) wrote : Lsusb-v.txt

apport information

Revision history for this message
vinz (undefinederror) wrote : PaInfo.txt

apport information

Revision history for this message
vinz (undefinederror) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
vinz (undefinederror) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
vinz (undefinederror) wrote : ProcEnviron.txt

apport information

Revision history for this message
vinz (undefinederror) wrote : ProcInterrupts.txt

apport information

Revision history for this message
vinz (undefinederror) wrote : ProcModules.txt

apport information

Revision history for this message
vinz (undefinederror) wrote : PulseList.txt

apport information

Revision history for this message
vinz (undefinederror) wrote : RfKill.txt

apport information

Revision history for this message
vinz (undefinederror) wrote : UdevDb.txt

apport information

Revision history for this message
vinz (undefinederror) wrote : WifiSyslog.txt

apport information

Revision history for this message
vinz (undefinederror) wrote : acpidump.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
vinz (undefinederror) wrote :

Hi Po-Hsu Lin,

Yes I confirm that setting `default-sample-rate = 48000` does solve the issue

thank you

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Hello vinz,

Can you help me to test this Impish 5.13 kernel?

Which contains a possible fix:
https://github.com/torvalds/linux/commit/23939115be181bc5dbc33aa8471adcdbffa28910

Steps:
1. Remove the workaround that you made and make sure you have this issue in 5.13.0-37
2. Download kernel deb files here based on your current distro, put them into a new directory:
   impish - https://people.canonical.com/~phlin/kernel/lp-1966066-usb-audio/impish/
2. Roll back to 5.13.0-35 by selecting the corresponding entry in GRUB
3. Remove the 5.13.0-37 kernel, otherwise it will complain about a version conflict:
   sudo apt remove linux-image-5.13.0-37-generic linux-image-unsigned-5.13.0-37-generic
4. Install those deb files in Step 2, with command:
   sudo dpkg -i linux-*5.13*.deb
5. Reboot to this test kernel and check the version number with `uname -vr`, it should be something like:
   5.13.0-37-generic #42+lp1966066 SMP Tue Mar 29 02:54:38 UTC 2022
6. Test your audio and see if it helps

After your test, you can undo this change by:
A. Rolling back to 5.13.0-35 again
B. sudo apt remove linux-image-unsigned-5.13.0-37-generic
C. sudo apt install linux-image-5.13.0-37-generic

Thanks!

Po-Hsu Lin (cypressyew)
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
vinz (undefinederror) wrote :

Hi Po-Hsu Lin,

I have installed 5.13.0-37-generic #42+lp1966066 as per steps above and I can confirm that it fixes the issue.

Thank you

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Hi vinz,
that's awesome,
I will mark this one as a dup of bug 1966066 and move your test result there.
Thanks for testing!

Revision history for this message
vinz (undefinederror) wrote :

Thank **you**

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.