2021-11-07 19:15:23

by Mikhail Gavrilov

[permalink] [raw]
Subject: [Bug][5.16-rc0] Between commits dcd68326d29b and 7ddb58cb0eca, was broken play sound via the DisplayPort and HDMI.

Hi!
Between commits dcd68326d29b and 7ddb58cb0eca, was broken play sound
via the DisplayPort and HDMI.
When selected DisplayPort or HDMI in a gnome control center instead of
sound in speakers in the kernel log pops errors:

[ 69.228324] snd_hda_intel 0000:0b:00.1: AMD-Vi: Event logged
[IO_PAGE_FAULT domain=0x001b address=0x1b7c00000 flags=0x0000]
[ 69.228672] snd_hda_intel 0000:0b:00.1: AMD-Vi: Event logged
[IO_PAGE_FAULT domain=0x001b address=0x1b7c00180 flags=0x0000]
[ 69.229321] snd_hda_intel 0000:0b:00.1: AMD-Vi: Event logged
[IO_PAGE_FAULT domain=0x001b address=0x1b7c00280 flags=0x0000]
[ 69.229988] snd_hda_intel 0000:0b:00.1: AMD-Vi: Event logged
[IO_PAGE_FAULT domain=0x001b address=0x1b7c00380 flags=0x0000]
[ 69.230653] snd_hda_intel 0000:0b:00.1: AMD-Vi: Event logged
[IO_PAGE_FAULT domain=0x001b address=0x1b7c00480 flags=0x0000]
[ 69.231320] snd_hda_intel 0000:0b:00.1: AMD-Vi: Event logged
[IO_PAGE_FAULT domain=0x001b address=0x1b7c00580 flags=0x0000]
[ 69.231986] snd_hda_intel 0000:0b:00.1: AMD-Vi: Event logged
[IO_PAGE_FAULT domain=0x001b address=0x1b7c00680 flags=0x0000]
[ 69.232651] snd_hda_intel 0000:0b:00.1: AMD-Vi: Event logged
[IO_PAGE_FAULT domain=0x001b address=0x1b7c00780 flags=0x0000]
[ 69.233319] snd_hda_intel 0000:0b:00.1: AMD-Vi: Event logged
[IO_PAGE_FAULT domain=0x001b address=0x1b7c00880 flags=0x0000]
[ 69.233986] snd_hda_intel 0000:0b:00.1: AMD-Vi: Event logged
[IO_PAGE_FAULT domain=0x001b address=0x1b7c00980 flags=0x0000]
[ 77.693031] amd_iommu_report_page_fault: 5527 callbacks suppressed

I tried to bisect the bad commit but didn't find the exact commit.

