sometimes a short period of noise or silence at beginning of sound or after pausing Hardware: 00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Kaveri HDMI/DP Audio Controller 00:01.1 0403: 1002:1308 Output: HDMI Same on Radeon RX560/DP Sometimes there is a short period of silence or random noise when sound statrts to play ( about a second). This somtimes happens too, after playback paused. Affected Kernels 5.18.8, 5.18.9, ..., 5.19.1 bisecting showed up d35135ebebe4090f3e0a5fc7f50bd6d8848fda3f as the likely cause. Since this kind of Bug is not easy to track down, this might be a false positive. But i've applied a reverse patch to some of the newer Kernels - including 5.19.1 - and it looks like this is the bad boy. Maybe its a solution to implement the trouble causing patch in a per machine fashion, for example via cpuid, so the weakness of Intels Haswell could be worked around.
Hmm, it's not really CPU-dependent but rather IOMMU-dependent. How about the patch below instead?
Created attachment 301568 [details] Test fix patch
Scratch the above, it will break things obviously...
I guess we have to put back x86-specific workaround again, but in a different way. Could you try the patch below instead of the previous one?
Created attachment 301569 [details] Test fix patch
I've applied this patch to a vanilla 19.1, which is your intention, i think. Now we have to wait.
It looks like this patch works.
Hi, also an issue with iommu with chipset AMD 970; My computer freezes with access to the disk to a disk each second. Have to stop the PC for some minutes before being able to restart. Sometimes, when I reboot, BIOS says the main BIOS is corrupted... iommu=soft in the kernel parameters seems to solve the issue.. Regards,
Now the fix is merged to sound git tree (commit a8d302a0b77057568350fe0123e639d02dba0745), possibly included in the upstream 6.0-rc3 or rc4.
Shame on me ! The troubles I had where not linked to the kernel, but to a dying CMOS battery on the motherboard. Sorry, Regards, (In reply to Pierre Juhen from comment #8) > Hi, > > also an issue with iommu with chipset AMD 970; > > My computer freezes with access to the disk to a disk each second. > > Have to stop the PC for some minutes before being able to restart. > > Sometimes, when I reboot, BIOS says the main BIOS is corrupted... > > iommu=soft in the kernel parameters seems to solve the issue.. > > Regards,
It turned out that the fix caused regressions on another machines with AMD GPU. I posted two possible fix patches below. Could you check each of them and verify whether it still works with your device? https://lore.kernel.org/r/87ilm3vbzq.wl-tiwai@suse.de https://lore.kernel.org/r/875yi3froa.wl-tiwai@suse.de Note that the first one might bring back to the origianl problem.
There is a third one, and that should be tested at first: https://lore.kernel.org/r/874jxml7a4.wl-tiwai@suse.de It'd be appreciated if you can confirm that it doesn't bring further regression.
I am going to test the third patch now.
There hasn't been any trouble. So it's time to classify this bug as fixed. Thanks for your effort, greetings to all maintainers and supporters and keep up the good work.