[Kernel-packages] [Bug 2009136] Re: No HDMI audio under 5.19.0-35 & -37 (regression from -32)

2023-04-29 Thread Yubo Wang
My problems remain After upgrading to pre-proposed kernel 5.19.0-42 : Youtube , 
mouse, key input still often paused for some time( 10 seconds or more).  
Youtube, there are 30 seconds buffer, still paused for more than 10 seconds 
very often.
Mouse might disappear for more than 10 seconds very often.
 
Good news are that 2 warnings (hdaudio hdaudioC1D0: no AFG or MFG node found , 
snd_hda_intel :01:00.1: no codecs initializedd) disappeared after upgrade 
to 5.19.0.42.

When -42 start up, 4 warnings still appeared:
[1.043489]blacklist: Problem blacklisting hash (-13)
[1.043489]blacklist: Problem blacklisting hash (-13)
[1.043489]blacklist: Problem blacklisting hash (-13)
[1.043489]blacklist: Problem blacklisting hash (-13)

hdaudio hdaudioC1D0: no AFG or MFG node found ( 5.15.0-70, 5.19.0-40,   
5.19.0-41 has this warning)
snd_hda_intel :01:00.1: no codecs initializedd  ( 5.15.0-70, 5.19.0-40,   
5.19.0-41 has this warning)

Version below 5.15.0-70 works fine and without any warning.

I had the same problems (Youtube , mouse, key input frozing )with
5.19.0.32 as well,

[1.043489]blacklist: Problem blacklisting hash (-13)
[1.043489]blacklist: Problem blacklisting hash (-13)
[1.043489]blacklist: Problem blacklisting hash (-13)
[1.043489]blacklist: Problem blacklisting hash (-13)

but without the following warinings:
hdaudio hdaudioC1D0: no AFG or MFG node found (5.19.0.32 does not have this 
warning)
snd_hda_intel :01:00.1: no codecs initialized (5.19.0.32 does not have this 
warning)

** Attachment added: "log"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2009136/+attachment/5669606/+files/lspci.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:
  Fix Committed

Bug description:
  [Impact]
  For amdgpu/i915, hdmi audio output device has disappeared.

  [Fix]
  The latest fix for the non-contiguous memalloc helper changed the
  allocation method for a non-IOMMU system to use only the fallback
  allocator.  This should have worked, but it caused a problem sometimes
  when too many non-contiguous pages are allocated that can't be treated
  by HD-audio controller.
  
  As a quirk workaround, go back to the original strategy: use
  dma_alloc_noncontiguous() at first, and apply the fallback only when
  it fails, but only for non-IOMMU case

  [Test Case]
  1. boot with kernel applied the patches.
  2. check the cards in /proc/asound/cards.
 Get the hdmi cards.

   0 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xe232 irq 137
   1 [HDMI ]: HDA-Intel - HDA ATI HDMI
HDA ATI HDMI at 0xe226 irq 134

  [Where problems could occur]
  Low, this is just workaround and may have a better solution in the future.

  [Misc]
  All patches has been landed on OEM-6.1 and lunar.

  ~~
  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/pci:00/:00:03.1/:2b:00.1/sound/card0/input12
  input: HDA ATI HDMI HDMI/DP,pcm=7 as 
/devices/pci:00/:00:03.1/:2b:00.1/sound/card0/input13
  input: HDA ATI HDMI HDMI/DP,pcm=8 as 
/devices/pci:00/:00:03.1/:2b:00.1/sound/card0/input14
  input: HDA ATI HDMI HDMI/DP,pcm=9 as 
/devices/pci:00/:00:03.1/:2b:00.1/sound/card0/input15
  input: HDA ATI HDMI HDMI/DP,pcm=10 as 
/devices/pci:00/:00:03.1/:2b:00.1/sound/card0/input16
  input: HDA ATI HDMI HDMI/DP,pcm=11 as 