$ git bisect log
git bisect start
# good: [dcd68326d29b62f3039e4f4d23d3e38f24d37360] Merge tag
'devicetree-for-5.16' of
git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux
git bisect good dcd68326d29b62f3039e4f4d23d3e38f24d37360
# bad: [7ddb58cb0ecae8e8b6181d736a87667cc9ab8389] Merge tag
'clk-for-linus' of
git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux
git bisect bad 7ddb58cb0ecae8e8b6181d736a87667cc9ab8389
# bad: [2219b0ceefe835b92a8a74a73fe964aa052742a2] Merge tag 'soc-5.16'
of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
git bisect bad 2219b0ceefe835b92a8a74a73fe964aa052742a2
# good: [2003c44e28ac9759200a78dda20c5f695949e3f4] ASoC: cs42l42:
Prevent NULL pointer deref in interrupt handler
git bisect good 2003c44e28ac9759200a78dda20c5f695949e3f4
# bad: [ff0700f03609b9f0defacd4ce96d9519d721e0a2] Merge tag
'sound-5.16-rc1' of
git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
git bisect bad ff0700f03609b9f0defacd4ce96d9519d721e0a2
# good: [956ac4f1f53c58f87f38fd79d4c87e9146245c09] Merge series "ASoC:
Sanity checks and soc-topology updates" from Cezary Rojewski
<[email protected]>:
git bisect good 956ac4f1f53c58f87f38fd79d4c87e9146245c09
# skip: [634ec0b2906efd46f6f57977e172aa3470aca432] ALSA:
firewire-motu: notify event for parameter change in register DSP model
git bisect skip 634ec0b2906efd46f6f57977e172aa3470aca432
# bad: [407359d44ed33974137b9158da356d53f999dcf2] ALSA: firewire-motu:
export meter information to userspace as float value
git bisect bad 407359d44ed33974137b9158da356d53f999dcf2
# good: [c18c4966033e6473a472fb65fbd5a6441603fbf7] ALSA: pcm: Unify
snd_pcm_delay() and snd_pcm_hwsync()
git bisect good c18c4966033e6473a472fb65fbd5a6441603fbf7
# skip: [73325f60e2ed28f04032d43c2828b73776cfefd0] ALSA: memalloc:
Support for non-coherent page allocation
git bisect skip 73325f60e2ed28f04032d43c2828b73776cfefd0
# skip: [4c9eda8f37f9523f1d2ccbb442ce641e8c981c9f] ALSA:
firewire-motu: queue event for parameter change in register DSP model
git bisect skip 4c9eda8f37f9523f1d2ccbb442ce641e8c981c9f
# skip: [58b62ab7025912ce1be36e3ba19d49620a0161b6] ALSA:
firewire-motu: add ioctl command to read cached hardware meter
git bisect skip 58b62ab7025912ce1be36e3ba19d49620a0161b6
# bad: [5aec579e08e4f2be7103ae264ac8f34883eb9273] ALSA: uapi: Fix a
C++ style comment in asound.h
git bisect bad 5aec579e08e4f2be7103ae264ac8f34883eb9273
# skip: [7d843c494a9b69d07bc0588124599e3f665a1496] ALSA:
firewire-motu: parse messages for input parameters in register DSP
model
git bisect skip 7d843c494a9b69d07bc0588124599e3f665a1496
# skip: [ca15a09ccc5bd2731c5fcb667e6ea3bbbf8f5772] ALSA:
firewire-motu: add ioctl command to read cached parameters in register
DSP model
git bisect skip ca15a09ccc5bd2731c5fcb667e6ea3bbbf8f5772
# skip: [dc36a9755a572781903d79f8437d109b72662da5] ALSA:
firewire-motu: parse messages for mixer source parameters in
register-DSP model
git bisect skip dc36a9755a572781903d79f8437d109b72662da5
# skip: [41cc23389f5fc64bdac78b73935a44bd5abc990d] ALSA:
firewire-motu: parse messages for line input parameters in register
DSP model
git bisect skip 41cc23389f5fc64bdac78b73935a44bd5abc990d
# skip: [a25684a956468ee8bbbee44649e41e5d447e5adc] ALSA: memalloc:
Support for non-contiguous page allocation
git bisect skip a25684a956468ee8bbbee44649e41e5d447e5adc
# skip: [6ca81d2b6305a884da441fd0281ff01afd5f8c7e] ALSA:
firewire-motu: parse messages for output parameters in register DSP
model
git bisect skip 6ca81d2b6305a884da441fd0281ff01afd5f8c7e
# skip: [90b28f3bb85c39b11daf29d473ef21a935c70ec5] ALSA:
firewire-motu: add message parser for meter information in command DSP
model
git bisect skip 90b28f3bb85c39b11daf29d473ef21a935c70ec5
# skip: [3c05f1477e62ea5a0a8797ba6a545b1dc751fb31] ALSA: ISA: not for M68K
git bisect skip 3c05f1477e62ea5a0a8797ba6a545b1dc751fb31
# skip: [2d9ea39917a4e4293bc2caea902c7059a330b611] ALSA: memalloc:
Convert x86 SG-buffer handling with non-contiguous type
git bisect skip 2d9ea39917a4e4293bc2caea902c7059a330b611
# skip: [ce69bed5557b05dd1918556d4e90c293382155ae] ALSA:
firewire-motu: parse messages for mixer output parameters in register
DSP model
git bisect skip ce69bed5557b05dd1918556d4e90c293382155ae
# bad: [b15706471abe916a16a38bee4434612998d869d2] ALSA: firewire: Fix
C++ style comments in uapi header
git bisect bad b15706471abe916a16a38bee4434612998d869d2
# skip: [bea36afa102e37d5e4d9ea519f14d1c92d512e45] ALSA:
firewire-motu: add message parser to gather meter information in
register DSP model
git bisect skip bea36afa102e37d5e4d9ea519f14d1c92d512e45
# only skipped commits left to test
# possible first bad commit:
[b15706471abe916a16a38bee4434612998d869d2] ALSA: firewire: Fix C++
style comments in uapi header
# possible first bad commit:
[2d9ea39917a4e4293bc2caea902c7059a330b611] ALSA: memalloc: Convert x86
SG-buffer handling with non-contiguous type
# possible first bad commit:
[73325f60e2ed28f04032d43c2828b73776cfefd0] ALSA: memalloc: Support for
non-coherent page allocation
# possible first bad commit:
[a25684a956468ee8bbbee44649e41e5d447e5adc] ALSA: memalloc: Support for
non-contiguous page allocation
# possible first bad commit:
[3c05f1477e62ea5a0a8797ba6a545b1dc751fb31] ALSA: ISA: not for M68K
# possible first bad commit:
[634ec0b2906efd46f6f57977e172aa3470aca432] ALSA: firewire-motu: notify
event for parameter change in register DSP model
# possible first bad commit:
[4c9eda8f37f9523f1d2ccbb442ce641e8c981c9f] ALSA: firewire-motu: queue
event for parameter change in register DSP model
# possible first bad commit:
[ca15a09ccc5bd2731c5fcb667e6ea3bbbf8f5772] ALSA: firewire-motu: add
ioctl command to read cached parameters in register DSP model
# possible first bad commit:
[7d843c494a9b69d07bc0588124599e3f665a1496] ALSA: firewire-motu: parse
messages for input parameters in register DSP model
# possible first bad commit:
[41cc23389f5fc64bdac78b73935a44bd5abc990d] ALSA: firewire-motu: parse
messages for line input parameters in register DSP model
# possible first bad commit:
[6ca81d2b6305a884da441fd0281ff01afd5f8c7e] ALSA: firewire-motu: parse
messages for output parameters in register DSP model
# possible first bad commit:
[ce69bed5557b05dd1918556d4e90c293382155ae] ALSA: firewire-motu: parse
messages for mixer output parameters in register DSP model
# possible first bad commit:
[dc36a9755a572781903d79f8437d109b72662da5] ALSA: firewire-motu: parse
messages for mixer source parameters in register-DSP model
# possible first bad commit:
[58b62ab7025912ce1be36e3ba19d49620a0161b6] ALSA: firewire-motu: add
ioctl command to read cached hardware meter
# possible first bad commit:
[90b28f3bb85c39b11daf29d473ef21a935c70ec5] ALSA: firewire-motu: add
message parser for meter information in command DSP model
# possible first bad commit:
[bea36afa102e37d5e4d9ea519f14d1c92d512e45] ALSA: firewire-motu: add
message parser to gather meter information in register DSP model

I hope it helps.
The full kernel log is attached to this message.

--
Best Regards,
Mike Gavrilov.


Attachments:
dmesg1.txt (219.80 kB)

2021-11-07 20:35:00

by Takashi Iwai

[permalink] [raw]
Subject: Re: [Bug][5.16-rc0] Between commits dcd68326d29b and 7ddb58cb0eca, was broken play sound via the DisplayPort and HDMI.

On Sun, 07 Nov 2021 14:27:33 +0100,
Mikhail Gavrilov wrote:
>
> Hi!
> Between commits dcd68326d29b and 7ddb58cb0eca, was broken play sound
> via the DisplayPort and HDMI.
> When selected DisplayPort or HDMI in a gnome control center instead of
> sound in speakers in the kernel log pops errors:
(snip)

Yes, it's a known regression and already the problematic commit
(2d9ea39917a4) was reverted in sound git tree for the next PR.


thanks,

Takashi