Created attachment 178051 [details] dmesg output I'm experiencing crackling/distorted sound output using my AMD 290X via HDMI cable. I found as a workaround to set an alsa-base.conf in /etc/modprobe.d as follow: options snd_hda_intel snoop=0 Is that the correct way to fix the issue? My configuration is - linux kernel 4.0.4 - alsa-firmware/alsa-lib/alsa-plugins/alsa-tools/alsa-utils 1.0.29 - mesa 10.5.6 Thanks
Created attachment 178061 [details] lspci output
Created attachment 178071 [details] aplay output
Could you try the patch below?
Created attachment 178081 [details] Test fix patch
I tried the patch against a vanilla 4.0.4 kernel and it didn't work, audio corruption still there.
Created attachment 178111 [details] dmesg output after patch and after disabled my workaround
Sorry, the patch was wrong. It should be ATIHDMI_NS. The fixed one is attached below.
Created attachment 178121 [details] Revised patch
Ok, it worked that time, this last patch corrects my issue with hdmi audio and my 290X, thanks.
Created attachment 178131 [details] dmesg output after the patch solved my issue
Great, I'm going to queue the fix. It'll be backported to stable kernels once when merged to Linus tree.