/devices/pci:00/:00:03.1/:2b:00.1/sound/card0/input17
  snd_hda_intel :2b:00.1: bound :2b:00.0 (ops 
amdgpu_dm_audio_component_bind_ops [amdgpu])

  These lines appear in the d

[Kernel-packages] [Bug 2009815] Re: No HDMI audio anymore

2023-04-26 Thread Yubo Wang
*** This bug is a duplicate of bug 2009136 ***
https://bugs.launchpad.net/bugs/2009136

I can confirm the bug as well. 5.19.0-38-generic,  5.19.0-41-generic is broken.
5.15.0-70-generic, is broken.

it is broken in both ubuntu 22.04, 22.10.

I update to 22.10, and reinstall 22.10, problems remain.

unfortunately, I failed to rollback to previous kernels.

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

Title:
  No HDMI audio anymore

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  lsb_release -rd
  Description:  Ubuntu 22.10
  Release:  22.10

  Wayland

  5.19.0-35-generic does not work
  5.19.0-32-generic does work

  If following messages occures during boot, no HDMI audio :
  hdaudio hdaudioC1D0: no AFG or MFG node found
  snd_hda_intel :01:00.1: no codecs initialized

  No HDMI Audio does mean : 
  Via lspci -nnk I get the following device :

  01:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Baffin 
HDMI/DP Audio [Radeon RX 550 640SP / RX 560/560X] [1002:aae0]
Subsystem: ASUSTeK Computer Inc. Baffin HDMI/DP Audio [Radeon RX 550 
640SP / RX 560/560X] [1043:aae0]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel

  But this device will neither be indicated via pavucontrol nor via
  audio settings (mainsettings).

  Before I did installed the Ubuntu 22.10 on my system, I did test the
  live system. It did work without problems. And two audio devices, that
  is what I expect, will be indicated in the audio settings (one of
  them, the given above via lspci -nnk, is necessary to have audio via
  HDMI)

  ProblemType: Bug
  DistroRelease: Ubuntu 22.10
  Package: linux-image-5.19.0-35-generic 5.19.0-35.36
  ProcVersionSignature: Ubuntu 5.19.0-35.36-generic 5.19.17
  Uname: Linux 5.19.0-35-generic x86_64
  ApportVersion: 2.23.1-0ubuntu3
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  richard1402 F wireplumber
   /dev/snd/seq:richard1399 F pipewire
  CRDA: N/A
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Thu Mar  9 10:11:41 2023
  InstallationDate: Installed on 2023-03-04 (4 days ago)
  InstallationMedia: Ubuntu 22.10 "Kinetic Kudu" - Release amd64 (20221020)
  IwConfig:
   lono wireless extensions.
   
   enp3s0no wireless extensions.
  MachineType: System manufacturer System Product Name
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 amdgpudrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.19.0-35-generic 
root=UUID=df59b1c2-c5b9-483d-b033-7c6b2264dc75 ro quiet splash vt.handoff=7
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
  RelatedPackageVersions:
   linux-restricted-modules-5.19.0-35-generic N/A
   linux-backports-modules-5.19.0-35-generic  N/A
   linux-firmware 20220923.gitf09bebf3-0ubuntu1.4
  RfKill:
   
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 09/18/2013
  dmi.bios.release: 4.6
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 4802
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: P8H61-M PRO
  dmi.board.vendor: ASUSTeK COMPUTER INC.
  dmi.board.version: Rev x.0x
  dmi.chassis.asset.tag: Asset-1234567890
  dmi.chassis.type: 3
  dmi.chassis.vendor: Chassis Manufacture
  dmi.chassis.version: Chassis Version
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvr4802:bd09/18/2013:br4.6:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnP8H61-MPRO:rvrRevx.0x:cvnChassisManufacture:ct3:cvrChassisVersion:skuSKU:
  dmi.product.family: To be filled by O.E.M.
  dmi.product.name: System Product Name
  dmi.product.sku: SKU
  dmi.product.version: System Version
  dmi.sys.vendor: System manufacturer

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