I would like to report that with -32 kernel sound works fine and -35
does not in a more complex configuration. AMD RX 560 is bypassed into a
virtual machine using IOMMU. A display port connection is used.

I'm attaching 'sudo lspci -nvvv' for -32 and -35 kernels invoked from
the virtual machine.

This is the difference between them:

diff --git a/lspci.32.iommu b/lspci.35.iommu
index e7f7560..058c719 100644
--- a/lspci.32.iommu
+++ b/lspci.35.iommu
@@ -34,9 +34,9 @@
        Capabilities: [48] Vendor Specific Information: Len=08 <?>
        Capabilities: [50] Power Management version 3
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
-               Status: D3 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
+               Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
-               Address: 00000000fee09000  Data: 0024
+               Address: 0000000000000000  Data: 0000
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
 


** Attachment added: "lspci.iommu.32.vs.35.log"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2009136/+attachment/5656327/+files/lspci.iommu.32.vs.35.log

-- 
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/2009136

Title:
  No HDMI audio under 5.19.0-35 & -37 (regression from -32)

Status in linux package in Ubuntu:
  Confirmed
Status in linux source package in Jammy:
  Invalid
Status in linux source package in Kinetic:
  In Progress

Bug description:
  CLARIFICATION: Just to avoid any confusion for those coming to this
  bug report; the "Jammy: invalid" status above does *not* mean that
  this bug doesn't affect jammy -- it does, and the kernel team is aware
  of this. All it reflects is that the fix has to go into the kinetic
  kernel package which will then flow into the kernel-hwe package
  implicitly.

  Currently known affected cards:

  * HD 7700 (comment 8)
  * R9 290 (comment 21)
  * RX 550 (LP: #2012141, and comment 27)
  * RX 570 (mine)
  * RX 580 (LP: #2009276, and comment 28)
  * WX 3200 (comment 29)
  * RX 6600 (LP: #2009542)
  * RX 6700 (LP: #2009275)

  [ Original Description ]

  After upgrading my Ubuntu jammy (22.04) desktop to the -35 release of
  the kernel, I found my HDMI audio output device had disappeared.
  Reverting to the -32 release caused it to appear again (hence why I'm
  filing the bug against the kernel rather than pulseaudio). I'm
  attaching the dmesg output from immediately after booting each kernel,
  but after a bit of trimming and diffing I *think* the following lines
  are the salient ones:

  input: HDA ATI HDMI HDMI/DP,pcm=3 as 
/devices/pci0000:00/0000:00:03.1/0000:2b:00.1/sound/card0/input12
  input: HDA ATI HDMI HDMI/DP,pcm=7 as 
/devices/pci0000:00/0000:00:03.1/0000:2b:00.1/sound/card0/input13
  input: HDA ATI HDMI HDMI/DP,pcm=8 as 
/devices/pci0000:00/0000:00:03.1/0000:2b:00.1/sound/card0/input14
  input: HDA ATI HDMI HDMI/DP,pcm=9 as 
/devices/pci0000:00/0000:00:03.1/0000:2b:00.1/sound/card0/input15
  input: HDA ATI HDMI HDMI/DP,pcm=10 as 
/devices/pci0000:00/0000:00:03.1/0000:2b:00.1/sound/card0/input16
  input: HDA ATI HDMI HDMI/DP,pcm=11 as 
/devices/pci0000:00/0000:00:03.1/0000:2b:00.1/sound/card0/input17
  snd_hda_intel 0000:2b:00.1: bound 0000:2b:00.0 (ops 
amdgpu_dm_audio_component_bind_ops [amdgpu])

  These lines appear in the dmesg of the -32 kernel, but not in the -35
  kernel's log. Meanwhile, the following lines appear in the -35
  kernel's log but not in the -32:

  hdaudio hdaudioC0D0: no AFG or MFG node found
  snd_hda_intel 0000:2b:00.1: no codecs initialized

  I'll also attach the output of "pactl list" under each kernel (this
  shows the HDMI audio sink showing up under -32, but not -35) just in
  case that helps shed any light on things.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2009136/+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

Reply via email to