I workaround it thanks to this:
https://bbs.archlinux.org/viewtopic.php?pid=1404929#p1404929 :


```
In "/etc/modprobe.d/intel.conf" put:

options snd_hda_intel enable=1,0
This is how you disable or enable specific audio hardware when they share the 
same driver.  If the wrong one gets disabled then replace "1,0" with "0,1"

```


I disabled Nvidia snd_hda_intel and kept my ALC887 from motherboard on, 
and now suspend works and also I've sound transmitting from my motherboard to 
speakers.

Nvidia HDMI output provides video, but probably not audio :/ 
It's an issue but right now not too big for me

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

Title:
  snd_hda_intel blocks/freezes suspend

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Since some packages upgrade(probalby couple months back; when I had
  LTS bionic) I'm unable to suspend my PC.

  I thought installing newest LTS focal will solve this problem but it
  didn't - system freezes on suspend displaying plymouth last screen.

  I found debug howto here :
  https://www.kernel.org/doc/Documentation/power/s2ram.txt

  What I found according to it:

  lut 21 09:43:39 pc kernel: PM:   Magic number: 0:88:726
  lut 21 09:43:39 pc kernel: PM:   hash matches drivers/base/power/main.c:1721
  lut 21 09:43:39 pc kernel: block loop6: hash matches
  lut 21 09:43:39 pc kernel: pci 0000:01:00.1: hash matches
  lut 21 09:43:39 pc kernel: rtc_cmos 00:06: setting system clock to 
2060-02-21T08:43:23 UTC (2844578603)

  $ lspci
  00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 
30h-3fh) Processor Root Complex
  00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 30h-3fh) 
I/O Memory Management Unit
  00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 
30h-3fh) Processor Root Port
  00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Kaveri P2P Bridge for 
GFX PCIe Port [1:0]
  00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 
30h-3fh) Processor Root Port
  00:03.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 
30h-3fh) Processor Root Port
  00:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 
30h-3fh) Processor Root Port
  00:10.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI 
Controller (rev 09)
  00:10.1 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI 
Controller (rev 09)
  00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA 
Controller [AHCI mode] (rev 40)
  00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI 
Controller (rev 11)
  00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI 
Controller (rev 11)
  00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI 
Controller (rev 11)
  00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI 
Controller (rev 11)
  00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 
16)
  00:14.1 IDE interface: Advanced Micro Devices, Inc. [AMD] FCH IDE Controller
  00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD] FCH Azalia 
Controller (rev 01)
  00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 11)
  00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] FCH PCI Bridge (rev 40)
  00:14.5 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI 
Controller (rev 11)
  00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 
30h-3fh) Processor Function 0
  00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 
30h-3fh) Processor Function 1
  00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 
30h-3fh) Processor Function 2
  00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 
30h-3fh) Processor Function 3
  00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 
30h-3fh) Processor Function 4
  00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 
30h-3fh) Processor Function 5
  01:00.0 VGA compatible controller: NVIDIA Corporation GK106 [GeForce GTX 650 
Ti] (rev a1)
  01:00.1 Audio device: NVIDIA Corporation GK106 HDMI Audio Controller (rev a1)
  02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. 
RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
  marcin@pc:/sys

  
  $ ls /sys/devices/pci* 
  0000:00:00.0  0000:00:02.1  0000:00:04.0  0000:00:11.0  0000:00:13.0  
0000:00:14.1  0000:00:14.4  0000:00:18.1  0000:00:18.4   pci_bus
  0000:00:00.2  0000:00:03.0  0000:00:10.0  0000:00:12.0  0000:00:13.2  
0000:00:14.2  0000:00:14.5  0000:00:18.2  0000:00:18.5   power
  0000:00:02.0  0000:00:03.1  0000:00:10.1  0000:00:12.2  0000:00:14.0  
0000:00:14.3  0000:00:18.0  0000:00:18.3  firmware_node  uevent

  
  $ cat /sys/power/pm_trace_dev_match
  resulted in: block and snd_hda_intel

  as I was unable to force :
  $ modprobe -r -f snd_hda_intel
  modprobe: FATAL: Module snd_hda_intel is in use.

  I did change /etc/default/grub to:
  GRUB_CMDLINE_LINUX="snd_hda_intel.blacklist=1 
modprobe.blacklist=snd_hda_intel"

  then sudo grub-update.

  After reboot suspend was finnaly working correctly 
  but I've NO sound now:(

  
  Googling on the internet I found:
  
https://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git/commit/queue-5.0/alsa-hda-don-t-trigger-jackpoll_work-in-azx_resume.patch?id=ae96827ca4096488ee460a071834fe03022172d7

  Is it possible that's the change that broke my suspend?

  my board: Gigabyte GA-F2A88XM-DS2.

  Can you fix this problem?

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: linux-image-5.4.0-33-generic 5.4.0-33.37
  ProcVersionSignature: Ubuntu 5.4.0-33.37-generic 5.4.34
  Uname: Linux 5.4.0-33-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu27
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  marcin     1467 F.... pulseaudio
   /dev/snd/controlC0:  marcin     1467 F.... pulseaudio
  CasperMD5CheckResult: skip
  CurrentDesktop: ubuntu:GNOME
  Date: Wed Jun 10 14:10:36 2020
  InstallationDate: Installed on 2020-05-25 (15 days ago)
  InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
  MachineType: Gigabyte Technology Co., Ltd. To be filled by O.E.M.
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=pl_PL.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 EFI VGA
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.4.0-33-generic 
root=UUID=ed19f95c-4679-4b7c-8adb-a3ba6c28d384 ro rootflags=subvol=@ quiet 
splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-5.4.0-33-generic N/A
   linux-backports-modules-5.4.0-33-generic  N/A
   linux-firmware                            1.187
  RfKill:
   
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 06/24/2014
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: F7
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: F2A88XM-DS2
  dmi.board.vendor: Gigabyte Technology Co., Ltd.
  dmi.board.version: x.x
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrF7:bd06/24/2014:svnGigabyteTechnologyCo.,Ltd.:pnTobefilledbyO.E.M.:pvrTobefilledbyO.E.M.:rvnGigabyteTechnologyCo.,Ltd.:rnF2A88XM-DS2:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvrToBeFilledByO.E.M.:
  dmi.product.family: To be filled by O.E.M.
  dmi.product.name: To be filled by O.E.M.
  dmi.product.sku: To be filled by O.E.M.
  dmi.product.version: To be filled by O.E.M.
  dmi.sys.vendor: Gigabyte Technology Co., Ltd.

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