The original report says crackling and skipping. Would the fix also relate to audio not playing at all for shorter sounds? In my experience the audio has to 'warm up'. If I play something long it is fine, but if I play something short and the audio hasn't been in use it doesn't play. If I play that same sound again 3 seconds later it plays.
I created a java program which plays a short click wav file. On the first attempt, java outputs this Exception: 2025-02-03_10:59:40.964 java.lang.IllegalArgumentException: No line matching interface SourceDataLine supporting format PCM_FLOAT 44100.0 Hz, 32 bit, mono, 4 bytes/frame is supported. 2025-02-03_10:59:40.964 at java.desktop/javax.sound.sampled.AudioSystem.getLine(AudioSystem.java:425) Could this be related to this bug? Or should we look elsewhere to resolve? -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/2091565 Title: Crackling and skipping audio via amdgpu HDMI/DP since linux- image-6.8.0-50-generic Status in Linux: Fix Released Status in linux package in Ubuntu: Fix Committed Bug description: Since the update to Linux 6.8.0-50-generic, HDMI/DP audio output crackles and skips, and is completely unusable. This is via an AMD Radeon RX 550 using the default amdgpu driver. I have no issues with my USB DAC or the analog and SPDIF outputs of my onboard sound card. They all work fine. The problem is caused by conditional snooping being enabled for AMD GPU's. This patch has been reverted upstream in the Linux kernel because it breaks a lot of hardware. Debian has also reverted the patch in all of their kernels. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1081833 https://bugzilla.kernel.org/show_bug.cgi?id=219087 https://www.spinics.net/lists/stable-commits/msg376549.html Rebooting and selecting Linux 6.8.0-49-generic in GRUB completely solves the issue, so I am 100% sure this is a regression in the latest kernel and not a hardware issue. So please revert "ALSA: hda: Conditionally use snooping for AMD HDMI". ProblemType: Bug DistroRelease: Ubuntu 24.04 Package: linux-image-6.8.0-50-generic 6.8.0-50.51 ProcVersionSignature: Ubuntu 6.8.0-50.51-generic 6.8.12 Uname: Linux 6.8.0-50-generic x86_64 ApportVersion: 2.28.1-0ubuntu3.1 Architecture: amd64 CasperMD5CheckResult: unknown Date: Wed Dec 11 16:37:20 2024 HibernationDevice: RESUME=UUID=5d72bb4c-ca50-4252-ada7-c6f8c515d0a5 MachineType: ASUS P8Z77-V ProcEnviron: LANG=nl_NL.UTF-8 PATH=(custom, no user) SHELL=/bin/bash TERM=xterm-256color XDG_RUNTIME_DIR=<set> ProcFB: 0 amdgpudrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.8.0-50-generic root=UUID=81f554dc-4199-4f5c-a5a5-0d5436da969a ro quiet splash loglevel=3 vt.handoff=7 RelatedPackageVersions: linux-restricted-modules-6.8.0-50-generic N/A linux-backports-modules-6.8.0-50-generic N/A linux-firmware 20240318.git3b128b60-0ubuntu2.5 SourcePackage: linux UpgradeStatus: Upgraded to noble on 2024-04-20 (235 days ago) dmi.bios.date: 05/14/2024 dmi.bios.release: 24.5 dmi.bios.vendor: coreboot dmi.bios.version: 24.05 dmi.board.name: P8Z77-V dmi.board.vendor: ASUS dmi.board.version: 1.0 dmi.chassis.type: 3 dmi.chassis.vendor: ASUS dmi.ec.firmware.release: 0.0 dmi.modalias: dmi:bvncoreboot:bvr24.05:bd05/14/2024:br24.5:efr0.0:svnASUS:pnP8Z77-V:pvr1.0:rvnASUS:rnP8Z77-V:rvr1.0:cvnASUS:ct3:cvr:sku: dmi.product.name: P8Z77-V dmi.product.version: 1.0 dmi.sys.vendor: ASUS To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/2091565/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp