snd_hda_intel preventing hdmi monitor to wake up from sleep

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



dear alsa users,

I'm running ubuntu with i3 on a MSI GS65 8SF laptop with Nvidia GeForce
2070 with maxQ design.

PROBLEM EXPLAINATION
When I suspend the laptop with the command `$ systemctl suspend -i` the
HDMI port (for the second monitor) is going to sleep and it is
impossible to wake it up without turning the pc off and on again neither
the reboot is working, you have to turn it off.
Even if I reboot the pc, without turning it off, with windows I got the
HDMI blocked.

ALREADY TRIED SOLUTIONS
At first I thought it was a problem of Nvidia drivers and I tried
several solutions: changing the driver version, adding the
`acpi_osi='Windows 2009'` and `acpi_osi='Windows 2015'` to the kernel
parameter, updating the kernel (now I'm using the 5.8.2).
None of them were working.

Note that if I run xrandr after the suspension I see the HDMI exit as it
was working.

I found out online that one guy had my same problem found out that
blacklisting the modules:
	snd_hda_intel
	snd_sof_intel_hda
	snd_sof_intel_hda_common
	sof_pci_dev
	snd_sof_intel_byt
	snd_sof_intel_ipc
the problem is solved. I tried but of course without them I'm not having
audio and that's not acceptable.

So I tried to unload that modules before suspension and reload them
after wake up, with a script in /lib/systemd/system-sleep/ that tries to
do that, but of course modprobe is telling me that the module is in use,
I also tried rmmod and `rmmod --force`.

I also tried to reinstall alsa-base to see if it was a problem of the
installation but nothing done.

The last curiosity to add is that if I turn off the nvidia GPU, and I
suspend the pc,then I turn the nvidia card on again, reboot (without
turning off), The HDMI is not working as it happens when I do that with
the nvidia card on.

POSSIBLY USEFUL COMMAND OUTPUTS
I'm putting here the output of some command that are showing something
wrong or anyway that I can't understand.

aplay -l:
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC1220 Analog [ALC1220 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

lspci -nn | grep -i audio:
00:1f.3 Audio device [0403]: Intel Corporation Cannon Lake PCH cAVS
[8086:a348] (rev 10)
01:00.1 Audio device [0403]: NVIDIA Corporation TU106 High Definition
Audio Controller [10de:10f9] (rev a1)

As you can see there is something strange here: aplay -l is not showing
any nvidia controller for the HDMI audio everything is intel.

So do you have some idea on how should I fix that? some alsa
configuration that can force it to wake up?

Thanks in advance,
    Noè Murr


_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user




[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux